-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
electrum-1.9.8: crash on startup with GTK UI #673
Comments
it works for me. |
After some discussion on the gentoo bug tracker, I believe the issue is as follows: "In gtk2 GtkDialog has “has-separator” property, in gtk3 that property has been removed. Source: https://bugs.gentoo.org/show_bug.cgi?id=509028 I am able to run 1.9.7 without issue. If I install 1.9.8, python compains about not being able to import gi module. I fix that by installing pyobject and get the "NO_SEPERATOR" error. Looks like gtk3 removed that attribute according to this: "-/* GtkDialog /
Source: https://www.mail-archive.com/devel@lists.geany.org/msg00579.html Please let me know if there is anything I can do to help get this fixed. |
Here's the official porting doc explanation: https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html#id-1.6.3.3.4 It looks like gtk.py is still relying on Gtk.DialogFlags.NO_SEPARATOR on line 90 in gtk.py, I think this is what's causing the issue. |
I already fixed this, see comment above |
Steps to Reproduce:
Actual Results:
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/electrum", line 204, in
gui.main(url)
File "/usr/lib64/python2.7/site-packages/electrum_gui/gtk.py", line 1310, in main
action = self.restore_or_create()
File "/usr/lib64/python2.7/site-packages/electrum_gui/gtk.py", line 1351, in restore_or_create
return restore_create_dialog()
File "/usr/lib64/python2.7/site-packages/electrum_gui/gtk.py", line 90, in restore_create_dialog
flags=Gtk.DialogFlags.MODAL|Gtk.DialogFlags.NO_SEPARATOR,
AttributeError: type object 'GtkDialogFlags' has no attribute 'NO_SEPARATOR'
Expected Results:
GTK UI appears
The text was updated successfully, but these errors were encountered: