Dxb1 / ibpy

Automatically exported from code.google.com/p/ibpy
Other
0 stars 0 forks source link

IBPY 0.7.7 Rev 345 Error on api_coverage #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running TWSAPI 9.62 - checked for updates, current
2. running TWS Workstation and API - able to run sample program and
download historical data so connection works
3. Run sudo python api_coverage - TWS pops up "Accept incoming connection"
- accepted.

What is the expected output? What do you see instead
thon api_coverage
Traceback (most recent call last):
  File "api_coverage", line 416, in <module>
    main(get_options())
  File "api_coverage", line 358, in main
    errors = call(con, options)
  File "api_coverage", line 139, in inner
    v = call(connection, options)
  File "api_coverage", line 152, in inner
    rv = call(connection, options)
  File "api_coverage", line 236, in test_007
    formatDate=1)
TypeError: wrapperMethod() got an unexpected keyword argument 'tickerId'
chuck@AMD-Desktop-Ubuntu:/usr/local/lib/python2.6/dist-packages/ib/demo$ ^C
chuck@AMD-Desktop-Ubuntu:/usr/local/lib/python2.6/dist-packages/ib/demo

What version of the product are you using? On what operating system?
Running Ubuntu 9.10 AMD 64 2GB RAM.  IBPY from SVN library downloaded
Feb-22-2010. Rev 345 per SVN screen Rel 0.7.7.

Please provide any additional information below.
IBPY does not start up.  Fails after receiving above message.  Let me know
what add'l info you need.

Ran example_opt received following:
disconnected True
21-Feb-10 04:35:57 DEBUG     Server Version:  46
21-Feb-10 04:35:57 DEBUG     TWS Time at connection:  20100221 04:35:57 CST
reconnected True
21-Feb-10 04:35:58 ERROR     Exception while processing message.  
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/ib/ext/EReader.py", line 92,
in run
    while not self.isInterrupted() and self.processMsg(self.readInt()):
  File "/usr/local/lib/python2.6/dist-packages/ib/ext/EReader.py", line
663, in readInt
    strval = self.readStr()
  File "/usr/local/lib/python2.6/dist-packages/ib/ext/EReader.py", line
651, in readStr
    c = self.m_dis.readByte()
  File "/usr/local/lib/python2.6/dist-packages/ib/lib/__init__.py", line
110, in readByte
    return unpack('!b', self.recv(1))[0]
error: [Errno 104] Connection reset by peer
again disconnected False
chuck@AMD-Desktop-Ubuntu:~/ibpy-read-only/release-0.7.7-/demo$
This did print some account info at the top of the screen before generating
this message, but did not want to attach account data to this msg.

Original issue reported on code.google.com by anyoneus...@yahoo.com on 21 Feb 2010 at 10:38