Bug 653413

Summary: [abrt] inkscape-0.47-6.el6: gimp_xcf.py:37:effect:TypeError: 'NoneType' object is unsubscriptable
Product: Red Hat Enterprise Linux 6 Reporter: Alexander Todorov <atodorov>
Component: inkscapeAssignee: Jan Horak <jhorak>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:19b0ef02
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:44:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 588615    
Bug Blocks:    
Attachments:
Description Flags
File: backtrace none

Description Alexander Todorov 2010-11-15 11:25:46 UTC
abrt version: 1.1.13
architecture: i686
component: inkscape
executable: /usr/share/inkscape/extensions/gimp_xcf.py
kernel: 2.6.32-71.7.1.el6.i686
package: inkscape-0.47-6.el6
reason: gimp_xcf.py:37:effect:TypeError: 'NoneType' object is unsubscriptable
release: Red Hat Enterprise Linux Workstation release 6.0 (Santiago)
time: 1289819895
uid: 500

backtrace
-----
gimp_xcf.py:37:effect:TypeError: 'NoneType' object is unsubscriptable

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/gimp_xcf.py", line 173, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 207, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/gimp_xcf.py", line 37, in effect
    docname = self.xpathSingle('/svg:svg/@sodipodi:docname')[:-4]
TypeError: 'NoneType' object is unsubscriptable

Local variables in innermost frame:
self: <__main__.MyEffect instance at 0xb74fb3ac>
svg_file: '/tmp/ink_ext_XXXXXX.svgUQ6DMV'

comment
-----
I was editing an SVG image and opened the export to PNG dialog.
I've been increasing/decreasing the size of the resulting PNG and the crash was detected during that time.
The temporary file in the backtrace was not present right after the crash.

Comment 1 Alexander Todorov 2010-11-15 11:25:50 UTC
Created attachment 460519 [details]
File: backtrace

Comment 2 RHEL Program Management 2011-01-07 15:51:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Jan Kurik 2017-12-06 10:44:32 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/