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

AttributeError: module 'dramatiq.middleware' has no attribute 'Prometheu #12

Open
yagashiraevil opened this issue Mar 5, 2019 · 0 comments

Comments

@yagashiraevil
Copy link

I am getting below mention error on windows. please advice

(venv) C:\Users\xx\Desktop\appointment-reminders-django-master>python manage.py runserver
Unhandled exception in thread started by <function check_errors..wrapper at 0x000001DD96A8A6A8>
Traceback (most recent call last):
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\utils\autoreload.py", line 248, in raise_last_exception
raise exception[1]
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\core\management_init
.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\apps\registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django\apps\config.py", line 116, in create
mod = import_module(mod_path)
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_dramatiq\apps.py", line 3, in
from .tasks import broker # noqa
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_dramatiq\tasks.py", line 33, in
middleware = [load_middleware(path) for path in broker_settings.get("MIDDLEWARE", [])]
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_dramatiq\tasks.py", line 33, in
middleware = [load_middleware(path) for path in broker_settings.get("MIDDLEWARE", [])]
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_dramatiq\tasks.py", line 26, in load_middleware
return load_class(path_or_obj)()
File "C:\Users\xx\Desktop\appointment-reminders-django-master\venv\lib\site-packages\django_dramatiq\tasks.py", line 22, in load_class
return getattr(module, class_name)
s'

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

1 participant