1 | Traceback (most recent call last):
|
---|
2 | File "<console>", line 1, in <module>
|
---|
3 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 96, in __iter__
|
---|
4 | self._fetch_all()
|
---|
5 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 854, in _fetch_all
|
---|
6 | self._result_cache = list(self.iterator())
|
---|
7 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator
|
---|
8 | for row in compiler.results_iter():
|
---|
9 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 710, in results_iter
|
---|
10 | for rows in self.execute_sql(MULTI):
|
---|
11 | File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 781, in execute_sql
|
---|
12 | cursor.execute(sql, params)
|
---|
13 | File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 69, in execute
|
---|
14 | return super(CursorDebugWrapper, self).execute(sql, params)
|
---|
15 | File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
|
---|
16 | return self.cursor.execute(sql, params)
|
---|
17 | File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in __exit__
|
---|
18 | six.reraise(dj_exc_type, dj_exc_value, traceback)
|
---|
19 | File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute
|
---|
20 | return self.cursor.execute(sql, params)
|
---|
21 | File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 124, in execute
|
---|
22 | return self.cursor.execute(query, args)
|
---|
23 | File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
|
---|
24 | self.errorhandler(self, exc, value)
|
---|
25 | File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
|
---|
26 | raise errorclass, errorvalue
|
---|
27 | OperationalError: (2006, 'MySQL server has gone away')
|
---|
28 |
|
---|