Data Access Error
Added by Bob Grassucci over 8 years ago
While running Leginon I got this error and the program could not proceed. Mafia is the local machine running Leginon. We got everything running again restarting leginon but just wanted to report the error.
File "/usr/local/lib/python2.7/site-packages/sinedon/data.py", line 159, in getData
raise DataAccessError('referenced data can not be found: %s' % (datareference,))
DataAccessError: referenced data can not be found: DataReference[class: InstrumentData, dmid: (('mafia', 49153), 1422549), dbid: 9, referent: weak]
Replies (1)
RE: Data Access Error - Added by Sargis Dallakyan over 8 years ago
Thanks for reporting this error. Glad everything is running again after restarting Leginon. Someone with Python programming experience who can reproduce this, might be able to fix this on site. From what I see in the sinedon/data.py, it seems that this might be caused if the database connection was lost, or the corresponding InstrumentData was not in the database.
We would be happy to include a bug fix in the next version of Leginon, if we can get a patch to fix this.