Menu

Problem starting, following error

Help
feersh
2005-06-11
2013-04-15
  • feersh

    feersh - 2005-06-11

      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 __getattr__
        raise AttributeError(attr)
    AttributeError: roots

     
    • feersh

      feersh - 2005-06-11

      Arch linux, openbox 3.2

       
    • Jon Gelo

      Jon Gelo - 2005-06-11

      This is a problem with Python-Xlib.  Under certain conditions, the receive buffer size isn't large enough.  To fix it, 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)

      4096 should be large enough ..

       
    • feersh

      feersh - 2005-06-12

      Many thanks, has helped... All works...
      Forgive for my English

       

Log in to post a comment.