Can't get Fuse to work correctly in Windows 10

System:

  • Windows 10 Home 64-bit

  • Intel® Core™ i7-4790k CPU @ 4.00GHz 4.00GHz

  • 32 GB RAM

  • Fuse version 0.5.3524

  • Sublime Text build 3083

Problem:

Almost every CLI command I try has an unhandled exception:

Running fuse seems to work, but Right-click -> Utilities -> Install Sublime Plugin will output the same error as the CLI command in the form of several notifications.

Right-click -> New project... does not output any errors, but all it does is create a folder with the chosen project name and a devices.json file inside it.

Errors as text:

fuse install sublime-plugin error

fuse: unhandled exception: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Outracks.TextScanner.<GetLines>d0.MoveNext()
   at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
   at Outracks.TextScanner..ctor(String text)
   at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.<ParseScopes>d8.MoveNext()
   at System.Linq.Buffer1..ctor(IEnumerable1 source)
   at System.Linq.Enumerable.ToArrayTSource
   at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.Preprocess(String data, PreprocessorDefinition[] preprocessorDefinitions, PreprocessorVariable[] preprocessorVariables, IProgress1 progress)
   at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.Parse(String source, PreprocessorDefinition[] preprocessorDefinitions, PreprocessorVariable[] preprocessorVariables, IProgress1 progress)
   at Outracks.Fuse.Install.ModuleParser.FuseModulesInstaller.UpdateCacheIfNeeded()
   at Outracks.Fuse.Install.ModuleParser.FuseModulesInstaller.Install(String name, String[] args)
   at Outracks.Fuse.Commands.InstallCliCommand.Install(String packageName, String[] args)

fuse create app tutorial error

fuse: unhandled exception: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Outracks.TextScanner.<GetLines>d0.MoveNext()
   at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
   at Outracks.TextScanner..ctor(String text)
   at Outracks.Templates.TemplateParser.<Parse>d4.MoveNext()
   at Outracks.Templates.TemplateParser.ReplaceVariables(String template)
   at Outracks.Templates.TemplateSpawner.CopyAndReplaceVariables(AbsoluteFilePath src, AbsoluteFilePath dst)
   at Outracks.Templates.TemplateSpawner.<CopyTemplateFiles>d__0.MoveNext()
   at System.Linq.Buffer1..ctor(IEnumerable1 source)
   at System.Linq.Enumerable.ToArrayTSource
   at Outracks.Templates.TemplateSpawner.SpawnTemplate(Template template, AbsoluteDirectoryPath whereToSpawnTemplate, ITemplateVariableResolver variableResolver, IFileSystem fileSystem)
   at Outracks.Fuse.Create.SpawnTemplate.Spawn(Template template, AbsoluteDirectoryPath location, ITemplateVariableResolver environment)
   at Outracks.Fuse.Create.SpawnTemplate.CreateProject(String name, Template template, Optional`1 destinationPath)
   at Outracks.Fuse.Create.CreateCliCommand.Run(String[] args)
   at Outracks.CLI.CliProgram.Main(String[] args)

This is an excellent bug report. Thanks for taking the time, we’re on it.

+1 happens the same

+1 exact same errors

Windows 10 Home 64-bit, AMD FX-8350 4.3Ghz, 16GB RAM, Fuse version 0.5.3524, Sublime Text build 3083

Happens when using cmd, powershell, or the right click menu in the taskbar when fuse is running.

Same here, AMD Athlon II X3 455 @ 3.30Ghz, 8GB Ram, Windows 10 Pro 64 Bit, Fuse 0.5.3524, Sublime 3083, stuck on sublime-plugins installation. Can’t post a picture but it’s the same situation as the OP

+1, I have the same problem

After installing the private build they sent me, the following error appears: file

is it just me? Strange thing is that if I try to install plugins by right clicking on the tray icon, and selecting install sublime plugins from “Utilities” it says it went fine

Hi, it’s fuse install sublime-plugin, not fuse install sublime-plugins. You simply have an extra s on the end! :slight_smile:

We just issued a bugfix release that solves this problem. Get yours from https://www.fusetools.com/developers!

Sorry for the inconvenience, and thanks to everyone who reported this and helped us testing.

Bug fixed here also :slight_smile: