[DRE-maint] [Bug 1164905] Re: rbot fails to run, possibly dependency issue with bdb
Launchpad Bug Tracker
1164905 at bugs.launchpad.net
Tue Jul 9 08:26:02 UTC 2013
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: rbot (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1164905
Title:
rbot fails to run, possibly dependency issue with bdb
Status in “rbot” package in Ubuntu:
Confirmed
Bug description:
piggypig at miku:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
piggypig at 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 at 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rbot/+bug/1164905/+subscriptions
More information about the Pkg-ruby-extras-maintainers
mailing list