Sketch file import error

  • Fuse version 0.23.0 (build 7041)

  • OSX 10.11.6

  • Sketch 39.1 (31720) Latest


Output after command: fuse import SketchProj.sketch:

Unhandled Exception:
SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
  at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) [0x00000] in <filename unknown>:0 
  at SketchImporter.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
  at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) [0x00000] in <filename unknown>:0 
  at SketchImporter.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0


link to sketch dump file">link to sketch dump file


Hi,

We have an updated SketchImporter just about to be released, that should fix this problem.

Is there any chance you could send us your Sketch file so we can confirm that this will solve your problem? If you upload it to https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK, it will only be accessible to Fuse employees.

Hi Max,
Based on one of your other posts I take it that version 0.24 of Fuse did not solve this problem?
If so: please let us know and we’ll see what we can do. :slight_smile:

I’m getting the an error trying to import on OS X El Capitan 10.11.6 running Fuse version 0.25.5 (build 7677).

Sketch’s whole move away from the App store seems to be more about them than any benefit to users. Its been ages the bugs just aren’t getting fixed.

BTW, have you thought about supporting Affinity Designer?

Running: fuse import Actors.sketch --app MyDesign.ux returns:

Analyzing Actors.sketch. This can take a while if the file is big.

Unhandled Exception:
SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
  at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) <0x485f678 + 0x00437> in <filename unknown>:0 
  at SketchImporter.Program.Main (System.String[] args) <0x91ff58 + 0x0056f> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
  at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) <0x485f678 + 0x00437> in <filename unknown>:0 
  at SketchImporter.Program.Main (System.String[] args) <0x91ff58 + 0x0056f> in <filename unknown>:0 
fuse: Import failed: An error occurred

Running sketchtool -v, /usr/local/bin/sketchtool -v and /Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool -v all return:

sketchtool Version 39.1 (31720)

/usr/local/bin/sketchtool metadata Actors.sketch returns:

{
  "commit" : "2c9200d9639585376e22a94aebdefb938b8c5682",
  "length" : 219337,
  "fonts" : [

  ],
  "app" : "com.bohemiancoding.sketch3",
  "appVersion" : "39.1",
  "build" : 31720,
  "created" : {
    "app" : "com.bohemiancoding.sketch3",
    "commit" : "2c9200d9639585376e22a94aebdefb938b8c5682",
    "build" : 31720,
    "appVersion" : "39.1",
    "variant" : "NONAPPSTORE",
    "version" : 87
  },
  "version" : 87,
  "saveHistory" : [
    "NONAPPSTORE.31720"
  ],
  "autosaved" : 0,
  "variant" : "NONAPPSTORE"
}

Running sketchtool dump Actors.sketch | more returns:

sketchtool dump Actors.sketch | more
{
  "assets" : {
    "<class>" : "MSAssetCollection",
    "gradients" : [

    ],
    "colors" : [

    ],
    "imageCollection" : {
      "<class>" : "MSImageCollection",
      "images" : [

      ]
    },
    "images" : [

    ]
  },
  "currentPageIndex" : 0,
  "layerStyles" : {
    "<class>" : "MSSharedStyleContainer",
    "objects" : [

I also have some problems with importing a Sketch file.

Fuse Version: 0.25.5 (build 7677)
OS X Version: 10.11.6
Sketch Version: 39.1 (31720)

Output after command: fuse import RoadersDrive.sketch:
Analyzing RoadersDrive.sketch. This can take a while if the file is big.

Unhandled Exception:
SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) <0x43ed678 + 0x00437> in :0
at SketchImporter.Program.Main (System.String[] args) <0x876f58 + 0x0056f> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: SketchImporter.UserException: fuse import is unable to import your Sketch file due to an internal error. See above output for more information.
at SketchImporter.Program.ProcessSketchFile (System.String sketchFile, System.String resPath, System.String appPath, System.Double[] densities) <0x43ed678 + 0x00437> in :0
at SketchImporter.Program.Main (System.String[] args) <0x876f58 + 0x0056f> in :0
fuse: Import failed: An error occurred

@mgleason: I suspect an issue with the redirection of the output from sketchtool when running through the fuse binary. Can you please try this command to see if it works? (It will invoke the SketchImporter directly, with the Fuse-bundled mono):

/Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/SketchImporter/SketchImporter.exe Actors.sketch --app MyDesign.ux

The same could work for you @leonkosters.

@Bjørn-Olav - that worked!