Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
All graphical python programs failing (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wol
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2002
Posts: 107

PostPosted: Sun Aug 21, 2011 3:52 am    Post subject: All graphical python programs failing (solved) Reply with quote

Rebooted for the first time in awhile. Suddenly all graphical python programs, e.g. gramps, porthole, exaile, are all failing to load with the same error message:

Sample from gramps:

1591: ERROR: grampsgui.py: line 357: Gramps failed to start.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gramps/gui/grampsgui.py", line 337, in __startgramps
Gramps(argparser)
File "/usr/lib64/python2.7/site-packages/gramps/gui/grampsgui.py", line 256, in __init__
register_stock_icons()
File "/usr/lib64/python2.7/site-packages/gramps/gui/grampsgui.py", line 161, in register_stock_icons
base_reg_stock_icons(iconpaths, extraiconsize, items+items_legacy)
File "/usr/lib64/python2.7/site-packages/gramps/gui/pluginmanager.py", line 90, in base_reg_stock_icons
pixbuf = gtk.gdk.pixbuf_new_from_file (icon_file)
GError:

Sample from porthole:
Traceback (most recent call last):
File "/usr/bin/porthole-2.7", line 114, in <module>
main()
File "/usr/lib64/python2.7/site-packages/porthole/startup.py", line 182, in main
myicon = gtk.gdk.pixbuf_new_from_file(DATA_PATH + "pixmaps/porthole-icon.png")
glib.GError: Couldn't recognize the image file format for file '/usr/share/porthole/pixmaps/porthole-icon.png'

Command line python programs are fine, other non-python programs seem to work fine.

Running amd64~

I've run revdep-rebuild and also re-emerged gdk-pixbuf, but nothing seems to be missing.


Last edited by wol on Sun Aug 21, 2011 4:32 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Sun Aug 21, 2011 4:23 am    Post subject: Reply with quote

What does 'emerge -1pv gdk-pixbuf' print ?
Also, does python run those gdk.pixbuf commands without a failure (i.e. 'gtk.gdk.pixbuf_new_from_file (<a png file>)') ?
Back to top
View user's profile Send private message
wol
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2002
Posts: 107

PostPosted: Sun Aug 21, 2011 4:34 am    Post subject: Solved - but don't know which program was problem Reply with quote

I re-ran emerge on all the dependencies for gramps (bsddb3 pygtk pygoocanvas xdg-utils librsvg libgnome-python gconf-python gtkspell-python pyenchant graphviz pywebkitgtk intltool gettext libiconv pkgconfig sed eselect-python gdk-pixbuf)
and suddenly everything is working. Can't say which exactly was the solution.
_________________
Intellectual dishonesty is a mortal sin.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum