Sorry to resurrect this thread but I’m seeing the exact same issue,
Using the same sketch file above (with a different font, Rubik), I see the following:
$ fuse import example.sketch --app MainView.ux
Analyzing example.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) <0x108dbac60 + 0x005e3> in <filename unknown>:0
at SketchImporter.Program.Main (System.String[] args) <0x105205ed0 + 0x00821> 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) <0x108dbac60 + 0x005e3> in <filename unknown>:0
at SketchImporter.Program.Main (System.String[] args) <0x105205ed0 + 0x00821> in <filename unknown>:0
fuse: Import failed: An error occurred on import
… yet when dumping the contents sketchtool works fine,
{
"layerStyles" : {
"<class>" : "MSSharedStyleContainer",
"objects" : [
]
},
"assets" : {
"<class>" : "MSAssetCollection",
"gradients" : [
],
"colors" : [
],
"imageCollection" : {
"<class>" : "MSImageCollection",
"images" : [
]
},
"images" : [
]
},
"enableSliceInteraction" : 1,
"foreignSymbols" : [
],
"pages" : [
{
"isFlippedHorizontal" : 0,
"style" : {
"startDecorationType" : 0,
"borderOptions" : {
"lineJoinStyle" : 0,
"<class>" : "MSStyleBorderOptions",
"isEnabled" : 0,
"lineCapStyle" : 0,
"dashPattern" : [
]
},
"endDecorationType" : 0,
"contextSettings" : {
"<class>" : "MSGraphicsContextSettings",
"opacity" : 1,
"blendMode" : 0
},
"blur" : {
"radius" : 10,
"<class>" : "MSStyleBlur",
"motionAngle" : 0,
"isEnabled" : 0,
"type" : 0,
"center" : {
"x" : 0.5,
"y" : 0.5
}
},
"reflection" : {
"<class>" : "MSStyleReflection",
"strength" : 0.5,
"isEnabled" : 0,
"distance" : 1
},
"<class>" : "MSStyle",
"miterLimit" : 10,
"colorControls" : {
"hue" : 0,
"<class>" : "MSStyleColorControls",
"brightness" : 0,
"contrast" : 1,
"isEnabled" : 0,
"saturation" : 1
},
"fills" : [
],
"borders" : [
],
"innerShadows" : [
],
"shadows" : [
]
},
"horizontalRulerData" : {
"<class>" : "MSRulerData",
"base" : 0,
"guides" : [
]
},
"frame" : {
"y" : 0,
"<class>" : "MSRect",
"constrainProportions" : 0,
"height" : 300,
"width" : 300,
"x" : 0
},
"hasClickThrough" : 1,
"includeInCloudUpload" : 1,
"exportOptions" : {
"shouldTrim" : 0,
"<class>" : "MSExportOptions",
"includedLayerIds" : [
],
"layerOptions" : 0,
"exportFormats" : [
]
},
"objectID" : "E2133B3B-96C6-4B05-ABB1-7E1901FA0A28",
"rotation" : 0,
"layerListExpandedType" : 0,
"verticalRulerData" : {
"<class>" : "MSRulerData",
"base" : 0,
"guides" : [
]
},
"isFlippedVertical" : 0,
"resizingType" : 0,
"<class>" : "MSPage",
"layers" : [
{
"isFlippedHorizontal" : 0,
"objectID" : "C9E83BCE-E445-4E6A-A7DC-B7A8844A0E94",
"horizontalRulerData" : {
"<class>" : "MSRulerData",
"base" : 0,
"guides" : [
]
},
"frame" : {
"y" : 47,
"<class>" : "MSRect",
"constrainProportions" : 0,
"height" : 667,
"width" : 375,
"x" : 286
},
"hasClickThrough" : 1,
"includeInCloudUpload" : 1,
"exportOptions" : {
"shouldTrim" : 0,
"<class>" : "MSExportOptions",
"includedLayerIds" : [
],
"layerOptions" : 0,
"exportFormats" : [
]
},
"hasBackgroundColor" : 1,
"layerListExpandedType" : 2,
"resizesContent" : 0,
"backgroundColor" : {
"<class>" : "MSColor",
"value" : "#FFFFFF"
},
"rotation" : 0,
"style" : {
"startDecorationType" : 0,
"borderOptions" : {
"lineJoinStyle" : 0,
"<class>" : "MSStyleBorderOptions",
"isEnabled" : 0,
"lineCapStyle" : 0,
"dashPattern" : [
]
},
"endDecorationType" : 0,
"contextSettings" : {
"<class>" : "MSGraphicsContextSettings",
"opacity" : 1,
"blendMode" : 0
},
"blur" : {
"radius" : 10,
"<class>" : "MSStyleBlur",
"motionAngle" : 0,
"isEnabled" : 0,
"type" : 0,
"center" : {
"x" : 0.5,
"y" : 0.5
}
},
"reflection" : {
"<class>" : "MSStyleReflection",
"strength" : 0.5,
"isEnabled" : 0,
"distance" : 1
},
"<class>" : "MSStyle",
"miterLimit" : 10,
"colorControls" : {
"hue" : 0,
"<class>" : "MSStyleColorControls",
"brightness" : 0,
"contrast" : 1,
"isEnabled" : 0,
"saturation" : 1
},
"fills" : [
],
"borders" : [
],
"innerShadows" : [
],
"shadows" : [
]
},
"verticalRulerData" : {
"<class>" : "MSRulerData",
"base" : 0,
"guides" : [
]
},
"isFlippedVertical" : 0,
"<class>" : "MSArtboardGroup",
"nameIsFixed" : 0,
"layers" : [
{
"isFlippedHorizontal" : 0,
"objectID" : "4F15DC48-48C6-4151-867F-C5BF67623AD0",
"rotation" : 0,
"frame" : {
"y" : 234,
"<class>" : "MSRect",
"constrainProportions" : 0,
"height" : 15,
"width" : 168.625,
"x" : 104
},
"glyphBounds" : {
"y" : 2,
"x" : 0,
"width" : 28,
"height" : 11
},
"layerListExpandedType" : 0,
"exportOptions" : {
"shouldTrim" : 0,
"<class>" : "MSExportOptions",
"includedLayerIds" : [
],
"layerOptions" : 0,
"exportFormats" : [
]
},
"style" : {
"startDecorationType" : 0,
"textStyle" : {
"NSParagraphStyle" : {
"<class>" : "NSParagraphStyle",
"style" : {
"headerLevel" : 0,
"paragraphSpacing" : 0,
"tabStops" : [
28,
56,
84,
112,
140,
168,
196,
224,
252,
280,
308,
336
],
"headIndent" : 0,
"lineBreakMode" : 0,
"hyphenationFactor" : 0,
"alignment" : 4,
"paragraphSpacingBefore" : 0,
"tailIndent" : 0,
"firstLineHeadIndent" : 0,
"minimumLineHeight" : 0,
"lineSpacing" : 0,
"maximumLineHeight" : 0,
"lineHeightMultiple" : 0,
"baseWritingDirection" : -1,
"defaultTabInterval" : 0
}
},
"<class>" : "MSTextStyle",
"NSFont" : {
"name" : "Rubik Bold",
"attributes" : {
"NSFontSizeAttribute" : 13,
"NSFontNameAttribute" : "Rubik-Bold"
},
"family" : "Rubik"
},
"NSColor" : {
"<class>" : "NSColor",
"color" : "rgba(0.145005,0.168632,0.201749,1.000000)"
}
},
"borderOptions" : {
"lineJoinStyle" : 0,
"<class>" : "MSStyleBorderOptions",
"isEnabled" : 0,
"lineCapStyle" : 0,
"dashPattern" : [
]
},
"endDecorationType" : 0,
"contextSettings" : {
"<class>" : "MSGraphicsContextSettings",
"opacity" : 1,
"blendMode" : 0
},
"blur" : {
"radius" : 10,
"<class>" : "MSStyleBlur",
"motionAngle" : 0,
"isEnabled" : 0,
"type" : 0,
"center" : {
"x" : 0.5,
"y" : 0.5
}
},
"reflection" : {
"<class>" : "MSStyleReflection",
"strength" : 0.5,
"isEnabled" : 0,
"distance" : 1
},
"<class>" : "MSStyle",
"miterLimit" : 10,
"colorControls" : {
"hue" : 0,
"<class>" : "MSStyleColorControls",
"brightness" : 0,
"contrast" : 1,
"isEnabled" : 0,
"saturation" : 1
},
"fills" : [
],
"borders" : [
],
"innerShadows" : [
],
"shadows" : [
]
},
"heightIsClipped" : 0,
"lineSpacingBehaviour" : 2,
"dontSynchroniseWithSymbol" : 0,
"textBehaviour" : 1,
"isFlippedVertical" : 0,
"<class>" : "MSTextLayer",
"resizingType" : 0,
"isVisible" : 1,
"nameIsFixed" : 0,
"name" : "Test",
"isLocked" : 0,
"attributedString" : {
"<class>" : "NSConcreteAttributedString",
"value" : {
"<class>" : "NSConcreteAttributedString",
"text" : "Test",
"attributes" : [
{
"NSColor" : {
"<class>" : "NSColor",
"color" : "rgba(0.145005,0.168632,0.201749,1.000000)"
},
"NSParagraphStyle" : {
"<class>" : "NSParagraphStyle",
"style" : {
"headerLevel" : 0,
"paragraphSpacing" : 0,
"tabStops" : [
28,
56,
84,
112,
140,
168,
196,
224,
252,
280,
308,
336
],
"headIndent" : 0,
"lineBreakMode" : 0,
"hyphenationFactor" : 0,
"alignment" : 4,
"paragraphSpacingBefore" : 0,
"tailIndent" : 0,
"firstLineHeadIndent" : 0,
"minimumLineHeight" : 0,
"lineSpacing" : 0,
"maximumLineHeight" : 0,
"lineHeightMultiple" : 0,
"baseWritingDirection" : -1,
"defaultTabInterval" : 0
}
},
"length" : 4,
"NSFont" : {
"name" : "Rubik Bold",
"attributes" : {
"NSFontSizeAttribute" : 13,
"NSFontNameAttribute" : "Rubik-Bold"
},
"family" : "Rubik"
},
"location" : 0,
"text" : "Test"
}
]
}
},
"shouldBreakMaskChain" : 0,
"resizingConstraint" : 63,
"automaticallyDrawOnUnderlyingPath" : 0
}
],
"isVisible" : 1,
"name" : "iPhone 7",
"resizingType" : 0,
"isLocked" : 0,
"shouldBreakMaskChain" : 0,
"resizingConstraint" : 63,
"includeBackgroundColorInExport" : 1
}
],
"isVisible" : 1,
"nameIsFixed" : 0,
"name" : "Page 1",
"isLocked" : 0,
"shouldBreakMaskChain" : 0,
"resizingConstraint" : 0
}
],
"objectID" : "E31884C4-100B-443B-8F06-E8EE7416F3B5",
"currentPageIndex" : 0,
"colorSpace" : 0,
"<class>" : "MSDocumentData",
"layerTextStyles" : {
"<class>" : "MSSharedTextStyleContainer",
"objects" : [
]
},
"enableLayerInteraction" : 1,
"layerSymbols" : {
"<class>" : "MSSymbolContainer",
"objects" : [
]
},
"userInfo" : {
"com.invisionlabs.sync" : {
"metadata" : "{\"hasSynced\":0,\"hasProjectIdChanged\":0,\"projectId\":0,\"publicLink\":\"\",\"resolution\":2,\"syncAll\":1}"
}
}
}
Using macOS Sierra Version 10.12.6
Sketch 47.1 (45422), Sketch Tools installed from version 47.1
Fuse Studio (trial) Version 1.3.0 (build 14520)