{"action":"opened","issue":{"url":"https://api.github.com/repos/evecm/ecm/issues/32","labels_url":"https://api.github.com/repos/evecm/ecm/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/evecm/ecm/issues/32/comments","events_url":"https://api.github.com/repos/evecm/ecm/issues/32/events","html_url":"https://github.com/evecm/ecm/issues/32","id":105770944,"number":32,"title":"Members Update fails again","user":{"login":"Dharr-Guartonzec","id":11791747,"avatar_url":"https://avatars.githubusercontent.com/u/11791747?v=3","gravatar_id":"","url":"https://api.github.com/users/Dharr-Guartonzec","html_url":"https://github.com/Dharr-Guartonzec","followers_url":"https://api.github.com/users/Dharr-Guartonzec/followers","following_url":"https://api.github.com/users/Dharr-Guartonzec/following{/other_user}","gists_url":"https://api.github.com/users/Dharr-Guartonzec/gists{/gist_id}","starred_url":"https://api.github.com/users/Dharr-Guartonzec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dharr-Guartonzec/subscriptions","organizations_url":"https://api.github.com/users/Dharr-Guartonzec/orgs","repos_url":"https://api.github.com/users/Dharr-Guartonzec/repos","events_url":"https://api.github.com/users/Dharr-Guartonzec/events{/privacy}","received_events_url":"https://api.github.com/users/Dharr-Guartonzec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-10T09:41:57Z","updated_at":"2015-09-10T09:41:57Z","closed_at":null,"body":"One day without errors, suddenly an old issue returned:\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"/usr/lib/python2.7/site-packages/ecm/apps/scheduler/models.py\", line 120, in run\r\n    func(**args)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/ecm/apps/hr/tasks/members/__init__.py\", line 26, in update\r\n    security.update()\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/transaction.py\", line 223, in inner\r\n    return func(*args, **kwargs)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/ecm/apps/hr/tasks/members/security.py\", line 90, in update\r\n    titleDiffs = storeTitles(oldTitles, newTitles, currentTime)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/ecm/apps/hr/tasks/members/security.py\", line 207, in storeTitles\r\n    d.save()\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/models/base.py\", line 546, in save\r\n    force_update=force_update, update_fields=update_fields)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/models/base.py\", line 650, in save_base\r\n    result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/models/manager.py\", line 215, in _insert\r\n    return insert_query(self.model, objs, fields, **kwargs)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/models/query.py\", line 1675, in insert_query\r\n    return query.get_compiler(using=using).execute_sql(return_id)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 943, in execute_sql\r\n    cursor.execute(sql, params)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/backends/util.py\", line 41, in execute\r\n    return self.cursor.execute(sql, params)\r\n\r\n  File \"/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py\", line 120, in execute\r\n    return self.cursor.execute(query, args)\r\n\r\n  File \"/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py\", line 207, in execute\r\n    if not self._defer_warnings: self._warning_check()\r\n\r\n  File \"/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py\", line 117, in _warning_check\r\n    warn(w[-1], self.Warning, 3)\r\n\r\nWarning: Field 'id' doesn't have a default value\r\n\r\n\r\nRequest repr() unavailable.\r\n\r\n\r\nWhat else can be the error here? Setting the DB to UTF-8 charset did not solve all the issues.\r\n\r\nThe last thing that changed was a new member joining our corp yesterday... Before that all worked fine."}}