You are not logged in.
Whenever I modify .pypanelrc I can restart pypanel fine, but when try logging out and back into Openbox it crashes with these errors:
Traceback (most recent call last):
File "/usr/bin/pypanel", line 957 in <module>
PyPanel(display.Display())
File "/usr/bin/pypanel", line 94 in __init__
self.getDesktopNames()
File "/usr/bin/pypanel", line 360, in getDesktopNames()
desktop.total = self.root.get_full_property (self_.DESKTOP_COUNT)
AttributeError: 'NoneType' object has no attribute value
When I open and save .pypanel again in Awesome I can log back into Openbox. Can anyone help?
Thanks!
Last edited by Yes (2008-05-23 22:18:28)
Offline
Sounds like pypanel is being started before Openbox. Replace the line that runs pypanel in your xinitrc with something like this:
(sleep 3 ; pypanel) &
Offline
I had these lines in there to make sure that pypanel would start last:
if pgrep pypanel
then exec openbox
else pypanel && exec openbox
fi
I didn't write them though, so I dunno if there's something wrong with them. I've added the sleep line, so I'll see if it happens again.
Offline
Nope, I just logged into Awesome for a minute and when I tried logging back in to Openbox I got the same error. That was with the sleep line.
Offline