-
Notifications
You must be signed in to change notification settings - Fork 74
Can't start the application #243
Comments
Hi Domekologe,
I think you had a error while setting up the venv.
Please delete the venv folder and retry setting up the venv.
Von: Domekologe <[email protected]>
Gesendet: Donnerstag, 26. Juli 2018 13:07
An: Fuyukai/OWAPI <[email protected]>
Cc: Subscribed <[email protected]>
Betreff: [Fuyukai/OWAPI] Can't start the application (#243)
Hello,
I cannot start the application on my Ubuntu VPS.
At first I would use the new version, but this gave me an error, that its need the Python 3.5.3 version (I have 3.5.2 installed) and so I have to used an older version, but there I got an error:
Warning: activate_this.py not found. Your environment is most certainly not activated. Continuing anyway...
INFO:asphalt.core.runner:Running in development mode
2018-07-26 11:04:45,047 - [INFO] asphalt.core.runner -> Starting application
2018-07-26 11:04:45,126 - [ERROR] asphalt.core.runner -> Error during application startup
Traceback (most recent call last):
File "/opt/OWAPI2/OWAPI/venv/lib/python3.5/site-packages/asphalt/core/runner.py", line 111, in run_application
event_loop.run_until_complete(coro)
File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/opt/OWAPI2/OWAPI/owapi/app.py", line 133, in start
from asphalt.redis.component import RedisComponent
File "/opt/OWAPI2/OWAPI/venv/lib/python3.5/site-packages/asphalt/redis/component.py", line 6, in
from aioredis import create_reconnecting_redis
ImportError: cannot import name 'create_reconnecting_redis'
2018-07-26 11:04:45,130 - [INFO] asphalt.core.runner -> Stopping application
2018-07-26 11:04:45,132 - [INFO] asphalt.core.runner -> Application stopped
2018-07-26 11:04:45,176 - [ERROR] asyncio -> Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f46fa551860>
Maybe you can help me here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#243> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AL0erM07K9n6XkCag0TWCYM40W0druQ3ks5uKaLpgaJpZM4Vhn1g> . <https://github.com/notifications/beacon/AL0erDQchdWjlHXy_ozWAufRxpVS5gT3ks5uKaLpgaJpZM4Vhn1g.gif>
|
Hi KingJP, It's very interesting. |
Hmm ok, I think there is a problem with the "asphalt" plugin. The problem is not the venv. I have used the version 3.5.3 (said as required) and this version doesn't copy the files to the venv folder. Please help me... |
The aioredis version is pinned in the Pipfile. If you installed it using |
Hello,
I cannot start the application on my Ubuntu VPS.
At first I would use the new version, but this gave me an error, that its need the Python 3.5.3 version (I have 3.5.2 installed) and so I have to used an older version, but there I got an error:
Warning: activate_this.py not found. Your environment is most certainly not activated. Continuing anyway...
INFO:asphalt.core.runner:Running in development mode
2018-07-26 11:04:45,047 - [INFO] asphalt.core.runner -> Starting application
2018-07-26 11:04:45,126 - [ERROR] asphalt.core.runner -> Error during application startup
Traceback (most recent call last):
File "/opt/OWAPI2/OWAPI/venv/lib/python3.5/site-packages/asphalt/core/runner.py", line 111, in run_application
event_loop.run_until_complete(coro)
File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/opt/OWAPI2/OWAPI/owapi/app.py", line 133, in start
from asphalt.redis.component import RedisComponent
File "/opt/OWAPI2/OWAPI/venv/lib/python3.5/site-packages/asphalt/redis/component.py", line 6, in
from aioredis import create_reconnecting_redis
ImportError: cannot import name 'create_reconnecting_redis'
2018-07-26 11:04:45,130 - [INFO] asphalt.core.runner -> Stopping application
2018-07-26 11:04:45,132 - [INFO] asphalt.core.runner -> Application stopped
2018-07-26 11:04:45,176 - [ERROR] asyncio -> Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f46fa551860>
Maybe you can help me here.
The text was updated successfully, but these errors were encountered: