New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layouts not working? #10

Closed
ghedamat opened this Issue Nov 25, 2010 · 13 comments

Comments

Projects
None yet
2 participants
@ghedamat

ghedamat commented Nov 25, 2010

Hi sunaku! it's always me :)

I moved to another machine @ work..
and as usual i've installed your fantastic wmiirc :)

thus i'm having a few issues that i would like to share...

wmii version: wmii-hg with libixp-hg

rumai version: 3.3.1

wmiirc. my own fork.. but i've rebased yesterday

PROBLEM:
trying to use one of the predefined layouts
ie. diamond

gives this error

<TypeError: can't convert Rumai::Client to Array (Rumai::Client#to_ary gives Rumai::Node)>

probably this is caused by some error in my conf..

if you have any hint I would appreciate your help :)

Ghedamat

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Nov 25, 2010

oops, I forgot

ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]

ghedamat commented Nov 25, 2010

oops, I forgot

ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Nov 25, 2010

Owner

Could you please post the full stack trace? Thanks.

Owner

sunaku commented Nov 25, 2010

Could you please post the full stack trace? Thanks.

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Nov 25, 2010

here you are :)

thank you very much as usual! :)

#<TypeError: can't convert Rumai::Client to Array (Rumai::Client#to_ary gives Rumai::Node)>
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:665:in flatten!' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:665:inunshift'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:696:in length=' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1007:inblock (2 levels) in arrange_in_diamond'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:880:in block in each_column' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:876:inloop'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:876:in each_column' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1005:inblock in arrange_in_diamond'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1038:in maintain_focus' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1004:inarrange_in_diamond'
/home/tha/.wmii/control/action/arrange.yaml:control:keyboard_action:arrange_current_view_in_diamond:1:in block (3 levels) in control' /home/tha/.wmii/lib/wmiirc/handler.rb:20:incall'
/home/tha/.wmii/lib/wmiirc/handler.rb:20:in `block in handle'

ghedamat commented Nov 25, 2010

here you are :)

thank you very much as usual! :)

#<TypeError: can't convert Rumai::Client to Array (Rumai::Client#to_ary gives Rumai::Node)>
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:665:in flatten!' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:665:inunshift'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:696:in length=' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1007:inblock (2 levels) in arrange_in_diamond'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:880:in block in each_column' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:876:inloop'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:876:in each_column' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1005:inblock in arrange_in_diamond'
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1038:in maintain_focus' /usr/local/rvm/gems/ruby-1.9.2-p0/gems/rumai-3.3.1/lib/rumai/wm.rb:1004:inarrange_in_diamond'
/home/tha/.wmii/control/action/arrange.yaml:control:keyboard_action:arrange_current_view_in_diamond:1:in block (3 levels) in control' /home/tha/.wmii/lib/wmiirc/handler.rb:20:incall'
/home/tha/.wmii/lib/wmiirc/handler.rb:20:in `block in handle'

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Feb 19, 2011

Owner

Hello ghedamat, sorry for the looooong delay.

All this time I was using Compiz/Gnome under Ubuntu because everything "Just Worked" on my new laptop. However, I became tired of not having wmii's productivity and finally decided to try using wmii on my laptop.

I just encountered this error you reported and will fix it and get up to speed on wmiirc development in the next few days. Cheers!

Owner

sunaku commented Feb 19, 2011

Hello ghedamat, sorry for the looooong delay.

All this time I was using Compiz/Gnome under Ubuntu because everything "Just Worked" on my new laptop. However, I became tired of not having wmii's productivity and finally decided to try using wmii on my laptop.

I just encountered this error you reported and will fix it and get up to speed on wmiirc development in the next few days. Cheers!

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Feb 19, 2011

No problem! let me know if you manage to fix it :)
and thanks again for your help!

p.s.
Wmii is definitely better than compiz :P

ghedamat commented Feb 19, 2011

No problem! let me know if you manage to fix it :)
and thanks again for your help!

p.s.
Wmii is definitely better than compiz :P

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Feb 19, 2011

ooops closed by mistake :P reopen it if you want..

ghedamat commented Feb 19, 2011

ooops closed by mistake :P reopen it if you want..

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Feb 19, 2011

Owner

It seems only the person who closed the issue can reopen it.

Owner

sunaku commented Feb 19, 2011

It seems only the person who closed the issue can reopen it.

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Feb 20, 2011

It seems that nobody can reopen it.... sry!

ghedamat commented Feb 20, 2011

It seems that nobody can reopen it.... sry!

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Feb 20, 2011

Owner

I found the problem: Rumai::Client whose ancestor is Rumai::Node includes the Enumerable module (which defines #to_a method). Ruby's Array#flatten method is getting confused by the result of Rumai::Node#to_a.

Owner

sunaku commented Feb 20, 2011

I found the problem: Rumai::Client whose ancestor is Rumai::Node includes the Enumerable module (which defines #to_a method). Ruby's Array#flatten method is getting confused by the result of Rumai::Node#to_a.

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Feb 20, 2011

Owner

Pushed 78bae39 as the fix.

Owner

sunaku commented Feb 20, 2011

Pushed 78bae39 as the fix.

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Feb 24, 2011

Still have to try it.. due to compile problems..
let me know when you update the gem :P

thanks again!

ghedamat commented Feb 24, 2011

Still have to try it.. due to compile problems..
let me know when you update the gem :P

thanks again!

@sunaku

This comment has been minimized.

Show comment
Hide comment
@sunaku

sunaku Feb 25, 2011

Owner

Just released 4.0.0 gem. Enjoy!

Owner

sunaku commented Feb 25, 2011

Just released 4.0.0 gem. Enjoy!

@ghedamat

This comment has been minimized.

Show comment
Hide comment
@ghedamat

ghedamat Feb 28, 2011

updated to rumai 4.0.0. and now works great!
thanks!

ghedamat commented Feb 28, 2011

updated to rumai 4.0.0. and now works great!
thanks!

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment