Skip Menu |

This queue is for tickets about the Geo-OSM-MapFeatures CPAN distribution.

Report information
The Basics
Id: 46920
Status: resolved
Priority: 0/
Queue: Geo-OSM-MapFeatures

People
Owner: BOBKARE [...] cpan.org
Requestors: simon [...] bleah.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $classargs{list} is undefined for NumWithUnit values
Date: Sat, 13 Jun 2009 22:00:54 +0100
To: bug-Geo-OSM-MapFeatures [...] rt.cpan.org
From: Simon Ward <simon [...] bleah.co.uk>
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Distribution: Geo-OSM-MapFeatures-0.04 Perl version: v5.10.0 built for i486-linux-gnu-thread-multi Operating system: Debian squeeze/sid Kernel: Linux whoosh 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686 GNU/Linux Geo-OSM-MapFeatures fails with the following error when attempting to parse height and width values (mapfeatures.debug file attached): Can't use an undefined value as an ARRAY reference at /usr/share/perl5/Geo/OSM/MapFeatures/Feature/Value/NumWithUnit.pm line 51. The attached program (test-numwithunit.pl) demonstrates it. The problem appears to be with Feature/Value.pm passing %classargs containing a 'units' key and Feature/Value/NumWithUnit.pm expecting a hash containing a 'list' key. The tiny patch attached fixes it by changing NumWithUnit.pm to refer to $classargs{units}. Simon Ward -- A complex system that works is invariably found to have evolved from a simple system that works.—John Gall

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi (finally) fixed with version 0.10, which also improves parsing a lot by not trying to parse mediawiki linenoise^Wsyntax but leaves it to mediawiki and HTML::TableExtract. -- Bob