Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Can't start the application #243

Open
Domekologe opened this issue Jul 26, 2018 · 4 comments
Open

Can't start the application #243

Domekologe opened this issue Jul 26, 2018 · 4 comments
Labels

Comments

@Domekologe
Copy link

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.

@jp1337
Copy link
Contributor

jp1337 commented Jul 26, 2018 via email

@Domekologe
Copy link
Author

Hi KingJP,
I got the same error message.

It's very interesting.
I have another VPS and there it works (the same OS Template was used), but this VPS will be deactivated soon :(

@Domekologe
Copy link
Author

Domekologe commented Jul 27, 2018

Hmm ok, I think there is a problem with the "asphalt" plugin.
I have copied the "site-packages" folder from the other machine and replaced it.
Now I have another problem detected.

The problem is not the venv.
The problem is the python version.

I have used the version 3.5.3 (said as required) and this version doesn't copy the files to the venv folder.
Version 3.5.2 make everything right, but the application doesn't start, because it wants version 3.5.3

Please help me...

@Fuyukai
Copy link
Owner

Fuyukai commented Jul 27, 2018

The aioredis version is pinned in the Pipfile. If you installed it using pipenv install on 3.5.3 it should've installed with the correct requirements.

@Fuyukai Fuyukai added the pebkac label Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants