Skip Menu |

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

Report information
The Basics
Id: 70327
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Finance-InteractiveBrokers-SWIG

People
Owner: Nobody in particular
Requestors: chrisfluur [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.01_01
  • 0.01_02
  • 0.02
  • 0.03
Fixed in:
  • 0.03_03
  • 0.04



Subject: Socket::inet_ntoa, length is 18 SWIG.pm line 175
Date: Wed, 17 Aug 2011 17:22:01 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
I'm seeing the following error. perl script: #!/usr/bin/perl use Finance::InteractiveBrokers::SWIG; # use myeventhandlers; my $handler = MyEventHandler->new(); my $ib = Finance::InteractiveBrokers::SWIG->new( handler => $handler, # Your subclassed event handler ); $ib->eConnect( 'localhost',7496,1); output: C++ constructor Bad arg length for Socket::inet_ntoa, length is 18, should be 4 at /Library/Perl/5.10.0/darwin-thread-multi-2level/Finance/InteractiveBrokers/SWIG.pm line 175. C++ destructor
This is fixed in the repo from another reporter, but not released yet to CPAN. I've attached the replacement SWIG.pm with the bugfix. Replace your installed version with this one. When I patch the OS-X build issue from the other ticket, I'll make a new F::IB::SWIG release containing both of them. On Wed Aug 17 18:22:11 2011, chrisfluur@gmail.com wrote: Show quoted text
> I'm seeing the following error. > > > perl script: > > #!/usr/bin/perl > use Finance::InteractiveBrokers::SWIG; > # use myeventhandlers; > > my $handler = MyEventHandler->new(); > > > my $ib = Finance::InteractiveBrokers::SWIG->new( > handler => $handler, # Your subclassed event handler > ); > > $ib->eConnect( 'localhost',7496,1); > > > > > output: > > > C++ constructor > Bad arg length for Socket::inet_ntoa, length is 18, should be 4 at > /Library/Perl/5.10.0/darwin-thread-multi- > 2level/Finance/InteractiveBrokers/SWIG.pm > line 175. > C++ destructor
Subject: SWIG.pm

Message body is not shown because it is too large.