Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"hie initializing" #40

Open
aryairani opened this issue May 23, 2019 · 2 comments
Open

"hie initializing" #40

aryairani opened this issue May 23, 2019 · 2 comments

Comments

@aryairani
Copy link

aryairani commented May 23, 2019

I'm using plugin version 0.10.1 with Atom 1.37.0 on Mac. hie Version 0.9.0.0, Git revision 7b8c9fb7cdb0c03f11af9754e0e4adb9aa8f4e0e (dirty) (2745 commits) x86_64 ghc-8.4.3

I just have the blue spinner, "hie initializing for <myproject>".

Unlike #34, I don't see any messages in the Atom Console.
I have "Turn on debugging output" on, but nothing is created in /tmp/hie.log.
hie and hie-wrapper seem to start fine for me in a terminal window.

Any suggestions?

@aryairani
Copy link
Author

In the Atom Developer Tools Console, I have:

/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:12 Haskell (hie) Array(1)0: Array(2)0: "rpc.onError"1: (3) [Error: write EPIPE
    at _errnoException (util.js:1024:11)
    at WriteWrap.afterWrite (net.js:867:…, undefined, undefined]length: 2__proto__: Array(0)length: 1__proto__: Array(0)
error @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:12
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr Invalid argument `'
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr Usage: hie-wrapper [--version] [--help] [--numeric-version] [--compiler]
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr                    [-d|--debug] [-l|--logfile LOGFILE] [--lsp] [--json]
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr                    [-r|--project-root PROJECTROOT] [--vomit]
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr                    [-c|--capture CAPTUREFILE] [--example]
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) rpc.onClose The RPC connection closed unexpectedly
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9

@aryairani
Copy link
Author

If I switch off hie-wrapper, I get:

<embedded>:11 No deserializer found for Object__proto__: Object
deserialize @ <embedded>:11
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr [1 of 4] Compiling CabalHelper.Shared.Common ( /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/Common.hs, /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/Common.o )
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr [2 of 4] Compiling CabalHelper.Shared.InterfaceTypes ( /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/InterfaceTypes.hs, /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/InterfaceTypes.o )
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr [3 of 4] Compiling CabalHelper.Shared.Sandbox ( /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/Sandbox.hs, /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Shared/Sandbox.o )
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr [4 of 4] Compiling Main             ( /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/CabalHelper/Runtime/Main.hs, /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1.build/Main.o )
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr Linking /Users/arya/.cache/cabal-helper/cabal-helper0.9.0.0-Cabal2.2.0.1 ...
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr hie: 
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr lookupSymbol failed in relocateSection (RELOC_GOT)
warn @ /Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9
/Users/arya/.atom/packages/ide-haskell-hie/node_modules/atom-languageclient/build/lib/logger.js:9 Haskell (hie) stderr /Users/arya/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.3/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o: unknown symbol `___gmp_rands'

But then I followed https://github.com/haskell/haskell-ide-engine#macos-got-error-while-processing-diagnostics-unable-to-load-package-integer-gmp-1020 and it seems to be working for now.

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

No branches or pull requests

1 participant