Date: Thu, 25 Mar 2004 18:39:18 -0500 (EST) From: Max Englander <uplate@mees.mine.nu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: david+ports@bushong.net Subject: ports/64732: rbot-0.9.6 (/usr/ports/irc/rbot) code bug in ircbot.rb Message-ID: <20040325233918.69CCE8AD@mees.mine.nu> Resent-Message-ID: <200403252330.i2PNUHu6096848@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64732 >Category: ports >Synopsis: rbot-0.9.6 (/usr/ports/irc/rbot) code bug in ircbot.rb >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 25 15:30:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Max Englander >Release: FreeBSD 4.9-STABLE i386 >Organization: none >Environment: System: FreeBSD uplate.mees.mine.nu 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Feb 1 00:39:38 EST 2004 uplate@uplate.mees.mine.nu:/usr/src/sys/compile/UPLATE i386 >Description: rbot-0.9.6 (/usr/ports/irc/rbot) installs fine but returns the following runtime error: uplate% rbot /usr/local/bin/rbot:27:in `require': /usr/local/lib/ruby/site_ruby/1.8/rbot/ircbot.rb:607: syntax error (SyntaxError) from /usr/local/bin/rbot:27 This error occurs with latest ports of ruby: ruby-1.8.1_2 ruby18-bdb-0.5.0 I also encountered this problem with older port revisions and the latest source from the author's site. In fact it, was present in every installation I tried. >How-To-Repeat: Have the above ports installed and run rbot. >Fix: The problem is a syntax error in line 607 or ircbot.rb: 607: say m.replyto, help $1 It can be fixed by changing it to: 607: say m.replyto, help($1) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040325233918.69CCE8AD>