Author Topic: XQuartz error when saving as XCF  (Read 390 times)

January 28, 2019, 09:50:04 PM
Read 390 times

AethericEchoes

  • Sr. Newbie

  • Offline
  • **

  • 8
  • Gender
    Male

    Male
When I try to save a file (in 0.92) using "GIMP XCF maintaining layers (*.xcf)" I get this XQuartz error:

Quote (selected)
Inkscape has received additional data from the script executed.  The script did not return an error, but this may indicate the results will not be as expected.

The details box says:

Quote (selected)
An error occurred while processing the XCF file.
Traceback (most recent call last):
  File "gimp_xcf.py", line 284, in <module>
    e.affect()
  File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 283, in affect
    self.effect()
  File "gimp_xcf.py", line 267, in effect
    raise GimpXCFScriptFuError
__main__.GimpXCFScriptFuError

When I close the error, there is an additional dialog that the file could not be saved.

Importing an SVG would be fine if GIMP could do it. It imports the background with no problem but it totally messes up the text size and placement. I can simply rebuild the text so this isn't a critical problem but it would be nice to preserve the layers, especially if I want to make additional modifications down the road.
  • 0.92
  • mac OS Mojave v10.14
Feel The Waves ~ Awaken The Dream
Live Consciously & Awaken The World

January 29, 2019, 06:03:58 AM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Your signature seems out of date ;-)

Make sure that your text is not flowed text. Select it, do Text > Convert to text for any flowed texts you have.
If that isn't sufficient, just turn them into paths. Select text, do Path > Object to path. This will work with Gimp.

Can't tell you why the Gimp conversion fails - Gimp is installed on the same computer, right? And the command line is working for gimp?

January 29, 2019, 09:26:53 AM
Reply #2

AethericEchoes

  • Sr. Newbie

  • Offline
  • **

  • 8
  • Gender
    Male

    Male
Signature updated, thanks.

Convert to Text worked, thanks again.  Unflow also worked. As did Object to Path and Put on Path. I wasn't sure of the differences so I tried everything and all worked equally well.

Yes, Gimp is installed. I have v8 and 2.10 and McGimp 2.10. In researching the issue, I found a post that said the native build wasn't sufficient to allow conversion to XCF. They claimed you had to have a compiled build installed. So I added the MacPorts version to the collection but that didn't help.

I don't know how to run it from the command line but all versions can be opened and I can import the SVG into all of them.
  • 0.92
  • mac OS Mojave v10.14
Feel The Waves ~ Awaken The Dream
Live Consciously & Awaken The World

January 29, 2019, 12:28:07 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
At least you have an explanation now... if the port is not equivalent to a real self-compilation - which I don't know (not a Mac user).