Posted on 2006-11-11 02:19:31-08 by skootamota
Install Troubles
I'm having some troubles with make TEST, I get the following error. Anyone have any idea? I'm pretty sure I have all the dependenceis installed. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load............ok 1/1# Testing Finance::InteractiveBrokers::TWS v0.0.8 t/00.load............ok t/01.option_chain....# requesting option chain takes a few seconds - please wait # Failed test 'Successfully retrieved option chain' # at t/01.option_chain.t line 41. t/01.option_chain....NOK 1# Looks like you failed 1 test of 1. t/01.option_chain....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/pod-coverage.......NOK 1 # Failed test 'Pod coverage on Finance::InteractiveBrokers::TWS' # at /usr/lib/perl5/site_perl/5.8.5/Test/Pod/Coverage.pm line 126. # Coverage for Finance::InteractiveBrokers::TWS is 43.8%, with 9 naked subroutines: # ComboLeg # Contract # ContractDetails # EClientSocket # Execution # ExecutionFilter # Order # ScannerSubscription # get_conf_data One or more DATA sections were not processed by Inline. # Looks like you failed 1 test of 1. t/pod-coverage.......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/pod................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01.option_chain.t 1 256 1 1 100.00% 1 t/pod-coverage.t 1 256 1 1 100.00% 1 Failed 2/4 test scripts, 50.00% okay. 2/4 subtests failed, 50.00% okay. make: *** [test_dynamic] Error 255 Thanks.
Direct Responses: 3928 | Write a response
Posted on 2006-12-29 13:00:57-08 by lenea in response to 3488
Re: Install Troubles
Hi, I had the same problem and I solved it, maybe it will work for you as well. Open the .../t/01.option_chain.t file, look for this line:
$tws->eConnect("pt");
Comment it out and add these 2 lines:
my @tws_GUI_location = qw/ 127.0.0.1 7496 15 /; #default listening address and port $tws->eConnect(@tws_GUI_location);
Then run again the test, it should work. Regards, Iulian
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.