pipenv run python -m bumper Error #140

Open
opened 2023-11-12 16:58:30 +01:00 by AndreiKorchunov · 2 comments
AndreiKorchunov commented 2023-11-12 16:58:30 +01:00 (Migrated from github.com)

Describe the bug
When I run in command window "pipenv run python -m bumper" then I get the error:

c:\Ecovacs>pipenv run python -m bumper
Traceback (most recent call last):
File "", line 189, in run_module_as_main
File "", line 148, in get_module_details
File "", line 112, in get_module_details
File "c:\Ecovacs\bumper_init
.py", line 3, in
from bumper.confserver import ConfServer
File "c:\Ecovacs\bumper\confserver.py", line 8, in
import aiohttp_jinja2
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp_jinja2_init
.py", line 7, in
from aiohttp import web
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp_init
.py", line 6, in
from .client import BaseConnector as BaseConnector
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\client.py", line 32, in
from . import hdrs, http, payload
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\http.py", line 7, in
from .http_parser import HeadersParser as HeadersParser
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\http_parser.py", line 15, in
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "C:\Users\Андрей.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\helpers.py", line 100, in
old_debug = coroutines._DEBUG # type: ignore
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio.coroutines' has no attribute '_DEBUG'

To Reproduce
1 download project to c:\Ecovacs
2 cd to c:\Ecovacs
3 run "pipenv install"
4 run "pipenv run python -m bumper"
5. See error

Desktop (please complete the following information):

  • OS: Windows

Vacuum (please complete the following information):

  • Model: Deebot Ozmo T8+
**Describe the bug** When I run in command window "pipenv run python -m bumper" then I get the error: c:\Ecovacs>pipenv run python -m bumper Traceback (most recent call last): File "<frozen runpy>", line 189, in _run_module_as_main File "<frozen runpy>", line 148, in _get_module_details File "<frozen runpy>", line 112, in _get_module_details File "c:\Ecovacs\bumper\__init__.py", line 3, in <module> from bumper.confserver import ConfServer File "c:\Ecovacs\bumper\confserver.py", line 8, in <module> import aiohttp_jinja2 File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp_jinja2\__init__.py", line 7, in <module> from aiohttp import web File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\__init__.py", line 6, in <module> from .client import BaseConnector as BaseConnector File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\client.py", line 32, in <module> from . import hdrs, http, payload File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\http.py", line 7, in <module> from .http_parser import HeadersParser as HeadersParser File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\http_parser.py", line 15, in <module> from .helpers import NO_EXTENSIONS, BaseTimerContext File "C:\Users\Андрей\.virtualenvs\Ecovacs-uviCpvCh\Lib\site-packages\aiohttp\helpers.py", line 100, in <module> old_debug = coroutines._DEBUG # type: ignore ^^^^^^^^^^^^^^^^^ AttributeError: module 'asyncio.coroutines' has no attribute '_DEBUG' **To Reproduce** 1 download project to c:\Ecovacs 2 cd to c:\Ecovacs 3 run "pipenv install" 4 run "pipenv run python -m bumper" 5. See error **Desktop (please complete the following information):** - OS: Windows **Vacuum (please complete the following information):** - Model: Deebot Ozmo T8+
blanky0230 commented 2023-11-19 18:37:24 +01:00 (Migrated from github.com)

I suppose you are using python 3.11?
This project does not run with python 3.11. I think the latest supported version was 3.7.

Maybe have a look at https://github.com/pyenv/pyenv

But keep in mind that python3.7 has reached EOL and may not receive security updates.

I suppose you are using python 3.11? This project does not run with python 3.11. I think the latest supported version was 3.7. Maybe have a look at https://github.com/pyenv/pyenv But keep in mind that python3.7 has reached EOL and may not receive security updates.
moses19850 commented 2024-09-03 21:52:36 +02:00 (Migrated from github.com)

Hi, have a similar issue
root@bumper:~/bumper# pipenv run python -m bumper Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/root/bumper/bumper/__init__.py", line 3, in <module> from bumper.confserver import ConfServer File "/root/bumper/bumper/confserver.py", line 8, in <module> import aiohttp_jinja2 ModuleNotFoundError: No module named 'aiohttp_jinja2'

Can someone please advice what is wrong? I installed aiotttp twice, one time directly in the bumper folder and one time outside. Nothing works.
Thanks

Hi, have a similar issue `root@bumper:~/bumper# pipenv run python -m bumper Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/root/bumper/bumper/__init__.py", line 3, in <module> from bumper.confserver import ConfServer File "/root/bumper/bumper/confserver.py", line 8, in <module> import aiohttp_jinja2 ModuleNotFoundError: No module named 'aiohttp_jinja2'` Can someone please advice what is wrong? I installed aiotttp twice, one time directly in the bumper folder and one time outside. Nothing works. Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mia/bumper#140
No description provided.