Jump to content

JJJJ

Member
  • Posts

    50
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JJJJ's Achievements

Member

Member (4/5)

3

Reputation

  1. Hi, I have your firefox workflow and would like to know those ways to make this one work with firefox.
  2. I solved it by reinstalling the big sur.
  3. Furthermore, some of my workflows doesn’t work because of the same error 😕
  4. Hello, When I try to use move/copy to file action, I get the error below. It just started today. I installed the 4.5 Alfred beta and I thought beta caused the issue. But I installed the 4.3.4 version back and I still have the issue. I am on macOS 11.4 and I use the move to action regularly. Can you please help with what caused the issue and how to fix it? Many thanks in advance!
  5. Hello, I am planning to try Typinator for snippet expansions. Is there an easy way to import Alfred snippets to Typinator?
  6. It works for me with no issues. Thanks for the workflow.
  7. Thank you for the solution to use it for different browsers. I have tried your workflow first but it didn't work for me. We have discussed it on your topic and couldn't find a solution. I would like to try it again for Firefox history if you release an update.
  8. Yes it is fast when Firefox is disabled but how do I exclude it only from the history search? It seems like if I value it to False, then It doesn't search for bookmarks too. The main reason I use the workflow is to use it on Firefox. But I would like to know if I can use bm and bh for different browsers since bh is not really usable for FF.
  9. Thank you for your help and the workflow. It works very well now. BM search is very fast and seems reliable. But history search is pretty slow, it takes almost 10 sec to give some results. Is it expected? I think it uses python 3.8.2 this time as I understand from debugger output. [16:41:04.090] Logging Started... [16:41:35.225] Firefox&Chromium Bookmarks and History[Script Filter] Queuing argument 'test' [16:41:43.714] Firefox&Chromium Bookmarks and History[Script Filter] Script with argv 'test' finished [16:41:43.727] STDERR: Firefox&Chromium Bookmarks and History[Script Filter] PYTHON VERSION: 3.8.2 (default, Sep 24 2020, 19:37:08) [Clang 12.0.0 (clang-1200.0.32.21)] /Users/Ceyhun/Library/Application Support/Firefox/Profiles/xz1shlht.default-release/places.sqlite → found select DISTINCT url, title, visit_count FROM moz_places JOIN moz_historyvisits WHERE title != '' order by last_visit_date DESC LIMIT 500; [16:41:43.732] Firefox&Chromium Bookmarks and History[Script Filter] { "items": [ { "title": "Decentraleyes | Testing Utility", "subtitle": "(Visits: 61) https://decentraleyes.org/test/", "arg": "https://decentraleyes.org/test/", "quicklookurl": "https://decentraleyes.org/test/" }, { "title": "LocalCDN", "subtitle": "(Visits: 5) https://www.localcdn.org/test/cspcheck", "arg": "https://www.localcdn.org/test/cspcheck", "quicklookurl": "https://www.localcdn.org/test/cspcheck" } ] }
  10. Hello, Thank you for the workflow. It look very useful and supports many browsers. I would really like to use it for Firefox bookmarks and history but It doesn't work for me. Not only for Firefox but also for Chrome. I am on 10.15.7 Catalina and Alfred 4.2.1. You can find the debugger output below. [13:48:11.784] Chromium&Firefox Bookmarks and History[Script Filter] Queuing argument 'test' [13:48:11.960] Chromium&Firefox Bookmarks and History[Script Filter] Script with argv 'test' finished [13:48:11.965] ERROR: Chromium&Firefox Bookmarks and History[Script Filter] Code 1: Traceback (most recent call last): File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/chrom_bookmarks.py", line 12, in <module> from Alfred3 import Items as Items File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/Alfred3.py", line 7, in <module> from plistlib import readPlist, writePlist ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py) [13:48:19.497] Chromium&Firefox Bookmarks and History[Script Filter] Queuing argument 'test' [13:48:19.652] Chromium&Firefox Bookmarks and History[Script Filter] Script with argv 'test' finished [13:48:19.657] ERROR: Chromium&Firefox Bookmarks and History[Script Filter] Code 1: Traceback (most recent call last): File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/chrom_history.py", line 12, in <module> from Alfred3 import Items as Items File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/Alfred3.py", line 7, in <module> from plistlib import readPlist, writePlist ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py)
  11. Thank you for the detailed explanation. I just wanted to be sure if it works as expected or not. I gave full disk access to python as you said by drag and drop python into the full disk access window in Security&Privacy in System Preferences. I tried it for python3 for the first time but the error was about python 2.7 so tried it with 2.7 and then it worked. You can find the path of the file below. /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
  12. I think that works. Thank you for your help. But I am not sure OCR works as it should because I get some mixed results for image names. You can find the new content in /tmp/alfred-clipboard-history-ocr.out and clipboard history for images ss below. /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.py': [Errno 1] Operation not permitted /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.py': [Errno 1] Operation not permitted /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.py': [Errno 1] Operation not permitted ObjectCache(0x101b55370)::~ObjectCache(): WARNING! LEAK! object 0x7ff1feed5a60 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatapunc-dawg) ObjectCache(0x101b55370)::~ObjectCache(): WARNING! LEAK! object 0x7ff1fee121b0 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddataword-dawg) ObjectCache(0x101b55370)::~ObjectCache(): WARNING! LEAK! object 0x7ff1feed5ac0 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatanumber-dawg) ObjectCache(0x101b55370)::~ObjectCache(): WARNING! LEAK! object 0x7ff2061620d0 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatabigram-dawg) ObjectCache(0x101b55370)::~ObjectCache(): WARNING! LEAK! object 0x7ff1feed5b20 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatafreq-dawg) ObjectCache(0x1009ce370)::~ObjectCache(): WARNING! LEAK! object 0x7fa005228690 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatapunc-dawg) ObjectCache(0x1009ce370)::~ObjectCache(): WARNING! LEAK! object 0x7fa0052286f0 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddataword-dawg) ObjectCache(0x1009ce370)::~ObjectCache(): WARNING! LEAK! object 0x7f9ffde09340 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatanumber-dawg) ObjectCache(0x1009ce370)::~ObjectCache(): WARNING! LEAK! object 0x7f9ffdcafb30 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatabigram-dawg) ObjectCache(0x1009ce370)::~ObjectCache(): WARNING! LEAK! object 0x7f9ffde09710 still has count 1 (id /Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.app/Contents/Resources/tessdata/eng.traineddatafreq-dawg) Error in pixCreateHeader: depth must be {1, 2, 4, 8, 16, 24, 32} Error in pixCreateNoInit: pixd not made Error in pixCreate: pixd not made Error in pixFreeData: pix not defined Error in pixSetData: pix not defined Error in pixSetYRes: pix not defined Error in pixGetSpp: pix not defined Error in pixGetDimensions: pix not defined Error in pixGetColormap: pix not defined Error in pixCopy: pixs not defined Error in pixGetDepth: pix not defined Error in pixGetWpl: pix not defined Error in pixGetYRes: pix not defined Error in pixClone: pixs not defined Please call SetImage before attempting recognition. Please call SetImage before attempting recognition.
  13. This is what is inside when I open the /tmp/alfred-clipboard-history-ocr.out file with xcode. /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.py': [Errno 1] Operation not permitted /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.256D9BE8-8BC6-4E35-8640-5D4D5EEDFEF6/ocr.py': [Errno 1] Operation not permitted
  14. Hello, It looks very useful for me. I installed it with the keyword ".clipboard-history-ocr-install", but I still cannot find images by words in the clipboard history. I am on 10.15.7 and I get the debugger output below when I try to use ".clipboard-history-ocr-install" keyword again. Is there any more information that I can provide so someone can help me to solve the issue? [15:21:26.791] Logging Started... [15:25:38.629] Clipboard History OCR[Keyword] Processing complete [15:25:38.630] Clipboard History OCR[Keyword] Passing output '' to Run Script [15:25:39.253] STDERR: Clipboard History OCR[Run Script] mkdir: /Users/Ceyhun/Library/LaunchAgents: File exists xattr: ./ocr.app: No such xattr: com.apple.quarantine /Users/Ceyhun/Library/LaunchAgents/alfred-clipboard-history-ocr.plist: service already loaded
×
×
  • Create New...