jsn / rbot

ruby irc bot (official repo mirror)
http://ruby-rbot.org/
Other
80 stars 36 forks source link

az game does not work anymore with Ruby v1.9.x for rbot's tdb. #14

Closed antdude closed 10 years ago

antdude commented 11 years ago

Reproducable with four rbots on three different Linux boxes and in freenode.net's ruby-rbot in #rbot. My log:

$ ./launch_here.rb Running from /home/ant/bin/rbot /home/ant/bin/rbot/lib/rbot/compat19.rb:11: warning: method redefined; discarding old wait /usr/share/ruby/thread.rb:65: warning: previous definition of wait was here /home/ant/bin/rbot/lib/rbot/compat19.rb:39: warning: method redefined; discarding old wait /usr/share/ruby/monitor.rb:106: warning: previous definition of wait was here /home/ant/bin/rbot/lib/rbot/compat19.rb:55: warning: method redefined; discarding old signal /usr/share/ruby/monitor.rb:138: warning: previous definition of signal was here /home/ant/bin/rbot/lib/rbot/compat19.rb:60: warning: method redefined; discarding old broadcast /usr/share/ruby/monitor.rb:146: warning: previous definition of broadcast was here /home/ant/bin/rbot/lib/rbot/compat19.rb:67: warning: method redefined; discarding old extend_object /usr/share/ruby/monitor.rb:159: warning: previous definition of extend_object was here /home/ant/bin/rbot/lib/rbot/ircbot.rb:691: warning: assigned but unused variable - nick /home/ant/bin/rbot/lib/rbot/rbotconfig.rb:36: warning: assigned but unused variable - gemname D, [2013/08/17 16:19:45#32716] DEBUG -- ircbot.rb:127:in <top (required)>': debug test I, [2013/08/17 16:19:45#32716] INFO -- ircbot.rb:128:in<top (required)>': log test /home/ant/bin/rbot/lib/rbot/load-gettext.rb:102: warning: assigned but unused variable - ret W, [2013/08/17 16:19:45#32716] WARN -- ircbot.rb:129:in <top (required)>': warning test E, [2013/08/17 16:19:45#32716] ERROR -- ircbot.rb:130:in<top (required)>': error test F, [2013/08/17 16:19:45#32716] FATAL -- ircbot.rb:131:in <top (required)>': fatal test W, [2013/08/17 16:19:46#32716] WARN -- load-gettext.rb:143:inrescue in <top (required)>': failed to load ruby-gettext package: cannot load such file -- gettext/version; translations are disabled /home/ant/bin/rbot/lib/rbot/irc.rb:772: warning: assigned but unused variable - nick /home/ant/bin/rbot/lib/rbot/irc.rb:773: warning: assigned but unused variable - user /home/ant/bin/rbot/lib/rbot/irc.rb:774: warning: assigned but unused variable - host /home/ant/bin/rbot/lib/rbot/rfc2812.rb:1244: warning: assigned but unused variable - server /home/ant/bin/rbot/lib/rbot/ircsocket.rb:24: warning: assigned but unused variable - msg /home/ant/bin/rbot/lib/rbot/ircsocket.rb:311: warning: assigned but unused variable - e /home/ant/bin/rbot/lib/rbot/messagemapper.rb:571: warning: assigned but unused variable - s /home/ant/bin/rbot/lib/rbot/message.rb:261: warning: assigned but unused variable - ret /usr/local/share/gems/gems/tokyocabinet-1.29/tokyocabinet.so: warning: method redefined; discarding old size W, [2013/08/17 16:19:46#32716] WARN -- tc.rb:20:in rescue in <top (required)>': rbot couldn't load the bdb module. Old registries won't be upgraded D, [2013/08/17 16:19:46#32716] DEBUG -- ircbot.rb:509:ininitialize': Using /home/ant/.rbot/rbot.log' as debug log /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:344: warning: assigned but unused variable - err /usr/share/ruby/openssl/ssl-internal.rb:91: warning: assigned but unused variable - id /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire': iconv will be deprecated in the future, use String#encode instead. /home/ant/bin/rbot/lib/rbot/core/utils/utils.rb:231: warning: assigned but unused variable - date_format /home/ant/bin/rbot/lib/rbot/core/utils/utils.rb:310: warning: assigned but unused variable - e /usr/share/gems/gems/hpricot-0.8.6/lib/hpricot/traverse.rb:230: warning: assigned but unused variable - i /usr/share/gems/gems/hpricot-0.8.6/lib/hpricot/traverse.rb:298: warning: (...) interpreted as grouped expression /usr/share/gems/gems/hpricot-0.8.6/lib/hpricot/traverse.rb:297: warning: assigned but unused variable - oop /usr/share/gems/gems/hpricot-0.8.6/lib/hpricot/traverse.rb:615: warning: assigned but unused variable - links /usr/share/gems/gems/hpricot-0.8.6/lib/hpricot/elements.rb:490: warning: assigned but unused variable - idx /home/ant/bin/rbot/lib/rbot/core/auth.rb:151: warning: assigned but unused variable - e /home/ant/bin/rbot/lib/rbot/core/auth.rb:487: warning: assigned but unused variable - can_show /home/ant/bin/rbot/lib/rbot/core/basics.rb:41: warning: assigned but unused variable - who /home/ant/bin/rbot/lib/rbot/core/config.rb:207: warning: assigned but unused variable - who /home/ant/bin/rbot/lib/rbot/core/unicode.rb:69: warning: variable $KCODE is no longer effective /home/ant/bin/rbot/lib/rbot/core/unicode.rb:39: warning: encoding option isn't portable: ignore /home/ant/bin/rbot/lib/rbot/core/unicode.rb:40: warning: encoding option isn't portable: ignore /home/ant/bin/rbot/lib/rbot/core/unicode.rb:91: warning: variable $KCODE is no longer effective; ignored /home/ant/.rbot/plugins/Acro-2012.05.19.rb:214: warning: assigned but unused variable - fool /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:157: warning: assigned but unused variable - message /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:167: warning: assigned but unused variable - message /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/response.rb:11: warning: method redefined; discarding old body /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/payload.rb:47: warning: mismatched indentations at 'end' with 'case' at 40 /home/ant/.rbot/plugins/GoFish-2012.12.13.rb:621: warning: shadowing outer local variable - x /home/ant/.rbot/plugins/GoFish-2012.12.13.rb:640: warning: possibly useless use of a literal in void context /home/ant/.rbot/plugins/HGOTD-0.1.rb:10: warning: character class has duplicated range: /<img src="([a-zA-Z:\/\/._0-9]+)"/ WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1 /usr/share/ruby/rss/maker/base.rb:370: warning: assigned but unused variable - date /home/ant/.rbot/plugins/junkyard.rb:1160: warning: assigned but unused variable - wait /home/ant/.rbot/plugins/junkyard.rb:1484: warning: assigned but unused variable - wait /home/ant/.rbot/plugins/junkyard.rb:2127: warning: shadowing outer local variable - x /home/ant/.rbot/plugins/junkyard.rb:2150: warning: possibly useless use of a literal in void context /home/ant/.rbot/plugins/junkyard.rb:768: warning: method redefined; discarding old discard /home/ant/.rbot/plugins/justin-0.1.rb:138: warning: assigned but unused variable - e /home/ant/.rbot/plugins/justin-0.1.rb:302: warning: possibly useless use of a literal in void context /home/ant/.rbot/plugins/justin-0.1.rb:314: warning: assigned but unused variable - response /usr/share/rubygems/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth/client/helper.rb from ./launch_here.rb:68:in <main>' from ./launch_here.rb:68:inload' from /home/ant/bin/rbot/bin/rbot:123:in <top (required)>' from /home/ant/bin/rbot/bin/rbot:123:innew' from /home/ant/bin/rbot/lib/rbot/ircbot.rb:614:in initialize' from /home/ant/bin/rbot/lib/rbot/plugins.rb:699:inscan' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:in block in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:681:in block (2 levels) in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:inload_botmodule_file' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:in module_eval' from /home/ant/.rbot/plugins/justin-0.1.rb:8:inload_botmodule_file' from /usr/share/rubygems/rubygems/custom_require.rb:35:in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:inrescue in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:in require' from /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth.rb:10:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth/client/helper.rb:2:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth/consumer.rb:4:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth/client/net_http.rb:2:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' /home/ant/.gem/ruby/1.9.1/gems/oauth-0.4.7/lib/oauth/request_proxy/net_http.rb:69: warning: assigned but unused variable - auth_params [2013-08-17 16:19:48] INFO WEBrick 1.3.1 [2013-08-17 16:19:48] INFO ruby 1.9.3 (2013-06-27) [x86_64-linux] [2013-08-17 16:19:48] INFO WEBrick::HTTPServer#start: pid=32716 port=7207 /home/ant/.rbot/plugins/loveletter.rb:646: warning: assigned but unused variable - new_manager /home/ant/.rbot/plugins/qdb-0.3.rb:32: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/dice.rb:59: warning: assigned but unused variable - i /home/ant/.gem/ruby/1.9.1/gems/dict-0.3.7/lib/dict/wiktionary.rb:68: warning: assigned but unused variable - url_pl /home/ant/.gem/ruby/1.9.1/gems/dict-0.3.7/lib/dict/glosbe.rb:40: warning: assigned but unused variable - e /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:97: warning: shadowing outer local variable - port /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:481: warning: shadowing outer local variable - part /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:515: warning: shadowing outer local variable - part /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/charset.rb:13: warning: variable $KCODE is no longer effective lib/rational.rb is deprecated /usr/share/rubygems/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb from ./launch_here.rb:68:in

' from ./launch_here.rb:68:in load' from /home/ant/bin/rbot/bin/rbot:123:in<top (required)>' from /home/ant/bin/rbot/bin/rbot:123:in new' from /home/ant/bin/rbot/lib/rbot/ircbot.rb:614:ininitialize' from /home/ant/bin/rbot/lib/rbot/plugins.rb:699:in scan' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:inscan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:in each' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:inblock in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:in each' from /home/ant/bin/rbot/lib/rbot/plugins.rb:681:inblock (2 levels) in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:in load_botmodule_file' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:inmodule_eval' from /home/ant/bin/rbot/data/rbot/plugins/forecast.rb:9:in load_botmodule_file' from /usr/share/rubygems/rubygems/custom_require.rb:35:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:60:in rescue in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:9:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/wsdl/parser.rb:12:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:in <top (required)>' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:ineach' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:61:in block in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser/xmlparser.rb:9:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' /usr/share/rubygems/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb from ./launch_here.rb:68:in <main>' from ./launch_here.rb:68:inload' from /home/ant/bin/rbot/bin/rbot:123:in <top (required)>' from /home/ant/bin/rbot/bin/rbot:123:innew' from /home/ant/bin/rbot/lib/rbot/ircbot.rb:614:in initialize' from /home/ant/bin/rbot/lib/rbot/plugins.rb:699:inscan' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:in block in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:681:in block (2 levels) in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:inload_botmodule_file' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:in module_eval' from /home/ant/bin/rbot/data/rbot/plugins/forecast.rb:9:inload_botmodule_file' from /usr/share/rubygems/rubygems/custom_require.rb:35:in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:inrescue in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:9:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/wsdl/parser.rb:12:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:in<top (required)>' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:in each' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:61:inblock in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser/xmlscanner.rb:9:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' /usr/share/rubygems/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb from ./launch_here.rb:68:in
' from ./launch_here.rb:68:in load' from /home/ant/bin/rbot/bin/rbot:123:in<top (required)>' from /home/ant/bin/rbot/bin/rbot:123:in new' from /home/ant/bin/rbot/lib/rbot/ircbot.rb:614:ininitialize' from /home/ant/bin/rbot/lib/rbot/plugins.rb:699:in scan' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:inscan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:in each' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:inblock in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:in each' from /home/ant/bin/rbot/lib/rbot/plugins.rb:681:inblock (2 levels) in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:in load_botmodule_file' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:inmodule_eval' from /home/ant/bin/rbot/data/rbot/plugins/forecast.rb:9:in load_botmodule_file' from /usr/share/rubygems/rubygems/custom_require.rb:35:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:60:in rescue in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/wsdlDriver.rb:9:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/wsdl/parser.rb:12:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:in <top (required)>' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:56:ineach' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:61:in block in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser/rexmlparser.rb:9:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' /home/ant/bin/rbot/data/rbot/plugins/freshmeat.rb:85: warning: assigned but unused variable - max_width /home/ant/bin/rbot/data/rbot/plugins/freshmeat.rb:151: warning: assigned but unused variable - maxwidth /home/ant/bin/rbot/data/rbot/plugins/freshmeat.rb:232: warning: assigned but unused variable - changelog /home/ant/bin/rbot/data/rbot/plugins/imdb.rb:37: warning: ambiguous first argument; put parentheses or even spaces /home/ant/bin/rbot/data/rbot/plugins/imdb.rb:153: warning: assigned but unused variable - junk /home/ant/bin/rbot/data/rbot/plugins/iplookup.rb:142: warning: assigned but unused variable - winner /home/ant/bin/rbot/data/rbot/plugins/keywords.rb:440: warning: shadowing outer local variable - rkw /home/ant/bin/rbot/data/rbot/plugins/lart.rb:180: warning: assigned but unused variable - idx /home/ant/bin/rbot/data/rbot/plugins/math.rb:47: warning: character class has duplicated range: /(exp ([\w\d]+))/ /home/ant/bin/rbot/data/rbot/plugins/math.rb:102: warning: character class has duplicated range: /^\s[-\d_+\s()\/^.|&!]+\s$/ /home/ant/bin/rbot/data/rbot/plugins/nslookup.rb:22: warning: assigned but unused variable - err /home/ant/bin/rbot/data/rbot/plugins/nslookup.rb:31: warning: assigned but unused variable - err /home/ant/bin/rbot/data/rbot/plugins/poll.rb:122: warning: assigned but unused variable - now /home/ant/bin/rbot/data/rbot/plugins/poll.rb:147: warning: assigned but unused variable - chan /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:187: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:201: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:215: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:229: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:271: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/quotes.rb:284: warning: assigned but unused variable - total /home/ant/bin/rbot/data/rbot/plugins/rss.rb:888: warning: assigned but unused variable - type /home/ant/bin/rbot/data/rbot/plugins/rss.rb:1167: warning: assigned but unused variable - line1 /home/ant/bin/rbot/data/rbot/plugins/rss.rb:1168: warning: assigned but unused variable - line2 /home/ant/bin/rbot/data/rbot/plugins/salut.rb:210: warning: assigned but unused variable - l /home/ant/bin/rbot/data/rbot/plugins/script.rb:68: warning: assigned but unused variable - user /home/ant/bin/rbot/data/rbot/plugins/script.rb:37: warning: duplicated when clause is ignored /home/ant/bin/rbot/data/rbot/plugins/search.rb:89: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/search.rb:207: warning: assigned but unused variable - filter /home/ant/bin/rbot/data/rbot/plugins/search.rb:309: warning: assigned but unused variable - related /home/ant/bin/rbot/data/rbot/plugins/search.rb:330: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/search.rb:360: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/search.rb:390: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/search.rb:419: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/search.rb:486: warning: assigned but unused variable - e /home/ant/bin/rbot/data/rbot/plugins/seen.rb:163: warning: assigned but unused variable - nick /usr/share/rubygems/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /home/ant/.gem/ruby/1.9.1/gems/shorturl-1.0.0/lib/shorturl/services/metamark.rb from ./launch_here.rb:68:in <main>' from ./launch_here.rb:68:inload' from /home/ant/bin/rbot/bin/rbot:123:in <top (required)>' from /home/ant/bin/rbot/bin/rbot:123:innew' from /home/ant/bin/rbot/lib/rbot/ircbot.rb:614:in initialize' from /home/ant/bin/rbot/lib/rbot/plugins.rb:699:inscan' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:653:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:in block in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:656:ineach' from /home/ant/bin/rbot/lib/rbot/plugins.rb:681:in block (2 levels) in scan_botmodules' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:inload_botmodule_file' from /home/ant/bin/rbot/lib/rbot/plugins.rb:572:in module_eval' from /home/ant/bin/rbot/data/rbot/plugins/shortenurls.rb:14:inload_botmodule_file' from /usr/share/rubygems/rubygems/custom_require.rb:35:in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:inrescue in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:in require' from /home/ant/.gem/ruby/1.9.1/gems/shorturl-1.0.0/lib/shorturl.rb:6:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /home/ant/.gem/ruby/1.9.1/gems/shorturl-1.0.0/lib/shorturl/services.rb:4:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/ant/.gem/ruby/1.9.1/gems/shorturl-1.0.0/lib/shorturl/services/metamark.rb:1:in<top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire' /home/ant/bin/rbot/data/rbot/plugins/time.rb:108: warning: assigned but unused variable - s /home/ant/bin/rbot/data/rbot/plugins/time.rb:115: warning: assigned but unused variable - s /home/ant/bin/rbot/data/rbot/plugins/time.rb:120: warning: assigned but unused variable - s /home/ant/bin/rbot/data/rbot/plugins/time.rb:128: warning: assigned but unused variable - s /home/ant/.gem/ruby/1.9.1/gems/tzinfo-1.0.1/lib/tzinfo/ruby_data_source.rb:57: warning: assigned but unused variable - info /home/ant/bin/rbot/data/rbot/plugins/twitter.rb:128: warning: assigned but unused variable - user /home/ant/bin/rbot/data/rbot/plugins/games/azgame.rb:564: warning: assigned but unused variable - good /home/ant/bin/rbot/data/rbot/plugins/games/roulette.rb:224: warning: assigned but unused variable - fool /home/ant/bin/rbot/data/rbot/plugins/games/uno.rb:1091: warning: assigned but unused variable - reg /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:84: warning: encoding option isn't portable: ignore /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:84: warning: encoding option isn't portable: ignore Deleting targmax limit of 0 for ACCEPT Deleting targmax limit of 0 for MONITOR /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:84: warning: encoding option isn't portable: ignore /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:84: warning: encoding option isn't portable: ignore /home/ant/bin/rbot/lib/rbot/core/utils/httputil.rb:84: warning: encoding option isn't portable: ignore ... [gets stuck in a loop forever and rbot no longer responds in IRC to ping timeout]

4poc commented 11 years ago

I think the problem is just that the URL to the dictionary has changed and that the plugin does not properly check if it fails to parse the search result. I fixed the problem, can you check if that fixes the problem for you?

https://github.com/jsn/rbot/pull/15

antdude commented 11 years ago

Thanks it no longer crashes on a rbot:

[10:16am] @az 10:16AM Ant: let me think ... 10:16AM Ant: couldn't think of anything ...

Now, can we have it working again from another dictionary source? ;)

antdude commented 11 years ago

It works now based on https://github.com/jsn/rbot/pull/15#issuecomment-22863829

Oblomov commented 10 years ago

Closing, as the fix has been merged.