google-drive-workflow: Multiple Google Drive Paths not working any more

Diagnostic

Workflow version

2022.15

Alfred version

5.0

macOS version

12.4

Architecture

arm64

Preferences

Dict { result_limit = 50 }

Full Disk Access

Granted

Google drive path

Does NOT Exist: /Volumes/GoogleDrive/My Drive,/Volumes/GoogleDrive/Shared drives/some-shared-drive

Cache dir

cache.db

Cache file

16777233 28161706 -rw-r–r-- 1 username staff 0 108261376 “Jul 15 13:54:55 2022” “Jul 15 11:48:56 2022” “Jul 15 11:48:56 2022” “Jul 14 21:36:55 2022” 4096 229504 0 /Users/username/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.googledrive/cache.db

Temporary cache

Does NOT exist

Build progress

NOT running

Launchd job

Loaded: - 0 com.alfredapp.googledrive Installed

Debugger output

[15:50:03.480] Logging Started...
[15:50:09.779] Google Drive[Keyword] Processing complete
[15:50:09.780] Google Drive[Keyword] Passing output '' to Run Script
[15:50:09.853] Google Drive[Run Script] Processing complete
[15:50:09.857] Google Drive[Run Script] Passing output '' to Run Script
[15:50:09.948] ERROR: Google Drive[Run Script] Google Drive path does not exist!
[15:50:09.952] Google Drive[Run Script] Processing complete
[15:50:09.953] Google Drive[Run Script] Passing output 'PATH_ERROR' to Run Script
[15:50:09.953] Google Drive[Run Script] Passing output 'PATH_ERROR' to Conditional
[15:50:09.954] Google Drive[Conditional] Processing complete
[15:50:09.954] Google Drive[Conditional] Passing output 'PATH_ERROR' to Post Notification
[15:50:09.954] Google Drive[Post Notification] Processing complete
[15:50:09.954] Google Drive[Post Notification] Passing output 'PATH_ERROR' to Play Sound

More details

Since Update 2022.13 where the new Alfred 5 stuff was added, the feature to add multiple paths to the google_drive_path is not working any more. For reference that it was working beforehand, see this issue: https://github.com/alfredapp/google-drive-workflow/issues/25 This functionality is crucial for me. Can I expect a bugfix for this?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Version 2022.19 of the Google Drive workflow goes back to using the File Picker configuration. But because those are now editable in Alfred 5.0.3, comma-separated paths will continue to work. This way we get the best of both worlds.

You won’t have to make any changes after the update, everything should continue to work as you had it.

Thank you all for the feedback. Indeed I don’t think adding /Volumes is the proper approach so 2022.16 reverts to using the comma-separated method from before (but as GUI User Configuration) until I think of a better solution. Maybe I’ll wait until Google finishes the transition of Google Drives to the File Provider API and reevaluate then.

Presumably, if those GoogleDrive-NNNNNNNNNNNNNNNNNNNNNN are always from Drives with different associated emails (is that also the case for you @bevanjkay?) the shortcuts issue won’t apply.

@vitorgalvao Thank you very much for reverting to the original behavior. Much appreciated.

@vitorgalvao The first account has the usual /Volumes/GoogleDrive and the subsequent ones have the ID attached /Volumes/GoogleDrive-* - yes each mounted Volume is a separate Google Account.

I can’t speak into the shortcuts part right now as I wasn’t aware of the change until now.