{"action":"created","issue":{"url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/577","repository_url":"https://api.github.com/repos/R4stl1n/allianceauth","labels_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/577/comments","events_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/577/events","html_url":"https://github.com/R4stl1n/allianceauth/issues/577","id":188436331,"number":577,"title":"1048, \"Column 'user_id' cannot be null\"","user":{"login":"RDash21","id":7548995,"avatar_url":"https://avatars.githubusercontent.com/u/7548995?v=3","gravatar_id":"","url":"https://api.github.com/users/RDash21","html_url":"https://github.com/RDash21","followers_url":"https://api.github.com/users/RDash21/followers","following_url":"https://api.github.com/users/RDash21/following{/other_user}","gists_url":"https://api.github.com/users/RDash21/gists{/gist_id}","starred_url":"https://api.github.com/users/RDash21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDash21/subscriptions","organizations_url":"https://api.github.com/users/RDash21/orgs","repos_url":"https://api.github.com/users/RDash21/repos","events_url":"https://api.github.com/users/RDash21/events{/privacy}","received_events_url":"https://api.github.com/users/RDash21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-10T07:12:29Z","updated_at":"2016-11-10T09:13:02Z","closed_at":null,"body":"How to cause it:\r\nBrowse to /admin/eveonline/evecharacter/\r\nAfter fresh install\r\n\r\n```\r\n[Thu Nov 10 07:08:24.009708 2016] [wsgi:error] [pid 22010] [10/Nov/2016 07:08:24] ERROR [django.request:124] Internal Server Error: /admin/eveonline/evecharacter/\r\n[Thu Nov 10 07:08:24.009731 2016] [wsgi:error] [pid 22010] Traceback (most recent call last):\r\n[Thu Nov 10 07:08:24.009739 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py\", line 39, in inner\r\n[Thu Nov 10 07:08:24.009746 2016] [wsgi:error] [pid 22010]     response = get_response(request)\r\n[Thu Nov 10 07:08:24.009752 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 217, in _get_response\r\n[Thu Nov 10 07:08:24.009759 2016] [wsgi:error] [pid 22010]     response = self.process_exception_by_middleware(e, request)\r\n[Thu Nov 10 07:08:24.009765 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 215, in _get_response\r\n[Thu Nov 10 07:08:24.009772 2016] [wsgi:error] [pid 22010]     response = response.render()\r\n[Thu Nov 10 07:08:24.009779 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/response.py\", line 109, in render\r\n[Thu Nov 10 07:08:24.009788 2016] [wsgi:error] [pid 22010]     self.content = self.rendered_content\r\n[Thu Nov 10 07:08:24.009796 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/response.py\", line 86, in rendered_content\r\n[Thu Nov 10 07:08:24.009812 2016] [wsgi:error] [pid 22010]     content = template.render(context, self._request)\r\n[Thu Nov 10 07:08:24.009816 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py\", line 66, in render\r\n[Thu Nov 10 07:08:24.009820 2016] [wsgi:error] [pid 22010]     return self.template.render(context)\r\n[Thu Nov 10 07:08:24.009823 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 208, in render\r\n[Thu Nov 10 07:08:24.009827 2016] [wsgi:error] [pid 22010]     return self._render(context)\r\n[Thu Nov 10 07:08:24.009831 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 199, in _render\r\n[Thu Nov 10 07:08:24.009834 2016] [wsgi:error] [pid 22010]     return self.nodelist.render(context)\r\n[Thu Nov 10 07:08:24.009838 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 994, in render\r\n[Thu Nov 10 07:08:24.009841 2016] [wsgi:error] [pid 22010]     bit = node.render_annotated(context)\r\n[Thu Nov 10 07:08:24.009845 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 961, in render_annotated\r\n[Thu Nov 10 07:08:24.009849 2016] [wsgi:error] [pid 22010]     return self.render(context)\r\n[Thu Nov 10 07:08:24.009852 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\", line 174, in render\r\n[Thu Nov 10 07:08:24.009858 2016] [wsgi:error] [pid 22010]     return compiled_parent._render(context)\r\n[Thu Nov 10 07:08:24.009862 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 199, in _render\r\n[Thu Nov 10 07:08:24.009865 2016] [wsgi:error] [pid 22010]     return self.nodelist.render(context)\r\n[Thu Nov 10 07:08:24.009869 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 994, in render\r\n[Thu Nov 10 07:08:24.009872 2016] [wsgi:error] [pid 22010]     bit = node.render_annotated(context)\r\n[Thu Nov 10 07:08:24.009876 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 961, in render_annotated\r\n[Thu Nov 10 07:08:24.009879 2016] [wsgi:error] [pid 22010]     return self.render(context)\r\n[Thu Nov 10 07:08:24.009882 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\", line 174, in render\r\n[Thu Nov 10 07:08:24.009886 2016] [wsgi:error] [pid 22010]     return compiled_parent._render(context)\r\n[Thu Nov 10 07:08:24.009890 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 199, in _render\r\n[Thu Nov 10 07:08:24.009894 2016] [wsgi:error] [pid 22010]     return self.nodelist.render(context)\r\n[Thu Nov 10 07:08:24.009897 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 994, in render\r\n[Thu Nov 10 07:08:24.009901 2016] [wsgi:error] [pid 22010]     bit = node.render_annotated(context)\r\n[Thu Nov 10 07:08:24.009904 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 961, in render_annotated\r\n[Thu Nov 10 07:08:24.009908 2016] [wsgi:error] [pid 22010]     return self.render(context)\r\n[Thu Nov 10 07:08:24.009911 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\", line 70, in render\r\n[Thu Nov 10 07:08:24.009914 2016] [wsgi:error] [pid 22010]     result = block.nodelist.render(context)\r\n[Thu Nov 10 07:08:24.009918 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 994, in render\r\n[Thu Nov 10 07:08:24.009921 2016] [wsgi:error] [pid 22010]     bit = node.render_annotated(context)\r\n[Thu Nov 10 07:08:24.009924 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 961, in render_annotated\r\n[Thu Nov 10 07:08:24.009941 2016] [wsgi:error] [pid 22010]     return self.render(context)\r\n[Thu Nov 10 07:08:24.009945 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\", line 70, in render\r\n[Thu Nov 10 07:08:24.009949 2016] [wsgi:error] [pid 22010]     result = block.nodelist.render(context)\r\n[Thu Nov 10 07:08:24.009952 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 994, in render\r\n[Thu Nov 10 07:08:24.009956 2016] [wsgi:error] [pid 22010]     bit = node.render_annotated(context)\r\n[Thu Nov 10 07:08:24.009960 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\", line 961, in render_annotated\r\n[Thu Nov 10 07:08:24.009963 2016] [wsgi:error] [pid 22010]     return self.render(context)\r\n[Thu Nov 10 07:08:24.009967 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/template/library.py\", line 225, in render\r\n[Thu Nov 10 07:08:24.009970 2016] [wsgi:error] [pid 22010]     _dict = self.func(*resolved_args, **resolved_kwargs)\r\n[Thu Nov 10 07:08:24.009974 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/templatetags/admin_list.py\", line 339, in result_list\r\n[Thu Nov 10 07:08:24.009980 2016] [wsgi:error] [pid 22010]     'results': list(results(cl))}\r\n[Thu Nov 10 07:08:24.009984 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/templatetags/admin_list.py\", line 315, in results\r\n[Thu Nov 10 07:08:24.009987 2016] [wsgi:error] [pid 22010]     yield ResultList(None, items_for_result(cl, res, None))\r\n[Thu Nov 10 07:08:24.009991 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/templatetags/admin_list.py\", line 306, in __init__\r\n[Thu Nov 10 07:08:24.009994 2016] [wsgi:error] [pid 22010]     super(ResultList, self).__init__(*items)\r\n[Thu Nov 10 07:08:24.009998 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/templatetags/admin_list.py\", line 217, in items_for_result\r\n[Thu Nov 10 07:08:24.010001 2016] [wsgi:error] [pid 22010]     f, attr, value = lookup_field(field_name, result, cl.model_admin)\r\n[Thu Nov 10 07:08:24.010005 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/utils.py\", line 286, in lookup_field\r\n[Thu Nov 10 07:08:24.010008 2016] [wsgi:error] [pid 22010]     value = attr(obj)\r\n[Thu Nov 10 07:08:24.010012 2016] [wsgi:error] [pid 22010]   File \"/home/allianceserver/auth/eveonline/admin.py\", line 25, in main_character\r\n[Thu Nov 10 07:08:24.010016 2016] [wsgi:error] [pid 22010]     auth = AuthServicesInfo.objects.get_or_create(user=obj.user)[0]\r\n[Thu Nov 10 07:08:24.010019 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py\", line 85, in manager_method\r\n[Thu Nov 10 07:08:24.010023 2016] [wsgi:error] [pid 22010]     return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n[Thu Nov 10 07:08:24.010026 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/query.py\", line 475, in get_or_create\r\n[Thu Nov 10 07:08:24.010029 2016] [wsgi:error] [pid 22010]     return self._create_object_from_params(lookup, params)\r\n[Thu Nov 10 07:08:24.010033 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/query.py\", line 513, in _create_object_from_params\r\n[Thu Nov 10 07:08:24.010036 2016] [wsgi:error] [pid 22010]     six.reraise(*exc_info)\r\n[Thu Nov 10 07:08:24.010040 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/query.py\", line 505, in _create_object_from_params\r\n[Thu Nov 10 07:08:24.010043 2016] [wsgi:error] [pid 22010]     obj = self.create(**params)\r\n[Thu Nov 10 07:08:24.010047 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/query.py\", line 399, in create\r\n[Thu Nov 10 07:08:24.010056 2016] [wsgi:error] [pid 22010]     obj.save(force_insert=True, using=self.db)\r\n[Thu Nov 10 07:08:24.010060 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/base.py\", line 796, in save\r\n[Thu Nov 10 07:08:24.010063 2016] [wsgi:error] [pid 22010]     force_update=force_update, update_fields=update_fields)\r\n[Thu Nov 10 07:08:24.010067 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/base.py\", line 824, in save_base\r\n[Thu Nov 10 07:08:24.010070 2016] [wsgi:error] [pid 22010]     updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)\r\n[Thu Nov 10 07:08:24.010074 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/base.py\", line 908, in _save_table\r\n[Thu Nov 10 07:08:24.010077 2016] [wsgi:error] [pid 22010]     result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)\r\n[Thu Nov 10 07:08:24.010081 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/base.py\", line 947, in _do_insert\r\n[Thu Nov 10 07:08:24.010084 2016] [wsgi:error] [pid 22010]     using=using, raw=raw)\r\n[Thu Nov 10 07:08:24.010087 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py\", line 85, in manager_method\r\n[Thu Nov 10 07:08:24.010091 2016] [wsgi:error] [pid 22010]     return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n[Thu Nov 10 07:08:24.010094 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/query.py\", line 1045, in _insert\r\n[Thu Nov 10 07:08:24.010098 2016] [wsgi:error] [pid 22010]     return query.get_compiler(using=using).execute_sql(return_id)\r\n[Thu Nov 10 07:08:24.010101 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py\", line 1054, in execute_sql\r\n[Thu Nov 10 07:08:24.010104 2016] [wsgi:error] [pid 22010]     cursor.execute(sql, params)\r\n[Thu Nov 10 07:08:24.010108 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py\", line 64, in execute\r\n[Thu Nov 10 07:08:24.010111 2016] [wsgi:error] [pid 22010]     return self.cursor.execute(sql, params)\r\n[Thu Nov 10 07:08:24.010115 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py\", line 115, in execute\r\n[Thu Nov 10 07:08:24.010118 2016] [wsgi:error] [pid 22010]     six.reraise(utils.IntegrityError, utils.IntegrityError(*tuple(e.args)), sys.exc_info()[2])\r\n[Thu Nov 10 07:08:24.010122 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py\", line 110, in execute\r\n[Thu Nov 10 07:08:24.010127 2016] [wsgi:error] [pid 22010]     return self.cursor.execute(query, args)\r\n[Thu Nov 10 07:08:24.010131 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/MySQLdb/cursors.py\", line 250, in execute\r\n[Thu Nov 10 07:08:24.010134 2016] [wsgi:error] [pid 22010]     self.errorhandler(self, exc, value)\r\n[Thu Nov 10 07:08:24.010137 2016] [wsgi:error] [pid 22010]   File \"/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py\", line 42, in defaulterrorhandler\r\n[Thu Nov 10 07:08:24.010141 2016] [wsgi:error] [pid 22010]     raise errorvalue\r\n[Thu Nov 10 07:08:24.010144 2016] [wsgi:error] [pid 22010] IntegrityError: (1048, \"Column 'user_id' cannot be null\")\r\n```"},"comment":{"url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/comments/259638668","html_url":"https://github.com/R4stl1n/allianceauth/issues/577#issuecomment-259638668","issue_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/577","id":259638668,"user":{"login":"RDash21","id":7548995,"avatar_url":"https://avatars.githubusercontent.com/u/7548995?v=3","gravatar_id":"","url":"https://api.github.com/users/RDash21","html_url":"https://github.com/RDash21","followers_url":"https://api.github.com/users/RDash21/followers","following_url":"https://api.github.com/users/RDash21/following{/other_user}","gists_url":"https://api.github.com/users/RDash21/gists{/gist_id}","starred_url":"https://api.github.com/users/RDash21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDash21/subscriptions","organizations_url":"https://api.github.com/users/RDash21/orgs","repos_url":"https://api.github.com/users/RDash21/repos","events_url":"https://api.github.com/users/RDash21/events{/privacy}","received_events_url":"https://api.github.com/users/RDash21/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T09:13:02Z","updated_at":"2016-11-10T09:13:02Z","body":"Update:\r\n\r\nSome characters were not assigned to account which has been manually resolved."}}
{"actor":{"display_login":"RDash21"}}