Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 619575 - [abrt] crash in opencv-python-2.0.0-7.fc13: fitellipse.py:45:process_image:AttributeError: 'NoneType' object has no attribute 'hrange'
[abrt] crash in opencv-python-2.0.0-7.fc13: fitellipse.py:45:process_image:At...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: opencv (Show other bugs)
13
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Rakesh Pandit
Fedora Extras Quality Assurance
abrt_hash:4c47dd84
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-29 16:33 EDT by Oliver Jan Krylow
Modified: 2011-01-07 03:44 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-07 03:44:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (438 bytes, text/plain)
2010-07-29 16:33 EDT, Oliver Jan Krylow
no flags Details

  None (edit)
Description Oliver Jan Krylow 2010-07-29 16:33:13 EDT
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> >
Comment 1 Oliver Jan Krylow 2010-07-29 16:33:16 EDT
Created attachment 435394 [details]
File: backtrace
Comment 2 Nicolas Chauvet (kwizart) 2011-01-07 03:44:52 EST
Sorry for the late answear.

This sample worked in OpenCV 2.2 x86_64 that was just updated in current Rawhide. Closing there.

Note You need to log in before you can comment on or make changes to this bug.