You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I setup a fresh OS and tried to install ScripNet again which didn't work. I had to change some things in the code to make scriptnet running.
The error messages: File "/home/tobias/devel/projects/java_htr/competition/scriptnet/competition/new_checkout/competitions.bak/scriptnet/competitions/views.py", line 344, in submit if not request.user.is_authenticated(): TypeError: 'bool' object is not callable
and AttributeError: 'WSGIRequest' object has no attribute 'user'
and ImportError: Module "django.contrib.auth.middleware" does not define a "SessionAuthenticationMiddleware" attribute/class
This is what I did:
scriptnet/competitions/views.py line 51 and 344: request.user.is_authenticated() to request.user.is_authenticated
scriptnet/scriptnet/settings.py replace MIDDLEWARE_CLASSES by MIDDLEWARE and remove 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
The text was updated successfully, but these errors were encountered:
I setup a fresh OS and tried to install ScripNet again which didn't work. I had to change some things in the code to make scriptnet running.
The error messages:
File "/home/tobias/devel/projects/java_htr/competition/scriptnet/competition/new_checkout/competitions.bak/scriptnet/competitions/views.py", line 344, in submit if not request.user.is_authenticated(): TypeError: 'bool' object is not callable
and
AttributeError: 'WSGIRequest' object has no attribute 'user'
and
ImportError: Module "django.contrib.auth.middleware" does not define a "SessionAuthenticationMiddleware" attribute/class
This is what I did:
The text was updated successfully, but these errors were encountered: