Project

General

Profile

Actions

Bug #1299

open

leginondata versus leginon.leginondata

Added by Anchi Cheng over 13 years ago. Updated about 11 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/12/2011
Due date:
% Done:

0%

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

Description

From Scott Stagg:

Second I always get the exception below even with the myami-2.1 release. Do I have something wrong with my database?

Traceback (most recent call last): File "/usr/local/myami_dev/appion/bin/tomoaligner.py", line 488, in ? app.close() File "/usr/local/myami_dev/appion/appionlib/appionScript.py", line 325, in close clustdata = self.getClusterJobData() File "/usr/local/myami_dev/appion/appionlib/appionScript.py", line 183, in getClusterJobData clustdatas = clustq.query() File "/usr/local/myami_dev/sinedon/data.py", line 395, in query results = db.query(self, **kwargs) File "/usr/local/myami_dev/sinedon/dbdatakeeper.py", line 85, in query result = self._query(*args, **kwargs) File "/usr/local/myami_dev/sinedon/dbdatakeeper.py", line 108, in query myresult = result.fetchall() File "/usr/local/myami_dev/sinedon/sqldict.py", line 561, in fetchall cursorresult = self._format(subfetch, qikey) File "/usr/local/myami_dev/sinedon/sqldict.py", line 656, in _format newdata.friendly_update(r) File "/usr/local/myami_dev/sinedon/data.py", line 430, in friendly_update super(Data, self).friendly_update(other) File "/usr/local/myami_dev/sinedon/newdict.py", line 88, in friendly_update self[key] = other[key] File "/usr/local/myami_dev/sinedon/data.py", line 504, in setitem super(Data, self)._setitem__(key, value) File "/usr/local/myami_dev/sinedon/newdict.py", line 79, in setitem value = validator(value) File "/usr/local/myami_dev/sinedon/data.py", line 320, in validator raise ValueError('need instance of %s, got %s instead' % (cls, value.dataclass)) ValueError: need instance of <class 'leginon.leginondata.SessionData'>, got <class 'leginondata.SessionData'> instead Exception exceptions.ValueError: <exceptions.ValueError instance at 0x1b1f1758> in <bound method protomoAligner.__del__ of <__main__.protomoAligner object at 0x1b2ae0d0>> ignored


Files

ApAppionJobData.tiff (26.1 KB) ApAppionJobData.tiff Anchi Cheng, 05/12/2011 05:22 PM
Actions

Also available in: Atom PDF