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

run django server doesn't work #39

Closed
jedie opened this issue Mar 5, 2020 · 1 comment
Closed

run django server doesn't work #39

jedie opened this issue Mar 5, 2020 · 1 comment
Assignees
Labels

Comments

@jedie
Copy link
Owner

jedie commented Mar 5, 2020

PyHardLinkBackup v0.12.1 - Django v2.2.11 manage command

read user configuration from:
	/home/jens/PyHardLinkBackup.ini

Use Database file: '/home/jens/PyHardLinkBackups.sqlite3'
temp log file: /tmp/pyhardlinkbackup_r0jfxi09.log
Performing system checks...

System check identified no issues (0 silenced).
Execute: 'PRAGMA journal_mode = MEMORY;'
Execute: 'PRAGMA temp_store = MEMORY;'
Execute: 'PRAGMA synchronous = OFF;'
March 05, 2020 - 21:48:43
Django version 2.2.11, using settings 'pyhardlinkbackup.django_project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/utils/autoreload.py", line 54, in wrapper
    fn(*args, **kwargs)
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 137, in inner_run
    handler = self.get_handler(*args, **options)
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler
    handler = super().get_handler(*args, **options)
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 64, in get_handler
    return get_internal_wsgi_application()
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/servers/basehttp.py", line 42, in get_internal_wsgi_application
    return get_wsgi_application()
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
    return WSGIHandler()
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/handlers/wsgi.py", line 135, in __init__
    self.load_middleware()
  File "/home/jens/PyHardLinkBackup/lib/python3.6/site-packages/django/core/handlers/base.py", line 37, in load_middleware
    mw_instance = middleware(handler)
TypeError: object() takes no parameters

@jedie jedie added the bug label Mar 5, 2020
@jedie jedie self-assigned this Mar 5, 2020
jedie added a commit that referenced this issue Mar 17, 2020
@jedie
Copy link
Owner Author

jedie commented Mar 17, 2020

fixed by dfb9037

@jedie jedie closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant