(
Jump to the original submission)
Mon 28 Jun 2010 06:56:55 AM UTC, comment #7:
Fixed in CVS.
Bug came from a difference of behaviour between ruby 1.8 and ruby 1.9.1 for the Array.nitems function.
Diff to previous:
http://cvs.savannah.gnu.org/viewvc/zonecheck/zc/zonecheck.rb?root=zonecheck&r1=1.24&r2=1.25
|
Wed 23 Jun 2010 12:50:30 PM UTC, comment #6:
It's Archlinux.
|
Wed 23 Jun 2010 12:18:29 PM UTC, comment #5:
What are your distribution of Linux and could you please take contact with us by mail at -unavailable-
|
Wed 23 Jun 2010 10:34:09 AM UTC, comment #4:
Here:
$ LANG=C zonecheck --debug 0x8000
/usr/local/libexec/zonecheck/zc/zonecheck.rb:191:in `rescue in start': undefined method `error' for nil:NilClass (NoMethodError)
from /usr/local/libexec/zonecheck/zc/zonecheck.rb:196:in `start'
from /usr/local/bin/zonecheck:338:in `<main>'
$ LANG=C zonecheck --INPUT=cli --debug 0x8000
ERROR: One domainname expected
|
Wed 23 Jun 2010 10:30:38 AM UTC, comment #3:
Could you try with --debug 0x8000 please
|
Wed 23 Jun 2010 10:10:32 AM UTC, comment #2:
Oops, I forgot…
$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
$ zonecheck --INPUT=cli --version
zonecheck: version 3.0.0
|
Wed 23 Jun 2010 10:07:20 AM UTC, comment #1:
% zonecheck
ERROR: One domainname expected
As expected
|
Wed 23 Jun 2010 10:01:23 AM UTC, original submission:
It happens if I call Zonecheck without domain name.
Example:
$ zonecheck
/usr/local/libexec/zonecheck/zc/zonecheck.rb:192:in `rescue in start': undefined method `error' for nil:NilClass (NoMethodError)
from /usr/local/libexec/zonecheck/zc/zonecheck.rb:197:in `start'
from /usr/local/bin/zonecheck:338:in `<main>'
It happens even if I force --INPUT=cli.
With the domain name or with a CLI option, it works properly.
Could it be possible to have a small usage info instead of this error trace?
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.