Bug #2797

key 'j3mlog' error on IBA server

Added by n8fr8 about 4 years ago. Updated about 3 years ago.

Status:FeedbackStart date:12/20/2013
Priority:NormalDue date:
Assignee:harlo% Done:

0%

Category:-
Target version:Back Burner
Component:

Description

listing assets
getting asset mime type 1386164129947_IMG_20131118_091308.jpg
FILE MIME TYPE: image/jpeg
getting a file name (label, not hashed Id)
pulling file 1386164129947_IMG_20131118_091308.jpg
1386164129947_IMG_20131118_091308.jpg is a submission
True
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "scripts/py/unveillance.py", line 255, in startIntake
File "/home/nigel/InformaRepo/Analyzer/scripts/py/intake.py", line 140, in watch
submission = Submission(inflate=data)
File "/home/nigel/InformaRepo/Analyzer/scripts/py/InformaCamModels/submission.py", line 29, in init
if self.mime_type == mime_types['j3mlog']:
KeyError: 'j3mlog'

History

#1 Updated by n8fr8 about 4 years ago

should we use mime_types.get('j3mlog',None) instead?

#2 Updated by n8fr8 about 4 years ago

btw, this error kills the entire daemon process

#3 Updated by harlo about 4 years ago

  • Status changed from New to Feedback

I added a new mime type, so this affected config. addressed by splitting off conf variables into static and user-input files, here: https://github.com/guardianproject/UnveillanceEngine/commit/7949a9433c35553b41dc04984b4a27e3a1cfd381

#4 Updated by n8fr8 about 3 years ago

  • Target version changed from InformaCam - SERVER v2 to Back Burner

Also available in: Atom PDF