Closed cotto closed 12 years ago
Curious! I wonder if there's a mismatch between how camper_van is mapping the room name with irc vs. how it's named in campfire itself. What's the room called? "Ecto-1" with a hyphen?
That seems very likely. The room appears on Campfire as "ECTO-1". I can successfully join another room without any dashes in the name.
I couldn't reproduce this. I created a campfire room called ECTO-1, and was able to join it just fine. I did notice your backtrace includes an older version of firering, though, perhaps that has an influence. Try updating and see if it works then.
I am reproducing this behavior right now, with a room named nexus, and the latest version of firering and camper_van.
2012-12-04 14:03:31 9011 INFO CamperVan : closed connection from 127.0.0.1
/home/jpitts/.rvm/gems/ruby-1.9.3-p327/gems/camper_van-0.0.6/lib/camper_van/channel.rb:59:in +': can't convert nil into String (TypeError) from /home/jpitts/.rvm/gems/ruby-1.9.3-p327/gems/camper_van-0.0.6/lib/camper_van/channel.rb:59:in
block in join'
from /home/jpitts/.rvm/gems/ruby-1.9.3-p327/gems/camper_van-0.0.6/lib/camper_van/channel.rb:240:in call' from /home/jpitts/.rvm/gems/ruby-1.9.3-p327/gems/camper_van-0.0.6/lib/camper_van/channel.rb:240:in
block in update_users' from /home/jpitts/.rvm/gems/ruby-1.9.3-p327/gems/firering-1.2.2/lib/firering/data/room.rb:22:in `call'
14:03:13 localhost -- | There is 1 user on 1 channel
14:03:13 localhost -- | 0 :IRC Operators online
14:03:13 localhost -- | 0 :channels formed
14:03:13 localhost -- | I have 1 client and 0 servers
14:03:13 localhost -- | - MOTD for camper_van -
14:03:13 localhost -- | - Welcome to CamperVan.
14:03:13 localhost -- | - To see what campfire rooms are available to the
14:03:13 localhost -- | - configured subdomain and api key, use the LIST command.
14:03:13 localhost -- | END of MOTD
/LIST
14:03:23 localhost -- | #nexus(3)
14:03:23 localhost -- | End of list
I ran into this while trying to connect to campfire through camper_van via dircproxy. Everything seems to work until I join a room.