Bug #1886
closedloggedmethod error for gatan.Gatan
0%
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):
Updated by Anchi Cheng over 12 years ago
made the same change in branch 2.2 as r16941 as a workaround. It is not usable otherwise.
Updated by Jim Pulokas about 11 years ago
- Status changed from Assigned to Won't Fix or Won't Do
- Assignee changed from Jim Pulokas to Anchi Cheng
- Affected Version changed from Appion/Leginon 2.2.0 (trunk) to Appion/Leginon 2.2.0
r17402 is the workaround for trunk. wont fix, only needed for debugging anyway, not for everyone.