Errors installing Online Price Retrieval

Michael Seifert mseifert9 at gmail.com
Sat Jan 10 15:56:06 EST 2015


I ran Install Online Price Retrieval from Windows 7 menu with 1) the
firewall disabled, 2) antivirus disabled, 3) ports 50000 - 63000 forwarded
in router, 4) install-fq-mods.cmd  on command line with admin privileges. 

The first group of errors which seem important are: 

robot/ua-get.t ........ 2/8 HTTP Server terminated
robot/ua-get.t ........ Failed 5/8 subtests
robot/ua.t ............ 2/7 HTTP Server terminated
robot/ua.t ............ Failed 5/7 subtests
local/autoload-get.t .. ok
local/autoload.t ...... ok
local/get.t ........... ok
local/http.t .......... 1/63
#   Failed test 'response code 404'
#   at local/http.t line 81.
#          got: '500'
#     expected: '404'


The full screen output is here: http://pastebin.com/GQXUM5VU

I uninstalled perl and tried it from scratch. Same result
My-pc is the computer name. 
I have xampp installed with apache as my server
Is this a localhost HTTP request? Is this something I may have configured in
my apache installation?

I found this conversation here:
http://gnucash.1415818.n4.nabble.com/Getting-prices-and-quotes-td4672791.htm
l  with very similar issues and no resolution.

Anything else I can try? 


-----Original Message-----
From: gnucash-user
[mailto:gnucash-user-bounces+mseifert9=gmail.com at gnucash.org] On Behalf Of
David Carlson
Sent: Saturday, January 10, 2015 8:36 AM
To: gnucash-user at gnucash.org
Subject: Re: Errors installing Online Price Retrieval

