Webfrontend #556

API: "OSError: [Errno 2] No such file or directory: 'running_db_creation.delete_me'"

Added by Thomas Mielke over 3 years ago. Updated about 2 years ago.

Status:ErledigtStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:Repertoire 1) Testing phase I

Description

api_1 | Traceback (most recent call last):
api_1 | File "/ado/ado-do", line 657, in
api_1 | ado_do()
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call
api_1 | return self.main(args, *kwargs)
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
api_1 | rv = self.invoke(ctx)
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
api_1 | return process_result(sub_ctx.command.invoke(sub_ctx))
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
api
1 | return ctx.invoke(self.callback, *
ctx.params)
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
api_1 | return callback(*args, **kwargs)
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
api_1 | return f(get_current_context(), *args, *
kwargs)
api_1 | File "/ado/ado-do", line 576, in deploy_api
api_1 | context.invoke(db_demo_setup, dbname='c3s')
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
api_1 | return callback(*args, **kwargs)
api_1 | File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
api_1 | return f(get_current_context(), *args, **kwargs)
api_1 | File "/ado/ado-do", line 285, in db_demo_setup
api_1 | os.remove(TMP_FILE)
api_1 | OSError: [Errno 2] No such file or directory: 'running_db_creation.delete_me'

Associated revisions

Revision 885aa9af
Added by Thomas Mielke over 3 years ago

fixes #556, fixes #555: locking between api and portal during database creation

History

#1 Updated by Thomas Mielke over 3 years ago

  • Status changed from Neu to Erledigt
  • % Done changed from 0 to 100

Applied in changeset commit:c3s_ado_repertoire|885aa9afeaec75b372c202803fb1dce27bd6b0a2.

#2 Updated by Alexander Blum about 2 years ago

  • Target version changed from 1) Testing phase I to Repertoire 1) Testing phase I

#3 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF