Skip Menu |
 

This queue is for tickets about the Config-IniFiles CPAN distribution.

Report information
The Basics
Id: 36584
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Config-IniFiles

People
Owner: SHLOMIF [...] cpan.org
Requestors: rabbit [...] rabbit.us
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.39
Fixed in: 2.17



Subject: Error reporting non-functional
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1213018014-30574-6"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 395
Download (untitled) / with headers
text/plain 395b
Attached is a simple script + malformed ini data. Attempts to parse said data result in a quiet failure, without any hints on hat exactly has happened. Below find the output of the attached script as I see it on my machine: rabbit@Thesaurus:~$ ./inifile_test 2.39 at ./inifile_test line 9. $VAR1 = { 'ini_object' => undef, 'ini_error' => [] }; rabbit@Thesaurus:~$
Subject: inifile_test
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1213018013-30574-5"
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="inifile_test"
Content-Disposition: inline; filename="inifile_test"
Content-Transfer-Encoding: base64
Content-Length: 380
Download inifile_test
application/octet-stream 380b

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-24714-1231876288-309.36584-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 616
Download (untitled) / with headers
text/plain 616b
I'm getting: {{{ shlomi:$module$ perl -Ilib ~/inifile_test 2.45 at /home/shlomi/inifile_test line 9. $VAR1 = { 'ini_object' => undef, 'ini_error' => [ '4: parameter found outside a section' ] }; }}} I added a testcase just in case. Please svn checkout http://config-inifiles.svn.sourceforge.net/svnroot/config-inifiles/trunk/config-inifiles And see that ./Build test is successful. Closing as "Works for me", but you may wish to re-open this bug by responding to it if it doesn't work for you - this time supplying more information.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.