Actions
Bug #2724
closedde12 getImage TypeError
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/17/2014
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:
Description
Error traceback:
>>> from pyscope import de >>> d = de.DE12() >>> d.getImage() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python25\lib\site-packages\pyscope\ccdcamera.py", line 230, in getIma ge return self._getImage() File "C:\Python25\lib\site-packages\pyscope\de.py", line 135, in _getImage image = self.finalizeGeometry(image) File "C:\Python25\lib\site-packages\pyscope\de.py", line 338, in finalizeGeome try image = DECameraBase.finalizeGeometry(self, image) TypeError: unbound method finalizeGeometry() must be called with DECameraBase in stance as first argument (got DE12 instance instead) >>>
Updated by Anchi Cheng over 10 years ago
r18189 fixes this by using proxy returned from super method. This bug has to do with reloading module makes the subclass no longer an instance of the base.
Updated by Anchi Cheng over 10 years ago
- Status changed from New to In Test
- Assignee set to Anchi Cheng
Updated by Anchi Cheng almost 7 years ago
- Status changed from In Test to Closed
- Target version set to Appion/Leginon 3.1.0
Actions