You are not logged in.
I get a similar set of errors when trying to run pypanel:
Traceback (most recent call last):
File "/usr/bin/pypanel", line 957, in ?
PyPanel(display.Display())
File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 67, in __init__
apply(protocol.display.Display.__init__, (self, ) + args, keys)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/display.py", line 122, in __init__
self.default_screen = min(self.default_screen, len(self.info.roots) - 1)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/rq.py", line 1371, in __getattr__
raise AttributeError(attr)
AttributeError: roots
If anyone has any suggestions I'd be very appreciative. Thanks.
Offline
I had the same problem. did a net search and found this.
edit /usr/lib/python2.4/site-packages/Xlib/protocol/display.py and change line
530 to this
recv = self.socket.recv(4096)
Offline
Hey, many, many thanks! Works great now.
Cheers!
Offline