1 |
|
---|
2 |
|
---|
3 | Internal Server Error: /gafc/main/new_lost_password/1433/f49b249f71fb61b3db67856427fe86c8
|
---|
4 |
|
---|
5 | OperationalError at /gafc/main/new_lost_password/1433/f49b249f71fb61b3db67856427fe86c8
|
---|
6 | (2006, 'MySQL server has gone away')
|
---|
7 |
|
---|
8 | Request Method: GET
|
---|
9 | Request URL: https://intranet.gucem.fr/gafc/main/new_lost_password/1433/f49b249f71fb61b3db67856427fe86c8
|
---|
10 | Django Version: 3.2.16
|
---|
11 | Python Executable: /usr/local/bin/python
|
---|
12 | Python Version: 3.8.13
|
---|
13 | Python Path: ['/gafc/gafc', '/usr/local/lib/python3.8/site-packages/git/ext/gitdb', '.', '/usr/local/bin', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/site-packages/gitdb/ext/smmap']
|
---|
14 | Server time: Mon, 10 Oct 2022 11:40:14 +0200
|
---|
15 | Installed Applications:
|
---|
16 | ['channels',
|
---|
17 | 'channels_presence',
|
---|
18 | 'django.contrib.contenttypes',
|
---|
19 | 'django.contrib.sessions',
|
---|
20 | 'django.contrib.messages',
|
---|
21 | 'django.contrib.staticfiles',
|
---|
22 | 'django.contrib.auth',
|
---|
23 | 'crispy_forms',
|
---|
24 | 'gafc',
|
---|
25 | 'vehicles',
|
---|
26 | 'formation',
|
---|
27 | 'keys']
|
---|
28 | Installed Middleware:
|
---|
29 | ['django.middleware.security.SecurityMiddleware',
|
---|
30 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
31 | 'django.middleware.common.CommonMiddleware',
|
---|
32 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
33 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
34 | 'django.contrib.messages.middleware.MessageMiddleware',
|
---|
35 | 'django.middleware.clickjacking.XFrameOptionsMiddleware']
|
---|
36 |
|
---|
37 |
|
---|
38 | Traceback (most recent call last):
|
---|
39 | File "/usr/local/lib/python3.8/site-packages/django/shortcuts.py", line 76, in get_object_or_404
|
---|
40 | return queryset.get(*args, **kwargs)
|
---|
41 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 435, in get
|
---|
42 | raise self.model.DoesNotExist(
|
---|
43 |
|
---|
44 | During handling of the above exception (LostPasswordRequest matching query does not exist.), another exception occurred:
|
---|
45 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 472, in thread_handler
|
---|
46 | raise exc_info[1]
|
---|
47 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 38, in inner
|
---|
48 | response = await get_response(request)
|
---|
49 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 233, in _get_response_async
|
---|
50 | response = await wrapped_callback(request, *callback_args, **callback_kwargs)
|
---|
51 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 435, in __call__
|
---|
52 | ret = await asyncio.wait_for(future, timeout=None)
|
---|
53 | File "/usr/local/lib/python3.8/asyncio/tasks.py", line 455, in wait_for
|
---|
54 | return await fut
|
---|
55 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
|
---|
56 | result = self.fn(*self.args, **self.kwargs)
|
---|
57 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 476, in thread_handler
|
---|
58 | return func(*args, **kwargs)
|
---|
59 | File "/usr/local/lib/python3.8/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
|
---|
60 | return view(request, *args, **kwargs)
|
---|
61 | File "/gafc/gafc/gafc/views/logins.py", line 126, in new_lost_password
|
---|
62 | passRequest = get_object_or_404(LostPasswordRequest, id=id, token=token)
|
---|
63 | File "/usr/local/lib/python3.8/site-packages/django/shortcuts.py", line 78, in get_object_or_404
|
---|
64 | raise Http404('No %s matches the given query.' % queryset.model._meta.object_name)
|
---|
65 |
|
---|
66 | During handling of the above exception (No LostPasswordRequest matches the given query.), another exception occurred:
|
---|
67 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
68 | return self.cursor.execute(sql, params)
|
---|
69 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
70 | return f(self, query, args)
|
---|
71 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
72 | return self.cursor.execute(query, args)
|
---|
73 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
74 | res = self._query(query)
|
---|
75 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
76 | db.query(q)
|
---|
77 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
78 | _mysql.connection.query(self, query)
|
---|
79 |
|
---|
80 | The above exception ((2006, 'MySQL server has gone away')) was the direct cause of the following exception:
|
---|
81 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 132, in get_exception_response
|
---|
82 | response = callback(request, exception=exception)
|
---|
83 | File "/gafc/gafc/gafc/views/handlers.py", line 6, in handler404
|
---|
84 | return render(request, 'gafc/error_handler.html', locals(), status=404)
|
---|
85 | File "/usr/local/lib/python3.8/site-packages/django/shortcuts.py", line 19, in render
|
---|
86 | content = loader.render_to_string(template_name, context, request, using=using)
|
---|
87 | File "/usr/local/lib/python3.8/site-packages/django/template/loader.py", line 62, in render_to_string
|
---|
88 | return template.render(context, request)
|
---|
89 | File "/usr/local/lib/python3.8/site-packages/django/template/backends/django.py", line 61, in render
|
---|
90 | return self.template.render(context)
|
---|
91 | File "/usr/local/lib/python3.8/site-packages/django/template/base.py", line 168, in render
|
---|
92 | with context.bind_template(self):
|
---|
93 | File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
|
---|
94 | return next(self.gen)
|
---|
95 | File "/usr/local/lib/python3.8/site-packages/django/template/context.py", line 244, in bind_template
|
---|
96 | updates.update(processor(self.request))
|
---|
97 | File "/gafc/gafc/gafc/context_processors.py", line 9, in get_context
|
---|
98 | s_form = SeasonChoiceForm()
|
---|
99 | File "/gafc/gafc/gafc/forms.py", line 1048, in __init__
|
---|
100 | self.fields['season'].choices = [(s.id, s.name) for s in Season.objects.order_by('-is_default')]
|
---|
101 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 280, in __iter__
|
---|
102 | self._fetch_all()
|
---|
103 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
|
---|
104 | self._result_cache = list(self._iterable_class(self))
|
---|
105 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
|
---|
106 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
|
---|
107 | File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
|
---|
108 | cursor.execute(sql, params)
|
---|
109 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
|
---|
110 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
|
---|
111 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
|
---|
112 | return executor(sql, params, many, context)
|
---|
113 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
114 | return self.cursor.execute(sql, params)
|
---|
115 | File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
|
---|
116 | raise dj_exc_value.with_traceback(traceback) from exc_value
|
---|
117 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
118 | return self.cursor.execute(sql, params)
|
---|
119 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
120 | return f(self, query, args)
|
---|
121 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
122 | return self.cursor.execute(query, args)
|
---|
123 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
124 | res = self._query(query)
|
---|
125 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
126 | db.query(q)
|
---|
127 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
128 | _mysql.connection.query(self, query)
|
---|
129 |
|
---|
130 | During handling of the above exception ((2006, 'MySQL server has gone away')), another exception occurred:
|
---|
131 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
132 | return self.cursor.execute(sql, params)
|
---|
133 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
134 | return f(self, query, args)
|
---|
135 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
136 | return self.cursor.execute(query, args)
|
---|
137 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
138 | res = self._query(query)
|
---|
139 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
140 | db.query(q)
|
---|
141 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
142 | _mysql.connection.query(self, query)
|
---|
143 |
|
---|
144 | The above exception ((2006, 'MySQL server has gone away')) was the direct cause of the following exception:
|
---|
145 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 472, in thread_handler
|
---|
146 | raise exc_info[1]
|
---|
147 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 38, in inner
|
---|
148 | response = await get_response(request)
|
---|
149 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 133, in __acall__
|
---|
150 | response = response or await self.get_response(request)
|
---|
151 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 40, in inner
|
---|
152 | response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
|
---|
153 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 435, in __call__
|
---|
154 | ret = await asyncio.wait_for(future, timeout=None)
|
---|
155 | File "/usr/local/lib/python3.8/asyncio/tasks.py", line 455, in wait_for
|
---|
156 | return await fut
|
---|
157 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
|
---|
158 | result = self.fn(*self.args, **self.kwargs)
|
---|
159 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 474, in thread_handler
|
---|
160 | return func(*args, **kwargs)
|
---|
161 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 59, in response_for_exception
|
---|
162 | response = get_exception_response(request, get_resolver(get_urlconf()), 404, exc)
|
---|
163 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 135, in get_exception_response
|
---|
164 | response = handle_uncaught_exception(request, resolver, sys.exc_info())
|
---|
165 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 153, in handle_uncaught_exception
|
---|
166 | return callback(request)
|
---|
167 | File "/gafc/gafc/gafc/views/handlers.py", line 15, in handler500
|
---|
168 | return render(request, 'gafc/error_handler.html', locals(), status=500)
|
---|
169 | File "/usr/local/lib/python3.8/site-packages/django/shortcuts.py", line 19, in render
|
---|
170 | content = loader.render_to_string(template_name, context, request, using=using)
|
---|
171 | File "/usr/local/lib/python3.8/site-packages/django/template/loader.py", line 62, in render_to_string
|
---|
172 | return template.render(context, request)
|
---|
173 | File "/usr/local/lib/python3.8/site-packages/django/template/backends/django.py", line 61, in render
|
---|
174 | return self.template.render(context)
|
---|
175 | File "/usr/local/lib/python3.8/site-packages/django/template/base.py", line 168, in render
|
---|
176 | with context.bind_template(self):
|
---|
177 | File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
|
---|
178 | return next(self.gen)
|
---|
179 | File "/usr/local/lib/python3.8/site-packages/django/template/context.py", line 244, in bind_template
|
---|
180 | updates.update(processor(self.request))
|
---|
181 | File "/gafc/gafc/gafc/context_processors.py", line 9, in get_context
|
---|
182 | s_form = SeasonChoiceForm()
|
---|
183 | File "/gafc/gafc/gafc/forms.py", line 1048, in __init__
|
---|
184 | self.fields['season'].choices = [(s.id, s.name) for s in Season.objects.order_by('-is_default')]
|
---|
185 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 280, in __iter__
|
---|
186 | self._fetch_all()
|
---|
187 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
|
---|
188 | self._result_cache = list(self._iterable_class(self))
|
---|
189 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
|
---|
190 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
|
---|
191 | File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
|
---|
192 | cursor.execute(sql, params)
|
---|
193 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
|
---|
194 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
|
---|
195 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
|
---|
196 | return executor(sql, params, many, context)
|
---|
197 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
198 | return self.cursor.execute(sql, params)
|
---|
199 | File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
|
---|
200 | raise dj_exc_value.with_traceback(traceback) from exc_value
|
---|
201 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
202 | return self.cursor.execute(sql, params)
|
---|
203 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
204 | return f(self, query, args)
|
---|
205 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
206 | return self.cursor.execute(query, args)
|
---|
207 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
208 | res = self._query(query)
|
---|
209 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
210 | db.query(q)
|
---|
211 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
212 | _mysql.connection.query(self, query)
|
---|
213 |
|
---|
214 | During handling of the above exception ((2006, 'MySQL server has gone away')), another exception occurred:
|
---|
215 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
216 | return self.cursor.execute(sql, params)
|
---|
217 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
218 | return f(self, query, args)
|
---|
219 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
220 | return self.cursor.execute(query, args)
|
---|
221 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
222 | res = self._query(query)
|
---|
223 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
224 | db.query(q)
|
---|
225 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
226 | _mysql.connection.query(self, query)
|
---|
227 |
|
---|
228 | The above exception ((2006, 'MySQL server has gone away')) was the direct cause of the following exception:
|
---|
229 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 472, in thread_handler
|
---|
230 | raise exc_info[1]
|
---|
231 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 38, in inner
|
---|
232 | response = await get_response(request)
|
---|
233 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 133, in __acall__
|
---|
234 | response = response or await self.get_response(request)
|
---|
235 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 40, in inner
|
---|
236 | response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
|
---|
237 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 435, in __call__
|
---|
238 | ret = await asyncio.wait_for(future, timeout=None)
|
---|
239 | File "/usr/local/lib/python3.8/asyncio/tasks.py", line 455, in wait_for
|
---|
240 | return await fut
|
---|
241 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
|
---|
242 | result = self.fn(*self.args, **self.kwargs)
|
---|
243 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 474, in thread_handler
|
---|
244 | return func(*args, **kwargs)
|
---|
245 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 114, in response_for_exception
|
---|
246 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
|
---|
247 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 153, in handle_uncaught_exception
|
---|
248 | return callback(request)
|
---|
249 | File "/gafc/gafc/gafc/views/handlers.py", line 15, in handler500
|
---|
250 | return render(request, 'gafc/error_handler.html', locals(), status=500)
|
---|
251 | File "/usr/local/lib/python3.8/site-packages/django/shortcuts.py", line 19, in render
|
---|
252 | content = loader.render_to_string(template_name, context, request, using=using)
|
---|
253 | File "/usr/local/lib/python3.8/site-packages/django/template/loader.py", line 62, in render_to_string
|
---|
254 | return template.render(context, request)
|
---|
255 | File "/usr/local/lib/python3.8/site-packages/django/template/backends/django.py", line 61, in render
|
---|
256 | return self.template.render(context)
|
---|
257 | File "/usr/local/lib/python3.8/site-packages/django/template/base.py", line 168, in render
|
---|
258 | with context.bind_template(self):
|
---|
259 | File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
|
---|
260 | return next(self.gen)
|
---|
261 | File "/usr/local/lib/python3.8/site-packages/django/template/context.py", line 244, in bind_template
|
---|
262 | updates.update(processor(self.request))
|
---|
263 | File "/gafc/gafc/gafc/context_processors.py", line 9, in get_context
|
---|
264 | s_form = SeasonChoiceForm()
|
---|
265 | File "/gafc/gafc/gafc/forms.py", line 1048, in __init__
|
---|
266 | self.fields['season'].choices = [(s.id, s.name) for s in Season.objects.order_by('-is_default')]
|
---|
267 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 280, in __iter__
|
---|
268 | self._fetch_all()
|
---|
269 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
|
---|
270 | self._result_cache = list(self._iterable_class(self))
|
---|
271 | File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
|
---|
272 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
|
---|
273 | File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
|
---|
274 | cursor.execute(sql, params)
|
---|
275 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
|
---|
276 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
|
---|
277 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
|
---|
278 | return executor(sql, params, many, context)
|
---|
279 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
280 | return self.cursor.execute(sql, params)
|
---|
281 | File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
|
---|
282 | raise dj_exc_value.with_traceback(traceback) from exc_value
|
---|
283 | File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
|
---|
284 | return self.cursor.execute(sql, params)
|
---|
285 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 16, in wrapper
|
---|
286 | return f(self, query, args)
|
---|
287 | File "/usr/local/lib/python3.8/site-packages/mysql_server_has_gone_away/base.py", line 45, in execute
|
---|
288 | return self.cursor.execute(query, args)
|
---|
289 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
|
---|
290 | res = self._query(query)
|
---|
291 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
|
---|
292 | db.query(q)
|
---|
293 | File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
|
---|
294 | _mysql.connection.query(self, query)
|
---|
295 |
|
---|
296 | Exception Type: OperationalError at /gafc/main/new_lost_password/1433/f49b249f71fb61b3db67856427fe86c8
|
---|
297 | Exception Value: (2006, 'MySQL server has gone away')
|
---|
298 | Request information:
|
---|
299 | USER: Victor Messiant
|
---|
300 |
|
---|
301 | GET: No GET data
|
---|
302 |
|
---|
303 | POST: No POST data
|
---|
304 |
|
---|
305 | FILES: No FILES data
|
---|
306 |
|
---|
307 | COOKIES:
|
---|
308 | sessionid = *****
|
---|
309 |
|
---|
310 | META:
|
---|
311 | CSRF_COOKIE = *****
|
---|
312 | CSRF_COOKIE_USED = True
|
---|
313 | HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'
|
---|
314 | HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
|
---|
315 | HTTP_ACCEPT_LANGUAGE = 'fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7'
|
---|
316 | HTTP_CACHE_CONTROL = 'max-age=0'
|
---|
317 | HTTP_CONNECTION = 'close'
|
---|
318 | HTTP_COOKIE = 'sessionid=g50j57gsr1dfhj2dl14cr8ku60aqzd1t'
|
---|
319 | HTTP_HOST = 'intranet.gucem.fr'
|
---|
320 | HTTP_SEC_FETCH_DEST = 'document'
|
---|
321 | HTTP_SEC_FETCH_MODE = 'navigate'
|
---|
322 | HTTP_SEC_FETCH_SITE = 'none'
|
---|
323 | HTTP_SEC_FETCH_USER = '?1'
|
---|
324 | HTTP_UPGRADE_INSECURE_REQUESTS = '1'
|
---|
325 | HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; U; Android 10; fr-fr; Redmi Note 8 Pro Build/QP1A.190711.020) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.127 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.14.1-gn'
|
---|
326 | HTTP_X_FORWARDED_FOR = '147.171.46.128'
|
---|
327 | HTTP_X_FORWARDED_HOST = 'intranet.gucem.fr'
|
---|
328 | HTTP_X_FORWARDED_PROTO = 'https'
|
---|
329 | HTTP_X_REAL_IP = '147.171.46.128'
|
---|
330 | PATH_INFO = '/gafc/main/new_lost_password/1433/f49b249f71fb61b3db67856427fe86c8'
|
---|
331 | QUERY_STRING = ''
|
---|
332 | REMOTE_ADDR = '172.28.0.8'
|
---|
333 | REMOTE_HOST = '172.28.0.8'
|
---|
334 | REMOTE_PORT = 50068
|
---|
335 | REQUEST_METHOD = 'GET'
|
---|
336 | SCRIPT_NAME = ''
|
---|
337 | SERVER_NAME = '172.28.0.6'
|
---|
338 | SERVER_PORT = '8000'
|
---|
339 | wsgi.multiprocess = True
|
---|
340 | wsgi.multithread = True
|
---|
341 |
|
---|
342 | Settings:
|
---|
343 | Using settings module gucem.settings
|
---|
344 | ABSOLUTE_URL_OVERRIDES = {}
|
---|
345 | ADMINS = [*****]
|
---|
346 | ALLOWED_HOSTS = ['intranet.gucem.fr', 'www-intranet.gucem.fr']
|
---|
347 | APPEND_SLASH = True
|
---|
348 | ASGI_APPLICATION = 'gucem.routing.application'
|
---|
349 | AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
|
---|
350 | AUTH_PASSWORD_VALIDATORS = '********************'
|
---|
351 | AUTH_USER_MODEL = 'gafc.Person'
|
---|
352 | BASE_DIR = '/gafc/gafc'
|
---|
353 | BROKER_URL = 'redis://redis:6379'
|
---|
354 | CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
|
---|
355 | CACHE_MIDDLEWARE_ALIAS = 'default'
|
---|
356 | CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
|
---|
357 | CACHE_MIDDLEWARE_SECONDS = 600
|
---|
358 | CASHING_EMAIL_FROM = '****'
|
---|
359 | CASHING_EMAIL_NOTIFY = [*****]
|
---|
360 | CELERYBEAT_SCHEDULE = {'prune-presence': {'task': 'channels_presence.tasks.prune_presence', 'schedule': datetime.timedelta(seconds=60)}, 'prune-rooms': {'task': 'channels_presence.tasks.prune_rooms', 'schedule': datetime.timedelta(seconds=600)}, 'sympa_sync': {'task': 'gafc.tasks.sympa_sync', 'schedule': datetime.timedelta(seconds=3600)}, 'ffcam_sync': {'task': 'gafc.tasks.ffcam_sync', 'schedule': datetime.timedelta(seconds=3600)}}
|
---|
361 | CELERY_ACCEPT_CONTENT = ['application/json']
|
---|
362 | CELERY_IMPORTS = "('channels_presence.tasks', 'gafc.tasks')"
|
---|
363 | CELERY_RESULT_BACKEND = 'redis://redis:6379'
|
---|
364 | CELERY_RESULT_SERIALIZER = 'json'
|
---|
365 | CELERY_TASK_SERIALIZER = 'json'
|
---|
366 | CHANNEL_LAYERS = {'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': {'hosts': [('redis', 6379)]}}}
|
---|
367 | CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
---|
368 | CSRF_COOKIE_AGE = 31449600
|
---|
369 | CSRF_COOKIE_DOMAIN = None
|
---|
370 | CSRF_COOKIE_HTTPONLY = False
|
---|
371 | CSRF_COOKIE_NAME = 'csrftoken'
|
---|
372 | CSRF_COOKIE_PATH = '/'
|
---|
373 | CSRF_COOKIE_SAMESITE = 'Lax'
|
---|
374 | CSRF_COOKIE_SECURE = False
|
---|
375 | CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
|
---|
376 | CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
|
---|
377 | CSRF_TRUSTED_ORIGINS = []
|
---|
378 | CSRF_USE_SESSIONS = True
|
---|
379 | DATABASES = {'default': {'ENGINE': 'mysql_server_has_gone_away', 'NAME': 'gafc', 'USER': 'gafc', 'PASSWORD': '********************', 'HOST': 'mysql', 'PORT': '', 'CONN_MAX_AGE': 300, 'OPTIONS': {'init_command': "SET sql_mode='STRICT_TRANS_TABLES'", 'charset': 'utf8'}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}}
|
---|
380 | DATABASE_ROUTERS = []
|
---|
381 | DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
|
---|
382 | DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
|
---|
383 | DATETIME_FORMAT = 'N j, Y, P'
|
---|
384 | DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M']
|
---|
385 | DATE_FORMAT = 'N j, Y'
|
---|
386 | DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
|
---|
387 | DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
---|
388 | DBBACKUP_STORAGE_OPTIONS = {'location': 'tmp'}
|
---|
389 | DEBUG = False
|
---|
390 | DEBUG_PROPAGATE_EXCEPTIONS = False
|
---|
391 | DECIMAL_SEPARATOR = '.'
|
---|
392 | DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
---|
393 | DEFAULT_CHARSET = 'utf-8'
|
---|
394 | DEFAULT_EXCEPTION_REPORTER = 'django.views.debug.ExceptionReporter'
|
---|
395 | DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
|
---|
396 | DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
---|
397 | DEFAULT_FROM_EMAIL = ****
|
---|
398 | DEFAULT_FROM_MAIL = *****
|
---|
399 | DEFAULT_HASHING_ALGORITHM = 'sha256'
|
---|
400 | DEFAULT_INDEX_TABLESPACE = ''
|
---|
401 | DEFAULT_TABLESPACE = ''
|
---|
402 | DISALLOWED_USER_AGENTS = []
|
---|
403 | EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
---|
404 | EMAIL_HOST = '*****
|
---|
405 | EMAIL_HOST_PASSWORD = '********************'
|
---|
406 | EMAIL_HOST_USER = *****
|
---|
407 | EMAIL_PORT = 587
|
---|
408 | EMAIL_SSL_CERTFILE = None
|
---|
409 | EMAIL_SSL_KEYFILE = '********************'
|
---|
410 | EMAIL_SUBJECT_PREFIX = '[Django] '
|
---|
411 | EMAIL_TIMEOUT = None
|
---|
412 | EMAIL_USE_LOCALTIME = False
|
---|
413 | EMAIL_USE_SSL = False
|
---|
414 | EMAIL_USE_TLS = True
|
---|
415 | EVENT_TYPES = {'PR': {'name': 'Professionnel', 'allow_user': False, 'valo_formation': True, 'valo_reunion': False}, 'BN': {'name': 'Bénévole', 'allow_user': False, 'valo_formation': True, 'valo_reunion': False}, 'RE': {'name': 'Réunion', 'allow_user': False, 'valo_formation': False, 'valo_reunion': True}, 'SE': {'name': 'Vente', 'allow_user': False, 'valo_formation': False, 'valo_reunion': False}}
|
---|
416 | FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
|
---|
417 | FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
|
---|
418 | FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
|
---|
419 | FILE_UPLOAD_PERMISSIONS = 420
|
---|
420 | FILE_UPLOAD_TEMP_DIR = None
|
---|
421 | FIRST_DAY_OF_WEEK = 0
|
---|
422 | FIXTURE_DIRS = []
|
---|
423 | FORCE_SCRIPT_NAME = None
|
---|
424 | FORMAT_MODULE_PATH = None
|
---|
425 | FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
|
---|
426 | GAFC_CACI_DURATION = 10
|
---|
427 | GAFC_EXTRANET_ACROFEDE = 'FFCAM'
|
---|
428 | GAFC_EXTRANET_PASSWD = '********************'
|
---|
429 | GAFC_EXTRANET_USER = '3801_0050'
|
---|
430 | GAFC_FILEFOLDER = 'files/'
|
---|
431 | GAFC_LICENSESCHEME = '^3801[0-9]{8}$'
|
---|
432 | GAFC_SYMPA_PASSWD = '********************'
|
---|
433 | GAFC_SYMPA_SERVER = '****
|
---|
434 | GAFC_SYMPA_USER = *****'
|
---|
435 | GAFC_TEMPFOLDER = '/tmp/gafc/'
|
---|
436 | GAFC_TOLERANCE_CACI = 45
|
---|
437 | GAFC_WARN_LICENSES_DAYS = 10
|
---|
438 | IGNORABLE_404_URLS = []
|
---|
439 | INSTALLED_APPS = ['channels', 'channels_presence', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.auth', 'crispy_forms', 'gafc', 'vehicles', 'formation', 'keys']
|
---|
440 | INTERNAL_IPS = []
|
---|
441 | LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
|
---|
442 | LANGUAGES_BIDI = ['he', 'ar', 'ar-dz', 'fa', 'ur']
|
---|
443 | LANGUAGE_CODE = 'fr-FR'
|
---|
444 | LANGUAGE_COOKIE_AGE = None
|
---|
445 | LANGUAGE_COOKIE_DOMAIN = None
|
---|
446 | LANGUAGE_COOKIE_HTTPONLY = False
|
---|
447 | LANGUAGE_COOKIE_NAME = 'django_language'
|
---|
448 | LANGUAGE_COOKIE_PATH = '/'
|
---|
449 | LANGUAGE_COOKIE_SAMESITE = None
|
---|
450 | LANGUAGE_COOKIE_SECURE = False
|
---|
451 | LOCALE_PATHS = []
|
---|
452 | LOCKDOWN_ADMIN = False
|
---|
453 | LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler'}, 'console': {'level': 'INFO', 'class': 'logging.StreamHandler'}}, 'loggers': {'django': {'handlers': ['console'], 'level': 'INFO', 'propagate': True}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': False}}}
|
---|
454 | LOGGING_CONFIG = 'logging.config.dictConfig'
|
---|
455 | LOGIN_REDIRECT_URL = '/accounts/profile/'
|
---|
456 | LOGIN_URL = '/gafc/main/login'
|
---|
457 | LOGOUT_REDIRECT_URL = None
|
---|
458 | MANAGERS = []
|
---|
459 | MEDIA_ROOT = ''
|
---|
460 | MEDIA_URL = '/'
|
---|
461 | MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
|
---|
462 | MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
|
---|
463 | MIGRATION_MODULES = {}
|
---|
464 | MONTH_DAY_FORMAT = 'F j'
|
---|
465 | NUMBER_GROUPING = 0
|
---|
466 | PASSWORD_HASHERS = '********************'
|
---|
467 | PASSWORD_RESET_TIMEOUT = '********************'
|
---|
468 | PASSWORD_RESET_TIMEOUT_DAYS = '********************'
|
---|
469 | PREPEND_WWW = False
|
---|
470 | ROOT_URLCONF = 'gucem.urls'
|
---|
471 | SECRET_KEY = '********************'
|
---|
472 | SECURE_BROWSER_XSS_FILTER = False
|
---|
473 | SECURE_CONTENT_TYPE_NOSNIFF = True
|
---|
474 | SECURE_HSTS_INCLUDE_SUBDOMAINS = False
|
---|
475 | SECURE_HSTS_PRELOAD = False
|
---|
476 | SECURE_HSTS_SECONDS = 0
|
---|
477 | SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
|
---|
478 | SECURE_REDIRECT_EXEMPT = []
|
---|
479 | SECURE_REFERRER_POLICY = 'same-origin'
|
---|
480 | SECURE_SSL_HOST = None
|
---|
481 | SECURE_SSL_REDIRECT = False
|
---|
482 | SERVER_EMAIL = *****
|
---|
483 | SESSION_CACHE_ALIAS = 'default'
|
---|
484 | SESSION_COOKIE_AGE = 1209600
|
---|
485 | SESSION_COOKIE_DOMAIN = None
|
---|
486 | SESSION_COOKIE_HTTPONLY = True
|
---|
487 | SESSION_COOKIE_NAME = 'sessionid'
|
---|
488 | SESSION_COOKIE_PATH = '/'
|
---|
489 | SESSION_COOKIE_SAMESITE = 'Lax'
|
---|
490 | SESSION_COOKIE_SECURE = False
|
---|
491 | SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
|
---|
492 | SESSION_EXPIRE_AT_BROWSER_CLOSE = False
|
---|
493 | SESSION_FILE_PATH = None
|
---|
494 | SESSION_SAVE_EVERY_REQUEST = False
|
---|
495 | SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
|
---|
496 | SETTINGS_MODULE = 'gucem.settings'
|
---|
497 | SHORT_DATETIME_FORMAT = 'm/d/Y P'
|
---|
498 | SHORT_DATE_FORMAT = 'm/d/Y'
|
---|
499 | SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
|
---|
500 | SILENCED_SYSTEM_CHECKS = []
|
---|
501 | STATICFILES_DIRS = "('/gafc/gafc/static',)"
|
---|
502 | STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
|
---|
503 | STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
|
---|
504 | STATIC_ROOT = '/gafc/static'
|
---|
505 | STATIC_URL = '/static/'
|
---|
506 | TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/gafc/gafc/templates'], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'gafc.context_processors.get_context']}}]
|
---|
507 | TEST_NON_SERIALIZED_APPS = []
|
---|
508 | TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
---|
509 | THOUSAND_SEPARATOR = ','
|
---|
510 | TIME_FORMAT = 'P'
|
---|
511 | TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
|
---|
512 | TIME_ZONE = 'Europe/Paris'
|
---|
513 | USE_I18N = True
|
---|
514 | USE_L10N = True
|
---|
515 | USE_THOUSAND_SEPARATOR = False
|
---|
516 | USE_TZ = True
|
---|
517 | USE_X_FORWARDED_HOST = True
|
---|
518 | USE_X_FORWARDED_PORT = False
|
---|
519 | WSGI_APPLICATION = 'gucem.wsgi.application'
|
---|
520 | X_FRAME_OPTIONS = 'DENY'
|
---|
521 | YEAR_MONTH_FORMAT = 'F Y'
|
---|
522 |
|
---|
523 |
|
---|