abrt 1.1.1 detected a crash. architecture: i686 cmdline: python fitellipse.py '/home/flasheater/Workspace/Fedora Summer TShirt/testface.png' component: opencv executable: /usr/share/opencv/samples/python/fitellipse.py kernel: 2.6.33.6-147.2.4.fc13.i686 package: opencv-python-2.0.0-7.fc13 reason: fitellipse.py:45:process_image:AttributeError: 'NoneType' object has no attribute 'hrange' release: Fedora release 13 (Goddard) backtrace ----- fitellipse.py:45:process_image:AttributeError: 'NoneType' object has no attribute 'hrange' Traceback (most recent call last): File "fitellipse.py", line 45, in process_image for c in cont.hrange(): AttributeError: 'NoneType' object has no attribute 'hrange' Local variables in innermost frame: nb_contours: 0 cont: None slider_pos: 255 stor: <opencv.cv.CvMemStorage; proxy of <Swig Object of type 'CvMemStorage *' at 0x99f9a40> >
Created attachment 435394 [details] File: backtrace
Sorry for the late answear. This sample worked in OpenCV 2.2 x86_64 that was just updated in current Rawhide. Closing there.