Actions
Bug #1886
closedloggedmethod error for gatan.Gatan
Status:
Won't Fix or Won't Do
Priority:
Urgent
Assignee:
Category:
Leginon subsystem
Target version:
Start date:
06/26/2012
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:
Description
File "c:\python25\Lib\site-packages\pyscope\loggedmethods.py", line 24, in new_f
if mylock._RLock__count == 1 and args0.logged_methods_on:
File "c:\python25\Lib\site-packages\pyscope\loggedmethods.py", line 27, in new_f
result = f(*args, **kwargs)
File "C:\Python25\lib\site-packages\pyscope\gatan.py", line 69, in getattribute
if attr_name in object.__getattribute__(self, 'unsupported'):
AttributeError: 'Gatan' object has no attribute 'unsupported'
on NRAMM gatan camera computer, we have avoid this by the following change at line 4 in pyscope/baseinstrument.py so that loggedmethods.LoggedMethodsBase does not need to be initialized.
#class BaseInstrument(loggedmethods.LoggedMethodsBase): class BaseInstrument(object):
Actions