Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Server installation error on linux appimage #99

Closed
2 tasks done
turtaf opened this issue Apr 23, 2024 · 2 comments
Closed
2 tasks done

[Bug]: Server installation error on linux appimage #99

turtaf opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@turtaf
Copy link

turtaf commented Apr 23, 2024

Bug description

I tried to setup a server on Linux.

  1. step, tried from flatpak installation, but as far as I understood it is not possible, so
  2. I installed party appimage version and as I try to install server from there I get the following error message:
Exception: Couldn't find the executable zenity in the path.
#0      isExecutableOnPath (package:file_picker/src/utils.dart:60)
<asynchronous suspension>
#1      FilePickerLinux._getPathToExecutable (package:file_picker/src/linux/file_picker_linux.dart:119)
<asynchronous suspension>
#2      FilePickerLinux.getDirectoryPath (package:file_picker/src/linux/file_picker_linux.dart:64)
<asynchronous suspension>
#3      _ServerSetupScreen._onInstallPressed (package:passy/screens/server_setup_screen.dart:57)
<asynchronous suspension>

Expected outcome

Having the server (somehow) installed

Steps to reproduce

Launch snappy appimage
install server

Error log

Exception: Couldn't find the executable zenity in the path.
#0      isExecutableOnPath (package:file_picker/src/utils.dart:60)
<asynchronous suspension>
#1      FilePickerLinux._getPathToExecutable (package:file_picker/src/linux/file_picker_linux.dart:119)
<asynchronous suspension>
#2      FilePickerLinux.getDirectoryPath (package:file_picker/src/linux/file_picker_linux.dart:64)
<asynchronous suspension>
#3      _ServerSetupScreen._onInstallPressed (package:passy/screens/server_setup_screen.dart:57)
<asynchronous suspension>

App version

v1.8.0 - Entry Tags

Submission checklist

  • I have specified the problem in the issue title
  • I have provided a verbose description of the problem
@turtaf turtaf added the bug Something isn't working label Apr 23, 2024
@GleammerRay
Copy link
Collaborator

GleammerRay commented Apr 23, 2024

Hello @turtaf !

It appears as though you don't have zenity installed on your system. Passy uses zenity for its file picker functionality on Linux systems as it is one of the most common Linux programs with file picker functionality.

To resolve this issue, please install zenity. If you are unsure about how to do that, tell me which Linux system you are currently using so that I can assist you in installing zenity on your system. Cheers!

@turtaf
Copy link
Author

turtaf commented Apr 24, 2024

Hi @GleammerRay!!

So, I dug a little deeper in the mater and, my bad, I didn't understand how it was behaving.
I thought it wasn't working on flatpak, due to it was opening a dialog and I thought it was asking to indicate where the installer was, while it was asking to pick a folder...
So first correction, it does work on flatpak, as it probably finds zenity in the sandbox, while I don't have it installed on my machine and that's probably the reason for it not working on Appimage.

Then I have another issue, on the following step, but I'll open a new one, as it is a different problem.

Thanks a lot for your kind help.

@turtaf turtaf closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants