You are not logged in.
Pages: 1
Traceback (most recent call last):
File "/usr/bin/pypanel", line 957, in <module>
PyPanel(display.Display())
File "/usr/lib/python2.5/site-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.5/site-packages/Xlib/display.py", line 67, in __init__
apply(protocol.display.Display.__init__, (self, ) + args, keys)
File "/usr/lib/python2.5/site-packages/Xlib/protocol/display.py", line 121, in __init__
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": No protocol specified
Offline
I've been getting the same errors, since the latest upgrade pypanel just stopped working.
Offline
Same errors here
Last edited by Crooksey (2007-01-28 12:02:49)
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
AFAIK pypanel won't work with python 2.5
Offline
So is Pypanel obsolete now? Should I use another panel or is there a way to get pypanel working again?
Offline
pacman -S python24 should do it.
Has worked with my other apps that didn't like python 2.5 but not sure about pypanel
PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.
Offline
install python24 and run pypanel with:
python2.4 /usr/bin/pypanel
Offline
AFAIK pypanel won't work with python 2.5
Why pypanel won't work with 2.5?
Last edited by fk (2007-01-30 14:32:54)
Have you tried to turn it off and on again?
Offline
Why pypanel won't work with 2.5?
There was probably a change in 2.5 with xlib for python or something and since pypanel is no longer actively developed problems are likely to arise.
Offline
Maybe it's just a question of rebuilding python-xlib and pypanel...
Offline
Maybe it's just a question of rebuilding python-xlib and pypanel...
nope, trust me I tried just about everything. In the end, I commented out the testing repositories in pacman.conf, removed python24, manually updated all software that was in testing, then re-installed python-xlib and pypanel.
Offline
You can also use python 2.5 and 2.4. Just install python24 and start pypanel with "python2.4 /usr/bin/pypanel".
Offline
Works fine for me with python-2.5 & python-xlib-0.12.
Offline
You can also use python 2.5 and 2.4. Just install python24 and start pypanel with "python2.4 /usr/bin/pypanel".
How would I write that in .xinitrc ?
Offline
I'm having problems after installing python24.
python2.4 /usr/bin/pypanel gives the following (as both regular and root user):
# python2.4 /usr/bin/pypanel
Traceback (most recent call last):
File "/usr/bin/pypanel", line 892, in ?
from ppmodule import ppinit, ppshade, ppicon, ppfont, ppfontsize, ppclear
ImportError: No module named ppmodule
I've googled the last line and nothing turns up. Am I doing something wrong?
Last edited by synorgy (2007-02-11 21:58:19)
"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)
Offline
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 ..
Last edited by dabox (2007-02-27 08:08:46)
Offline
Whith python 2.4 works fine!
tanks
Offline
I found a fix for the original problem in the xlib bug tracker http://sourceforge.net/tracker/index.ph … tid=110350
The new xauth.py got pypanel working for me in 2.5 with xlib 0.13
andy
Offline
Pages: 1