1 | {
|
---|
2 | "extra": {
|
---|
3 | "sys.argv": ["'./manage.py'", "'test'", "'news'", "'--settings=rhmais.settings.local_mysql'"],
|
---|
4 | "argv": ["'./manage.py'", "'test'", "'news'", "'--settings=rhmais.settings.local_mysql'"]
|
---|
5 | },
|
---|
6 | "timestamp": "2015-07-18T01:00:15Z",
|
---|
7 | "time_spent": null,
|
---|
8 | "message": "IntegrityError: (1215, 'Cannot add foreign key constraint')",
|
---|
9 | "exception": {
|
---|
10 | "values": [{
|
---|
11 | "stacktrace": {
|
---|
12 | "frames": [{
|
---|
13 | "function": "new_execute",
|
---|
14 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/raven/contrib/django/management/__init__.py",
|
---|
15 | "vars": {
|
---|
16 | "kwargs": {
|
---|
17 | "'list'": false,
|
---|
18 | "'interactive'": false,
|
---|
19 | "'database'": "'default'",
|
---|
20 | "u'skip_checks'": true,
|
---|
21 | "'no_color'": false,
|
---|
22 | "'app_label'": null,
|
---|
23 | "'fake'": false,
|
---|
24 | "'migration_name'": null,
|
---|
25 | "'traceback'": false,
|
---|
26 | "'test_flush'": true,
|
---|
27 | "'verbosity'": 0,
|
---|
28 | "'settings'": null,
|
---|
29 | "'fake_initial'": false,
|
---|
30 | "'pythonpath'": null,
|
---|
31 | "'load_initial_data'": true
|
---|
32 | },
|
---|
33 | "self": "<django.core.management.commands.migrate.Command object at 0x10ca8d4d0>",
|
---|
34 | "args": [],
|
---|
35 | "original_func": "<unbound method BaseCommand.execute>",
|
---|
36 | "client": "<raven.contrib.django.client.DjangoClient object at 0x10cadd550>"
|
---|
37 | },
|
---|
38 | "pre_context": [" return False", "", " @wraps(original_func)", " def new_execute(self, *args, **kwargs):", " try:"],
|
---|
39 | "lineno": 41,
|
---|
40 | "module": "raven.contrib.django.management",
|
---|
41 | "post_context": [" except Exception:", " from raven.contrib.django.models import client", "", " client.captureException(extra={", " 'argv': sys.argv"],
|
---|
42 | "context_line": " return original_func(self, *args, **kwargs)",
|
---|
43 | "filename": "raven/contrib/django/management/__init__.py"
|
---|
44 | }, {
|
---|
45 | "function": "execute",
|
---|
46 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/core/management/base.py",
|
---|
47 | "vars": {
|
---|
48 | "self": "<django.core.management.commands.migrate.Command object at 0x10ca8d4d0>",
|
---|
49 | "args": [],
|
---|
50 | "translation": "<module 'django.utils.translation' from '/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/utils/translation/__init__.pyc'>",
|
---|
51 | "options": {
|
---|
52 | "'list'": false,
|
---|
53 | "'interactive'": false,
|
---|
54 | "'database'": "'default'",
|
---|
55 | "u'skip_checks'": true,
|
---|
56 | "'no_color'": false,
|
---|
57 | "'app_label'": null,
|
---|
58 | "'fake'": false,
|
---|
59 | "'migration_name'": null,
|
---|
60 | "'traceback'": false,
|
---|
61 | "'test_flush'": true,
|
---|
62 | "'verbosity'": 0,
|
---|
63 | "'settings'": null,
|
---|
64 | "'fake_initial'": false,
|
---|
65 | "'pythonpath'": null,
|
---|
66 | "'load_initial_data'": true
|
---|
67 | },
|
---|
68 | "saved_locale": "'pt-br'"
|
---|
69 | },
|
---|
70 | "pre_context": [" try:", " if (self.requires_system_checks and", " not options.get('skip_validation') and # Remove at the end of deprecation for `skip_validation`.", " not options.get('skip_checks')):", " self.check()"],
|
---|
71 | "lineno": 444,
|
---|
72 | "module": "django.core.management.base",
|
---|
73 | "post_context": [" if output:", " if self.output_transaction:", " # This needs to be imported here, because it relies on", " # settings.", " from django.db import connections, DEFAULT_DB_ALIAS"],
|
---|
74 | "in_app": false,
|
---|
75 | "context_line": " output = self.handle(*args, **options)",
|
---|
76 | "filename": "django/core/management/base.py"
|
---|
77 | }, {
|
---|
78 | "function": "handle",
|
---|
79 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
|
---|
80 | "vars": {
|
---|
81 | "run_syncdb": true,
|
---|
82 | "args": [],
|
---|
83 | "db": "'default'",
|
---|
84 | "app_config": "<RavenConfig: raven_contrib_django>",
|
---|
85 | "plan": [
|
---|
86 | ["<Migration contenttypes.0001_initial>", false],
|
---|
87 | ["<Migration auth.0001_initial>", false],
|
---|
88 | ["<Migration accounts.0001_initial>", false],
|
---|
89 | ["<Migration accounts.0002_employeetypeuseremployee_useremployeedepartment>", false],
|
---|
90 | ["<Migration accounts.0003_auto_20150428_1105>", false],
|
---|
91 | ["<Migration accounts.0004_auto_20150520_1526>", false],
|
---|
92 | ["<Migration accounts.0005_auto_20150527_1738>", false],
|
---|
93 | ["<Migration accounts.0006_auto_20150618_0837>", false],
|
---|
94 | ["<Migration accounts.0007_auto_20150715_2000>", false],
|
---|
95 | ["<Migration admin.0001_initial>", false],
|
---|
96 | ["<Migration contenttypes.0002_remove_content_type_name>", false],
|
---|
97 | ["<Migration auth.0002_alter_permission_name_max_length>", false],
|
---|
98 | ["<Migration auth.0003_alter_user_email_max_length>", false],
|
---|
99 | ["<Migration auth.0004_alter_user_username_opts>", false],
|
---|
100 | ["<Migration auth.0005_alter_user_last_login_null>", false],
|
---|
101 | ["<Migration auth.0006_require_contenttypes_0002>", false],
|
---|
102 | ["<Migration bulletins.0001_initial>", false],
|
---|
103 | ["<Migration bulletins.0002_auto_20150527_1738>", false],
|
---|
104 | ["<Migration messaging.0001_initial>", false],
|
---|
105 | ["<Migration messaging.0002_auto_20150611_1509>", false],
|
---|
106 | ["<Migration messaging.0003_conversation_isanonymous>", false],
|
---|
107 | ["<Migration messaging.0004_auto_20150616_1120>", false],
|
---|
108 | ["<Migration messaging.0005_auto_20150616_1424>", false],
|
---|
109 | ["<Migration messaging.0006_auto_20150618_0837>", false],
|
---|
110 | ["<Migration messaging.0007_conversationdeleted_conversationtodelete_conversationtosend>", false],
|
---|
111 | ["<Migration messaging.0008_conversation_isadmin>", false],
|
---|
112 | ["<Migration messaging.0009_auto_20150713_1037>", false],
|
---|
113 | ["<Migration messaging.0010_auto_20150714_1955>", false],
|
---|
114 | ["<Migration messaging.0011_conversation_isenabled>", false],
|
---|
115 | ["<Migration messaging.0012_auto_20150715_1356>", false],
|
---|
116 | ["<Migration messaging.0013_remove_conversation_isenabled>", false],
|
---|
117 | ["<Migration news.0001_initial>", false],
|
---|
118 | ["<Migration news.0002_auto_20150504_1758>", false],
|
---|
119 | ["<Migration news.0003_auto_20150504_1844>", false],
|
---|
120 | ["<Migration news.0004_auto_20150504_1849>", false],
|
---|
121 | ["<Migration sessions.0001_initial>", false],
|
---|
122 | ["<Migration surveys.0001_initial>", false],
|
---|
123 | ["<Migration surveys.0002_auto_20150602_1109>", false],
|
---|
124 | ["<Migration surveys.0003_surveytodelete>", false]
|
---|
125 | ],
|
---|
126 | "conflicts": {},
|
---|
127 | "targets": [
|
---|
128 | ["'accounts'", "u'0007_auto_20150715_2000'"],
|
---|
129 | ["'admin'", "u'0001_initial'"],
|
---|
130 | ["'auth'", "u'0006_require_contenttypes_0002'"],
|
---|
131 | ["'bulletins'", "u'0002_auto_20150527_1738'"],
|
---|
132 | ["'contenttypes'", "u'0002_remove_content_type_name'"],
|
---|
133 | ["'messaging'", "u'0013_remove_conversation_isenabled'"],
|
---|
134 | ["'news'", "u'0004_auto_20150504_1849'"],
|
---|
135 | ["'sessions'", "u'0001_initial'"],
|
---|
136 | ["'surveys'", "u'0003_surveytodelete'"]
|
---|
137 | ],
|
---|
138 | "self": "<django.core.management.commands.migrate.Command object at 0x10ca8d4d0>",
|
---|
139 | "connection": "<django.db.backends.mysql.base.DatabaseWrapper object at 0x10c1c9190>",
|
---|
140 | "executor": "<django.db.migrations.executor.MigrationExecutor object at 0x10ca8da50>",
|
---|
141 | "options": {
|
---|
142 | "'list'": false,
|
---|
143 | "'interactive'": false,
|
---|
144 | "'database'": "'default'",
|
---|
145 | "u'skip_checks'": true,
|
---|
146 | "'no_color'": false,
|
---|
147 | "'app_label'": null,
|
---|
148 | "'fake'": false,
|
---|
149 | "'migration_name'": null,
|
---|
150 | "'traceback'": false,
|
---|
151 | "'test_flush'": true,
|
---|
152 | "'verbosity'": 0,
|
---|
153 | "'settings'": null,
|
---|
154 | "'fake_initial'": false,
|
---|
155 | "'pythonpath'": null,
|
---|
156 | "'load_initial_data'": true
|
---|
157 | },
|
---|
158 | "target_app_labels_only": true
|
---|
159 | },
|
---|
160 | "pre_context": [" # Note that pre_migrate is called from inside here, as it needs", " # the list of models about to be installed.", " if run_syncdb and executor.loader.unmigrated_apps:", " if self.verbosity >= 1:", " self.stdout.write(self.style.MIGRATE_HEADING(\"Synchronizing apps without migrations:\"))"],
|
---|
161 | "lineno": 179,
|
---|
162 | "module": "django.core.management.commands.migrate",
|
---|
163 | "post_context": [" else:", " created_models = []", " emit_pre_migrate_signal([], self.verbosity, self.interactive, connection.alias)", "", " # The test runner requires us to flush after a syncdb but before migrations,"],
|
---|
164 | "in_app": false,
|
---|
165 | "context_line": " created_models = self.sync_apps(connection, executor.loader.unmigrated_apps)",
|
---|
166 | "filename": "django/core/management/commands/migrate.py"
|
---|
167 | }, {
|
---|
168 | "function": "sync_apps",
|
---|
169 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
|
---|
170 | "vars": {
|
---|
171 | "tables": ["u'django_migrations'"],
|
---|
172 | "app_labels": ["'e89_push_messaging'", "'raven_contrib_django'", "'staticfiles'", "'e89_tools'", "'messages'", "'e89_syncing'", "'widget_tweaks'", "'e89_beta_testing'", "'rest_framework'"],
|
---|
173 | "app_name": "'raven_contrib_django'",
|
---|
174 | "all_models": [
|
---|
175 | ["'rest_framework'", []],
|
---|
176 | ["'e89_syncing'", ["<class 'e89_syncing.models.SyncLog'>"]],
|
---|
177 | ["'e89_tools'", ["<class 'e89_tools.models.KeyValueStore'>"]],
|
---|
178 | ["'e89_push_messaging'", ["<class 'e89_push_messaging.models.Device'>"]],
|
---|
179 | ["'e89_beta_testing'", ["<class 'e89_beta_testing.models.BetaTester'>", "<class 'e89_beta_testing.models.IphoneBetaApp'>"]],
|
---|
180 | ["'widget_tweaks'", []],
|
---|
181 | ["'raven_contrib_django'", []]
|
---|
182 | ],
|
---|
183 | "self": "<django.core.management.commands.migrate.Command object at 0x10ca8d4d0>",
|
---|
184 | "created_models": ["<class 'e89_beta_testing.models.IphoneBetaApp'>", "<class 'e89_beta_testing.models.BetaTester'>", "<class 'e89_tools.models.KeyValueStore'>", "<class 'e89_syncing.models.SyncLog'>", "<class 'e89_push_messaging.models.Device'>"],
|
---|
185 | "cursor": "<django.db.backends.utils.CursorWrapper object at 0x10cadd410>",
|
---|
186 | "connection": "<django.db.backends.mysql.base.DatabaseWrapper object at 0x10c1c9190>",
|
---|
187 | "model_installed": "<function model_installed from django.core.management.commands.migrate at 0x10ca936e0>",
|
---|
188 | "app_config": "<RavenConfig: raven_contrib_django>",
|
---|
189 | "editor": "<django.db.backends.mysql.schema.DatabaseSchemaEditor object at 0x10cadd590>",
|
---|
190 | "statement": "u'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'",
|
---|
191 | "create_models": ["<class 'e89_beta_testing.models.IphoneBetaApp'>", "<class 'e89_beta_testing.models.BetaTester'>", "<class 'e89_tools.models.KeyValueStore'>", "<class 'e89_syncing.models.SyncLog'>", "<class 'e89_push_messaging.models.Device'>"],
|
---|
192 | "deferred_sql": ["u'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'", "u'ALTER TABLE `e89_push_messaging_device` ADD CONSTRAINT `e89_push_m_owner_id_796e11e4eeab95dc_fk_accounts_useremployee_id` FOREIGN KEY (`owner_id`) REFERENCES `accounts_useremployee` (`id`)'"],
|
---|
193 | "model": "<class 'e89_beta_testing.models.IphoneBetaApp'>",
|
---|
194 | "manifest": {
|
---|
195 | "'e89_tools'": ["<class 'e89_tools.models.KeyValueStore'>"],
|
---|
196 | "'e89_beta_testing'": ["<class 'e89_beta_testing.models.BetaTester'>", "<class 'e89_beta_testing.models.IphoneBetaApp'>"],
|
---|
197 | "'raven_contrib_django'": [],
|
---|
198 | "'rest_framework'": [],
|
---|
199 | "'e89_syncing'": ["<class 'e89_syncing.models.SyncLog'>"],
|
---|
200 | "'e89_push_messaging'": ["<class 'e89_push_messaging.models.Device'>"],
|
---|
201 | "'widget_tweaks'": []
|
---|
202 | },
|
---|
203 | "model_list": []
|
---|
204 | },
|
---|
205 | "pre_context": [" created_models.add(model)", "", " if self.verbosity >= 1:", " self.stdout.write(\" Running deferred SQL...\\n\")", " for statement in deferred_sql:"],
|
---|
206 | "lineno": 317,
|
---|
207 | "module": "django.core.management.commands.migrate",
|
---|
208 | "post_context": [" finally:", " cursor.close()", "", " # The connection may have been closed by a syncdb handler.", " cursor = connection.cursor()"],
|
---|
209 | "in_app": false,
|
---|
210 | "context_line": " cursor.execute(statement)",
|
---|
211 | "filename": "django/core/management/commands/migrate.py"
|
---|
212 | }, {
|
---|
213 | "function": "execute",
|
---|
214 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/db/backends/utils.py",
|
---|
215 | "vars": {
|
---|
216 | "self": "<django.db.backends.utils.CursorWrapper object at 0x10cadd410>",
|
---|
217 | "params": null,
|
---|
218 | "sql": "u'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'"
|
---|
219 | },
|
---|
220 | "pre_context": [" self.db.validate_no_broken_transaction()", " with self.db.wrap_database_errors:", " if params is None:", " return self.cursor.execute(sql)", " else:"],
|
---|
221 | "lineno": 64,
|
---|
222 | "module": "django.db.backends.utils",
|
---|
223 | "post_context": ["", " def executemany(self, sql, param_list):", " self.db.validate_no_broken_transaction()", " with self.db.wrap_database_errors:", " return self.cursor.executemany(sql, param_list)"],
|
---|
224 | "in_app": false,
|
---|
225 | "context_line": " return self.cursor.execute(sql, params)",
|
---|
226 | "filename": "django/db/backends/utils.py"
|
---|
227 | }, {
|
---|
228 | "function": "__exit__",
|
---|
229 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/db/utils.py",
|
---|
230 | "vars": {
|
---|
231 | "self": "<django.db.utils.DatabaseErrorWrapper object at 0x10cac6750>",
|
---|
232 | "traceback": "<traceback object at 0x10cae4c20>",
|
---|
233 | "exc_value": "IntegrityError(1215, 'Cannot add foreign key constraint')",
|
---|
234 | "dj_exc_type": "<class 'django.db.utils.IntegrityError'>",
|
---|
235 | "dj_exc_value": "IntegrityError(1215, 'Cannot add foreign key constraint')",
|
---|
236 | "exc_type": "<class '_mysql_exceptions.IntegrityError'>",
|
---|
237 | "db_exc_type": "<class '_mysql_exceptions.IntegrityError'>"
|
---|
238 | },
|
---|
239 | "pre_context": [" dj_exc_value.__cause__ = exc_value", " # Only set the 'errors_occurred' flag for errors that may make", " # the connection unusable.", " if dj_exc_type not in (DataError, IntegrityError):", " self.wrapper.errors_occurred = True"],
|
---|
240 | "lineno": 97,
|
---|
241 | "module": "django.db.utils",
|
---|
242 | "post_context": ["", " def __call__(self, func):", " # Note that we are intentionally not using @wraps here for performance", " # reasons. Refs #21109.", " def inner(*args, **kwargs):"],
|
---|
243 | "in_app": false,
|
---|
244 | "context_line": " six.reraise(dj_exc_type, dj_exc_value, traceback)",
|
---|
245 | "filename": "django/db/utils.py"
|
---|
246 | }, {
|
---|
247 | "function": "execute",
|
---|
248 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/db/backends/utils.py",
|
---|
249 | "vars": {
|
---|
250 | "self": "<django.db.backends.utils.CursorWrapper object at 0x10cadd410>",
|
---|
251 | "params": null,
|
---|
252 | "sql": "u'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'"
|
---|
253 | },
|
---|
254 | "pre_context": ["", " def execute(self, sql, params=None):", " self.db.validate_no_broken_transaction()", " with self.db.wrap_database_errors:", " if params is None:"],
|
---|
255 | "lineno": 62,
|
---|
256 | "module": "django.db.backends.utils",
|
---|
257 | "post_context": [" else:", " return self.cursor.execute(sql, params)", "", " def executemany(self, sql, param_list):", " self.db.validate_no_broken_transaction()"],
|
---|
258 | "in_app": false,
|
---|
259 | "context_line": " return self.cursor.execute(sql)",
|
---|
260 | "filename": "django/db/backends/utils.py"
|
---|
261 | }, {
|
---|
262 | "function": "execute",
|
---|
263 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/django/db/backends/mysql/base.py",
|
---|
264 | "vars": {
|
---|
265 | "query": "u'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'",
|
---|
266 | "self": "<django.db.backends.mysql.base.CursorWrapper object at 0x10cadd3d0>",
|
---|
267 | "args": null
|
---|
268 | },
|
---|
269 | "pre_context": [" self.cursor = cursor", "", " def execute(self, query, args=None):", " try:", " # args is None means no string interpolation"],
|
---|
270 | "lineno": 124,
|
---|
271 | "module": "django.db.backends.mysql.base",
|
---|
272 | "post_context": [" except Database.OperationalError as e:", " # Map some error codes to IntegrityError, since they seem to be", " # misclassified and Django would prefer the more logical place.", " if e.args[0] in self.codes_for_integrityerror:", " six.reraise(utils.IntegrityError, utils.IntegrityError(*tuple(e.args)), sys.exc_info()[2])"],
|
---|
273 | "in_app": false,
|
---|
274 | "context_line": " return self.cursor.execute(query, args)",
|
---|
275 | "filename": "django/db/backends/mysql/base.py"
|
---|
276 | }, {
|
---|
277 | "function": "execute",
|
---|
278 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/MySQLdb/cursors.py",
|
---|
279 | "vars": {
|
---|
280 | "exc": "<class '_mysql_exceptions.IntegrityError'>",
|
---|
281 | "self": "<MySQLdb.cursors.Cursor object at 0x10cac6890>",
|
---|
282 | "args": null,
|
---|
283 | "db": "<weakproxy at 0x10cab6d08 to Connection at 0x7fdc2a800020>",
|
---|
284 | "value": "IntegrityError(1215, 'Cannot add foreign key constraint')",
|
---|
285 | "r": null,
|
---|
286 | "query": "'ALTER TABLE `e89_syncing_synclog` ADD CONSTRAINT `e89_syncing_user_id_670069ad1cf9eaae_fk_accounts_useremployee_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_useremployee` (`id`)'"
|
---|
287 | },
|
---|
288 | "pre_context": [" raise", " except:", " exc, value, tb = sys.exc_info()", " del tb", " self.messages.append((exc, value))"],
|
---|
289 | "lineno": 205,
|
---|
290 | "module": "MySQLdb.cursors",
|
---|
291 | "post_context": [" self._executed = query", " if not self._defer_warnings: self._warning_check()", " return r", "", " def executemany(self, query, args):"],
|
---|
292 | "context_line": " self.errorhandler(self, exc, value)",
|
---|
293 | "filename": "MySQLdb/cursors.py"
|
---|
294 | }, {
|
---|
295 | "function": "defaulterrorhandler",
|
---|
296 | "abs_path": "/Users/luccascorrea/Desenvolvimento/virt_env/env_rh/lib/python2.7/site-packages/MySQLdb/connections.py",
|
---|
297 | "vars": {
|
---|
298 | "errorclass": "<class '_mysql_exceptions.IntegrityError'>",
|
---|
299 | "errorvalue": "IntegrityError(1215, 'Cannot add foreign key constraint')",
|
---|
300 | "error": ["<class '_mysql_exceptions.IntegrityError'>", "IntegrityError(1215, 'Cannot add foreign key constraint')"]
|
---|
301 | },
|
---|
302 | "pre_context": [" cursor.messages.append(error)", " else:", " connection.messages.append(error)", " del cursor", " del connection"],
|
---|
303 | "lineno": 36,
|
---|
304 | "module": "MySQLdb.connections",
|
---|
305 | "post_context": ["", "re_numeric_part = re.compile(r\"^(\\d+)\")", "", "def numeric_part(s):", " \"\"\"Returns the leading numeric part of a string."],
|
---|
306 | "context_line": " raise errorclass, errorvalue",
|
---|
307 | "filename": "MySQLdb/connections.py"
|
---|
308 | }]
|
---|
309 | },
|
---|
310 | "type": "IntegrityError",
|
---|
311 | "value": "(1215, 'Cannot add foreign key constraint')",
|
---|
312 | "module": "django.db.utils"
|
---|
313 | }]
|
---|
314 | },
|
---|
315 | "culprit": "MySQLdb.connections in defaulterrorhandler",
|
---|
316 | "server_name": "Luccass-Mac-mini.local",
|
---|
317 | "level": 40,
|
---|
318 | "event_id": "8dc16194c04140f685352eeb941fb94f",
|
---|
319 | "tags": {},
|
---|
320 | "modules": {
|
---|
321 | "python": "2.7.5",
|
---|
322 | "e89_push_messaging": "1.0.5",
|
---|
323 | "rest_framework": "3.1.0",
|
---|
324 | "e89_beta_testing": "1.0.0",
|
---|
325 | "e89_tools": "1.0.0",
|
---|
326 | "raven": "5.3.1",
|
---|
327 | "e89_syncing": "1.0.3",
|
---|
328 | "django": "1.8.3"
|
---|
329 | },
|
---|
330 | "project": "25072",
|
---|
331 | "platform": "python"
|
---|
332 | }
|
---|