You are not logged in.
Pages: 1
Hi,
Just tried to install obconf2 ... now getting this error
obconf2
/usr/lib/ruby/site_ruby/1.8/obconf2/callbacks.rb:312:in `initial_settings': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/bin/obconf2:76:in `main'
from /usr/bin/obconf2:85
Wondered if it works for anyone else ?
I am running openbox-svn 5673-1
Mr Green
Offline
I installed obconf2 today following instructions on Obconf trac page and I get this error when I try to run it:
/usr/lib/ruby/site_ruby/1.8/libglade2.rb:106: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/lib/ruby/site_ruby/1.8/libglade2.rb:106: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/lib/ruby/site_ruby/1.8/libglade2.rb:106: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/lib/ruby/site_ruby/1.8/libglade2.rb:106: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/bin/obconf2:66: warning: rb_f_lambda() is deprecated; use rb_block_proc() instead
/usr/bin/obconf2:78:in `set_cursor': wrong argument type nil (expected Data) (TypeError)
from /usr/bin/obconf2:78:in `main'
from /usr/bin/obconf2:85
Obconf window pops up for 0,5 second and dissapears
Offline
I changed the if ... line as per page emmm
loaded obconf again and that works
but nothing from obconf2 ;-(
Unless we have missed something else
Mr Green
Offline
Works when running as root ... though I would not change any settings ...
/usr/lib/ruby/site_ruby/1.8/obconf2/callbacks.rb:312:in `initial_settings': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/bin/obconf2:76:in `main'
from /usr/bin/obconf2:85
Mr Green
Offline
Just tried to install obconf2 ... now getting this error
obconf2 /usr/lib/ruby/site_ruby/1.8/obconf2/callbacks.rb:312:in `initial_settings': undefined method `each' for nil:NilClass (NoMethodError) from /usr/bin/obconf2:76:in `main' from /usr/bin/obconf2:85
Wondered if it works for anyone else ?
I am running openbox-svn 5673-1
Same error here...
Offline
Smoon has it working ..... very stange
Mr Green
Offline
Ok, there's a new package in my repo (http://arch.nooms.de/) and also a fixed version of ruby-libglade (had to call it ruby-libglade2). Both work without any issues for me. You'll need pacman3 to be able to use the packages, if you don't have that yet you can find the PKGBUILDS at http://hg.nooms.de/pkgbuilds/.
Offline
Updated both packages this morning ....
obconf2
/usr/bin/obconf2:78:in `set_cursor': wrong argument type nil (expected Data) (TypeError)
from /usr/bin/obconf2:78:in `main'
from /usr/bin/obconf2:85
using pacman3
looking at pkgbuild for obconf2-svn it shows deps as lib-glade ? unless you have not updated them yet [not sure if I am right!]
If you need any other output then let me know kinda scratching me head here :-)
Last edited by Mr Green (2007-03-28 06:29:28)
Mr Green
Offline
Ok I '#'ed out line 78 and obconf2 starts ;-S ... help!
Now I have figured out why my themes do not load XML!!!! /me bangs head against wall
Menu Header seems to have come back
Last edited by Mr Green (2007-03-28 19:02:09)
Mr Green
Offline
yes the problem is fixed in the new svn version (Revision 62) old Revision 61 has some bugs syscrash told me yesterday.
Greetings
eSpo
Offline
Thanks man obconf2 is cool just need some new themes now ;-)
Version 62 is now working
Last edited by Mr Green (2007-03-29 05:56:52)
Mr Green
Offline
you have to convert the old ones with
cat themerc | obthemetoxml > themerc.xml
Greetings
Offline
sweet lol
Mr Green
Offline
http://pastebin.archlinux.org/2162
A dirty python script was thinking about but mixing bash and python is messy
but my bash skills are none.....
its the command line thats the problem
ok take a list of file paths [ > themerc ] then run a loop to scan then cat as above ...
in other words reconfigure themerc to themerc.xml
Help!!!!
Mr Green
Offline
http://pastebin.archlinux.org/2162
A dirty python script was thinking about but mixing bash and python is messy
but my bash skills are none.....
its the command line thats the problem
ok take a list of file paths [ > themerc ] then run a loop to scan then cat as above ...
in other words reconfigure themerc to themerc.xml
Help!!!!
Quit, dirty and untested - but it should work:
for i in ~/.themes/* ; do if [ -f "$i/openbox-3/themerc" ] ; then cat "$i/openbox-3/themerc" | obthemetoxml > "$i/openbox-3/themerc.xml" ; fi ; done
Offline
ouch!!!! rofl
#!/bin/bash
for i in ~/.themes/*
do if [ -f "$i/openbox-3/themerc" ]
then cat "$i/openbox-3/themerc" | obthemetoxml > "$i/openbox-3/themerc.xml"
fi
done
well I thought .......
Last edited by Mr Green (2007-03-29 17:16:48)
Mr Green
Offline
With obconf2-svn-68-1 the problem is comming back...
[flo@orion ~]$ obconf2
/usr/lib/ruby/site_ruby/1.8/obconf2/callbacks.rb:377:in `initial_settings': undefined method `active=' for nil:NilClass (NoMethodError)
from /usr/bin/obconf2:76:in `main'
from /usr/bin/obconf2:85
[flo@orion ~]$
Last edited by fk (2007-05-08 19:38:17)
Have you tried to turn it off and on again?
Offline
With obconf2-svn-68-1 the problem is comming back...
[flo@orion ~]$ obconf2 /usr/lib/ruby/site_ruby/1.8/obconf2/callbacks.rb:377:in `initial_settings': undefined method `active=' for nil:NilClass (NoMethodError) from /usr/bin/obconf2:76:in `main' from /usr/bin/obconf2:85 [flo@orion ~]$
Openbox is currently under heave development and some parts in its libraries (which obconf2 uses) change sometimes. We just need to wait for obconf2 to catch up on this.
Offline
Pages: 1