[dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
Hi,

I wanted to try the ruby wmiirc, so I followed the steps in the
README, installed latest wmii/libixp from the repo, installed rumai
3.3.1 (since wmiirc require  4), checkout the strict branch (default
config.yaml) and when I startx, I get this on the xmessage-thingy:

#Rumai::IXP::Error: bad value -- in reply to
#Rumai::IXP::Twrite:0x9575810
@fields=[#Rumai::IXP::Struct::Field:0x93e8a38 @name=:tag, @format=2,
@countee=nil, @counter=nil, #Rumai::IXP::Struct::Field:0x93b40f8
@name=:fid, @format=4, @countee=nil, @counter=nil,
#Rumai::IXP::Struct::Integer8Field:0x93b3be4 @name=:offset,
@format=8, @countee=nil, @counter=nil,
#Rumai::IXP::Struct::Field:0x93b3658 @name=:count, @format=4,
@countee=#Rumai::IXP::Struct::Field:0x93b3130 @name=:data,
@format=nil, @countee=nil,
@counter=#Rumai::IXP::Struct::Field:0x93b3658 ..., @counter=nil,
#Rumai::IXP::Struct::Field:0x93b3130 @name=:data, @format=nil,
@countee=nil, @counter=#Rumai::IXP::Struct::Field:0x93b3658
@name=:count, @format=4,
@countee=#Rumai::IXP::Struct::Field:0x93b3130 ..., @counter=nil],
@values={:fid=6, :offset=0, :count=25, :data=#00 #c1c48b
#81654f 1, :tag=1}
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:158:in
`block in recv'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:121:in
`loop'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:121:in
`recv'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:176:in
`talk'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:341:in
`write'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:376:in
`block in write'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:220:in
`open'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/ixp/transport.rb:376:in
`write'
/usr/lib/ruby/gems/1.9.1/gems/rumai-3.3.1/lib/rumai/fs.rb:116:in `write'
/home/knarf/.wmii-hg/config.yaml:control:event:CreateTag:4:in `block in main'
/home/knarf/.wmii-hg/config.rb:34:in `call'
/home/knarf/.wmii-hg/config.rb:34:in `block in handle'
/home/knarf/.wmii-hg/config.rb:33:in `each'
/home/knarf/.wmii-hg/config.rb:33:in `handle'
/home/knarf/.wmii-hg/config.rb:53:in `event'
/home/knarf/.wmii-hg/wmiirc:63:in `block in main'
/home/knarf/.wmii-hg/wmiirc:63:in `each'
/home/knarf/.wmii-hg/wmiirc:63:in `main'



Re: [dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Suraj Kurapati
On Wed, Apr 27, 2011 at 11:21 AM, Aurélien Aptel
aurelien.ap...@gmail.com wrote:
 I wanted to try the ruby wmiirc, so I followed the steps in the
 README, installed latest wmii/libixp from the repo, installed
 rumai 3.3.1 (since wmiirc require  4), checkout the strict branch

It seems you are using the ruby wmiirc that was shipped with wmii
(which is ancient!) because the current ruby wmiirc on GitHub[1] no
longer maintains the strict branch and requires Rumai 4.1.2, so
try [1] instead.

[1]: https://github.com/sunaku/wmiirc



Re: [dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
On Wed, Apr 27, 2011 at 9:00 PM, Suraj Kurapati sun...@gmail.com wrote:
 It seems you are using the ruby wmiirc that was shipped with wmii
 (which is ancient!) because the current ruby wmiirc on GitHub[1] no
 longer maintains the strict branch and requires Rumai 4.1.2, so
 try [1] instead.

Yep, works better now, thanks :)