You are not logged in.

#26 2006-07-09 01:41:45

motm95
Member
Registered: 2006-06-28
Posts: 8

Re: Pypanel

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

#27 2006-07-09 01:48:35

wickedlester
Member
From: Texas, USA
Registered: 2004-07-22
Posts: 144

Re: Pypanel

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

#28 2006-07-09 01:53:08

motm95
Member
Registered: 2006-06-28
Posts: 8

Re: Pypanel

Hey, many, many thanks!  Works great now. 

Cheers!

Offline

Board footer

Powered by FluxBB