Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.7: ccxt.[exchange]() call error (ver 1.9.163) #331

Closed
PhinixPhire opened this issue Oct 17, 2017 · 6 comments
Closed

Python 2.7: ccxt.[exchange]() call error (ver 1.9.163) #331

PhinixPhire opened this issue Oct 17, 2017 · 6 comments
Assignees

Comments

@PhinixPhire
Copy link

I just updated to the latest ccxt (1.9.163) and now I'm getting errors such as this whenever I try to initialize an exchange:

Code:

import ccxt
southxchange = ccxt.southxchange()

Result:

Traceback (most recent call last):
  File "C:/Users/Phinix/Desktop/Crypto/CCXTtests.py", line 3, in <module>
    southxchange = ccxt.southxchange()
  File "C:\Python27\lib\site-packages\ccxt\exchanges.py", line 17538, in __init__
    super(southxchange, self).__init__(params)
  File "C:\Python27\lib\site-packages\ccxt\exchange.py", line 163, in __init__
    for attr in self.__dir__():
AttributeError: 'southxchange' object has no attribute '__dir__'
>>> 
@kroitor
Copy link
Member

kroitor commented Oct 17, 2017

This is a bug due to one of recent commits, it will be fixed right away! Thx for reporting!

@kroitor kroitor self-assigned this Oct 17, 2017
@kroitor kroitor changed the title ccxt.[exchange]() call error (ver 1.9.163) Python 2.7: ccxt.[exchange]() call error (ver 1.9.163) Oct 17, 2017
@PhinixPhire
Copy link
Author

Thanks, Igor!
I'll be sure to include the Python version in my Issue titles moving forward for you too. :)

@kroitor
Copy link
Member

kroitor commented Oct 17, 2017

@PhinixPhire I can see it from the output, no worries ) Fixing it.

@kroitor
Copy link
Member

kroitor commented Oct 17, 2017

I've uploaded the fix for it, but GitHub and Travis now say:

screen shot 2017-10-17 at 19 32 04

Have to wait a little (

@kroitor
Copy link
Member

kroitor commented Oct 17, 2017

Ok, this is fixed in version 1.9.165+. Sorry for the inconvenience. It was a leftover minor bug. Thanks for your patience! Let us know if you have any other questions or difficulties. Best wishes!

@PhinixPhire
Copy link
Author

No problem at all. I appreciate the quick response, sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants