[Bug 555676] New: sk1 fails to import svg file (sk1-0.9.1pre_rev730)
sk1 /usr/share/inkscape/icons/icons.svg shared memory images supported Cairo initialized! Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 979, in Load xml_reader.parse(input_source) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 338, in startElement getattr(self, method)(attrs) File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 935, in use if data[0] == 'object': TypeError: 'NoneType' object is unsubscriptable Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.6/site-packages/sk1/__init__.py", line 21, in <module> app.main.main() File "/usr/lib64/python2.6/site-packages/sk1/app/main.py", line 152, in main application.Run() File "/usr/lib64/python2.6/site-packages/sk1/app/skapp.py", line 175, in Run self.main_window.Run() File "/usr/lib64/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 128, in Run self.LoadFromFile(filename, directory = directory) File "/usr/lib64/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 687, in LoadFromFile self.docmanager.OpenDocument(filename, directory) File "/usr/lib64/python2.6/site-packages/sk1/app/managers/docmanager.py",
http://bugzilla.novell.com/show_bug.cgi?id=555676 Summary: sk1 fails to import svg file (sk1-0.9.1pre_rev730) Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jansimon.moeller@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Jan-Simon Möller <jansimon.moeller@opensuse.org> 2009-11-15 21:17:47 UTC --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 If a svg file is imported to sk1, the application crashes with this backtrace: line 68, in OpenDocument doc=dlg.RunDialog(self.open_callback, filename) File "/usr/lib64/python2.6/site-packages/sk1/app/UI/dialogs/progressdialog.py", line 50, in RunDialog result=callback(arg) File "/usr/lib64/python2.6/site-packages/sk1/app/managers/docmanager.py", line 89, in open_callback doc = load.load_drawing(filename) File "/usr/lib64/python2.6/site-packages/sk1/app/io/load.py", line 373, in load_drawing return load_drawing_from_file(file, filename) File "/usr/lib64/python2.6/site-packages/sk1/app/io/load.py", line 346, in load_drawing_from_file doc = loader.Load() File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 979, in Load xml_reader.parse(input_source) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 338, in startElement getattr(self, method)(attrs) File "/usr/lib64/python2.6/site-packages/sk1/app/plugins/Filters/svgloader.py", line 935, in use if data[0] == 'object': TypeError: 'NoneType' object is unsubscriptable Reproducible: Always Steps to Reproduce: 1. zypper in inkscape-extensions-skencil (or zypper in sk1) 2. sk1 /usr/share/inkscape/icons/icons.svg 3. Actual Results: Backtrace / abort Expected Results: Successful import -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555676 shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sqiu@novell.com AssignedTo|bnc-team-screening@forge.pr |mseben@novell.com |ovo.novell.com | Severity|Critical |Normal -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555676#c Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555676 http://bugzilla.novell.com/show_bug.cgi?id=555676#c1 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #1 from Michal Seben <mseben@novell.com> 2010-05-19 07:53:09 UTC --- fix will be available in openSUSE 11.3 closing as fixed -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555676 http://bugzilla.novell.com/show_bug.cgi?id=555676#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (555676) was mentioned in https://build.opensuse.org/request/show/40272 Factory / sk1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com