A server error occurred. Please contact the administrator.
I'm running it in docker and on every submission I get: A server error occurred. Please contact the administrator.
...
In the command line log it shows these info:
172.17.0.1 - - [27/Apr/2019 12:54:00] "GET / HTTP/1.1" 200 8203
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/css/form.css HTTP/1.1" 200 1224
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/css/bootstrap.min.css HTTP/1.1" 200 121200
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/jquery-2.0.3.min.js HTTP/1.1" 200 83612
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/bootstrap.min.js HTTP/1.1" 200 37045
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/deform.js HTTP/1.1" 200 7162
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/jquery.form-3.09.js HTTP/1.1" 200 37332
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/jquery_upload.js HTTP/1.1" 404 212
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/file_upload.js HTTP/1.1" 200 3536
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /favicon.ico HTTP/1.1" 404 164
172.17.0.1 - - [27/Apr/2019 12:54:01] "GET /static_deform/scripts/jquery-2.0.3.min.map HTTP/1.1" 404 216
172.17.0.1 - - [27/Apr/2019 12:54:02] "GET /static_deform/css/bootstrap.min.css.map HTTP/1.1" 404 213
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pyramid/tweens.py", line 13, in _error_handler
response = request.invoke_exception_view(exc_info)
File "/usr/local/lib/python3.6/dist-packages/pyramid/view.py", line 779, in invoke_exception_view
raise HTTPNotFound
pyramid.httpexceptions.HTTPNotFound: The resource could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.6/dist-packages/pyramid/router.py", line 270, in __call__
response = self.execution_policy(environ, self)
File "/usr/local/lib/python3.6/dist-packages/pyramid/router.py", line 279, in default_execution_policy
return request.invoke_exception_view(reraise=True)
File "/usr/local/lib/python3.6/dist-packages/pyramid/view.py", line 778, in invoke_exception_view
reraise_(*exc_info)
File "/usr/local/lib/python3.6/dist-packages/pyramid/compat.py", line 179, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/pyramid/router.py", line 277, in default_execution_policy
return router.invoke_request(request)
File "/usr/local/lib/python3.6/dist-packages/pyramid/router.py", line 249, in invoke_request
response = handle_request(request)
File "/usr/local/lib/python3.6/dist-packages/pyramid/tweens.py", line 43, in excview_tween
response = _error_handler(request, exc)
File "/usr/local/lib/python3.6/dist-packages/pyramid/tweens.py", line 17, in _error_handler
reraise(*exc_info)
File "/usr/local/lib/python3.6/dist-packages/pyramid/compat.py", line 179, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
File "/usr/local/lib/python3.6/dist-packages/pyramid/router.py", line 148, in handle_request
registry, request, context, context_iface, view_name
File "/usr/local/lib/python3.6/dist-packages/pyramid/view.py", line 667, in _call_view
response = view_callable(context, request)
File "/usr/local/lib/python3.6/dist-packages/pyramid/viewderivers.py", line 436, in rendered_view
result = view(context, request)
File "/usr/local/lib/python3.6/dist-packages/pyramid/viewderivers.py", line 144, in _requestonly_view
response = view(request)
File "/app/main.py", line 102, in form
copyfile(templatePath, filePath)
File "/usr/lib/python3.6/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: './data/DummyDummy1556369779'
cc @jeanggi90