TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.88k stars 191 forks source link

Synology DSM7 Linux: Exception: Couldn't find the executable zenity in the path #150

Closed IamMattM closed 1 year ago

IamMattM commented 1 year ago

Trying for first time the chmod-ed +x utility under <Linux DiskStation 4.4.180+> (Synology DSM7 fork) but it seems to be looking for a utility called "zenity"

`GooglePhotosTakeoutHelper v3.3.0 Hi there! This tool will help you to get all of your photos from Google Takeout to one nice tidy folder

(If any part confuses you, read the guide on: https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper )

First, select all .zips from Google Takeout (use Ctrl to select multiple) [press enter to continue]

Unhandled exception: Exception: Couldn't find the executable zenity in the path.

0 isExecutableOnPath (package:file_picker_desktop/src/file_picker_utils.dart:96)

#1 FilePickerLinux._getPathToExecutable (package:file_picker_desktop/src/file_picker_linux.dart:95) #2 FilePickerLinux.pickFiles (package:file_picker_desktop/src/file_picker_linux.dart:19) #3 getZips (package:gpth/interactive.dart:79) #4 main (file:///home/runner/work/GooglePhotosTakeoutHelper/GooglePhotosTakeoutHelper/bin/gpth.dart:86) `
IamMattM commented 1 year ago

Gathered that interactive mode is also a graphical one that relises on GNome Zenity and that in my use case (Synology DSM7) command-line calls with parameters should instead be used. Closing the ticket.

TheLastGimbus commented 1 year ago

Yess, exactly - if you are tech-savy and are using gpth only in terminal -> using cli options will be even faster for you since you can use dedicated tool like p7zip to extract the files (which should be a bit faster that Dart)