Skip Menu |

This queue is for tickets about the Finance-TickerSymbols CPAN distribution.

Report information
The Basics
Id: 39921
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Finance-TickerSymbols

People
Owner: jezra [...] cpan.org
Requestors: steffen.netz [...] ipms.fraunhofer.de
Cc:
AdminCc:

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

Attachments


Subject: Proxy
Date: Thu, 9 Oct 2008 17:30:55 +0200
To: bug-Finance-TickerSymbols [...] rt.cpan.org
From: Steffen Netz <steffen.netz [...] ipms.fraunhofer.de>
Hello, I've just tried to install your module. During tests cames: PERL_DL_NONLAZY=1 /opt/csw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Finance-TickerSymbols....1/4 download (http://www.nasdaq.com//asp/symbols.asp?exchange=Q&start=0): 500 Can't connect to www.nasdaq.com:80 (connect: Verbindung abgewiesen) at t/Finance-TickerSymbols.t line 23 t/Finance-TickerSymbols....2/4 # Failed test at t/Finance-TickerSymbols.t line 23. download (http://www.nasdaq.com//asp/symbols.asp?exchange=1&start=0): 500 Can't connect to www.nasdaq.com:80 (connect: Verbindung abgewiesen) at t/Finance-TickerSymbols.t line 23 # Failed test at t/Finance-TickerSymbols.t line 23. download (http://www.nasdaq.com//asp/symbols.asp?exchange=N&start=0): 500 Can't connect to www.nasdaq.com:80 (connect: Verbindung abgewiesen) at t/Finance-TickerSymbols.t line 23 # Failed test at t/Finance-TickerSymbols.t line 23. # Looks like you failed 3 tests of 4. t/Finance-TickerSymbols.... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests t/Industries...............1/5 download (http://biz.yahoo.com/ic/ind_index.html): 500 Can't connect to biz.yahoo.com:80 (connect: Verbindung abgewiesen) at t/Industries.t line 7 t/Industries...............2/5 # Failed test at t/Industries.t line 8. download (http://biz.yahoo.com/ic/ind_index.html): 500 Can't connect to biz.yahoo.com:80 (connect: Verbindung abgewiesen) at t/Industries.t line 11 Use of uninitialized value in hash element at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. Use of uninitialized value in concatenation (.) or string at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. '' is not recognized at t/Industries.t line 11 # Failed test at t/Industries.t line 11. download (http://biz.yahoo.com/ic/ind_index.html): 500 Can't connect to biz.yahoo.com:80 (connect: Verbindung abgewiesen) at t/Industries.t line 11 Use of uninitialized value in hash element at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. Use of uninitialized value in concatenation (.) or string at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. '' is not recognized at t/Industries.t line 11 # Failed test at t/Industries.t line 11. download (http://biz.yahoo.com/ic/ind_index.html): 500 Can't connect to biz.yahoo.com:80 (connect: Verbindung abgewiesen) at t/Industries.t line 11 Use of uninitialized value in hash element at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. Use of uninitialized value in concatenation (.) or string at /homes/netz/.cpanplus/5.8.8/build/Finance-TickerSymbols-1.01/blib/lib/Finance/TickerSymbols.pm line 112. '' is not recognized at t/Industries.t line 11 # Failed test at t/Industries.t line 11. # Looks like you failed 4 tests of 5. t/Industries............... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/5 subtests t/pod-coverage.............ok ^ This is due I'm sitting behind a proxy. The solution is easy, the line $_brws ||= new LWP::UserAgent() ; has to be changed to: $_brws ||= new LWP::UserAgent(env_proxy=>1) ; After this, the LWP reads the Environment-Variable http_proxy and it works! Best reagards, Steffen Netz -- -------------------------------------------------------------------- | Fraunhofer Institut Photonische Microsysteme | | | | Fraunhofer Institute for Photonic Microsystems ( Germany ) | | | | Steffen Netz | phone : ( +49 ) (0)351/8823-212 | | Maria-Reiche-Str. 2 | fax : ( +49 ) (0)351/8823-266 | | 01109 Dresden | email : steffen.netz@ipms.fraunhofer.de | --------------------------------------------------------------------
Hello Mr. Netz Thank you for report and the elegant solution, I've implement it in version 1.02. Best, Josef Ezra

Message body not shown because it is not plain text.