# fuse import is unable to import your Sketch file due to an internal error.

**URL:** <https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490>\
**Category:** Bug Reports\
**Created:** [December 2, 2015, 4:01am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490 "2015-12-02T04:01:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@greg](https://forums.fusetools.com/u/greg)\
**Post date:** [December 2, 2015, 4:01am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/1 "2015-12-02T04:01:20Z")

</div>

Hey guys—

I’m having issues importing sketch files. I get the same error regardless of the contents of the .sketch file, I’ve tried multiple different files with different file names, and also dragging the file into preview vs importing via terminal. I’ve tried reinstalling SketchImport, restarting my computer, reinstalling fuse, and nothing seems to work.

I’m on OSX 10.11.1, Sketch v 3.4.2, and Fuse v 0.9.3

Here’s the error I get:

```auto
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 
fuse: Import failed: An error occurred

```

Hopefully I’m doing something stupid! Please help!

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 2, 2015, 9:50am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/2 "2015-12-02T09:50:46Z")

</div>

Hi,

The SketchImporter has had a ton of bugs weeded out the last weeks, and this file could quite possibly be working with the lastest version. If you’d like I can have a lot at the file and tell you why it’s not working now. Just send it to me.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 2, 2015, 12:57pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/3 "2015-12-02T12:57:13Z")

</div>

The error you are posting is that sketchtool does not output any JSON from the dump command. Could you please check if `sketchtool dump <filename>` gives you any output? If you don’t have sketchtool in your path please try `/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool dump <filename>`

---

<div class="post-metadata">

