fritteli / gentoo-overlay

https://gittr.ch/linux/gentoo-overlay
GNU General Public License v2.0
24 stars 7 forks source link

Duplicati failing to run #57

Open py-crash opened 3 years ago

py-crash commented 3 years ago

I installed duplicati from the overlay, however it failed to run after that, maybe a missing dependency. I says gtk-sharp, however dev-dotnet/gtk-sharp is installed on my system

$ duplicati
Unexpected error: System.TypeLoadException: Could not load type of field 'Duplicati.GUI.TrayIcon.GtkRunner:m_trayIcon' (1) due to: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at Duplicati.GUI.TrayIcon.Program.RunTrayIcon (System.String toolkit) [0x00027] in <d8f7365e5553410c9b088018a8456fd3>:0 
  at Duplicati.GUI.TrayIcon.Program.StartTray (System.String[] _args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, System.String toolkit, Duplicati.GUI.TrayIcon.HostedInstanceKeeper hosted, System.String password, System.Boolean saltedpassword) [0x00058] in <d8f7365e5553410c9b088018a8456fd3>:0
fritteli commented 3 years ago

I know, I have the same issue. I haven't been able to resolve it yet; but you can start duplicati-server from the command line like so: $ duplicati-server & And then connect to the GUI via web browser: http://localhost:8200/ iirc, I'm currently not at home and cannot verify the URL is correct.

That's how I use duplicati at the moment. Unfortunately you won't get the tray icon like that, but at least the main component is working.

py-crash commented 3 years ago

If I specify

$ export MONO_PATH=/usr/lib64/mono duplicati

The application won't start but also won't complain. Maybe it helps you

TeaDrinkingProgrammer commented 10 months ago

I know I am reviving this thread, but I have exactly the same problem.