Skip Menu |

This queue is for tickets about the Geo-Coder-Abbreviations CPAN distribution.

Report information
The Basics
Id: 133445
Status: resolved
Priority: 0/
Queue: Geo-Coder-Abbreviations

People
Owner: NHORNE [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Missing prerequisite LWP::Protocol::https?
On some of my smokers the test suite fails: ... malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at lib/Geo/Coder/Abbreviations.pm line 41. # Looks like your test exited with 2 before it could output anything. t/10-new.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests # Failed test 'Geo::Coder::Abbreviations->new() died' # at t/20-basics.t line 13. # Error was: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /home/cpansand/.cpan/build/2020092819/Geo-Coder-Abbreviations-0.01-kgfoA3/blib/lib/Geo/Coder/Abbreviations.pm line 41. Can't call method "abbreviate" on an undefined value at t/20-basics.t line 15. # Looks like your test exited with 255 just after 3. t/20-basics.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/4 subtests ... It seems that the test failure goes away if LWP::Protocol::https is installed before.
Thanks - yes, I had noticed that and hadn't yet had the time to look into why. Thanks so much for your input, I've been able to reproduce it using Github Actions, so I'll add the prereq and see is that helps.
Would you please try the version in Github and let me know if that is any better? https://github.com/nigelhorne/Geo-Coder-Abbreviations Thank you
On 2020-09-29 19:54:17, NHORNE wrote: Show quoted text
> Would you please try the version in Github and let me know if that is > any better? > > https://github.com/nigelhorne/Geo-Coder-Abbreviations
The current github version looks fine.
Fixed in 0.02.