On gentoo with gnome 3.18 and
x11-libs/gtk+-2.24.29
x11-libs/gtk+-3.18.7
gnome-base/libglade-2.6.4-r2
dev-python/pygtk-2.24.0-r4
I get KeyError in gfceux/main.py
Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/gfceux/main.py", line 600, in gamepad_clicked self.gamepad_config_no = d[widget.name] KeyError: None
widget has no "name"
In actuall ubuntu (15.10) it works.
I have searched a little bit and found this
http://stackoverflow.com/questions/3489520/python-gtk-widget-name
This had solved my problem. I have used
gtk.Buildable.get_name(widget)
I do not know, if this is a normalized access to the name, but seems to be.
With regards,
Lado
I wil test this patch later under ubuntu, where the original version works.
Fixed in r3200, but you should probably just use fceux GUI instead of gfceux
Unless you have some specific reason not to of course; or if that's what you feel like doing - but gfceux code hasn't been touched in quite some time (until now)