Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158618 - app-portage/porthole-0.5.0 crashes
Summary: app-portage/porthole-0.5.0 crashes
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 20:12 UTC by Juergen Rose
Modified: 2006-12-22 01:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The /var/log/porthole/crash_root.html file (crash_root.html,41.68 KB, text/html)
2006-12-19 20:13 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2006-12-19 20:12:38 UTC
Porthole crashes immeieatly after the start with:

root@cheetah:/etc/portage(62)# porthole
/usr/bin/porthole:62: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
*** PORTHOLE: Crash detected! ***
Please submit a bug report including
all debug text from the terminal you ran porthole from.
Plus the the file: /var/log/porthole/crash_root.html
Exception exceptions.AttributeError: "XMLManager instance has no attribute '_XMLManager__dom'" in <bound method XMLManager.__del__ of <porthole.xmlmgr.XMLManager instance at 0xb7027b0c>> ignored
Comment 1 Juergen Rose 2006-12-19 20:13:57 UTC
Created attachment 104416 [details]
The /var/log/porthole/crash_root.html file
Comment 2 Paul Varner (RETIRED) gentoo-dev 2006-12-20 11:20:45 UTC
I am unable to duplicate this on the three machines where I have it installed. (Two are stable x86 and one is unstable x86)

I am CC'ing upstream for their input.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2006-12-20 22:22:40 UTC
It sounds like the /root/.porthole/prefs file is corrupted.  Rename it and try starting porthole again.   At most you may have to reselect some of your preferences if you set them different.

I do not know why it happens but it does happen from time to time, but not very often.

I am going to work on eliminating the pyxml dependency to use the built-in python xml modules which are reportdly much better than they use to be.
Comment 4 Juergen Rose 2006-12-22 00:49:58 UTC
Thank you for the hint. I did not found /root/.porthole/prefs but /root/.porthole/prefs.xml, which has a length of 0 Bytes. After erazing this file porthole seems to work again.

     Juergen
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2006-12-22 01:02:40 UTC
Yes, sorry, I forgot to add the file extension.  I'm glad it is fixed.