On 1/10/2015 2:52 AM, Michael Seifert wrote:
> I am on Windows 7 – Fresh Install of gnuCash. I’m getting errors when
> running “install Online Price Retrieval.” Any ideas? Thanks in advance.
>
>  
>
> (Plenty before this but buffer must not be big enough to retail all the
> output)
>
> #          got: '500'
>
> #     expected: '200'
>
>  
>
> #   Failed test 'message OK'
>
> #   at local/http.t line 114.
>
> #          got: 'Can't connect to my-pc:51974'
>
> #     expected: 'OK'
>
>  
>
> #   Failed test at local/http.t line 119.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^From:\s*gisle\@aas\.no\n)'
>
>  
>
> #   Failed test at local/http.t line 120.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Host:)'
>
>  
>
> #   Failed test '3 items in accept'
>
> #   at local/http.t line 121.
>
> #          got: '0'
>
> #     expected: '3'
>
>  
>
> #   Failed test at local/http.t line 122.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Accept:\s*text/html)'
>
>  
>
> #   Failed test at local/http.t line 123.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Accept:\s*text/plain)'
>
>  
>
> #   Failed test at local/http.t line 124.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Accept:\s*image/\*)'
>
>  
>
> #   Failed test at local/http.t line 125.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^If-Modified-Since:\s*\w{3},\s+\d+)'
>
>  
>
> #   Failed test at local/http.t line 126.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Long-Text:\s*This.*broken between)'
>
>  
>
> #   Failed test at local/http.t line 127.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^Foo-Bar:\s*1\n)'
>
>  
>
> #   Failed test at local/http.t line 128.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^X-Foo:\s*Bar\n)'
>
>  
>
> #   Failed test at local/http.t line 129.
>
> #                   'Can't connect to my-pc:51974
>
> #
>
> # An invalid argument was supplied. at ../blib/lib/LWP/Protocol/http.pm
line
> 49,
>
>  <DAEMON> line 1.
>
> # '
>
> #     doesn't match '(?^m:^User-Agent:\s*Mozilla/0.01)'
>
>  
>
> local/http.t .......... 20/63 #   Failed test 'response code 200'
>
> #   at local/http.t line 139.
>
> #          got: '500'
>
> #     expected: '200'
>
>  
>
> local/http.t .......... 22/63 #   Failed test 'response code 200'
>
> #   at local/http.t line 160.
>
> #          got: '500'
>
> #     expected: '200'
>
>  
>
> local/http.t .......... 25/63 #   Failed test 'response code 200'
>
> #   at local/http.t line 182.
>
> #          got: '500'
>
> #     expected: '200'
>
>  
>
> local/http.t .......... 27/63 #   Failed test at local/http.t line 212.
>
>  
>
> #   Failed test '147 content length'
>
> #   at local/http.t line 214.
>
> #          got: undef
>
> #     expected: '147'
>
>  
>
> #   Failed test 'En pr°ve'
>
> #   at local/http.t line 215.
>
> local/http.t .......... 32/63
>
> #   Failed test 'response code 404'
>
> #   at local/http.t line 222.
>
> #          got: '500'
>
> #     expected: '404'
>
>  
>
> local/http.t .......... 34/63 #   Failed test 'response code 501'
>
> #   at local/http.t line 228.
>
> #          got: '500'
>
> #     expected: '501'
>
>  
>
> local/http.t .......... 35/63 #   Failed test at local/http.t line 243.
>
> Can't call method "is_redirect" on an undefined value at local/http.t line
> 245,
>
> <DAEMON> line 1.
>
> # Looks like you planned 63 tests but ran 36.
>
> # Looks like you failed 27 tests of 36 run.
>
> # Looks like your test exited with -1 just after 36.
>
> HTTP Server terminated
>
> local/http.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
>
> Failed 54/63 subtests
>
> local/protosub.t ...... ok
>
>  
>
> Test Summary Report
>
> -------------------
>
> robot/ua-get.t      (Wstat: 0 Tests: 8 Failed: 5)
>
>   Failed tests:  1-3, 5, 7
>
> robot/ua.t          (Wstat: 0 Tests: 7 Failed: 5)
>
>   Failed tests:  1-3, 5, 7
>
> local/http.t        (Wstat: 65280 Tests: 36 Failed: 27)
>
>   Failed tests:  2-20, 22, 25, 27, 29-30, 33-35
>
>   Non-zero exit status: 255
>
>   Parse errors: Bad plan.  You planned 63 tests but ran 36.
>
> Files=10, Tests=104, 39 wallclock secs ( 0.08 usr +  0.00 sys =  0.08 CPU)
>
> Result: FAIL
>
> Failed 3/10 test programs. 37/104 subtests failed.
>
> dmake.exe:  Error code 255, while making 'test'
>
>   MSCHILLI/libwww-perl-6.08.tar.gz
>
>   C:\strawberry\c\bin\dmake.exe test -- NOT OK
>
> //hint// to see the cpan-testers results for installing this module, try:
>
>   reports MSCHILLI/libwww-perl-6.08.tar.gz
>
> Running make install
>
>   make test had returned bad status, won't install without force
>
> Stopping: 'install' failed for 'LWP'.
>
> Running install for module 'Finance::Quote'
>
> Running make for E/EC/ECOCODE/Finance-Quote-1.35.tar.gz
>
> Checksum for
> C:\strawberry\cpan\sources\authors\id\E\EC\ECOCODE\Finance-Quote-1.
>
> 35.tar.gz ok
>
>  
>
>   CPAN.pm: Building E/EC/ECOCODE/Finance-Quote-1.35.tar.gz
>
>  
>
> Checking if your kit is complete...
>
> Looks good
>
> Warning: prerequisite Date::Calc 0 not found.
>
> Generating a dmake-style Makefile
>
> Writing Makefile for Finance::Quote
>
> Writing MYMETA.yml and MYMETA.json
>
> ---- Unsatisfied dependencies detected during ----
>
> ----     ECOCODE/Finance-Quote-1.35.tar.gz    ----
>
>     Date::Calc [requires]
>
> Running make test
>
>   Delayed until after prerequisites
>
> Running make install
>
>   Delayed until after prerequisites
>
> Running install for module 'Date::Calc'
>
> Running make for S/ST/STBEY/Date-Calc-6.3.tar.gz
>
> Checksum for
> C:\strawberry\cpan\sources\authors\id\S\ST\STBEY\Date-Calc-6.3.tar.
>
> gz ok
>
>  
>
>   CPAN.pm: Building S/ST/STBEY/Date-Calc-6.3.tar.gz
>
>  
>
>  
>
> *************************************************************
>
> ****** BEWARE: Use "make install UNINST=1" to install! ******
>
> *************************************************************
>
>  
>
> Checking if your kit is complete...
>
> Looks good
>
> Generating a dmake-style Makefile
>
> Writing Makefile for Date::Calc
>
> Writing MYMETA.yml and MYMETA.json
>
> cp lib/Date/Calendar/Profiles.pod blib\lib\Date\Calendar\Profiles.pod
>
> cp lib/Date/Calendar/Year.pm blib\lib\Date\Calendar\Year.pm
>
> cp lib/Date/Calc/PP.pod blib\lib\Date\Calc\PP.pod
>
> cp lib/Date/Calc/PP.pm blib\lib\Date\Calc\PP.pm
>
> cp lib/Date/Calendar.pm blib\lib\Date\Calendar.pm
>
> cp lib/Date/Calc.pm blib\lib\Date\Calc.pm
>
> cp lib/Date/Calc.pod blib\lib\Date\Calc.pod
>
> cp lib/Date/Calendar/Profiles.pm blib\lib\Date\Calendar\Profiles.pm
>
> cp lib/Date/Calc/Object.pod blib\lib\Date\Calc\Object.pod
>
> cp lib/Date/Calc/Object.pm blib\lib\Date\Calc\Object.pm
>
> cp lib/Date/Calendar.pod blib\lib\Date\Calendar.pod
>
> cp lib/Date/Calendar/Year.pod blib\lib\Date\Calendar\Year.pod
>
>   STBEY/Date-Calc-6.3.tar.gz
>
>   C:\strawberry\c\bin\dmake.exe -- OK
>
> Running make test
>
> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM"
"-MTest::Harness"
> "-e"
>
>  "undef *Test::Harness::Switches; test_harness(0, 'blib\lib',
'blib\arch')"
> t/*.
>
> t
>
> t/f000.t .. ok
>
> t/f001.t .. ok
>
> t/f002.t .. ok
>
> t/f003.t .. ok
>
> t/f004.t .. ok
>
> t/f005.t .. ok
>
> t/f006.t .. ok
>
> t/f007.t .. ok
>
> t/f008.t .. ok
>
> t/f009.t .. ok
>
> t/f010.t .. ok
>
> t/f011.t .. ok
>
> t/f012.t .. ok
>
> t/f013.t .. ok
>
> t/f014.t .. ok
>
> t/f015.t .. ok
>
> t/f016.t .. Failed 16/25 subtests
>
> t/f017.t .. ok
>
> t/f018.t .. ok
>
> t/f019.t .. ok
>
> t/f020.t .. ok
>
> t/f021.t .. ok
>
> t/f022.t .. ok
>
> t/f023.t .. ok
>
> t/f024.t .. ok
>
> t/f025.t .. ok
>
> t/f026.t .. ok
>
> t/f027.t .. Failed 22/46 subtests
>
> t/f028.t .. Failed 22/46 subtests
>
> t/f029.t .. ok
>
> t/f030.t .. ok
>
> t/f031.t .. ok
>
> t/f032.t .. ok
>
> t/f033.t .. ok
>
> t/f034.t .. ok
>
> t/f035.t .. ok
>
> t/f036.t .. ok
>
> t/f037.t .. ok
>
> t/m001.t .. ok
>
> t/m002.t .. ok
>
> t/m003.t .. ok
>
> t/m004.t .. ok
>
> t/m005.t .. ok
>
> t/m006.t .. ok
>
> t/m007.t .. ok
>
> t/m008.t .. ok
>
> t/m009.t .. ok
>
> t/m010.t .. ok
>
> t/m011.t .. ok
>
> t/m012.t .. ok
>
> t/m013.t .. ok
>
>  
>
> Test Summary Report
>
> -------------------
>
> t/f016.t (Wstat: 0 Tests: 25 Failed: 16)
>
>   Failed tests:  1-4, 6-7, 9-12, 15-17, 21-23
>
> t/f027.t (Wstat: 0 Tests: 46 Failed: 22)
>
>   Failed tests:  7-15, 22, 24-27, 30-35, 44-45
>
> t/f028.t (Wstat: 0 Tests: 46 Failed: 22)
>
>   Failed tests:  7-15, 22, 24-27, 30, 32, 34-37, 44-45
>
> Files=51, Tests=3381,  3 wallclock secs ( 0.16 usr +  0.02 sys =  0.17
CPU)
>
> Result: FAIL
>
> Failed 3/51 test programs. 60/3381 subtests failed.
>
> dmake.exe:  Error code 255, while making 'test_dynamic'
>
>   STBEY/Date-Calc-6.3.tar.gz
>
>   C:\strawberry\c\bin\dmake.exe test -- NOT OK
>
> //hint// to see the cpan-testers results for installing this module, try:
>
>   reports STBEY/Date-Calc-6.3.tar.gz
>
> Running make install
>
>   make test had returned bad status, won't install without force
>
> Stopping: 'install' failed for 'Date::Calc'.
>
>  
>
> * Run gnc-fq-check
>
>  
>
>  
>
> You need to install the following Perl modules:
>
>   Finance::Quote
>
>  
>
> Use your system's package manager to install them,
>
> or run 'gnc-fq-update' as root.
>
> missing-lib
>
>  
>
> An error occurred, see above.
>
>  
>
> Press any key to continue . . .
>
>  
>
>  
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>

When I updated to release 2.6.5 for the first time in Windows 7  I
needed to re-install online price retrieval including Strawberry Perl,
which I did from the Windows Gnucash start menu.  When I did that there
was a lot of console output including many error messages and a couple
of pauses where it asked me to press any key to continue.  I just
pressed a key and let it do it's thing, and after it was done I tried it
and it worked just fine.  I think it even found enough of my previous
settings for online account access to run the setup wizard to
re-activate that stuff, although I choose not to use that part.

Therefore, I ask you, did you let it finish and try it to see if it
works?  If not, please do that then come back with an updated question.

David C
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.




More information about the gnucash-user mailing list