Closed BenPalethorpe closed 1 year ago
Can you try after installing these packages xdg-desktop-portal
and xdg-desktop-portal-gnome
(or xdg-desktop-portal-kde
if you are using KDE or xdg-desktop-portal-gtk
if you are using some other DE).
Hi, That worked perfectly! I can save and load projects now
Thank you!
Hi, I installed GElectrical on RPi4 using Snap. I can create schematics and I can export files (network.json, report.pdf, network.html etc) successfully. But when I try and save a project nothing happens.
I tried to run the application from a Terminal (rather than the drop down start menu) to see if made any difference. I still have the same issue but in this case I can see some error messages that might help diagnose -
pie@raspberrypi:~ $ gelectrical 2023-09-18 21:33:14,153 - root - INFO - Start Program Execution 2023-09-18 21:33:14,154 - gelectrical - INFO - MainApp - Start initialisation 2023-09-18 21:33:14,155 - gelectrical - INFO - MainApp - Initialised 2023-09-18 21:33:14,155 - root - INFO - Entering Gtk main loop 2023-09-18 21:33:14,162 - gelectrical - INFO - MainApp - do_startup - Start 2023-09-18 21:33:14,325 - gelectrical - INFO - MainApp - do_startup - End 2023-09-18 21:33:14,326 - gelectrical - INFO - MainApp - do_command_line - Start 2023-09-18 21:33:14,326 - gelectrical - INFO - MainApp - do_activate - Start 2023-09-18 21:33:14,327 - gelectrical - INFO - MainWindow - Start initialisation 2023-09-18 21:33:14,327 - gelectrical - INFO - Setting up program settings 2023-09-18 21:33:14,330 - gelectrical - INFO - Program settings opened at /home/pie/snap/gelectrical/5/.local/share/GElectrical/1/settings.ini 2023-09-18 21:33:14,330 - gelectrical - INFO - Program settings initialised
(gelectrical_launcher.py:2002): IBUS-WARNING **: 21:33:14.477: Failed to mkdir /home/pie/snap/gelectrical/5/.config/ibus/bus: Not a directory 2023-09-18 21:33:15,083 - gelectrical - INFO - MainWindow - Initialised 2023-09-18 21:33:15,084 - gelectrical - INFO - MainApp - do_activate - End 2023-09-18 21:33:15,084 - gelectrical - INFO - MainApp - do_command_line - End
(gelectrical_launcher.py:2002): Gtk-WARNING **: 21:35:16.059: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
The first warning (mkdir) is when the program starts. The second warning (GtK) is when I try to save the project.
Do you have any idea what I can do to make it save correctly?
Thanks for your help. Ben