Project

General

Profile

Actions

Bug #2724

closed

de12 getImage TypeError

Added by Anchi Cheng about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
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)
>>>

Actions #1

Updated by Anchi Cheng about 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.

Actions #2

Updated by Anchi Cheng about 10 years ago

  • Status changed from New to In Test
  • Assignee set to Anchi Cheng
Actions #3

Updated by Anchi Cheng over 6 years ago

  • Status changed from In Test to Closed
  • Target version set to Appion/Leginon 3.1.0
Actions

Also available in: Atom PDF