Created
May 28, 2019 10:18
-
-
Save a-recknagel/35c680fba55f2580ece5ef8d56479a53 to your computer and use it in GitHub Desktop.
devpi upload error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-05-28 10:10:02,431 - waitress - ERROR - Exception while serving /root/pypi/+simple/ | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/pyramid/tweens.py", line 13, in _error_handler | |
response = request.invoke_exception_view(exc_info) | |
File "/usr/local/lib/python3.7/site-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/local/lib/python3.7/site-packages/waitress/channel.py", line 356, in service | |
task.service() | |
File "/usr/local/lib/python3.7/site-packages/waitress/task.py", line 176, in service | |
self.execute() | |
File "/usr/local/lib/python3.7/site-packages/waitress/task.py", line 447, in execute | |
app_iter = self.channel.server.application(env, start_response) | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/views.py", line 146, in __call__ | |
return self.app(environ, start_response) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/router.py", line 270, in __call__ | |
response = self.execution_policy(environ, self) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/router.py", line 279, in default_execution_policy | |
return request.invoke_exception_view(reraise=True) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/view.py", line 778, in invoke_exception_view | |
reraise_(*exc_info) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/compat.py", line 179, in reraise | |
raise value | |
File "/usr/local/lib/python3.7/site-packages/pyramid/router.py", line 277, in default_execution_policy | |
return router.invoke_request(request) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/router.py", line 249, in invoke_request | |
response = handle_request(request) | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/views.py", line 170, in request_log_handler | |
response = handler(request) | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/views.py", line 206, in request_tx_handler | |
response = handler(request) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/tweens.py", line 43, in excview_tween | |
response = _error_handler(request, exc) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/tweens.py", line 17, in _error_handler | |
reraise(*exc_info) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/compat.py", line 179, in reraise | |
raise value | |
File "/usr/local/lib/python3.7/site-packages/pyramid/tweens.py", line 41, in excview_tween | |
response = handler(request) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/router.py", line 148, in handle_request | |
registry, request, context, context_iface, view_name | |
File "/usr/local/lib/python3.7/site-packages/pyramid/view.py", line 667, in _call_view | |
response = view_callable(context, request) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/viewderivers.py", line 401, in viewresult_to_response | |
result = view(context, request) | |
File "/usr/local/lib/python3.7/site-packages/pyramid/viewderivers.py", line 116, in _class_requestonly_view | |
response = getattr(inst, attr)() | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/views.py", line 556, in simple_list_all | |
stage_results = list(stage.op_sro("list_projects_perstage")) | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/model.py", line 567, in op_sro | |
yield stage, getattr(stage, opname)(**kw) | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/extpypi.py", line 303, in list_projects_perstage | |
self.keyfs.restart_read_transaction() | |
File "/usr/local/lib/python3.7/site-packages/devpi_server/keyfs.py", line 260, in restart_read_transaction | |
assert not tx.write, "can only restart from read transaction" | |
AssertionError: can only restart from read transaction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment