Skip Menu |

This queue is for tickets about the Ham-Resources-HamQTH CPAN distribution.

Report information
The Basics
Id: 85652
Status: patched
Priority: 0/
Queue: Ham-Resources-HamQTH

People
Owner: CJUAN [...] cpan.org
Requestors: tim [...] gimmel.org
Cc:
AdminCc:

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



Subject: Suspected problem with Ham::Resources::HamQTH
Date: Mon, 27 May 2013 14:04:05 -0500
To: bug-Ham-Resources-HamQTH [...] rt.cpan.org
From: Timothy Gimmel <tim [...] gimmel.org>
I have a Perl script that uses HRH and I now receive this error message: Error msg: Enter callsign (q to exit): ky4j Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.12/darwin-thread-multi-2level/Ham/Resources/HamQTH.pm line 35, <STDIN> line 1. Can't call method "new" on an undefined value at /Library/Perl/5.12/XML/Reader.pm line 113, <STDIN> line 1. This error shows up in Debian Squeeze, Wheezy and MacOS X. You can see my script at https://github.com/tgimmel/hamQTH. Thanks es 73, Tim KY4J
Download KY4J-50x.jpg
image/jpeg 1.6k
KY4J-50x.jpg
El Lun May 27 15:03:36 2013, tim@gimmel.org escribió: Show quoted text
> I have a Perl script that uses HRH and I now receive this error > message: > > Error msg: > Enter callsign (q to exit): ky4j > Use of uninitialized value in concatenation (.) or string at > /Library/Perl/5.12/darwin-thread-multi-2level/Ham/Resources/HamQTH.pm > line 35, <STDIN> line 1. > Can't call method "new" on an undefined value at > /Library/Perl/5.12/XML/Reader.pm line 113, <STDIN> line 1. > > This error shows up in Debian Squeeze, Wheezy and MacOS X. > You can see my script at https://github.com/tgimmel/hamQTH. > > Thanks es 73, > Tim > KY4J >
Hi Tim, The problem is with the XML-Reader module. You can patch it changing the XML-Reader module with XML :: Reader :: PP, which used the module XML :: Parsepp to parse internally. From what I've seen in CPANT about XML::Reader::PP, works well with perl 5.16.0 on MacOS X, so I'd appreciate reportaras if it works in perl 5.12.0. I attach you a file with the changes that you should do to fix it. Changes are very simple: < use XML::Reader; --- Show quoted text
> use XML::Reader::PP;
170d169 < 180,181c179 < < my $xml = XML::Reader->new(\$content); --- Show quoted text
> my $xml = XML::Reader::PP->new(\$content);
In the next version of HRH be solved. Thanks for the report, and for your interest in my module.
Subject: changes_0.06b.txt
7c7 < use XML::Reader; --- > use XML::Reader::PP; 170d169 < 180,181c179 < < my $xml = XML::Reader->new(\$content); --- > my $xml = XML::Reader::PP->new(\$content);
Subject: Re: [rt.cpan.org #85652] Suspected problem with Ham::Resources::HamQTH
Date: Sat, 1 Jun 2013 19:00:05 -0500
To: bug-Ham-Resources-HamQTH [...] rt.cpan.org
From: Timothy Gimmel <tim [...] gimmel.org>
On May 29, 2013, at 2:43 PM, Carlos Juan Diaz via RT <bug-Ham-Resources-HamQTH@rt.cpan.org> wrote: Show quoted text
> > Hi Tim, > > The problem is with the XML-Reader module. You can patch it changing the XML-Reader module with XML :: Reader :: PP, which used the module XML :: Parsepp to parse internally. > From what I've seen in CPANT about XML::Reader::PP, works well with perl 5.16.0 on MacOS X, so I'd appreciate reportaras if it works in perl 5.12.0. >
Carlos, Looks like XML::Parsepp will not install (on Mac): CPAN.pm: Building K/KE/KEICHNER/XML-Parsepp-0.06.tar.gz Perl v5.14.0 required--this is only v5.12.4, stopped at Build.PL line 3. BEGIN failed--compilation aborted at Build.PL line 3. and CPAN.pm: Building K/KE/KEICHNER/XML-Reader-PP-0.02.tar.gz Perl v5.14.0 required--this is only v5.12.4, stopped at Build.PL line 3. BEGIN failed--compilation aborted at Build.PL line 3. for XML::Reader::PP. So no luck on mac and Linux (Unubu 12.04). However tested in Virt machine on Debian Wheezy and works fine. Wheezy has Perl 5.14. So getting close. 73, Tim Show quoted text
> I attach you a file with the changes that you should do to fix it. > Changes are very simple: > > < use XML::Reader; > ---
>> use XML::Reader::PP;
> 170d169 > < > 180,181c179 > < > < my $xml = XML::Reader->new(\$content); > ---
>> my $xml = XML::Reader::PP->new(\$content);
> > In the next version of HRH be solved. > > Thanks for the report, and for your interest in my module. > > 7c7 > < use XML::Reader; > ---
>> use XML::Reader::PP;
> 170d169 > < > 180,181c179 > < > < my $xml = XML::Reader->new(\$content); > ---
>> my $xml = XML::Reader::PP->new(\$content);
Tim KY4J
Download KY4J-50x.jpg
image/jpeg 1.6k
KY4J-50x.jpg