Find the answer to your Linux question:
Results 1 to 3 of 3
I need help getting this error... Code: arctic@mybox:~$ pypanel Traceback (most recent call last): File "/usr/bin/pypanel", line 923, in ? PyPanel(display.Display()) File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 80, in __init__ self.display = _BaseDisplay(display) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    May 2005
    Posts
    473

    PYPanel


    I need help getting this error...

    Code:
    arctic@mybox:~$ pypanel
    Traceback (most recent call last):
      File "/usr/bin/pypanel", line 923, 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 __g etattr__
        raise AttributeError(attr)
    AttributeError: roots

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    This worked for me...

    Open your /usr/lib/python<version>/site-packages/Xlib/protocol/display.py file, then change line 530 from:

    Code:
    recv = self.socket.recv&#40;2048&#41;
    to this:

    Code:
    recv = self.socket.recv&#40;4096&#41;

  3. #3
    Linux User
    Join Date
    May 2005
    Posts
    473
    thanks a lot that worked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •