chinchilla Posted November 14, 2021 Share Posted November 14, 2021 Hi all, just to be sure, it will only work if the Google Drive files are offline available, right? Link to comment
vitor Posted November 14, 2021 Author Share Posted November 14, 2021 @christianmagill While adding the new feature to show a notification on the first launchd run, I introduced a bug where in that one time it would try to run it twice. Already fixed for the next version, but despite that initial error, your cache should still have been built. 8 hours ago, chinchilla said: just to be sure, it will only work if the Google Drive files are offline available, right? No, it works on your File Stream. If you can see the file in the Finder, this Workflow should pick it up. Link to comment
greedist Posted November 24, 2021 Share Posted November 24, 2021 (edited) I received a great workflow from the link below, so I'm using it. But you can only search in English and not in Korean. Is there a way to solve this problem by changing the settings? I'd appreciate it if you could help me 🙏 Thank you in advance https://www.alfredapp.com/blog/guides-and-tutorials/google-drive-workflow/ Edited November 24, 2021 by greedist Link to comment
Vero Posted November 24, 2021 Share Posted November 24, 2021 @greedist I've merged your post with the existing thread on the Google Drive workflow created by @vitor as it's best to keep the discussion in one place. Link to comment
buraktuyan Posted November 24, 2021 Share Posted November 24, 2021 (edited) Hi @vitor, thanks for this workflow -- works great! 🙏 Is there a workaround to open folders directly in Google Drive (not in Finder)? I understand this is a limitation of the File Stream, but there's an "Open with Google Drive" option when we right-click the folders in Finder. Any way to utilize it for this desired result? Thanks! P.S. As an alternative solution, would it be possible to use the "Search Google Drive for '{query}'" web search shortcut in Alfred by passing the Google Drive folder name, as opposed to the folder path? It can't open the folder, but it'll make it easier to reach the desired folder with one extra click. Edited November 24, 2021 by buraktuyan Link to comment
vitor Posted November 24, 2021 Author Share Posted November 24, 2021 4 hours ago, greedist said: But you can only search in English and not in Korean. Language shouldn’t make a difference and I can’t reproduce. The problem likely lies somewhere else. I would need the information asked in the second post, plus access to your cache (Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/cache.db) to test, but you may not be comfortable giving that. 3 hours ago, buraktuyan said: there's an "Open with Google Drive" option when we right-click the folders in Finder. Any way to utilize it for this desired result? I don’t use Google Drive so my knowledge here is limited, but I didn’t find a way to programatically do that (being available on right-click is a wholly separate thing). 3 hours ago, buraktuyan said: P.S. As an alternative solution, would it be possible to use the "Search Google Drive for '{query}'" web search shortcut in Alfred by passing the Google Drive folder name, as opposed to the folder path? You mean like this (press ⇧↵ on the result)? buraktuyan 1 Link to comment
buraktuyan Posted November 24, 2021 Share Posted November 24, 2021 6 minutes ago, vitor said: I don’t use Google Drive so my knowledge here is limited, but I didn’t find a way to programatically do that (being available on right-click is a wholly separate thing). You mean like this (press ⇧↵ on the result)? Thanks a LOT @vitor, your updated workflow offers the desired result perfectly for the second idea. 👍🙏 Link to comment
vitor Posted November 24, 2021 Author Share Posted November 24, 2021 Just release the new version with that addition. Link to comment
greedist Posted November 25, 2021 Share Posted November 25, 2021 18 hours ago, Vero said: @greedist I've merged your post with the existing thread on the Google Drive workflow created by @vitor as it's best to keep the discussion in one place. Thank you for teaching us! 😀 Link to comment
greedist Posted November 25, 2021 Share Posted November 25, 2021 14 hours ago, vitor said: The problem likely lies somewhere else. I would need the information asked in the second post, plus access to your cache (Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/cache.db) to test, but you may not be comfortable giving that. Thank you for your answer 🙏 As you said, I tried debugging and the plot is blessing. [14:41:53.323] Logging Stopped. [14:45:51.108] Logging Started... [14:46:01.603] Google Drive[Script Filter] Queuing argument '' [14:46:01.612] Google Drive[Script Filter] Script with argv '' finished [14:46:01.615] Google Drive[Script Filter] {"items": [ { "title": "Install Google Drive launchd service", "subtitle": "Periodically rebuilds the cache", "arg": "install" }, ]} [14:46:02.656] Google Drive[Script Filter] Processing complete [14:46:02.657] Google Drive[Script Filter] Passing output 'install' to Run Script [14:46:02.713] Google Drive[Run Script] Processing complete [14:46:02.714] Google Drive[Run Script] Passing output 'BUILD_CACHE' to Conditional [14:46:02.721] Google Drive[Conditional] Processing complete [14:46:02.723] Google Drive[Conditional] Passing output 'BUILD_CACHE' to Run Script [14:46:02.993] Google Drive[External] Processing complete [14:46:03.000] Google Drive[External] Passing output '' to Arg and Vars [14:46:03.002] Google Drive[Arg and Vars] Processing complete [14:46:03.003] Google Drive[Arg and Vars] Passing output '' to Run Script [14:46:03.365] ERROR: Google Drive[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step': database is locked (SQLite3::BusyException) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:107:in `loop' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:107:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:156:in `to_a' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:156:in `block in execute' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:95:in `prepare' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:137:in `execute' from /Users/greedist/Library/Mobile Documents/com~apple~CloudDocs/Sync/Alfred/Alfred.alfredpreferences/workflows/user.workflow.673473EA-63A0-43C5-B741-438A775AED90/rebuild_cache:35:in `<main>' [14:46:03.380] Google Drive[Run Script] Processing complete [14:46:03.382] Google Drive[Run Script] Passing output '' to Run Script [14:46:03.384] Google Drive[Run Script] Passing output '' to Conditional [14:46:03.385] Google Drive[Conditional] Processing complete [14:46:03.387] Google Drive[Conditional] Passing output '' to Conditional [14:46:06.044] Google Drive[Run Script] Processing complete [14:46:06.055] Google Drive[Run Script] Passing output '' to Run Script [14:46:06.056] Google Drive[Run Script] Passing output '' to Conditional [14:46:06.057] Google Drive[Conditional] Processing complete [14:46:06.057] Google Drive[Conditional] Passing output '' to Conditional [14:46:06.058] Google Drive[Conditional] Processing complete [14:46:06.059] Google Drive[Conditional] Passing output '' to Post Notification [14:46:09.549] Google Drive[Script Filter] Queuing argument 'ㄴ' [14:46:09.982] Google Drive[Script Filter] Script with argv 'ㄴ' finished [14:46:09.990] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [14:46:10.214] Google Drive[Script Filter] Queuing argument '네' [14:46:10.458] Google Drive[Script Filter] Script with argv '네' finished [14:46:10.469] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [14:46:10.743] Google Drive[Script Filter] Queuing argument '넽' [14:46:10.987] Google Drive[Script Filter] Script with argv '넽' finished [14:46:10.999] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [14:46:11.014] Google Drive[Script Filter] Queuing argument '네' [14:46:11.037] Google Drive[Script Filter] Queuing argument '네트' [14:46:11.218] Google Drive[Script Filter] Script with argv '네트' finished [14:46:11.230] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [14:46:11.263] Google Drive[Script Filter] Queuing argument '네틍' [14:46:11.396] Google Drive[Script Filter] Queuing argument '네트' [14:46:11.420] Google Drive[Script Filter] Queuing argument '네트우' [14:46:11.530] Google Drive[Script Filter] Queuing argument '네트워' [14:46:11.618] Google Drive[Script Filter] Queuing argument '네트웤' [14:46:11.713] Google Drive[Script Filter] Queuing argument '네트워' [14:46:11.738] Google Drive[Script Filter] Queuing argument '네트워크' [14:46:11.914] Google Drive[Script Filter] Script with argv '네트워크' finished [14:46:11.927] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [14:46:17.015] Google Drive[Script Filter] Queuing argument '네트워' [14:46:17.139] Google Drive[Script Filter] Queuing argument '네트' [14:46:17.274] Google Drive[Script Filter] Queuing argument '네' [14:46:18.033] Google Drive[Script Filter] Queuing argument 'ㄴ' [14:46:18.200] Google Drive[Script Filter] Queuing argument '내' [14:46:18.324] Google Drive[Script Filter] Queuing argument '냉' [14:46:18.447] Google Drive[Script Filter] Queuing argument '내' [14:46:18.475] Google Drive[Script Filter] Queuing argument '내여' [14:46:18.582] Google Drive[Script Filter] Queuing argument '내역' [14:46:18.820] Google Drive[Script Filter] Script with argv '내역' finished [14:46:18.839] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} Link to comment
vitor Posted November 25, 2021 Author Share Posted November 25, 2021 @greedist Please provide all requested information. You only did one of the points. Also, do you have English results that the Workflow correctly returns, or are you just assuming it doesn’t return Korean? It looks more like your cache may be empty and not returning anything. Do all steps in this earlier post. If you skip any, you’ll have an incomplete setup. Link to comment
greedist Posted November 25, 2021 Share Posted November 25, 2021 12 minutes ago, vitor said: @greedist Please provide all requested information. You only did one of the points. Also, do you have English results that the Workflow correctly returns, or are you just assuming it doesn’t return Korean? It looks more like your cache may be empty and not returning anything. Do all steps in this earlier post. If you skip any, you’ll have an incomplete setup. I did all the processes you mentioned, but I can only search in English and not in Korean. [21:27:02.528] Google Drive[Script Filter] Queuing argument 'b' [21:27:02.729] Google Drive[Script Filter] Queuing argument 'bl' [21:27:02.897] Google Drive[Script Filter] Script with argv 'bl' finished [21:27:02.900] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"file","title":"BlankScreen.saver","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Blog","type":"file","title":"Blog","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Blog","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Blog","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Blog"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"file","title":"BlankScreen.nib","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"file","title":"BlankScreen","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen"}]} [21:27:03.305] Google Drive[Script Filter] Queuing argument 'bla' [21:27:03.496] Google Drive[Script Filter] Queuing argument 'blac' [21:27:03.545] Google Drive[Script Filter] Script with argv 'bla' finished [21:27:03.555] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"file","title":"BlankScreen.saver","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"file","title":"BlankScreen.nib","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/Resources/English.lproj/BlankScreen.nib"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"file","title":"BlankScreen","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/BlankScreen.saver/Contents/MacOS/BlankScreen"}]} [21:27:03.652] Google Drive[Script Filter] Queuing argument 'black' [21:27:03.895] Google Drive[Script Filter] Script with argv 'black' finished [21:27:03.909] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"file","title":"black","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black"}]} [21:27:13.408] Google Drive[Script Filter] Queuing argument 'blac' [21:27:13.575] Google Drive[Script Filter] Queuing argument 'bla' [21:27:13.766] Google Drive[Script Filter] Queuing argument 'bl' [21:27:13.935] Google Drive[Script Filter] Queuing argument 'b' [21:27:14.179] Google Drive[Script Filter] Script with argv 'b' finished [21:27:14.196] Google Drive[Script Filter] {"items":[{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Books","type":"file","title":"Books","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Books","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Books","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Books"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19평(블로그).webarchive","type":"file","title":"제주서쪽한달살기 19평(블로그).webarchive","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19평(블로그).webarchive","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19평(블로그).webarchive","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Project/Jeju/제주서쪽한달살기 19평(블로그).webarchive"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business","type":"file","title":"Business","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"file","title":"Black.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Profile/Black.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","type":"file","title":"a3fad3e05c1b481979bd1336d9700f44.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/fonts/a3fad3e05c1b481979bd1336d9700f44.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","type":"file","title":"byb_20151116_01.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/byb_20151116_01.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","type":"file","title":"573eeca8489a4ac286bea953b7e3146c.jpg","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/573eeca8489a4ac286bea953b7e3146c.jpg"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"file","title":"Black.PNG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/Black.PNG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","type":"file","title":"Menu Bar Layout.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Documents/Utilities/Mac/Set Value/Bartender/Menu Bar Layout.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","type":"file","title":"png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/black/png-transparent-vintage-brown-book-illustration-paper-diary-journal-page-book-old-book-desktop-wallpaper-parchment-diary.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","type":"file","title":"B-99-P.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/B-99-P.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"file","title":"Black.png","subtitle":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Business/Store/브랜드/logo/neon/Black.png"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","type":"file","title":"P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_162110115_5B9CA853-0E67-4A06-90D8-59679F94D34F.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","type":"file","title":"P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190507_010803131_044F7183-16D4-4ED2-BC9A-61BB0A1406F4.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","type":"file","title":"P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20150806_161951342_83B3E946-C7E1-4FC0-B0EC-486E24B87FE7.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","type":"file","title":"P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190730_173820909_923702F8-BA61-4350-9B03-3FAAF4832ED3.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","type":"file","title":"P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_205521393_BB6334F0-5D54-489F-AC25-E48906582565.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","type":"file","title":"P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_212621286_22329736-C807-416B-88F1-B873D4194FA6.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","type":"file","title":"P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20190824_210404556_68999EF9-D4ED-4E40-9519-888DA114DB3A.JPG"},{"uid":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","type":"file","title":"P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","subtitle":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","icon":{"path":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG","type":"fileicon"},"arg":"/Volumes/GoogleDrive/내 드라이브/Personal/Picture/Daily/P20200208_154700447_D2671F78-0FE7-4EDB-A60E-B5663B5A6954.JPG"}]} [21:27:19.791] Google Drive[Script Filter] Queuing argument 'ㅈ' [21:27:19.913] Google Drive[Script Filter] Queuing argument '주' [21:27:20.039] Google Drive[Script Filter] Queuing argument '줌' [21:27:20.162] Google Drive[Script Filter] Queuing argument '주' [21:27:20.175] Google Drive[Script Filter] Queuing argument '주미' [21:27:20.272] Google Drive[Script Filter] Queuing argument '주민' [21:27:20.480] Google Drive[Script Filter] Queuing argument '주민ㄷ' [21:27:20.505] Google Drive[Script Filter] Script with argv '주민' finished [21:27:20.516] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} [21:27:20.600] Google Drive[Script Filter] Queuing argument '주민드' [21:27:20.676] Google Drive[Script Filter] Queuing argument '주민등' [21:27:20.781] Google Drive[Script Filter] Queuing argument '주민등ㄹ' [21:27:20.867] Google Drive[Script Filter] Queuing argument '주민등로' [21:27:20.961] Google Drive[Script Filter] Queuing argument '주민등록' [21:27:21.032] Google Drive[Script Filter] Queuing argument '주민등록ㅈ' [21:27:21.131] Google Drive[Script Filter] Queuing argument '주민등록즈' [21:27:21.242] Google Drive[Script Filter] Queuing argument '주민등록증' [21:27:21.493] Google Drive[Script Filter] Script with argv '주민등록증' finished [21:27:21.504] Google Drive[Script Filter] {"items":[{"title":"Nothing found","subtitle":"Try searching something else"}]} Link to comment
vitor Posted November 25, 2021 Author Share Posted November 25, 2021 This is the third time I’m asking you to provide the information requested in the second post. You keep posting the debugger output when I also need all the rest, like version information. I can’t help you if you won’t follow that simple request. I will also need access to you cache. It’s the file in ~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/cache.db. To avoid sharing it with the world, you can send me a link to it via private message. Link to comment
operationkite Posted December 2, 2021 Share Posted December 2, 2021 @vitorthanks for your help. I have gone through the posts above but this is pretty technical for me. I get "Cache is being built" I started it 48 hours ago. So debug shows below. I see Cache already in progress. The machine is on all the time. Alfred 4.6.1 OS 12.0.1 Workflow - 2021.10 I tried this on 2 computers - Mac Mini and Macbook pro. Please let me know what I should to fix. thanks. [14:54:06.922] Logging Started... [14:54:11.357] Logging Stopped. [09:34:16.262] Logging Started... [09:35:13.719] Google Drive[Keyword] Processing complete [09:35:13.732] Google Drive[Keyword] Passing output '' to Run Script [09:35:13.913] ERROR: Google Drive[Run Script] Cache creation already in progress [09:35:13.917] Google Drive[Run Script] Processing complete [09:35:13.917] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Run Script [09:35:13.918] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Conditional [09:35:13.919] Google Drive[Conditional] Processing complete [09:35:13.920] Google Drive[Conditional] Passing output 'ONGOING_REBUILD' to Post Notification [09:35:13.922] Google Drive[Post Notification] Processing complete [09:35:13.930] Google Drive[Post Notification] Passing output 'ONGOING_REBUILD' to Play Sound Link to comment
vitor Posted December 2, 2021 Author Share Posted December 2, 2021 Welcome, @operationkite. Please do all steps in the second post. In particular the last point of the first section (with the wc -l command) and the whole of the second section. Link to comment
operationkite Posted December 2, 2021 Share Posted December 2, 2021 @vitor thanks. 1) I checked all steps in 2nd post. The Workflow - 2021.10 Alfred - 4.6.1 macOS - 12.0.1 Gdrive Location - I don't know if gdrive is an atypical location. I installed in the default. Change environment variables - I am not clear is that only if gdrive is not in the typical location? find Terminal Command - This worked the 1s time (very long list) but then I did the rest of the 2nd post. I restarted Mac and ran the terminal command. Here is the terminal Command for restart and then the Find Command I tried several times but it doesn't display anything now. I tried running :gdlaunchd and then also :gdrebuildcache but the Find command is empty. Thanks. Last login: Thu Dec 2 13:37:06 on ttys000 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. daniels-mini:~ Daniel$ rm -rf "${HOME}/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vitorgalvao.alfred.googledrive" daniels-mini:~ Daniel$ rm "${HOME}/Library/LaunchAgents/com.vitorgalvao.launchd.googledrivecache.plist" rm: /Users/Daniel/Library/LaunchAgents/com.vitorgalvao.launchd.googledrivecache.plist: No such file or directory daniels-mini:~ Daniel$ osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "uninstall"' daniels-mini:~ Daniel$ osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "install"' daniels-mini:~ Daniel$ find "/Volumes/GoogleDrive/My Drive" | wc -l Last login: Thu Dec 2 13:42:44 on ttys000 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. daniels-mini:~ Daniel$ find "/Volumes/GoogleDrive/My Drive" | wc -l Link to comment
vitor Posted December 3, 2021 Author Share Posted December 3, 2021 @operationkite Please try to organise any following posts. Your information is all jumbled which makes it very hard to understand. 4 hours ago, operationkite said: I don't know if gdrive is an atypical location. Where is it on you machine? 4 hours ago, operationkite said: find Terminal Command - This worked the 1s time (very long list) Then you ran it wrong. It should output a number and nothing else. Please make sure to copy and paste commands exactly as they are given. 4 hours ago, operationkite said: then the Find Command I tried several times but it doesn't display anything now. Again, then something is wrong. Or your Google Drive isn’t in the normal location. I can’t check that one for you, you need to find that yourself. 4 hours ago, operationkite said: I tried running :gdlaunchd and then also :gdrebuildcache but the Find command is empty. No, don’t. Please run just what was asked. You’re doing extra stuff in random order so I no longer know what you did or what state things are in. The point of the commands is to reset the state. If you run other things you change it and I again have no clue of your setup. You have to run the commands and wait. Link to comment
vitor Posted December 5, 2021 Author Share Posted December 5, 2021 Update. Normalise unicode strings when searching. Thank you to Masato Sugiyama for the PR. This fixes searches for non-latin alphabets. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
Swoop Posted January 16, 2022 Share Posted January 16, 2022 I was frustrated and looking for a solution. This is awesome. Thank you very much. vitor 1 Link to comment
vitor Posted January 16, 2022 Author Share Posted January 16, 2022 Released updates today. Use lazy find to build cache.Use epoch when unable to get atime.Add !gddiagnostic.Better checks for cache rebuild in progress. Le Tien 1 Link to comment
Le Tien Posted January 17, 2022 Share Posted January 17, 2022 I am currently using 60gb Drive and synced directly on ssd, do I need to use this workflow? I just want to use "gd ..." command to search for files/folders on my drive? Link to comment
Henry31 Posted January 17, 2022 Share Posted January 17, 2022 20 minutes ago, Le Tien said: I am currently using 60gb Drive and synced directly on ssd, do I need to use this workflow? I just want to use "gd ..." command to search for files/folders on my drive? Yes, I'm using this workflow with my 110,47 GB sized Google Drive. And it works like a charm. vitor and Le Tien 2 Link to comment
vitor Posted January 17, 2022 Author Share Posted January 17, 2022 1 hour ago, Le Tien said: do I need to use this workflow? Only if you can’t see the files in your Google Drive with the normal Alfred file search (which means Spotlight also won’t see them). Le Tien 1 Link to comment
Le Tien Posted January 18, 2022 Share Posted January 18, 2022 10 hours ago, Henry31 said: Yes, I'm using this workflow with my 110,47 GB sized Google Drive. And it works like a charm. Tks you for your feedback, but when workflow cache file, will it affect writing GB to my SSD? Link to comment
Henry31 Posted January 18, 2022 Share Posted January 18, 2022 Just based on my understanding, will this workflow just build up an index. So, a database file on your disk. So not heavy i/o writings, just one file, which will be updated and extended... I don't know if this is a problem for an SSD. I'm working on a MacBook Pro also with an SSD. But for me, build is a search index is a basic task for a computer, so I'm not worrying about my SSD. It's a task which a computer must do, never mind if it has an SSD or an HDD. Just my two cents.. Le Tien 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now