**Author:** ![auser](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@auser](https://forums.fusetools.com/u/auser)\
**Post date:** [December 3, 2015, 8:38am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/4 "2015-12-03T08:38:29Z")

</div>

I am having the same issue with the same results with the exact same versions as the original poster.

```auto
❯ fuse import robinhood.sketch
Analyzing robinhood.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) [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
fuse: Import failed: An error occurred

```

Any ideas on what the issue could be?

The sketch resource is from [http://www.gfxnerds.com/sketch/robinhood-ios-app](http://www.gfxnerds.com/sketch/robinhood-ios-app) and the project is a new project created from `fuse create app`.

I tried using `mono` directly with the same results:

```auto
❯ mono /Applications/Fuse.app/Contents/SketchImporter/SketchImporter.exe robinhood.sketch
Analyzing robinhood.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) [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

```

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 3, 2015, 8:53am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/5 "2015-12-03T08:53:45Z")

</div>

With 0.9.3 the command you sent me crashes with a system font error (which is fixed in development). The error you are referring to is that `sketchtool` is run, but `sketchtool dump robinhood.sketch` returns empty string. Can you please send me the output of `sketchtool -v` and also see that the dump command gives output?

---

<div class="post-metadata">

**Author:** ![auser](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@auser](https://forums.fusetools.com/u/auser)\
**Post date:** [December 3, 2015, 6:53pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/6 "2015-12-03T18:53:13Z")

</div>

But of course:

```auto
❯ sketchtool dump robinhood.sketch
2015-12-03 10:50:54.343 sketchtool[18198:2622909] Exception whilst decoding (version 62): -[MSUnarchiver decodeObjectForKey:]: cannot decode object of class (MSImmutableDocumentData)
Failed to open document robinhood.sketch -- file:///Users/auser/Downloads/playgorund/flowers/
((null) MSDocumentDomain:11)

 +[NSJSONSerialization dataWithJSONObject:options:error:]: value parameter is nil
((null) ECCommandLineDomain:5)

```

And that comes from sketchtool version:

```auto
❯ sketchtool -v
sketchtool Version 1.4 (305)

```

---

<div class="post-metadata">

**Author:** ![auser](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@auser](https://forums.fusetools.com/u/auser)\
**Post date:** [December 5, 2015, 10:40pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/7 "2015-12-05T22:40:52Z")

</div>

Any updates/thoughts to what might be causing this? (ping)

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 5, 2015, 10:53pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/8 "2015-12-05T22:53:47Z")

</div>

Sorry for missing your reply. Can you please try to update your sketchtool? Mine is version 3.4.2. I think you sketchtool is too old to read your sketchfile.

---

<div class="post-metadata">

**Author:** ![greg](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@greg](https://forums.fusetools.com/u/greg)\
**Post date:** [December 6, 2015, 1:16pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/9 "2015-12-06T13:16:38Z")

</div>

Sketchtool dump output: [http://cl.ly/text/1I1h1d0b3t2G](http://cl.ly/text/1I1h1d0b3t2G)

Running sketchtool Version 3.4 (375)

Here’s a sample file that I’m trying to import: [http://cl.ly/1444062e3H2r](http://cl.ly/1444062e3H2r)

I updated sketchtool and still getting the same error.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 6, 2015, 1:41pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/10 "2015-12-06T13:41:09Z")

</div>

Hi greg,

Can you also please check if you have a sketchtool in `/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool`.

The file you used here imported fine for me, and the dump you sent indicates that everything is running fine.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 9, 2015, 11:56am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/11 "2015-12-09T11:56:49Z")

</div>

greg, what error are you getting?

---

<div class="post-metadata">

**Author:** ![auser](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@auser](https://forums.fusetools.com/u/auser)\
**Post date:** [December 10, 2015, 5:08am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/12 "2015-12-10T05:08:33Z")

</div>

For me, the problem was that I was on a VERY old version of `sketchtool`. Updating it fixed the problem.

---

<div class="post-metadata">

**Author:** ![vanphamnhatlan93](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vanphamnhatlan93](https://forums.fusetools.com/u/vanphamnhatlan93)\
**Post date:** [January 14, 2016, 8:34am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/13 "2016-01-14T08:34:16Z")

</div>

I get this error why importing sketch, while my version of sketchtool is 3.4.4.

```auto
Demen fuse creation $ fuse import new.sketch 
Analyzing new.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) [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 
fuse: Import failed: An error occurred

```

It’s really a nightmare. I am playing around with so many ways and cannot find out a solution. Please help

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 14, 2016, 8:50am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/14 "2016-01-14T08:50:24Z")

</div>

This error is because sketchtool cannot export the assets from the sketch file. Can you check that you can run sketchtool with the sketch-file, or send me the sketchfile so I can test.

---

<div class="post-metadata">

**Author:** ![vanphamnhatlan93](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vanphamnhatlan93](https://forums.fusetools.com/u/vanphamnhatlan93)\
**Post date:** [January 14, 2016, 9:56am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/15 "2016-01-14T09:56:58Z")

</div>

[https://www.dropbox.com/s/twfc6w7owj97vsg/new.sketch?dl=0](https://www.dropbox.com/s/twfc6w7owj97vsg/new.sketch?dl=0)

Thank you for your instant response, here please check.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 14, 2016, 10:18am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/16 "2016-01-14T10:18:07Z")

</div>

With Fuse 0.9.6 this works for me. Can you please try the following commands, and paste the output:

`/usr/local/bin/sketchtool -v`

`/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool -v`

`/usr/local/bin/sketchtool metadata new.sketch`

---

<div class="post-metadata">

**Author:** ![vanphamnhatlan93](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vanphamnhatlan93](https://forums.fusetools.com/u/vanphamnhatlan93)\
**Post date:** [January 15, 2016, 7:15am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/17 "2016-01-15T07:15:12Z")

</div>

Here you are

```auto
 /usr/local/bin/sketchtool -v
-bash: /usr/local/bin/sketchtool: No such file or directory

 /Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool -v
sketchtool Version 3.4.4 (395)

/usr/local/bin/sketchtool metadata new.sketch
-bash: /usr/local/bin/sketchtool: No such file or directory

```

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 15, 2016, 8:26am UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/18 "2016-01-15T08:26:54Z")

</div>

Thank you.

Please try:

`/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool dump new.sketch`

---

<div class="post-metadata">

**Author:** ![Anderson\_Carswell](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Anderson\_Carswell](https://forums.fusetools.com/u/Anderson_Carswell)\
**Post date:** [March 28, 2016, 3:59pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/19 "2016-03-28T15:59:35Z")

</div>

I’m having the same problem.

I have followed your advise and paste in the terminal, “/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool dump new.sketch”.

It’s not working.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [March 28, 2016, 8:23pm UTC](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490/20 "2016-03-28T20:23:36Z")

</div>

@Anderson Carswell: Is it not outputting anything, or is it saying `command not found`?

[Next page](https://forums.fusetools.com/t/fuse-import-is-unable-to-import-your-sketch-file-due-to-an-internal-error/1490.md?page=2)
