Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000006 [IRC Collective] parser minor always 2007-07-20 17:43 2007-07-22 22:04
Reporter anonymous View Status public  
Assigned To rjm
Priority normal Resolution fixed  
Status resolved   Product Version 0.1.2
Summary 0000006: Parsing with an invalid config file results in warnings and "Unsupported input format specified." error
Description When calling the parser with a non-existant config file, the parser defaults to defaults.conf. When this config file is empty, as shipped, the parser generates some warnings and errors, which are not easy to link to the missing config file
Additional Information (Windows XP w/ ActivePerl 5.8.8 Build 820)
Steps to reproduce:
-Make sure you are in the irc-collective dir
-Make sure the conf/eggdrop.conf is valid
-call `perl parselog --with-config=eggdrop.conf`

Current result:
the parser returns:
Use of uninitialized value in string ne at parselog line 106.
Use of uninitialized value in string ne at parselog line 106.
Use of uninitialized value in string ne at parselog line 106.
Use of uninitialized value in string ne at parselog line 106.
Unsupported input format specified. Please invoke script with --help for a list
of supported input types."

Expected result:
Some kind of message to indicate the eggdrop.conf was not found.
Optionally suggest that the user must include the 'conf/' path, i.e. `perl parselog --with-config=conf/eggdrop.conf`
Tags No tags attached.
Attach Tags (Separate by ",")
Attached Files

- Relationships

-  Notes
(0000006)
rjm (developer)
2007-07-22 22:04

The default config file has been removed and will nog longer be loaded. Having a default config file is bogus anyway. In addition; the error messages have been improved.

- Issue History
Date Modified Username Field Change
2007-07-20 17:43 anonymous New Issue
2007-07-20 18:41 rjm Status new => assigned
2007-07-20 18:41 rjm Assigned To => rjm
2007-07-22 22:04 rjm Status assigned => resolved
2007-07-22 22:04 rjm Fixed in Version => 0.1.3
2007-07-22 22:04 rjm Resolution open => fixed
2007-07-22 22:04 rjm Note Added: 0000006


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker