{"action":"created","issue":{"url":"https://api.github.com/repos/crits/crits/issues/475","labels_url":"https://api.github.com/repos/crits/crits/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/crits/crits/issues/475/comments","events_url":"https://api.github.com/repos/crits/crits/issues/475/events","html_url":"https://github.com/crits/crits/issues/475","id":72276344,"number":475,"title":"AttributeError: 'WSGIRequest' object has no attribute 'user'","user":{"login":"sdsponger","id":6786168,"avatar_url":"https://avatars.githubusercontent.com/u/6786168?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsponger","html_url":"https://github.com/sdsponger","followers_url":"https://api.github.com/users/sdsponger/followers","following_url":"https://api.github.com/users/sdsponger/following{/other_user}","gists_url":"https://api.github.com/users/sdsponger/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsponger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsponger/subscriptions","organizations_url":"https://api.github.com/users/sdsponger/orgs","repos_url":"https://api.github.com/users/sdsponger/repos","events_url":"https://api.github.com/users/sdsponger/events{/privacy}","received_events_url":"https://api.github.com/users/sdsponger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-30T20:42:34Z","updated_at":"2015-04-30T21:37:27Z","closed_at":null,"body":"Things were up and running fine, but as soon as I added the crits_services dir and restarted apache2, I haven't been able to log back into the GUI.  It just throws a 500 Internal Server Error. \r\n\r\nMy apache2 error.log and crits.log are below.\r\n\r\nThanks for the help on this!\r\n\r\ntail -f /var/log/apache2/error.log \r\n[Thu Apr 30 12:23:39.670593 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]     resolver, sys.exc_info())\r\n[Thu Apr 30 12:23:39.670603 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]   File\r\n\"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line\r\n236, in handle_uncaught_exception [Thu Apr 30 12:23:39.670660 2015] [:error]\r\n[pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]     return callback(request, **param_dict)\r\n[Thu Apr 30 12:23:39.670683 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]   File \"/data/crits/crits/core/errors.py\",\r\nline 17, in custom_500\r\n[Thu Apr 30 12:23:39.670701 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]     RequestContext(request))\r\n[Thu Apr 30 12:23:39.670712 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]   File\r\n\"/usr/local/lib/python2.7/dist-packages/django/template/context.py\", line\r\n169, in __init__ [Thu Apr 30 12:23:39.670727 2015] [:error] [pid 944:tid\r\n140586032006912]\r\n[client 192.168.100.101:64491]     self.update(processor(request))\r\n[Thu Apr 30 12:23:39.670737 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]   File \"/data/crits/crits/core/views.py\",\r\nline 1056, in base_context\r\n[Thu Apr 30 12:23:39.670751 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491]     if request.user.is_authenticated():\r\n[Thu Apr 30 12:23:39.670767 2015] [:error] [pid 944:tid 140586032006912]\r\n[client 192.168.100.101:64491] AttributeError: 'WSGIRequest' object has no\r\nattribute 'user'\r\n\r\ntail -f /data/crits/logs/crits.log\r\nWARNING 2015-04-30 13:00:03,754 crits.services.core Failed to import service (shodan_service): No module named shodan\r\nWARNING 2015-04-30 13:00:03,756 crits.services.core Failed to import service (pyinstaller_service): No module named PyInstaller.cliutils.archive_viewer\r\nWARNING 2015-04-30 13:00:03,756 crits.services.core Failed to import service (unswf_service): No module named pylzma\r\nWARNING 2015-04-30 13:00:03,758 crits.services.core Failed to import service (pdfinfo_service): No module named numpy\r\nWARNING 2015-04-30 13:00:03,759 crits.services.core Failed to import service (chminfo_service): No module named chm\r\nWARNING 2015-04-30 13:00:03,767 crits.services.core Failed to import service (shodan_service): No module named shodan\r\nWARNING 2015-04-30 13:00:03,769 crits.services.core Failed to import service (pyinstaller_service): No module named PyInstaller.cliutils.archive_viewer\r\nWARNING 2015-04-30 13:00:03,769 crits.services.core Failed to import service (unswf_service): No module named pylzma\r\nWARNING 2015-04-30 13:00:03,771 crits.services.core Failed to import service (pdfinfo_service): No module named numpy\r\nWARNING 2015-04-30 13:00:03,772 crits.services.core Failed to import service (chminfo_service): No module named chm\r\n"},"comment":{"url":"https://api.github.com/repos/crits/crits/issues/comments/97975919","html_url":"https://github.com/crits/crits/issues/475#issuecomment-97975919","issue_url":"https://api.github.com/repos/crits/crits/issues/475","id":97975919,"user":{"login":"sdsponger","id":6786168,"avatar_url":"https://avatars.githubusercontent.com/u/6786168?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsponger","html_url":"https://github.com/sdsponger","followers_url":"https://api.github.com/users/sdsponger/followers","following_url":"https://api.github.com/users/sdsponger/following{/other_user}","gists_url":"https://api.github.com/users/sdsponger/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsponger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsponger/subscriptions","organizations_url":"https://api.github.com/users/sdsponger/orgs","repos_url":"https://api.github.com/users/sdsponger/repos","events_url":"https://api.github.com/users/sdsponger/events{/privacy}","received_events_url":"https://api.github.com/users/sdsponger/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T21:37:26Z","updated_at":"2015-04-30T21:37:26Z","body":"@gtback Nope, those are the only lines, they just repeat in their respective logs after each apache2 bounce I've done and subsequent page refresh.  In the process of installing all dependencies for the services I want to use and moving the others to another directory."}}