-
Notifications
You must be signed in to change notification settings - Fork 20
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
error with python 3.5 #1
Comments
@KarlosW, Could you please attach the code which cause this error? Thanks. |
It's the async.py from the examples. |
it's still the same behavior with python 3.5 |
@AndrewSamokhvalov You need to remove the (outdated) 'asyncio' library from the list of dependencies at least for the latest Python versions. Otherwise the integrated asyncio library is shadowed by the outdated one which is not compatible with your code (at least not when executed in Python 3.5 or above). |
Remove base checks for valid currency pairs
Traceback (most recent call last):
File "async.py", line 26, in
app.run()
File "poloniex-api/poloniex/app.py", line 81, in run
self.init_api(self.loop, session)
File "poloniex-api/poloniex/app.py", line 68, in init_api
stop_decorator(self.main, self.push)()
File "/usr/lib64/python3.5/site-packages/asyncio-3.4.3-py3.5.egg/asyncio/tasks.py", line 567, in gather
fut = async(arg, loop=loop)
File "/usr/lib64/python3.5/site-packages/asyncio-3.4.3-py3.5.egg/asyncio/tasks.py", line 516, in async
raise TypeError('A Future or coroutine is required')
TypeError: A Future or coroutine is required
sys:1: RuntimeWarning: coroutine 'AsyncApp.init_api..stop_decorator.' was never awaited
sys:1: RuntimeWarning: coroutine 'WAMPClient.start' was never awaited
The text was updated successfully, but these errors were encountered: