Closed smokersonly closed 8 years ago
version 0.4.1 of swigibpy
Thanks @smokersonly, I think you might be using the examples from the latest master code with an older installed release (0.4.1) version of swigibpy. Either install the latest master code (by grabbing the code and installing it manually, i.e. not via pip) or use the examples from 0.4.1. (choose 0.4.1 in the tags / branches dropdown in github e.g. historicaldata.py
Please re-open if you think there is still issue.
on macosx python 3.4 the parameter reconnect_auto=True seem to raise an error in the examples provided?
python historicaldata.py Traceback (most recent call last): File "historicaldata.py", line 72, in
tws = EPosixClientSocket(callback, reconnect_auto=True)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/swigibpy.py", line 1663, in init
_swigibpy.EPosixClientSocket_swiginit(self,_swigibpy.new_EPosixClientSocket(_args, *_kwargs))
TypeError: new_EPosixClientSocket() takes at most 1 argument (2 given)