Project

General

Profile

Actions

Bug #5869

closed

settings import insert error if the key does not exists any more

Added by Anchi Cheng over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
06/28/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.4
Show in known bugs:
No
Workaround:

Description

Traceback (most recent call last):
File "import_leginon_presets.py", line 120, in <module>
app.run()
File "import_leginon_presets.py", line 110, in run
self.insertAllData()
File "import_leginon_presets.py", line 33, in insertAllData
q = self.makequery(classname,kwargs)
File "/Users/acheng/myami/pyami/jsonfun.py", line 27, in makequery
q[realkey] = kwargs[key]
File "/Users/acheng/myami/sinedon/data.py", line 526, in setitem
super(Data, self).__setitem__(key, value)
File "/Users/acheng/myami/sinedon/newdict.py", line 72, in setitem
t = self.__types[key]
KeyError: u'film'

Actions #1

Updated by Anchi Cheng over 6 years ago

  • Status changed from Assigned to Closed
  • Target version set to Appion/Leginon 3.4

works

Actions

Also available in: Atom PDF