gimp_xcf.py crashed with TypeError in effect()

Bug #645909 reported by bartje
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Incomplete
Low
Unassigned
inkscape (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: inkscape

It happened in Lucid as well, now running Maverick, when apps using Java are running, like Netbeans, or Open Office. Now it seems to happen after Inkscape is running for a while (about half an hour). It was reported to be connected to copy/paste tools, but I have none running, to my knowledge.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: inkscape 0.48.0-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Sep 23 12:16:05 2010
ExecutablePath: /usr/share/inkscape/extensions/gimp_xcf.py
InstallationMedia: Ubuntu-Studio 10.10 "Maverick Meerkat" - Beta amd64 (20100902.1)
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python gimp_xcf.py --guides=false --grid=false /tmp/ink_ext_XXXXXX.svg5R23IV
ProcEnviron:
 PATH=(custom, user)
 LANG=nl_BE.utf8
 SHELL=/bin/bash
PythonArgs: ['gimp_xcf.py', '--guides=false', '--grid=false', '/tmp/ink_ext_XXXXXX.svg5R23IV']
SourcePackage: inkscape
Title: gimp_xcf.py crashed with TypeError in effect()
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare

Revision history for this message
bartje (bart-deruyter) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Hi bartje,

Thanks for reporting this bug. Does this bug seem to just happen at random? Surely, it only happens if have you tried to export your work as an XCF file? Could this be a duplicate of bug #650890?

tags: added: xcf
Changed in inkscape:
status: New → Incomplete
Changed in inkscape (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Changed in inkscape:
importance: Undecided → Low
Revision history for this message
su_v (suv-lp) wrote :

If not related to actually exporting to XCF, referring to bug #418242 in Inkscape: “Incorrect call to output plugins (with persistent error message) on copy” (triggered when copy&pasting objects or text in Inkscape while a clipboard monitoring application is running in the background):
<https://bugs.launchpad.net/inkscape/+bug/418242>

Revision history for this message
su_v (suv-lp) wrote :

Earlier description in the comments to bug #494472 “Opened and closed outlook. On closing Python window appeared and on retuning to inkscape I received an error message”, a similar error - which has never been confirmed though and reported for the Windows port.

Revision history for this message
jazzynico (jazzynico) wrote :

Related to Bug #565296 "gimp_xcf.py crashed with TypeError in effect()"?

Revision history for this message
su_v (suv-lp) wrote :

But bug #565296 would not explain «Now it seems to happen after Inkscape is running for a while (about half an hour).», i.e. what triggers the output extension to be called without actually exporting to XCF.

Revision history for this message
jazzynico (jazzynico) wrote :

@bartje - Does it happen after you export to XCF, or is your work totally unrelated to this format?

@~suv - What if: a valid file is saved as XCF; an "invalid" portion of code is pasted to the canvas; the file is autosaved after a while.
Ok, the extension must be loaded first, and autosave activated, but why not...

Revision history for this message
bartje (bart-deruyter) wrote : Re: [Bug 645909] Re: gimp_xcf.py crashed with TypeError in effect()

It happens completely at random, suddenly out of the blue, but always when
inkscape is not in focus, I mean, when working in a different application,
like netbeans, or while checking email, typing text in open office.
Suddenly the error warning pops up, followed by the export to image menu.

I can't replicate it now, because I've switched back to lucid, and it
hasn't occurred yet because I simply don't have work for inkscape right now.

I'm sorry I can't give more details, I hope it helps a bit though.

grtz,
Bart

Op schreef JazzyNico <email address hidden>:
> @bartje - Does it happen after you export to XCF, or is your work

> totally unrelated to this format?

> @~suv - What if: a valid file is saved as XCF; an "invalid" portion of
> code is pasted to the canvas; the file is autosaved after a while.

> Ok, the extension must be loaded first, and autosave activated, but why
> not...

> --

> gimp_xcf.py crashed with TypeError in effect()

> https://bugs.launchpad.net/bugs/645909

> You received this bug notification because you are a direct subscriber

> of the bug.

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Netbeans might have something to do with this. I found that it triggers bug #418242 (traceback below)

Shall we mark as duplicate?

UniConvertor failed:

Cannot list directory /home/alex/.uniconvertor:[Errno 2] No such file or directory: '/home/alex/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/alex/.uniconvertor:[Errno 2] No such file or directory: '/home/alex/.uniconvertor'
ignoring it in font_path
/usr/lib/pymodules/python2.6/uniconvertor/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  from popen2 import popen2
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

tags: added: extensions-plugins
Revision history for this message
su_v (suv-lp) wrote :

@Alex - yes, either marking as duplicate or at least adding a comment to bug #418242 that netbeans triggers a similar bug - not when copying text in inkscape but when inkscape is not in focus (if you can confirm this).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.