File "/usr/lib/python3.3/site-packages/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, _args, *_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/base.py", line 87, in dispatch
return handler(request, _args, *_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/edit.py", line 223, in get
self.object = self.get_object()
File "/usr/lib/python3.3/site-packages/softwarecollections/scls/views.py", line 238, in get_object
kwargs={"username": self.request.user.get_username()}
File "/usr/lib/python3.3/site-packages/django/utils/functional.py", line 214, in inner
return func(self._wrapped, *args)
AttributeError: 'AnonymousUser' object has no attribute 'get_username'
Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/django/core/handlers/base.py", line 112, in get_response response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, _args, *_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/base.py", line 87, in dispatch return handler(request, _args, *_kwargs)
File "/usr/lib/python3.3/site-packages/django/views/generic/edit.py", line 223, in get self.object = self.get_object()
File "/usr/lib/python3.3/site-packages/softwarecollections/scls/views.py", line 238, in get_object kwargs={"username": self.request.user.get_username()}
File "/usr/lib/python3.3/site-packages/django/utils/functional.py", line 214, in inner return func(self._wrapped, *args)
AttributeError: 'AnonymousUser' object has no attribute 'get_username'
<WSGIRequest path:/en/scls/rhscl/python33/delete/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'_ga': 'GA1.2.131148437.1420215668', '_gat': '1'}, META:{'CONTEXT_DOCUMENT_ROOT': '/var/scls/htdocs', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '81EudVJLjwUPmlXKPIPss00gYighLAzM', 'DOCUMENT_ROOT': '/var/scls/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/_;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-GB,en-US;q=0.8,en;q=0.6', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.131148437.1420215668; _gat=1', 'HTTP_HOST': 'www.softwarecollections.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36', 'PATH_INFO': '/en/scls/rhscl/python33/delete/', 'PATH_TRANSLATED': '/var/scls/htdocs/wsgi.py/en/scls/rhscl/python33/delete/', 'QUERY_STRING': '', 'REMOTE_ADDR': '213.175.37.10', 'REMOTE_PORT': '10515', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/en/scls/rhscl/python33/delete/', 'SCRIPT_FILENAME': '/var/scls/htdocs/wsgi.py', 'SCRIPT_NAME': '', 'SERVER_ADDR': '192.163.255.63', 'SERVER_ADMIN': 'admin@softwarecollections.org', 'SERVER_NAME': 'www.softwarecollections.org', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/3.3.2', 'SSL_TLS_SNI': 'www.softwarecollections.org', 'UNIQUE_ID': 'VKbFgCBNdm3@Wzm-s8ROrwAAAAU', 'mod_wsgi.application_group': 'www.softwarecollections.org|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.process_group': 'softwarecollections.org', 'mod_wsgi.queue_start': '1420215680799726', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 5), 'wsgi.errors': <_io.TextIOWrapper encoding='utf-8'>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f3bc8e68e40>, 'wsgi.input': <mod_wsgi.Input object at 0x7f3bc8d228b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>