You are not logged in.

#1 2005-08-28 20:10:33

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Pypanel does not start

From the error output, I suspect a python-xlib error but I have no idea how to fix it.

keevn@fygor::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

Any ideas?

Offline

#2 2005-08-28 21:24:52

Lowe
Member
Registered: 2005-07-11
Posts: 89

Re: Pypanel does not start

Did you try this? worked great for me.

Mr Green wrote:

Emmm Ok. try this  Open the following file -

/usr/lib/python<version>/site-packages/Xlib/protocol/display.py

and change line 530 from -

recv = self.socket.recv(2048)

to -

recv = self.socket.recv(4096)

HTH

Offline

#3 2005-08-28 23:23:31

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Offline

#4 2005-09-02 14:11:29

Machiavelli
Member
Registered: 2005-08-24
Posts: 92

Re: Pypanel does not start

Great. Hade the same problem here, but was to shy to ask about it. wink

Offline

Board footer

Powered by FluxBB