You are not logged in.
Pages: 1
I've installed PyPanel and i did the "Pre-Configuration Fixes" as it says here.
and this is what i get when i try to start it:
[yogev@archlinux ~]$ pypanel
/usr/bin/pypanel:892: RuntimeWarning: Python C API version mismatch for module ppmodule: This Python has API version 1013, module ppmodule has version 1012.
from ppmodule import ppinit, ppshade, ppicon, ppfont, ppfontsize, ppclear
Failed to open ~/.pypanelrc -
name 'above' is not definedAny ideas?
Thanks advanced!
Yogev.
Offline
Are you using python 2.4 or 2.5 to start it?
looks like 2.5.
Should still be 2.4 if I remember correctly.
Offline
How can i find out?
Yogev.
Offline
First. you need to install this package:
pacman -Sy python24Then try running pypanel like this:
python2.4 /usr/bin/pypanelIt should work. That's what you would need to put in your .xinitrc, just add a "&" at the end to send it to the background.
Offline
Result:
[root@archlinux yogev]# python2.4 /usr/bin/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 117, in __init__
auth_prot_data = auth_data)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/display.py", line 982, in __init__
display.send_and_recv(request = -1)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/display.py", line 577, in send_and_recv
if request is not None and gotreq:
UnboundLocalError: local variable 'gotreq' referenced before assignmentYogev.
Offline
You could try this:
http://forums.gentoo.org/viewtopic.php? … l+protocol
But other than that, I don't know. The fix I gave you is what worked for me.
Offline
First. you need to install this package:
pacman -Sy python24Then try running pypanel like this:
python2.4 /usr/bin/pypanelIt should work. That's what you would need to put in your .xinitrc, just add a "&" at the end to send it to the background.
Worked like a charm for me. Thanks!
the funk soul brother.
Offline
I fixed mine a few weeks ago by using python 2.4 too. I'd suggest maybe trying
pacman -R python24 pypanel
pacman -Scc
pacman -S python24 pypanelThough maybe you might want to try turfing and readding pypanel's dependancies while you're at it since I'm not sure exactly where that error is coming from.
Offline
Pages: 1