rbot fails to run, possibly dependency issue with bdb

Bug #1164905 reported by Trejkaz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rbot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

piggypig@miku:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
piggypig@miku:~$ /usr/bin/rbot data
D, [2013/04/05 20:27:17#29908] DEBUG -- ircbot.rb:127: debug test
I, [2013/04/05 20:27:17#29908] INFO -- ircbot.rb:128: log test
W, [2013/04/05 20:27:17#29908] WARN -- ircbot.rb:129: warning test
E, [2013/04/05 20:27:17#29908] ERROR -- ircbot.rb:130: error test
F, [2013/04/05 20:27:17#29908] FATAL -- ircbot.rb:131: fatal test
D, [2013/04/05 20:27:17#29908] DEBUG -- rbotconfig.rb:28: trying to load rubygems
D, [2013/04/05 20:27:17#29908] DEBUG -- rbotconfig.rb:35: loaded rubygems, looking for rbot version 0.9.15 (rbot-0.9.15)
D, [2013/04/05 20:27:17#29908] DEBUG -- rbotconfig.rb:37: got gem #<Gem::Specification name=rbot version=0.9.15>
D, [2013/04/05 20:27:17#29908] DEBUG -- rbotconfig.rb:39: installed via rubygems to /home/piggypig/.rbenv/versions/1.8.7-p371/lib/ruby/gems/1.8/gems/rbot-0.9.15
I, [2013/04/05 20:27:17#29908] INFO -- load-gettext.rb:140: gettext loaded
F, [2013/04/05 20:27:17#29908] FATAL -- bdb.rb:9: rbot couldn't load the bdb module, perhaps you need to install it? try http://www.ruby-lang.org/en/raa-list.rhtml?name=bdb or http://github.com/knu/ruby-bdb
F, [2013/04/05 20:27:17#29908] FATAL -- bdb.rb:15: A bdb module was found, but it doesn't seem to be one I know about, sorry
/home/piggypig/.rbenv/versions/1.8.7-p371/lib/ruby/site_ruby/1.8/rbot/registry/bdb.rb:19: uninitialized constant Irc::BDB (NameError)
        from /home/piggypig/.rbenv/versions/1.8.7-p371/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /home/piggypig/.rbenv/versions/1.8.7-p371/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /home/piggypig/.rbenv/versions/1.8.7-p371/lib/ruby/site_ruby/1.8/rbot/ircbot.rb:497:in `initialize'
        from /usr/bin/rbot:123:in `new'
        from /usr/bin/rbot:123

Here's the gems I have installed:

piggypig@miku:~$ gem list

*** LOCAL GEMS ***

astro_moon (0.2)
bundler (1.3.5)
gettext (2.1.0)
git (1.2.5)
github (0.4.3)
highline (1.5.2)
hoe (2.6.2)
jeweler (1.6.4)
json (1.4.6)
json_pure (1.4.6)
locale (2.0.5)
rake (0.9.2.2, 0.8.7)
rake-compiler (0.7.9)
rbot (0.9.15)
rcov (0.9.11)
rubyforge (2.0.4)
shorturl (0.8.8)
text-format (1.0.0)
text-hyphen (1.0.0)
tuple (0.1.2)
tzinfo (0.3.23)

I uninstalled also ruby-related packages which I could find before reinstalling rbot and got the same effect.

On closer inspection, it looks like the classname rbot is expecting is BDB, but the bdb gem which ubuntu has installed has Bdb. It looked like rbot wanted a much newer version than what ubuntu had installed, so I'm assuming there is a dependency issue between the two.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rbot (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.