Gimp XCF export doesn't work on Windows

Bug #616193 reported by jazzynico
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I've tweaked my system and Gimp installation so that XCF export shows in the menu (Gimp path added to the PATH env, and gimp-2.6.exe duplicated and renamed gimp.exe) but using it returns a script error message:

Traceback (most recent call last):
  File "", line 189, in <module>
  File "C:\Devel\Inkscape\bzr\inkscape\share\extensions\", line 215, in affect
  File "", line 183, in effect
    x = open(xcf, 'r')
IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\nico\\locals~1\\temp\\tmp8s3dqw\\test.xcf'

The temp folder contains the extracted layers (png files) and a junk file created by Gimp (attached).
According to the junk file messages, the extension fails because Gimp (or the scheme interpreter) can't find the layer files, and thus can't create the XCF file.

Tags: exporting xcf
Revision history for this message
jazzynico (jazzynico) wrote :
tags: added: exporting xcf
description: updated
Revision history for this message
jazzynico (jazzynico) wrote :

Issue already mentioned (but not detailed) in Bug #171687 "GIMP XCF extension, PSD and other layered formats" (

jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
importance: Undecided → Medium
milestone: none → 0.49
status: New → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Fix committed in the trunk, revision 9699.

The file is available on launchpad ( To test the fix with 0.47 or 0.48, copy the downloaded file to the Inkscape share/extensions folder (on Windows, it's in C:\Program Files\Inkscape\share\extensions).

Don't forget to add the Gimp path in the Path environment var, and to rename gimp-2.6.exe to gimp.exe...

Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
jazzynico (jazzynico) wrote :

Fix backported to 0.48.x branch (revision 9660).

Changed in inkscape:
milestone: 0.49 → 0.48.1
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
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.