Bug 619575 - [abrt] crash in opencv-python-2.0.0-7.fc13: fitellipse.py:45:process_image:AttributeError: 'NoneType' object has no attribute 'hrange'
Summary: [abrt] crash in opencv-python-2.0.0-7.fc13: fitellipse.py:45:process_image:At...
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv (Show other bugs)
(Show other bugs)
Version: 13
Hardware: i686 Linux
Target Milestone: ---
Assignee: Rakesh Pandit
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:4c47dd84
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-29 20:33 UTC by Oliver Jan Krylow
Modified: 2011-01-07 08:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-01-07 08:44:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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 20:33 UTC, Oliver Jan Krylow
no flags Details

Description Oliver Jan Krylow 2010-07-29 20:33:13 UTC
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
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)

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 20:33:16 UTC
Created attachment 435394 [details]
File: backtrace

Comment 2 Nicolas Chauvet (kwizart) 2011-01-07 08:44:52 UTC
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.