You are not logged in.

#1 2007-07-02 06:21:04

celsofaf
Member
From: Campinas, SP, BR
Registered: 2007-02-20
Posts: 25

Error using perlpanel or pypanel in OpenBox3

Hello. I decided to mess with openbox a bit, so using the Wiki's guide I installed openbox, made my menu, etc. But, well, I need a panel!

pacman -S perlpanel

After installing, I decided to run it. But it doesn't. Yes, openbox is running! Here is the output from xterm, as a non-root user (as root, about the same):

Can't locate lib.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/bin/perlpanel line 25.
BEGIN failed--compilation aborted at /usr/bin/perlpanel line 25.

OK, so let's try pypanel then... After "pacman -S pypanel", I type "pypanel" in and...

/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 -

[Errno 2] No such file or directory: '/usr/lib/python2.5/site-packages/pypanel/pypanelrc'

Any clues? Did I do something wrong? sad

Offline

#2 2007-07-02 09:43:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Error using perlpanel or pypanel in OpenBox3

For perlpanel

pacman -S perl

is what you need - it's a known bug caused by pacman.
For pypanel

cp /usr/lib/python2.4/site-packages/pypanel/pypanelrc ~/.pypanelrc

will fix it, although it's worth noting that pypanel is meant to create that file the first time it's run.

Offline

#3 2007-07-02 09:44:22

Origynet
Member
From: France - Cannes
Registered: 2007-05-03
Posts: 101

Re: Error using perlpanel or pypanel in OpenBox3

Well I encountered the same error using Pypanel.
I solved it by doing this :

mkdir /usr/lib/python2.5/site-packages/pypanel
cp /usr/lib/python2.4/site-packages/pypanel/* /usr/lib/python2.5/site-packages/pypanel/

I guess the error is similar with perlpanel...


Piou Piou

Offline

#4 2007-07-03 02:51:20

celsofaf
Member
From: Campinas, SP, BR
Registered: 2007-02-20
Posts: 25

Re: Error using perlpanel or pypanel in OpenBox3

tomk wrote:

For perlpanel

pacman -S perl

is what you need - it's a known bug caused by pacman.
For pypanel

cp /usr/lib/python2.4/site-packages/pypanel/pypanelrc ~/.pypanelrc

will fix it, although it's worth noting that pypanel is meant to create that file the first time it's run.

Thank you very much. Even doing what you recommended, perlpanel still showed about the same error. However, now pypanel runs. smile

Offline

#5 2007-07-03 14:46:17

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Error using perlpanel or pypanel in OpenBox3

I had the same perl error you have here with perlpanel, I think installing gtk2-perl solved this for me.
pacman -S gtk2-perl

Offline

Board footer

Powered by FluxBB