Jump to content

xilopaint

Member
  • Posts

    556
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by xilopaint

  1. Hey @RodgerWW, I'm working on an update to the workflow for supporting Apple M1 Chip but I need an icon. Where did you get the icons for the graphics? Did you find it somewhere in the system?
  2. It looks great! Thanks a lot, man!
  3. I don't need CN and have no idea how much work it would get for all of them. USD-M Futures is what I'm working on at the moment so it would be fine. Btw is the fine-tuning something I could make by myself after you create the docset? Is there a file that I could edit to improve the sections of the docs and make it better for the search on Dash?
  4. Yes, I would like! I'm working with that API at the moment. Also, I would appreciate if you could ELI5 (step by step) how I can use the builder to generate docsets and fine tuning after that. Do I need to know PHP for it?
  5. The User Manual is useful, but not as useful as the Language Reference Manual. I don't want to waste your time. I asked that assuming your builder could make it easy. Thanks anyway! Yesterday I managed to create my first docset from a Sphinx based doc using doc2dash. It's great! Btw, do you know some tool that could be used to convert this documentation in a dash docset?
  6. Hey, I suggest you to use OneUpdater to add auto-update capability to Alfred Kat. It's very easy to implement.
  7. Thanks!!! I think only for different posts.
  8. I would love to create my own docsets but I don't have a clue on PHP and can barely understand the README of the builder's repo. 😞 It seems to be.
  9. You are not lazy if you use your dash docset builder to make this requested docset . 😃
  10. The latest version of the workflow is working for me on Catalina.
  11. Hey guys, I just created a workflow for keeping track of COVID-19 statistics. Stay safe! https://github.com/xilopaint/alfred-covid-19-radar
  12. If I keep `from workflow import Workflow` in background.py I get this: 21:25:53 workflow.py:2061 DEBUG ---------- Alfred PDF Tools (2.16.0) ---------- 21:25:53 workflow.py:1468 DEBUG reading settings from /Users/****/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json 21:25:53 workflow.py:2338 INFO checking for update ... 21:25:53 background.py:233 DEBUG [__workflow_update_check] command cached: /Users/****/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/__workflow_update_check.argcache 21:25:53 background.py:237 DEBUG [__workflow_update_check] passing job to background runner: ['/usr/bin/python', '/Users/****/Developer/Alfred Workflows/Alfred PDF Tools/alfred-pdf-tools/src/workflow/background.py', '__workflow_update_check'] Traceback (most recent call last): File "/Users/****/Developer/Alfred Workflows/Alfred PDF Tools/alfred-pdf-tools/src/workflow/background.py", line 28, in <module> from workflow import Workflow File "/Users/****/Developer/Alfred Workflows/Alfred PDF Tools/alfred-pdf-tools/src/workflow/workflow.py", line 47, in <module> from .util import AcquisitionError # noqa: F401 ValueError: Attempted relative import in non-package 21:25:53 background.py:241 ERROR [__workflow_update_check] background runner failed with 1 21:25:53 workflow.py:2103 DEBUG ---------- finished in 0.353s ----------
  13. Hey @deanishe, after fixing a lot of issues in the attempt of adapting the library for Python 3 I came across this: 10:01:18 workflow.py:2061 DEBUG ---------- Alfred PDF Tools (2.16.0) ---------- 10:01:18 workflow.py:1468 DEBUG reading settings from /Users/xxxx/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json 10:01:18 workflow.py:2338 INFO checking for update ... 10:01:18 background.py:233 DEBUG [__workflow_update_check] command cached: /Users/xxxx/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/__workflow_update_check.argcache 10:01:18 background.py:237 DEBUG [__workflow_update_check] passing job to background runner: ['/usr/bin/python', '/Users/xxxx/Developer/Alfred Workflows/Alfred PDF Tools/alfred-pdf-tools/src/workflow/background.py', '__workflow_update_check'] Traceback (most recent call last): File "/Users/xxxx/Developer/Alfred Workflows/Alfred PDF Tools/alfred-pdf-tools/src/workflow/background.py", line 28, in <module> from .workflow import Workflow ValueError: Attempted relative import in non-package 10:01:18 background.py:241 ERROR [__workflow_update_check] background runner failed with 1 10:01:18 workflow.py:2103 DEBUG ---------- finished in 0.071s ---------- As you can see I changed `from workflow import Workflow` in background.py to `from .workflow import Workflow` but it doesn't work. What's the problem?
  14. Nah, I just realised it's an import issue. Python 3 doesn't support implicit relative imports.
  15. Well, at the moment I'm getting `ModuleNotFoundError: No module named 'util'`. I should be missing something very basic. I have no clue why I'm getting this error.
  16. @deanishe I need something like `Wofklow3.cache_data()` and `Workflow3.cached_data()` in a Python 3 workflow. Would it be easy to adapt alfred-workflow to work with Python 3 for those methods or you recommend me to simply write and read the cache files using Python 3?
  17. Optimize is not a keyword, it's a file action. In the following link you can see how to perform a file action: https://www.alfredapp.com/blog/tips-and-tricks/file-actions-from-alfred-or-finder/
  18. Is v2 already in the road map with Python 3 support? 😁
  19. Any chance to get the method added to the library?
  20. Is there anything in Alfred-Workflow like the `Requests.iter_lines()` method?
  21. This workflow is working normally for me.
  22. Did you rerun the tinypng_config keyword and entered your API key after making this adjustment? If not you're not using your own API key.
  23. @Roman52 I see you're using the keyword. Do you have the same issue by using the file action instead of the keyword?
×
×
  • Create New...