atom-haskell / ide-haskell

Haskell IDE plugin for Atom editor
https://atom.io/packages/ide-haskell
Other
232 stars 30 forks source link

Haskell-ghc-mod: ghc-mod command browse failed with error Error #135

Closed LukaHorvat closed 8 years ago

LukaHorvat commented 8 years ago

The dump I get is pretty lengthy but here it is

caps: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
URI: undefined
Args: -d,Diagrams.Backend.SVG
message: spawn ghc-mod ENOENT
log:
-0.994s: getProcessOptions(undefined)
-0.993s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.689s: Diagrams created
-0.689s: Diagrams updating
-0.689s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.688s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.641s: Diagrams buffer is set
-0.64s: Diagrams.Prelude created
-0.64s: Diagrams.Prelude updating
-0.64s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.64s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.608s: Diagrams.Prelude moduleName mismatch: Diagrams != Diagrams.Prelude
-0.608s: Diagrams.Backend.SVG.CmdLine created
-0.608s: Diagrams.Backend.SVG.CmdLine updating
-0.608s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.607s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.572s: Diagrams.Backend.SVG.CmdLine moduleName mismatch: Diagrams != Diagrams.Backend.SVG.CmdLine
-0.572s: Diagrams.Ba created
-0.572s: Diagrams.Ba updating
-0.572s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.572s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.538s: Diagrams.Ba moduleName mismatch: Diagrams != Diagrams.Ba
-0.538s: Data.Colour created
-0.538s: Data.Colour updating
-0.538s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.537s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.505s: Data.Colour moduleName mismatch: Diagrams != Data.Colour
-0.505s: Diagrams.Backend.SVG created
-0.505s: Diagrams.Backend.SVG updating
-0.505s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.504s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.471s: Diagrams.Backend.SVG moduleName mismatch: Diagrams != Diagrams.Backend.SVG
-0.471s: Prelude created
-0.471s: Prelude updating
-0.471s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs)
-0.471s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.438s: Prelude moduleName mismatch: Diagrams != Prelude
-0.384s: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
-0.384s: getProcessOptions(undefined)
-0.383s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.381s: running ghc-mod lang with options.cwd = undefined,options.env = [object Object],options.encoding = utf-8
-0.371s: getProcessOptions(undefined)
-0.37s: PATH = C:\Program Files\Microsoft MPI\Bin\;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3\Scripts;C:\Program Files\Java\jdk1.8.0_60\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\Luka\AppData\Roaming\local\bin;C:\Users\Luka\AppData\Roaming\npm;C:\Users\Luka\AppData\Roaming\local\bin;C:\Program Files\PostgreSQL\9.5\bin;C:\Users\Luka\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin;C:\ProgramData\Oracle\Java\javapath;C:\Users\Luka\Documents\Haskell\ghcjs\.cabal-sandbox\bin;C:\Users\Luka\AppData\Roaming\cabal\bin;C:\ProgramData\chocolatey\lib\python3\tools\Scripts;C:\tools\ruby21\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Luka\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\LINQPad5;C:\Program Files (x86)\CMake\bin;C:\tools\Miniconda3;C:\tools\Miniconda3
-0.37s: running ghc-mod flag with options.cwd = undefined,options.env = [object Object],options.encoding = utf-8
-0.353s: running ghc-mod browse,-d,Diagrams with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.352s: running ghc-mod browse,-d,Diagrams.Prelude with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.35s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.348s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.345s: Error: spawn ghc-mod ENOENT
-0.278s: Error: spawn ghc-mod ENOENT
-0.225s: running ghc-mod browse,-d,Diagrams.Backend.SVG.CmdLine with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.224s: running ghc-mod browse,-d,Diagrams.Ba with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.221s: Diagrams updated
-0.221s: Diagrams.Prelude updated
-0.221s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.218s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.216s: Error: spawn ghc-mod ENOENT
-0.136s: Error: spawn ghc-mod ENOENT
-0.076s: running ghc-mod browse,-d,Data.Colour with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.075s: running ghc-mod browse,-d,Diagrams.Backend.SVG with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,options.env = [object Object],options.encoding = utf-8
-0.074s: Diagrams.Backend.SVG.CmdLine updated
-0.074s: Diagrams.Ba updated
-0.074s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.071s: Using fallback child_process because of spawn C:\WINDOWS\system32\cmd.exe ENOENT
-0.067s: Error: spawn ghc-mod ENOENT
0s: Error: spawn ghc-mod ENOENT

I get this error when I open a single .hs file. No matter what's in it.

What's interesting is that it doesn't happen if the file is on my desktop, but if I put it in some folder inside of My Documents I get the error. This leads me to suspect that the path length has something to do with it. I know there are some limits on Windows with regards to path/command line length.

LukaHorvat commented 8 years ago

No that's not it. When I place is in the Desktops parent directory, I still get the error. It just works when on Desktop.

Yeah, I've tried placing the file in a couple of other folders and I get the same error. But it somehow works on Desktop.

lierdakil commented 8 years ago

Oh for the love of all thousands of Hindu goddesses. Apparently, on Windows, Atom reports a single file as a Directory. That's pretty much why this happens. I think I might have a general idea of how to fix this.

lierdakil commented 8 years ago

Okay, I think this should be fixed. In the future, please consider reporting issues with full info, by clicking a little clipboard icon next to 'View Issue' button and then pasting clipboard contents to github.

LukaHorvat commented 8 years ago

Fixed! Awesome job.