You are not logged in.

#1 2007-04-01 12:49:37

Yogev
Member
Registered: 2005-08-10
Posts: 34

PyPanel doesn't work...

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 defined

Any ideas?


Thanks advanced!


Yogev.

Offline

#2 2007-04-01 14:18:45

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: PyPanel doesn't work...

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

#3 2007-04-01 14:42:06

Yogev
Member
Registered: 2005-08-10
Posts: 34

Re: PyPanel doesn't work...

How can i find out?


Yogev.

Offline

#4 2007-04-01 15:07:53

watsonalgas
Member
Registered: 2007-01-15
Posts: 94

Re: PyPanel doesn't work...

First. you need to install this package:

pacman -Sy python24

Then try running pypanel like this:

python2.4 /usr/bin/pypanel

It 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

#5 2007-04-01 15:16:00

Yogev
Member
Registered: 2005-08-10
Posts: 34

Re: PyPanel doesn't work...

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 assignment

Yogev.

Offline

#6 2007-04-01 15:22:50

watsonalgas
Member
Registered: 2007-01-15
Posts: 94

Re: PyPanel doesn't work...

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

#7 2007-04-06 18:52:58

funktion
Member
From: Providence, RI USA
Registered: 2006-07-10
Posts: 25
Website

Re: PyPanel doesn't work...

watsonalgas wrote:

First. you need to install this package:

pacman -Sy python24

Then try running pypanel like this:

python2.4 /usr/bin/pypanel

It 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

#8 2007-04-07 02:47:10

dtjohnst
Member
Registered: 2007-03-01
Posts: 85

Re: PyPanel doesn't work...

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 pypanel

Though 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

Board footer

Powered by FluxBB