Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

ghc-mod interactive command info failed with error ghc-modi crashed #83

Closed
LukaHorvat opened this issue Jan 6, 2016 · 18 comments
Closed

Comments

@LukaHorvat
Copy link

I get this error randomly when working on a file. Here's the log

Atom Version: 1.3.2
System: Microsoft Windows 10 Education
Thrown From: haskell-ghc-mod package, v1.5.3

Stack Trace

Haskell-ghc-mod: ghc-mod interactive command info failed with error ghc-modi crashed

At caps: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
URI: C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs
Args: ,tree'
message: 
log:
-10.608s: getProcessOptions(undefined)
-10.607s: PATH = 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
-10.239s: Main created
-10.238s: Main updating
-10.238s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.238s: PATH = 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
-10.199s: Main buffer is set
-10.197s: Diagrams.Prelude created
-10.197s: Diagrams.Prelude updating
-10.197s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.197s: PATH = 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
-10.165s: Diagrams.Prelude moduleName mismatch: Main != Diagrams.Prelude
-10.164s: Diagrams.Backend.Rasterific.CmdLine created
-10.164s: Diagrams.Backend.Rasterific.CmdLine updating
-10.164s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.164s: PATH = 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
-10.133s: Diagrams.Backend.Rasterific.CmdLine moduleName mismatch: Main != Diagrams.Backend.Rasterific.CmdLine
-10.133s: Diagrams.TwoD.Layout.Grid created
-10.133s: Diagrams.TwoD.Layout.Grid updating
-10.133s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.132s: PATH = 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
-10.095s: Diagrams.TwoD.Layout.Grid moduleName mismatch: Main != Diagrams.TwoD.Layout.Grid
-10.095s: Data.Colour.Names created
-10.095s: Data.Colour.Names updating
-10.095s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.094s: PATH = 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
-10.061s: Data.Colour.Names moduleName mismatch: Main != Data.Colour.Names
-10.061s: Diagrams.Backend.Rasterific created
-10.061s: Diagrams.Backend.Rasterific updating
-10.06s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.06s: PATH = 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
-10.028s: Diagrams.Backend.Rasterific moduleName mismatch: Main != Diagrams.Backend.Rasterific
-10.028s: Control.Monad created
-10.028s: Control.Monad updating
-10.028s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-10.028s: PATH = 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
-9.996s: Control.Monad moduleName mismatch: Main != Control.Monad
-9.996s: Control.Monad.Random created
-9.996s: Control.Monad.Random updating
-9.996s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-9.995s: PATH = 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
-9.961s: Control.Monad.Random moduleName mismatch: Main != Control.Monad.Random
-9.96s: Data.Function created
-9.96s: Data.Function updating
-9.96s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-9.96s: PATH = 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
-9.926s: Data.Function moduleName mismatch: Main != Data.Function
-9.925s: Prelude created
-9.925s: Prelude updating
-9.925s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-9.925s: PATH = 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
-9.891s: Prelude moduleName mismatch: Main != Prelude
-9.782s: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
-9.781s: getProcessOptions(undefined)
-9.78s: PATH = 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
-9.777s: running ghc-mod lang with options.cwd = undefined,options.env = [object Object],options.encoding = utf-8
-9.769s: getProcessOptions(undefined)
-9.769s: PATH = 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
-9.768s: running ghc-mod flag with options.cwd = undefined,options.env = [object Object],options.encoding = utf-8
-9.762s: running ghc-mod browse,-d,Main with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-9.752s: running ghc-mod browse,-d,Diagrams.Prelude with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-9.455s: ghc-mod ended with code 0
-9.444s: ghc-mod ended with code 0
-9.232s: ghc-mod said: EXCEPTION: browse:
-9.232s: ghc-mod said:            Could not find module `Main'
-9.231s: ghc-mod said:            Use -v to see a list of the files searched for.
-9.221s: ghc-mod ended with code 0
-9.221s: running ghc-mod browse,-d,Diagrams.Backend.Rasterific.CmdLine with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-9.214s: Main updated
-8.925s: ghc-mod ended with code 0
-8.925s: running ghc-mod browse,-d,Diagrams.TwoD.Layout.Grid with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-8.917s: Diagrams.Backend.Rasterific.CmdLine updated
-8.392s: ghc-mod ended with code 0
-8.392s: running ghc-mod browse,-d,Data.Colour.Names with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-8.386s: Diagrams.TwoD.Layout.Grid updated
-8.164s: ghc-mod ended with code 0
-8.164s: running ghc-mod browse,-d,Diagrams.Backend.Rasterific with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-8.157s: Data.Colour.Names updated
-7.968s: ghc-mod ended with code 0
-7.966s: running ghc-mod browse,-d,Control.Monad with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-7.953s: Diagrams.Prelude updated
-7.884s: ghc-mod ended with code 0
-7.883s: running ghc-mod browse,-d,Control.Monad.Random with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-7.877s: Diagrams.Backend.Rasterific updated
-7.696s: ghc-mod ended with code 0
-7.696s: running ghc-mod browse,-d,Data.Function with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-7.69s: Control.Monad updated
-7.62s: ghc-mod ended with code 0
-7.62s: running ghc-mod browse,-d,Prelude with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-7.614s: Control.Monad.Random updated
-7.473s: ghc-mod ended with code 0
-7.473s: Data.Function updated
-7.353s: ghc-mod ended with code 0
-7.351s: Prelude updated
-4.061s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-4.06s: PATH = 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
-4.016s: Diagrams.Prelude created
-4.016s: Diagrams.Prelude updating
-4.016s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-4.015s: PATH = 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
-4.015s: running ghc-mod browse,-d,Diagrams.Prelude with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-4.01s: Diagrams.Prelude moduleName mismatch: Main != Diagrams.Prelude
-4.009s: Diagrams.Backend.Rasterific.CmdLine created
-4.009s: Diagrams.Backend.Rasterific.CmdLine updating
-4.009s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-4.009s: PATH = 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
-4.009s: running ghc-mod browse,-d,Diagrams.Backend.Rasterific.CmdLine with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-3.995s: Diagrams.Backend.Rasterific.CmdLine moduleName mismatch: Main != Diagrams.Backend.Rasterific.CmdLine
-3.995s: Diagrams.TwoD.Layout.Grid created
-3.995s: Diagrams.TwoD.Layout.Grid updating
-3.995s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.995s: PATH = 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
-3.994s: Diagrams.TwoD.Layout.Grid moduleName mismatch: Main != Diagrams.TwoD.Layout.Grid
-3.994s: Data.Colour.Names created
-3.994s: Data.Colour.Names updating
-3.994s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.994s: PATH = 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
-3.993s: Data.Colour.Names moduleName mismatch: Main != Data.Colour.Names
-3.993s: Diagrams.Backend.Rasterific created
-3.993s: Diagrams.Backend.Rasterific updating
-3.993s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.993s: PATH = 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
-3.992s: Diagrams.Backend.Rasterific moduleName mismatch: Main != Diagrams.Backend.Rasterific
-3.992s: Control.Monad created
-3.992s: Control.Monad updating
-3.992s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.991s: PATH = 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
-3.99s: Control.Monad moduleName mismatch: Main != Control.Monad
-3.99s: Control.Monad.Random created
-3.989s: Control.Monad.Random updating
-3.989s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.988s: PATH = 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
-3.988s: Control.Monad.Random moduleName mismatch: Main != Control.Monad.Random
-3.988s: Data.Function created
-3.988s: Data.Function updating
-3.988s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.987s: PATH = 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
-3.987s: Data.Function moduleName mismatch: Main != Data.Function
-3.987s: Prelude created
-3.986s: Prelude updating
-3.986s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-3.986s: PATH = 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
-3.985s: Prelude moduleName mismatch: Main != Prelude
-3.749s: ghc-mod ended with code 0
-3.749s: running ghc-mod browse,-d,Diagrams.TwoD.Layout.Grid with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-3.742s: Diagrams.Backend.Rasterific.CmdLine updated
-3.494s: ghc-mod ended with code 0
-3.494s: running ghc-mod browse,-d,Data.Colour.Names with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-3.489s: Diagrams.TwoD.Layout.Grid updated
-3.27s: ghc-mod ended with code 0
-3.27s: running ghc-mod browse,-d,Diagrams.Backend.Rasterific with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-3.263s: Data.Colour.Names updated
-2.973s: ghc-mod ended with code 0
-2.973s: running ghc-mod browse,-d,Control.Monad with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-2.966s: Diagrams.Backend.Rasterific updated
-2.77s: ghc-mod ended with code 0
-2.77s: running ghc-mod browse,-d,Control.Monad.Random with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-2.763s: Control.Monad updated
-2.68s: ghc-mod ended with code 0
-2.679s: running ghc-mod browse,-d,Data.Function with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-2.666s: Diagrams.Prelude updated
-2.538s: ghc-mod ended with code 0
-2.537s: running ghc-mod browse,-d,Prelude with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-2.532s: Control.Monad.Random updated
-2.469s: ghc-mod ended with code 0
-2.468s: Data.Function updated
-2.282s: ghc-mod ended with code 0
-2.281s: Prelude updated
-0.107s: getProcessOptions(C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar)
-0.107s: PATH = 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.107s: Trying to run ghc-modi in C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar
-0.107s: Checking for ghc-modi in C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar
-0.107s: Spawning new ghc-modi instance for C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-0.107s: Spawning new ghc-modi instance for C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar with options.cwd = C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar,options.env = [object Object],options.encoding = utf-8
-0.098s: Started interactive action block in C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar
-0.097s: Running ghc-modi command map-file,C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs
-0.097s: Writing data to stdin...
-0.01s: Got response from ghc-modi:
OK

-0.01s: Running ghc-modi command info,C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs,,tree'
-0.01s: ghc-modi said: Usage:  map-file FILE
-0.009s: ghc-modi said:   tells ghc-modi to read `file.hs` source from stdin
-0.009s: ghc-modi said: Invalid argument `{-#'
-0.009s: ghc-modi said: 
-0.009s: ghc-modi said: Usage:  
-0.009s: Got response from ghc-modi:
OK
OK

-0.009s: Running ghc-modi command unmap-file,C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs
-0.008s: ghc-modi said: Invalid argument `module'
-0.008s: ghc-modi said: 
-0.008s: ghc-modi said: Usage:  
-0.002s: ghc-modi for C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar ended with 0
-0.002s: ghc-modi for C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar ended with 0
-0.001s: Running ghc-modi command unmap-file,C:\Users\Luka\OneDrive\Faks\Umjetna Inteligencija\Seminar\Diagrams.hs
-0.001s: ghc-modi crashed

ghc-modi crashed
    at module.exports.Util.mkError (file:///C:/Users/Luka/.atom/packages/haskell-ghc-mod/lib/util.coffee:97:15)
    at ChildProcess.exitCallback (file:///C:/Users/Luka/.atom/packages/haskell-ghc-mod/lib/ghc-mod/interactive-process.coffee:76:20)
    at emitTwo (events.js:92:20)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -0:08.1.0 core:backspace (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "altgr"
    ],
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ],
    "autoHideMenuBar": true
  },
  "haskell-ghc-mod": {}
}

Installed Packages

# User
atom-material-ui, v1.0.5
autocomplete-clang, v0.8.9
autocomplete-haskell, v0.6.2
cursor-history, v0.5.9
haskell-ghc-mod, v1.5.3
ide-haskell, v1.3.9
ide-haskell-cabal, v1.0.0
keyboard-localization, v1.4.13
language-haskell, v1.5.2
language-purescript, v0.6.1
linter, v1.11.3
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
sync-settings, v0.6.0

# Dev
No dev packages
@aarondl
Copy link

aarondl commented Jan 7, 2016

This same thing hit me today (also windows 10).

Steps to repro:
stack new project
Open project folder in atom. Open src/Lib.hs, these errors started popping up.

@lierdakil
Copy link
Contributor

So, technically speaking, this is a problem with ghc-mod that we fixed in 5.5.0.0 (not yet released). In particular, paths with spaces don't always work. That said, I could probably do something about it.

@lierdakil
Copy link
Contributor

1.5.4 should help somewhat.

@Softsapiens
Copy link

Hi,
I have the same problem with 1.5.4 on OSX with latest atom

@lierdakil
Copy link
Contributor

@Softsapiens, please post full error log. To do that, click that small clipboard icon right of 'report/view issue' button, then paste clipboard contents here. Thanks.

For reference:
atom-report

@Softsapiens
Copy link

ok... going for it

@Softsapiens
Copy link

[Enter steps to reproduce below:]

  1. git clone https://github.com/Softsapiens/servant-example.git
  2. atom ./servant-example

Atom Version: 1.3.2
System: Mac OS X 10.11.2
Thrown From: haskell-ghc-mod package, v1.5.4

Stack Trace

Haskell-ghc-mod: ghc-mod interactive command info failed with error ghc-modi crashed

At caps: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
URI: /Users/dani/Code/haskell/servant-example/example.hs
Args: ,list
message: 
log:
-0.062s: getProcessOptions(/Users/dani/Code/haskell/servant-example)
-0.062s: PATH = /usr/bin:/bin:/usr/sbin:/sbin
-0.061s: Trying to run ghc-modi in /Users/dani/Code/haskell/servant-example
-0.06s: Checking for ghc-modi in /Users/dani/Code/haskell/servant-example
-0.06s: Spawning new ghc-modi instance for /Users/dani/Code/haskell/servant-example with options.cwd = /Users/dani/Code/haskell/servant-example,options.env = [object Object],options.encoding = utf-8
-0.059s: Spawning new ghc-modi instance for /Users/dani/Code/haskell/servant-example with options.cwd = /Users/dani/Code/haskell/servant-example,options.env = [object Object],options.encoding = utf-8
-0.046s: Started interactive action block in /Users/dani/Code/haskell/servant-example
-0.046s: Running ghc-modi command info,example.hs,,list
-0.004s: ghc-modi said: ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
-0.002s: ghc-modi for /Users/dani/Code/haskell/servant-example ended with 1
-0.001s: ghc-modi for /Users/dani/Code/haskell/servant-example ended with 1
-0.001s: Running ghc-modi command unmap-file,example.hs
0s: ghc-modi crashed

ghc-modi crashed
    at module.exports.Util.mkError (/Users/dani/.atom/packages/haskell-ghc-mod/lib/util.coffee:97:15)
    at ChildProcess.exitCallback (/Users/dani/.atom/packages/haskell-ghc-mod/lib/ghc-mod/interactive-process.coffee:76:20)
    at emitTwo (events.js:92:20)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "cabal",
      "cabal",
      "cabal",
      "cabal",
      "cabal",
      "cabal",
      "cabal",
      "cabal",
      "vim-mode",
      "term2"
    ],
    "themes": [
      "one-light-ui",
      "one-light-syntax"
    ]
  },
  "haskell-ghc-mod": {
    "ghcModPath": "/Users/dani/.cabal/bin/ghc-mod",
    "ghcModiPath": "/Users/dani/.cabal/bin/ghc-modi",
    "debug": true
  }
}

Installed Packages

# User
Ensime, v0.31.1
aligner-php, v1.0.0
atom-dart, v0.7.2
autocomplete-haskell, v0.6.2
autocomplete-php, v0.3.7
emmet, v2.3.17
file-icons, v1.6.13
flex-tool-bar, v0.7.3
git-log, v0.4.1
haskell-ghc-mod, v1.5.4
haskell-pointfree, v0.1.3
hyperclick, v0.0.35
ide-haskell, v1.3.9
jshint, v1.8.3
language-elm, v1.3.1
language-haskell, v1.5.2
language-idris, v0.4.0
language-purescript, v0.6.1
language-scala, v1.1.4
language-swift, v0.4.0
linter, v1.11.3
minimap, v4.19.0
project-manager, v2.7.1
tool-bar, v0.1.10
tool-bar-main, v0.0.8
tree-view-finder, v0.2.1

# Dev
No dev packages

@lierdakil
Copy link
Contributor

@Softsapiens, this is a different issue. Please read https://github.com/atom-haskell/haskell-ghc-mod#configuration, especially the last paragraph.

@Softsapiens
Copy link

yes, I see your point. During the tests I started atom in different ways... usually I open it from terminal, but this last time I made it from the dock.

Now I set the additionalPathDirectories...

Ok, It's not working... but now the package don't crush.

With ghc-modi disabled, I see this log in the console:

haskell-ghc-mod debug: getProcessOptions(/Users/dani/Code/haskell/servant-example)
haskell-ghc-mod debug: PATH = /Users/dani/.cabal/bin:/Users/dani/.local/bin:/Users/dani/.cabal/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools
haskell-ghc-mod debug: Trying to run ghc-modi in /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Failed. Falling back to ghc-mod
haskell-ghc-mod debug: running ghc-mod info,/Users/dani/Code/haskell/servant-example/example.hs,,main with options.cwd = /Users/dani/Code/haskell/servant-example,options.env = [object Object],options.encoding = utf-8
haskell-ghc-mod warning: ghc-mod said: EXCEPTION: info:
haskell-ghc-mod warning: ghc-mod said: : cannot satisfy -package-id base-4.8.0.0-9015e10d2b2b0f71f570c3f2bbe09c8a
haskell-ghc-mod warning: ghc-mod said: (use -v for more information)
haskell-ghc-mod debug: ghc-mod ended with code 0
haskell-ghc-mod debug: getProcessOptions(/Users/dani/Code/haskell/servant-example)
haskell-ghc-mod debug: PATH = /Users/dani/.cabal/bin:/Users/dani/.local/bin:/Users/dani/.cabal/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools
haskell-ghc-mod debug: Trying to run ghc-modi in /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Failed. Falling back to ghc-mod
haskell-ghc-mod debug: running ghc-mod type,/Users/dani/Code/haskell/servant-example/example.hs,,51,3 with options.cwd = /Users/dani/Code/haskell/servant-example,options.env = [object Object],options.encoding = utf-8
haskell-ghc-mod warning: ghc-mod said: EXCEPTION: types:
haskell-ghc-mod warning: ghc-mod said: : cannot satisfy -package-id base-4.8.0.0-9015e10d2b2b0f71f570c3f2bbe09c8a
haskell-ghc-mod warning: ghc-mod said: (use -v for more information)
haskell-ghc-mod debug: ghc-mod ended with code 0
Error: No type(…)

And with ghc-modi enabled, the log is:

haskell-ghc-mod debug: getProcessOptions(/Users/dani/Code/haskell/servant-example)
haskell-ghc-mod debug: PATH = /Users/dani/.cabal/bin:/Users/dani/.local/bin:/Users/dani/.cabal/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools
haskell-ghc-mod debug: Trying to run ghc-modi in /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Checking for ghc-modi in /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Found running ghc-modi instance for /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Started interactive action block in /Users/dani/Code/haskell/servant-example
haskell-ghc-mod debug: Running ghc-modi command info example.hs ServerT
haskell-ghc-mod warning: ghc-modi said: EXCEPTION: info:
haskell-ghc-mod warning: ghc-modi said: : cannot satisfy -package-id base-4.8.0.0-9015e10d2b2b0f71f570c3f2bbe09c8a
haskell-ghc-mod warning: ghc-modi said: (use -v for more information)
haskell-ghc-mod debug: Got response from ghc-modi:
Cannot show info
OK

@lierdakil
Copy link
Contributor

Basically what you need to take from this is:

cannot satisfy -package-id base-4.8.0.0-9015e10d2b2b0f71f570c3f2bbe09c8a

This usually indicates a problem with ghc packages, a misconfigured cabal project, or traces of builds with other GHC versions... somewhere

Things to try:

  1. cabal configure your project
  2. cabal clean and then cabal configure your project
  3. Run ghc-pkg check and fix things it complains about (haddock warnings can be safely ignored)

@Softsapiens
Copy link

I'm using stack.

Globally I've installed ghc 7.10.3, but this project uses locally ghc 7.10.2... slack manages it

@lierdakil
Copy link
Contributor

Oh. Okay. Then forget everything I said, I have no idea how stack works. That said, try running Atom with stack exec atom in your project directory. You might want to clean additionalPathDirectories first, since stack should set environment up by itself, and that might lead to unexpected conflicts.

@LukaHorvat
Copy link
Author

I'd just like to note that I've upgraded to ghc-mod-5.5.0.0 and have had no issues so far, i.e. this no longer happens to me.

@lierdakil
Copy link
Contributor

@LukaHorvat thanks for confirming.

@Softsapiens
Copy link

It's not working, but now the problem seems to be related with:

#44

@lierdakil
Copy link
Contributor

@Softsapiens, frankly I can't help much with stack. All I know it sometimes works. And other times, it doesn't. I see no pattern and I don't use it personally, at least not at the moment. Primary problem with stack seems to be basically this: DanielG/ghc-mod#615. Also environment, but that's mostly solved by stack exec.

@Softsapiens
Copy link

Totally agree. I think, that's a big problem... because stack is extremely powerful and useful.

I wish it gets working.

Thanks a lot for your help and time!

@Softsapiens
Copy link

I get it working now... installing a local ghc-mod via stack in the project, and starting atom through stack exec... no additionalPathDirectories used, stack manages all the paths, as you commented before.

thanks again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants