#13 display icons error

closed
nobody
None
5
2005-06-22
2005-05-31
Anonymous
No

/usr/lib/python2.4/site-packages/Xlib/display.py:30:
DeprecationWarning: Non-ASCII character '\xf6' in file
/usr/lib/python2.4/site-packages/Xlib/protocol/display.py
on line 749, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details

i add this:
LAUNCH_LIST = [
("firefox",
"/usr/share/pixmaps/mozilla-firefox.png"),
("xchat",
"/usr/share/pixmaps/xchat.png"),
]

Discussion

  • joecool

    joecool - 2005-06-15

    Logged In: YES
    user_id=1297366

    This must be something else.. because I get it all the time.
    I believe it might be a problem pypanel has with newer
    python version. Wish I could use it :(

    I get:

    /usr/lib/python2.4/site-packages/Xlib/display.py:30:
    DeprecationWarning: Non-ASCII character '\xf6' in file
    /usr/lib/python2.4/site-packages/Xlib/protocol/display.py on
    line 749, but no encoding declared; see
    http://www.python.org/peps/pep-0263.html for details
    import protocol.display
    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 __getattr__
    raise AttributeError(attr)
    AttributeError: roots

     
  • Jon Gelo

    Jon Gelo - 2005-06-22
    • status: open --> closed
     
  • joecool

    joecool - 2005-07-01

    Logged In: YES
    user_id=1297366

    yeah, I read that on gentoo forums awile back, increasing
    the buffer size does work as a temporary workaround, however
    this should not be considered a fix.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks