Verarbeitung #568

Fix disembody_dropped_files

Added by Alexander Blum over 3 years ago. Updated about 2 years ago.

Status:ErledigtStart date:
Priority:NormalDue date:
Assignee:Thomas Mielke% Done:

0%

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

Description

Somthing goes wrong with the disembody_dropped_files setting:

processing_1  | Processing /ado/tmp/upload/fingerprinted
processing_1  | Traceback (most recent call last):
processing_1  |   File "repro.py", line 953, in <module>
processing_1  |     repro()
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
processing_1  |     return self.main(*args, **kwargs)
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
processing_1  |     rv = self.invoke(ctx)
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
processing_1  |     return _process_result(sub_ctx.command.invoke(sub_ctx))
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
processing_1  |     return ctx.invoke(self.callback, **ctx.params)
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
processing_1  |     return callback(*args, **kwargs)
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
processing_1  |     return f(get_current_context(), *args, **kwargs)
processing_1  |   File "repro.py", line 931, in all
processing_1  |     ctx.invoke(drop)
processing_1  |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
processing_1  |     return callback(*args, **kwargs)
processing_1  |   File "repro.py", line 897, in drop
processing_1  |     FILEHANDLING_CONFIG['dropped_path'])))
processing_1  |   File "repro.py", line 731, in directory_walker
processing_1  |     processing_step_func(root, destsubdir, audiofile)
processing_1  |   File "repro.py", line 670, in drop_audiofile
processing_1  |     if FILEHANDLING_CONFIG['disembody_dropped_files'] == 'yes':
processing_1  | KeyError: 'disembody_dropped_files'

History

#1 Updated by Thomas Mielke over 3 years ago

  • Status changed from Neu to Erledigt

look for key at config.ini.example and take it into your config.ini

#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