Jump to content

alvint

Member
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

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

alvint's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I'd like to request for support for this https://github.com/mr-pennyworth/alfred-clipboard-ocr/releases This worked until March 17 (think latest update to Monterey where they removed Python.) I home-brewed python but still getting error STDERR: Clipboard History OCR[Run Script] mkdir: /Users/xxxxxxxx/Library/LaunchAgents: File exists xattr: ./Tesseract.app: No such xattr: com.apple.quarantine Load failed: 5: Input/output error Tried the luanchctl unload and load recommended by author didn't work. Hope for some advise as this is really useful to search the images in clipboard! Thanks in advance
  2. This worked until March 17 (think latest update to Monterey where they removed Python. I home-brewed back python 3 but still getting error STDERR: Clipboard History OCR[Run Script] mkdir: /Users/xxxxxxxx/Library/LaunchAgents: File exists xattr: ./Tesseract.app: No such xattr: com.apple.quarantine Load failed: 5: Input/output error Tried the luanchctl unload and load. Still no luck. Hope for some advise as this is really useful to search the images in clipboard!
  3. Hi Vitor I have done all you mentioned as I am no expert on this. Apologies if the post were serial. Let me recap in one post here and hopefully we can resolve this. I appreciate that you are responding and helping. I have done the following 1. Removed Alfred and redownloaded and installed 2. Redownloaded the workflow from GitHub and imported 3. chmod +x gd rebuild_cache in the workflow terminal. I have attached the ls -al as you requested and you see it has x on rebuild_cache. 3. Ran :gdlaunchd and waited. 4. gd somefilename and it says No Cache found and below is debugger output [07:36:23.460] Google Drive[Script Filter] Queuing argument 'a' [07:36:23.618] Google Drive[Script Filter] Script with argv 'a' finished [07:36:23.621] Google Drive[Script Filter] {"items":[{"title":"No cache found!","subtitle":"Run either :gdlaunchd or :gdrebuildcache. Consult the “About this Workflow” section.","valid":false}]} [07:36:23.623] Google Drive[Script Filter] Queuing argument 'ai' [07:36:23.753] Google Drive[Script Filter] Script with argv 'ai' finished [07:36:23.755] Google Drive[Script Filter] {"items":[{"title":"No cache found!","subtitle":"Run either :gdlaunchd or :gdrebuildcache. Consult the “About this Workflow” section.","valid":false}]} [07:38:23.062] Google Drive[Script Filter] Queuing argument 'a' [07:38:23.200] Google Drive[Script Filter] Queuing argument 'ai' [07:38:23.397] Google Drive[Script Filter] Script with argv 'ai' finished [07:38:23.398] Google Drive[Script Filter] {"items":[{"title":"No cache found!","subtitle":"Run either :gdlaunchd or :gdrebuildcache. Consult the “About this Workflow” section.","valid":false}]} 5. :gdrebuildcache and here is the notification and debugger result below [07:39:40.196] Google Drive[Keyword] Processing complete [07:39:40.197] Google Drive[Keyword] Passing output '' to Run Script [07:39:40.388] ERROR: Google Drive[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `open': Operation not permitted @ dir_initialize - /Volumes/GoogleDrive/.TemporaryItems (Errno::EPERM) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `children' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `block (2 levels) in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `catch' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `block in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:565:in `find' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `block in <main>' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `<main>' [07:39:40.393] Google Drive[Run Script] Processing complete [07:39:40.394] Google Drive[Run Script] Passing output '' to Run Script [07:39:40.394] Google Drive[Run Script] Passing output '' to Conditional [07:39:40.395] Google Drive[Conditional] Processing complete [07:39:40.395] Google Drive[Conditional] Passing output '' to Conditional [07:39:40.395] Google Drive[Conditional] Processing complete [07:39:40.395] Google Drive[Conditional] Passing output '' to Post Notification 6. :gdlaunchd uninstall and install. Notification Cache rebuilt below came up but I get same "no cache error" when gd file. here's the debugger result [07:23:27.803] Google Drive[Script Filter] Queuing argument '' [07:23:27.870] Google Drive[Script Filter] Script with argv '' finished [07:23:27.871] Google Drive[Script Filter] {"items": [ { "title": "Remove Google Drive launchd service", "subtitle": "Stops periodically rebuilding the cache", "arg": "uninstall" } ]} [07:23:29.799] Google Drive[Script Filter] Processing complete [07:23:29.800] Google Drive[Script Filter] Passing output 'uninstall' to Run Script [07:23:29.877] Google Drive[Run Script] Processing complete [07:23:29.880] Google Drive[Run Script] Passing output '' to Conditional [07:23:57.984] Google Drive[Script Filter] Queuing argument '' [07:23:57.993] Google Drive[Script Filter] Script with argv '' finished [07:23:57.993] Google Drive[Script Filter] {"items": [ { "title": "Install Google Drive launchd service", "subtitle": "Periodically rebuilds the cache", "arg": "install" }, ]} [07:23:58.881] Google Drive[Script Filter] Processing complete [07:23:58.886] Google Drive[Script Filter] Passing output 'install' to Run Script [07:23:58.900] Google Drive[Run Script] Processing complete [07:23:58.902] Google Drive[Run Script] Passing output 'BUILD_CACHE' to Conditional [07:23:58.903] Google Drive[Conditional] Processing complete [07:23:58.904] Google Drive[Conditional] Passing output 'BUILD_CACHE' to Run Script [07:23:59.048] ERROR: Google Drive[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `open': Operation not permitted @ dir_initialize - /Volumes/GoogleDrive/.TemporaryItems (Errno::EPERM) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `children' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `block (2 levels) in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `catch' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `block in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:565:in `find' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `block in <main>' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `<main>' [07:23:59.059] Google Drive[Run Script] Processing complete [07:23:59.061] Google Drive[Run Script] Passing output '' to Run Script [07:23:59.061] Google Drive[Run Script] Passing output '' to Conditional [07:23:59.062] Google Drive[Conditional] Processing complete [07:23:59.063] Google Drive[Conditional] Passing output '' to Conditional [07:23:59.065] Google Drive[Conditional] Processing complete [07:23:59.066] Google Drive[Conditional] Passing output '' to Post Notification [07:23:59.124] Google Drive[External] Processing complete [07:23:59.135] Google Drive[External] Passing output '' to Arg and Vars [07:23:59.136] Google Drive[Arg and Vars] Processing complete [07:23:59.138] Google Drive[Arg and Vars] Passing output '' to Run Script [07:23:59.325] ERROR: Google Drive[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `open': Operation not permitted @ dir_initialize - /Volumes/GoogleDrive/.TemporaryItems (Errno::EPERM) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `children' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:58:in `block (2 levels) in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `catch' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:48:in `block in find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb:43:in `find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:565:in `find' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:43:in `block in <main>' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `each' from /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.115FA0E4-3516-4EBB-84F2-1F9A61C7C27E/rebuild_cache:42:in `<main>' [07:23:59.330] Google Drive[Run Script] Processing complete [07:23:59.335] Google Drive[Run Script] Passing output '' to Run Script [07:23:59.336] Google Drive[Run Script] Passing output '' to Conditional [07:23:59.337] Google Drive[Conditional] Processing complete [07:23:59.338] Google Drive[Conditional] Passing output '' to Conditional 7. ran !gddiagnostic and here's the debugger output [07:44:27.530] Google Drive[Keyword] Processing complete [07:44:27.531] Google Drive[Keyword] Passing output '' to Run Script [07:47:28.853] STDERR: Google Drive[Run Script] du: /Volumes/GoogleDrive/.TemporaryItems: Operation not permitted du: /Volumes/GoogleDrive/.Trashes: Operation not permitted find: /Volumes/GoogleDrive/.TemporaryItems: Operation not permitted find: /Volumes/GoogleDrive/.Trashes: Operation not permitted [07:47:28.861] Google Drive[Run Script] Processing complete [07:47:28.862] Google Drive[Run Script] Passing output '### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 121M 72389 paths ### Cache dir tmp.db ### Cache file Does NOT exist ### Temporary cache 16777232 5344883 -rw-r--r-- 1 alvin staff 0 8192 "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" 4096 16 0 /Users/alvin/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/tmp.db ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed ' to Copy to Clipboard [07:47:28.869] Google Drive[Copy to Clipboard] Processing complete [07:47:28.869] Google Drive[Copy to Clipboard] Passing output '### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 121M 72389 paths ### Cache dir tmp.db ### Cache file Does NOT exist ### Temporary cache 16777232 5344883 -rw-r--r-- 1 alvin staff 0 8192 "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" 4096 16 0 /Users/alvin/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/tmp.db ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed ' to Post Notification [07:47:28.871] Google Drive[Post Notification] Processing complete [07:47:28.871] Google Drive[Post Notification] Passing output '### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 121M 72389 paths ### Cache dir tmp.db ### Cache file Does NOT exist ### Temporary cache 16777232 5344883 -rw-r--r-- 1 alvin staff 0 8192 "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" "Feb 24 07:39:40 2022" 4096 16 0 /Users/alvin/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/tmp.db ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed ' to Play Sound I hope all these collected steps and corresponding output gives you some better clues on where the issue might be to help me troubleshoot this. I like your work and am keen to be able to use it. I appreciate your contribution on this. Thanks very much for stepping to assist.
  4. ### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 121M 72384 paths ### Cache dir Files NOT present ### Cache file Does NOT exist ### Temporary cache Does NOT exist ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed Not sure if it's working ...haven;t had any notifications. .this is the diagnostic output with !gddiagnostic Not sure why the files are NOT present and says Build Progress NOT running.
  5. did the chmod again and with the ls result here. so far, after I uninstalled and reinstalled Alfred and redownload the latest workflow and import, ran the :gdlaunchd, there wasn't the error. perhaps there was some corruption. Will wait for notification once the daemon finishes and check if the indexing successful. thanks
  6. I did answer your question in the quote itself above, perhaps it was missed, apologies if i wasn't clear. I have uninstalled Alfred,reinstalled it. Then redownload the latest version of gd workflow from Github. Now rerunning. Will keep you posted.
  7. ls: /Users/alvin/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A41E4C52-64AF-41DB-8A77-AA42563B3D47: No such file or directory
  8. çI am getting these. Even terminating and restarting :gdlaunchd had the unable to run task error. Latest diagnostic here: ### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 121M 72349 paths ### Cache dir Files NOT present ### Cache file Does NOT exist ### Temporary cache Does NOT exist ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed
  9. ### Workflow version 2022.7 ### Alfred version 4.6.3 ### macOS version 12.2.1 ### Workflow environment variables Dict { ignore_list = result_limit = 50 google_drive_path = /Volumes/GoogleDrive } ### Google drive paths Exists: /Volumes/GoogleDrive 200M 72349 paths ### Cache dir Files NOT present ### Cache file Does NOT exist ### Temporary cache Does NOT exist ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.launchd.googledrivecache Installed This is the diagnostic report. I also got this error when I try to launch rebuild
  10. Hi I have an error “Cache not found” after i installed it . I removed it and reinstalled , relaunched :gdlaunchd and rebuild cache (which said cache rebuilt instantly, which is strange). I really would love to use this workflow. Any ideas?
×
×
  • Create New...