You are not logged in.

#1 2010-05-26 00:15:39

philthy
Member
Registered: 2009-07-18
Posts: 10

Help setting up BMPanel2. Getting IndexError with bmpanel2cfg.

Hello. I'm running into trouble setting up BMPanel2. I've downloaded some of Weakhead's themes and extracted the BMPanel2 theme into the ~/.local/share/bmpanel2/themes folder, but I get an error when I try to run bmpanel2cfg.

Traceback (most recent call last):
  File "/usr/bin/bmpanel2cfg", line 12, in <module>
    g_remote = bmpanel2.Bmpanel2Remote(configfile)
  File "/usr/lib/python2.6/site-packages/bmpanel2.py", line 448, in __init__
    self.update_pid()
  File "/usr/lib/python2.6/site-packages/bmpanel2.py", line 489, in update_pid
    self.pid = configlist[0][0]
IndexError: list index out of range

What am I doing wrong?

Offline

#2 2010-05-26 00:40:31

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: Help setting up BMPanel2. Getting IndexError with bmpanel2cfg.

Are you just running "bmpanel2" not "bmpanel2cfg"

you have to create a file in ~/.config/bmpanel2/bmpanel2rc
and add the theme name to that file

echo "theme xsocam_dark" > ~/.config/bmpanel2/bmpanel2rc

Certified Android Junkie
Arch 64

Offline

#3 2010-05-27 01:03:33

philthy
Member
Registered: 2009-07-18
Posts: 10

Re: Help setting up BMPanel2. Getting IndexError with bmpanel2cfg.

smakked wrote:

Are you just running "bmpanel2" not "bmpanel2cfg"

you have to create a file in ~/.config/bmpanel2/bmpanel2rc
and add the theme name to that file

echo "theme xsocam_dark" > ~/.config/bmpanel2/bmpanel2rc

I'm running bmpanel2, but I'm trying to run bmpanel2cfg as stated by the readme of the theme. What file am I suppose to create in ~/.config/bmpanel2/bmpanel2rc?

Offline

#4 2010-05-27 01:23:30

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: Help setting up BMPanel2. Getting IndexError with bmpanel2cfg.

sorry create the "bmpanel2rc in the  ~/.config/bmpanel2/   folder, you may have to create the folder aswell.
Then add the line to it

theme xsocam_dark

Or the name of the them you are trying to use

Last edited by smakked (2010-05-27 01:23:53)


Certified Android Junkie
Arch 64

Offline

#5 2010-05-27 01:39:50

philthy
Member
Registered: 2009-07-18
Posts: 10

Re: Help setting up BMPanel2. Getting IndexError with bmpanel2cfg.

smakked wrote:

sorry create the "bmpanel2rc in the  ~/.config/bmpanel2/   folder, you may have to create the folder aswell.
Then add the line to it

theme xsocam_dark

Or the name of the them you are trying to use

So I created the entire pate ~/.config/bmpanel2/bmpanel2rc. In the bmpanel2rc folder I did touch bmpanel2rc to create a file and within that file I placed the following.

theme Fudamental
theme elementary

After doing that I run bmpanel2 & and then bmpanel2cfg &. Once I try to change the theme I get the following error. What am I doing wrong?

Traceback (most recent call last):
  File "/usr/bin/bmpanel2cfg", line 92, in view_cursor_changed
    reconfigure_and_reload_theme()
  File "/usr/bin/bmpanel2cfg", line 58, in reconfigure_and_reload_theme
    g_config.save()
  File "/usr/lib/python2.6/site-packages/bmpanel2.py", line 380, in save
    self.tree.save(self.path)
  File "/usr/lib/python2.6/site-packages/bmpanel2.py", line 200, in save
    with file(filename, "w") as f:
IOError: [Errno 21] Is a directory: '~/.config/bmpanel2/bmpanel2rc'

Offline

Board footer

Powered by FluxBB