Skip to content

A different elm-format crash #62

@ScribblerWriter

Description

@ScribblerWriter

When I save an .elm file, formatting isn’t happening, and in the console I get the following error:

Sublime Text 3
elm 0.19
I’ve got “Elm Language Support” in the “install_prereleases” section
I’ve upgraded the package

Error loading scope:source.glsl: Unable to find syntax file for scope source.glsl in Packages/Elm Language Support/Syntaxes/Elm.sublime-syntax
Traceback (most recent call last):
  File “./python3.3/subprocess.py”, line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File “C:\Program Files\Sublime Text 3\sublime_plugin.py”, line 1072, in run_
    return self.run(edit)
  File “C:\Users\Chris\AppData\Roaming\Sublime Text 3\Installed Packages\Elm Language Support.sublime-package\elm_format.py”, line 33, in run
  File “./python3.3/subprocess.py”, line 819, in __init__
  File “./python3.3/subprocess.py”, line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

This was working fine until a few days ago, when the formatting just suddenly stopped working. I haven’t made any changes to my Sublime Text configuration, nor to where elm-format is stored. I’ve checked and made sure that elm-format is still in the path.

Source coloring, compiling and auto-completion seem all to work fine.

I’ve tried reinstalling Elm Language Support, elm-format, tried downloading ELS from the github repository into the Packages folder, but with no success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions