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

Failed to compile ModuleInspector #182

Closed
wonbyte opened this Issue Nov 9, 2014 · 39 comments

Comments

Projects
None yet
@wonbyte

wonbyte commented Nov 9, 2014

SublimeHaskell: Failed to compile ModuleInspector

C:\Users\Greg\AppData\Roaming\Sublime Text 3\Packages\SublimeHaskell\ModuleInspector.hs:25:18:

Ambiguous module name `Documentation.Haddock':

  it was found in multiple packages:

  haddock-api-2.15.0 haddock-2.14.3

Using x64 windows 7.

@ulidtko

This comment has been minimized.

Show comment
Hide comment
@ulidtko

ulidtko Nov 21, 2014

Carefully read Requirements section of the README:

If you are using GHC 7.6, you might have trouble with too new versions of haddock; in that case, try cabal install haddock --constraint=haddock==2.13.2.1

ulidtko commented Nov 21, 2014

Carefully read Requirements section of the README:

If you are using GHC 7.6, you might have trouble with too new versions of haddock; in that case, try cabal install haddock --constraint=haddock==2.13.2.1

@MoreAxes

This comment has been minimized.

Show comment
Hide comment
@MoreAxes

MoreAxes Dec 4, 2014

I am using GHC 7.8.3 and ModuleInspector also fails to compile for me, though the error is different:

C:\Apps\SublimeText3\Data\Packages\SublimeHaskell\ModuleInspector.hs:141:12:
    Not in scope: data constructor `H.PNeg'
    Perhaps you meant `H.PRec' (imported from Language.Haskell.Exts)

MoreAxes commented Dec 4, 2014

I am using GHC 7.8.3 and ModuleInspector also fails to compile for me, though the error is different:

C:\Apps\SublimeText3\Data\Packages\SublimeHaskell\ModuleInspector.hs:141:12:
    Not in scope: data constructor `H.PNeg'
    Perhaps you meant `H.PRec' (imported from Language.Haskell.Exts)
@ulidtko

This comment has been minimized.

Show comment
Hide comment
@ulidtko

ulidtko Dec 5, 2014

@MoreAxes SublimeHaskell is too slow to accomodate removal of PNeg from latest haskell-src-exts. You can fix this, or just downgrade haskell-src-exts.

ulidtko commented Dec 5, 2014

@MoreAxes SublimeHaskell is too slow to accomodate removal of PNeg from latest haskell-src-exts. You can fix this, or just downgrade haskell-src-exts.

@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Dec 5, 2014

Member

@MoreAxes, I would be grateful to you for testing hsdev branch of SublimeHaskell. It has many advantages, scans sources faster, has additional commands and there are no ModuleInspector (it's integrated with hsdev package)

Member

mvoidex commented Dec 5, 2014

@MoreAxes, I would be grateful to you for testing hsdev branch of SublimeHaskell. It has many advantages, scans sources faster, has additional commands and there are no ModuleInspector (it's integrated with hsdev package)

@tfausak

This comment has been minimized.

Show comment
Hide comment
@tfausak

tfausak Dec 9, 2014

downgrade haskell-src-exts

For future reference, version 1.15.0.1 is the latest with PNeg.

http://hackage.haskell.org/package/haskell-src-exts-1.15.0.1/docs/Language-Haskell-Exts-Syntax.html#v:PNeg

tfausak commented Dec 9, 2014

downgrade haskell-src-exts

For future reference, version 1.15.0.1 is the latest with PNeg.

http://hackage.haskell.org/package/haskell-src-exts-1.15.0.1/docs/Language-Haskell-Exts-Syntax.html#v:PNeg

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 10, 2014

Well, I'm facing this issue with PNeg too. How can I test hsdev branch? I have two environments: OS X Yosemite and Debian 7, both using Stackages snapshots, so I believe I should somehow install plugin from git, right?

geraldus commented Dec 10, 2014

Well, I'm facing this issue with PNeg too. How can I test hsdev branch? I have two environments: OS X Yosemite and Debian 7, both using Stackages snapshots, so I believe I should somehow install plugin from git, right?

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 10, 2014

OK, I've cloned git repository to my local machine, checked out hsdev branch and copied all contents to ~/.config/sublime-text-3/Packages/SublimeHaskell (removed original files before that) on Debian 7. Looks like it works, now I should reproduse these steps on OS X and test it.

geraldus commented Dec 10, 2014

OK, I've cloned git repository to my local machine, checked out hsdev branch and copied all contents to ~/.config/sublime-text-3/Packages/SublimeHaskell (removed original files before that) on Debian 7. Looks like it works, now I should reproduse these steps on OS X and test it.

@MoreAxes

This comment has been minimized.

Show comment
Hide comment
@MoreAxes

MoreAxes Dec 10, 2014

There's an easier way. Package Control has an "Add Repository" option. Use it to add https://github.com/SublimeHaskell/SublimeHaskell/tree/hsdev, then install SublimeHaskell with Package Control normally (it probably should not be installed before you do this, so remove it first). Package Control will look in user defined repositories first, so it'll install the hsdev branch. This worked for me perfectly (issue with PNeg is gone), though I'm still trying to figure out how to get SublimeHaskell: Build and Rebuild to work (they seem to be no-ops for me).

MoreAxes commented Dec 10, 2014

There's an easier way. Package Control has an "Add Repository" option. Use it to add https://github.com/SublimeHaskell/SublimeHaskell/tree/hsdev, then install SublimeHaskell with Package Control normally (it probably should not be installed before you do this, so remove it first). Package Control will look in user defined repositories first, so it'll install the hsdev branch. This worked for me perfectly (issue with PNeg is gone), though I'm still trying to figure out how to get SublimeHaskell: Build and Rebuild to work (they seem to be no-ops for me).

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 10, 2014

Thanks, I just have tested this approach, I can now infer types, I have module completion when typing import, I have error and warning messages! Awesome.
P.S. I made quick tests on Debian with simple Hello World app right now, but I do believe this will work on OS X too with a real project.

geraldus commented Dec 10, 2014

Thanks, I just have tested this approach, I can now infer types, I have module completion when typing import, I have error and warning messages! Awesome.
P.S. I made quick tests on Debian with simple Hello World app right now, but I do believe this will work on OS X too with a real project.

@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Dec 10, 2014

Member

@MoreAxes, try to set "log": 5 option and run SublimeHaskell: Configure & SublimeHaskell: Build. If you have .cabal, there will be such lines in log:

Sublime Haskell: running build commands: [['cabal', 'configure', '--enable-tests']]
Sublime Haskell: running build commands: [['cabal', 'build'], ['cabal', 'build', '-v0', '--ghc-options=-fforce-recomp -Wall -fno-code']]
Member

mvoidex commented Dec 10, 2014

@MoreAxes, try to set "log": 5 option and run SublimeHaskell: Configure & SublimeHaskell: Build. If you have .cabal, there will be such lines in log:

Sublime Haskell: running build commands: [['cabal', 'configure', '--enable-tests']]
Sublime Haskell: running build commands: [['cabal', 'build'], ['cabal', 'build', '-v0', '--ghc-options=-fforce-recomp -Wall -fno-code']]
@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 10, 2014

Unfortunately, at least module completion and type inference does not work for me on OS X. Maybe this is somehow related to visible paths for SublimeHaskell or SublimeLinter? I'll open new issue about hsdev.

geraldus commented Dec 10, 2014

Unfortunately, at least module completion and type inference does not work for me on OS X. Maybe this is somehow related to visible paths for SublimeHaskell or SublimeLinter? I'll open new issue about hsdev.

@markogresak

This comment has been minimized.

Show comment
Hide comment
@markogresak

markogresak Dec 10, 2014

I've tried everything said in this issue, but nothing fixes my error, yielding same message as OP, only on OS X Yosemite.

When I run cabal install haddock --constraint=haddock==2.13.2.1, I get:

$ cabal install haddock --constraint=haddock==2.13.2.1
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: haddock (user goal)
rejecting: haddock-2.15.0, 2.14.3/installed-bde..., 2.14.3, 2.14.2, 2.14.1
(global constraint requires ==2.13.2.1)
trying: haddock-2.13.2.1
next goal: base (dependency of haddock-2.13.2.1)
rejecting: base-4.7.0.1/installed-df2... (conflict: haddock => base>=4.3 &&
<4.7)
rejecting: base-4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0,
4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0,
3.0.3.2, 3.0.3.1 (global constraint requires installed instance)
Dependency tree exhaustively searched.

I've tried with unregistering haddock and re-installing using mentioned command, I still get the same message.

My haskell-src and haskell-src-exts versions:

haskell-src-1.0.1.6
haskell-src-exts-1.15.0.1
haskell-src-exts-1.16.0.1

I've ran out of ideas of what to try. I think I got this to work, but after running brew upgrade, it broke again.

markogresak commented Dec 10, 2014

I've tried everything said in this issue, but nothing fixes my error, yielding same message as OP, only on OS X Yosemite.

When I run cabal install haddock --constraint=haddock==2.13.2.1, I get:

$ cabal install haddock --constraint=haddock==2.13.2.1
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: haddock (user goal)
rejecting: haddock-2.15.0, 2.14.3/installed-bde..., 2.14.3, 2.14.2, 2.14.1
(global constraint requires ==2.13.2.1)
trying: haddock-2.13.2.1
next goal: base (dependency of haddock-2.13.2.1)
rejecting: base-4.7.0.1/installed-df2... (conflict: haddock => base>=4.3 &&
<4.7)
rejecting: base-4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0,
4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0,
3.0.3.2, 3.0.3.1 (global constraint requires installed instance)
Dependency tree exhaustively searched.

I've tried with unregistering haddock and re-installing using mentioned command, I still get the same message.

My haskell-src and haskell-src-exts versions:

haskell-src-1.0.1.6
haskell-src-exts-1.15.0.1
haskell-src-exts-1.16.0.1

I've ran out of ideas of what to try. I think I got this to work, but after running brew upgrade, it broke again.

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 10, 2014

@markogresak, one thing I could suggest you is to use Stackage (I've just switched to Stackage snapshot yesterday, but this make my development workflow easier!).

geraldus commented Dec 10, 2014

@markogresak, one thing I could suggest you is to use Stackage (I've just switched to Stackage snapshot yesterday, but this make my development workflow easier!).

@MoreAxes

This comment has been minimized.

Show comment
Hide comment
@MoreAxes

MoreAxes Dec 10, 2014

@mvoidex Oh, I didn't realize those features require a .cabal file, though it does make sense that they would. I imagine it would be useful to notify the user when they try to build without a .cabal file. Should this be in a separate issue?

MoreAxes commented Dec 10, 2014

@mvoidex Oh, I didn't realize those features require a .cabal file, though it does make sense that they would. I imagine it would be useful to notify the user when they try to build without a .cabal file. Should this be in a separate issue?

@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Dec 10, 2014

Member

@MoreAxes, I think there's no need in separate issue. I'll fix it today

Member

mvoidex commented Dec 10, 2014

@MoreAxes, I think there's no need in separate issue. I'll fix it today

mvoidex added a commit that referenced this issue Dec 10, 2014

Added message for if no cabal projects found, #182
Also updated status messages function to prioritize status messages over process messages to make sure
any warn status message will be shown even there are some status process running
@markogresak

This comment has been minimized.

Show comment
Hide comment
@markogresak

markogresak Dec 11, 2014

@geraldus Thanks for the tip, but that didn't solve it for me. I've replaced hackage with stackage and removed all old deps in process and reinstalled them and now I can't "enforce" earlier haskell-src-exts-1.15.0.1 version, so I get Not in scope: data constructor ‘H.PNeg’ error. Any tips on what to do? I've cleaned and reinstalled all packages 3 times, nothing that I thought of worked.

markogresak commented Dec 11, 2014

@geraldus Thanks for the tip, but that didn't solve it for me. I've replaced hackage with stackage and removed all old deps in process and reinstalled them and now I can't "enforce" earlier haskell-src-exts-1.15.0.1 version, so I get Not in scope: data constructor ‘H.PNeg’ error. Any tips on what to do? I've cleaned and reinstalled all packages 3 times, nothing that I thought of worked.

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 11, 2014

@markogresak, yes, just few messages ago in this thread there is explanation about PNeg.
Now you have to install package from hsdev branch (see above).

6:39 до полудня, чт, 11.12.2014, Marko Grešak notifications@github.com:

geraldus commented Dec 11, 2014

@markogresak, yes, just few messages ago in this thread there is explanation about PNeg.
Now you have to install package from hsdev branch (see above).

6:39 до полудня, чт, 11.12.2014, Marko Grešak notifications@github.com:

@markogresak

This comment has been minimized.

Show comment
Hide comment
@markogresak

markogresak Dec 11, 2014

@geraldus Thanks, that did the trick. I don't know how I have missed that.

markogresak commented Dec 11, 2014

@geraldus Thanks, that did the trick. I don't know how I have missed that.

@geraldus

This comment has been minimized.

Show comment
Hide comment
@geraldus

geraldus Dec 11, 2014

Great!

Thu Dec 11 2014 at 19:18:00, Marko Grešak notifications@github.com:

@geraldus https://github.com/geraldus Thanks, that did the trick. I
don't know how I have missed that.


Reply to this email directly or view it on GitHub
#182 (comment)
.

geraldus commented Dec 11, 2014

Great!

Thu Dec 11 2014 at 19:18:00, Marko Grešak notifications@github.com:

@geraldus https://github.com/geraldus Thanks, that did the trick. I
don't know how I have missed that.


Reply to this email directly or view it on GitHub
#182 (comment)
.

@ErikSchierboom

This comment has been minimized.

Show comment
Hide comment
@ErikSchierboom

ErikSchierboom Dec 16, 2014

I can also confirm that using the hsdev branch fixed the issue!

ErikSchierboom commented Dec 16, 2014

I can also confirm that using the hsdev branch fixed the issue!

@kindlychung

This comment has been minimized.

Show comment
Hide comment
@kindlychung

kindlychung Jan 10, 2015

I am using ghc 7.8.3 and I got this error, too:

/Library/Application Support/Sublime Text 2/Packages/SublimeHaskell/ModuleInspector.hs:25:18:
Ambiguous module name ‘Documentation.Haddock’:
it was found in multiple packages:
haddock-api-2.15.0.2 haddock-2.14.3

kindlychung commented Jan 10, 2015

I am using ghc 7.8.3 and I got this error, too:

/Library/Application Support/Sublime Text 2/Packages/SublimeHaskell/ModuleInspector.hs:25:18:
Ambiguous module name ‘Documentation.Haddock’:
it was found in multiple packages:
haddock-api-2.15.0.2 haddock-2.14.3
@biglambda

This comment has been minimized.

Show comment
Hide comment
@biglambda

biglambda Jan 27, 2015

Same here haven't figured it out yet.

biglambda commented Jan 27, 2015

Same here haven't figured it out yet.

@markogresak

This comment has been minimized.

Show comment
Hide comment
@markogresak

markogresak Jan 27, 2015

@kindlychung, @ibloom have you tried hsdev branch, like @geraldus suggested?
You have to:

  • remove SublimeHaskell (if you've installed it via package control)
  • in terminal, go to package folder (Preferences -> Browse Packages... to find the path)
  • clone SublimeHaskell repository, cd into it and checkout hsdev branch

markogresak commented Jan 27, 2015

@kindlychung, @ibloom have you tried hsdev branch, like @geraldus suggested?
You have to:

  • remove SublimeHaskell (if you've installed it via package control)
  • in terminal, go to package folder (Preferences -> Browse Packages... to find the path)
  • clone SublimeHaskell repository, cd into it and checkout hsdev branch
@AndrewBrinker

This comment has been minimized.

Show comment
Hide comment
@AndrewBrinker

AndrewBrinker Feb 3, 2015

This information should maybe be added to the README. Switching to the hsdev branch totally solves the issue, and finding that out immediately would likely be helpful to other people.

AndrewBrinker commented Feb 3, 2015

This information should maybe be added to the README. Switching to the hsdev branch totally solves the issue, and finding that out immediately would likely be helpful to other people.

@mantkiew

This comment has been minimized.

Show comment
Hide comment
@mantkiew

mantkiew Feb 18, 2015

I am trying this branch today but my Sublime freezes completely "Not responding". I can see; however, that in Task Manager it's CPU and memory usage values are changing. I have the following settings:

hsdev: true
hdevtools: false
ghc-mod: true

I uninstalled SublimeHaskell, added the hsdev branch using "Add Repository" and installed again.

mantkiew commented Feb 18, 2015

I am trying this branch today but my Sublime freezes completely "Not responding". I can see; however, that in Task Manager it's CPU and memory usage values are changing. I have the following settings:

hsdev: true
hdevtools: false
ghc-mod: true

I uninstalled SublimeHaskell, added the hsdev branch using "Add Repository" and installed again.

@kindlychung

This comment has been minimized.

Show comment
Hide comment
@kindlychung

kindlychung Mar 10, 2015

I have got the same problem as @mantkiew , I am on OS X Yosemite. Sublime version 2.

kindlychung commented Mar 10, 2015

I have got the same problem as @mantkiew , I am on OS X Yosemite. Sublime version 2.

@keathley

This comment has been minimized.

Show comment
Hide comment
@keathley

keathley Mar 14, 2015

As others have said, I was able to get this working by manually cloning the repo into my sublime packages and checking out the hsdev branch.

Is there a better fix for this or should this information be added to the README?

keathley commented Mar 14, 2015

As others have said, I was able to get this working by manually cloning the repo into my sublime packages and checking out the hsdev branch.

Is there a better fix for this or should this information be added to the README?

@kbpal

This comment has been minimized.

Show comment
Hide comment
@kbpal

kbpal Mar 14, 2015

Regarding the original 'haddock' issue: I've shown how this can be resolved at : 7:52 in :
http://goo.gl/Xc9Htb
Also addressed are most of the other errors reported in this and other threads.

That being said, its worth switching to the hsdev branch, just for the superior syntax highlighting.

kbpal commented Mar 14, 2015

Regarding the original 'haddock' issue: I've shown how this can be resolved at : 7:52 in :
http://goo.gl/Xc9Htb
Also addressed are most of the other errors reported in this and other threads.

That being said, its worth switching to the hsdev branch, just for the superior syntax highlighting.

@keathley

This comment has been minimized.

Show comment
Hide comment
@keathley

keathley Mar 15, 2015

Depending on when #132 is going to be merged into master it may or may not make sense to add the hsdev "fix" to the README. I'm not sure how much work needs to be done to finish that PR.

keathley commented Mar 15, 2015

Depending on when #132 is going to be merged into master it may or may not make sense to add the hsdev "fix" to the README. I'm not sure how much work needs to be done to finish that PR.

@mantkiew

This comment has been minimized.

Show comment
Hide comment
@mantkiew

mantkiew Mar 17, 2015

The video linked to by @kbpal shows how absolutely miserable the user's life is. That is why I worked out the specific versions and creted the pull request #214. At least on Windows, it gets you started quickly.

mantkiew commented Mar 17, 2015

The video linked to by @kbpal shows how absolutely miserable the user's life is. That is why I worked out the specific versions and creted the pull request #214. At least on Windows, it gets you started quickly.

@mooreniemi

This comment has been minimized.

Show comment
Hide comment
@mooreniemi

mooreniemi Apr 18, 2015

for future users to copy pasta:
git clone https://github.com/SublimeHaskell/SublimeHaskell.git into the /Packages dir
git checkout hsdev
and my woes were over

mooreniemi commented Apr 18, 2015

for future users to copy pasta:
git clone https://github.com/SublimeHaskell/SublimeHaskell.git into the /Packages dir
git checkout hsdev
and my woes were over

@alfonsoperez

This comment has been minimized.

Show comment
Hide comment
@alfonsoperez

alfonsoperez Oct 16, 2015

Thanks so much guys!!

alfonsoperez commented Oct 16, 2015

Thanks so much guys!!

@ulidtko

This comment has been minimized.

Show comment
Hide comment
@ulidtko

ulidtko Oct 21, 2015

@mooreniemi FWIW, git can do even better:

git clone --branch hsdev https://github.com/SublimeHaskell/SublimeHaskell.git

ulidtko commented Oct 21, 2015

@mooreniemi FWIW, git can do even better:

git clone --branch hsdev https://github.com/SublimeHaskell/SublimeHaskell.git
@dogweather

This comment has been minimized.

Show comment
Hide comment
@dogweather

dogweather commented Nov 5, 2015

👍 Thanks @ulidtko

@Jipperism

This comment has been minimized.

Show comment
Hide comment
@Jipperism

Jipperism Jan 15, 2016

After a number of tries I'm using the latest version of the haskell platform, and the branch specified here with ST3. It seems to work, however, I'm getting the following error message. Does this appear in other people's ST3 console as well or do I need to look into it more? I'm a bit at a loss as to how to fix this since all threads seem to point here so please tell me if this is the wrong place to ask.

 Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1022, in load_module
  File "<frozen importlib._bootstrap>", line 1003, in load_module
  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 868, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/jip/.config/sublime-text-3/Packages/SublimeHaskell/repl.py", line 17, in <module>
    import SublimeREPL.sublimerepl as sublimerepl
ImportError: No module named 'SublimeREPL'
reloading plugin SublimeHaskell.stylishhaskell
reloading plugin SublimeHaskell.sublime_haskell_common
reloading plugin SublimeHaskell.symbols
reloading plugin SublimeHaskell.util
reloading plugin Terminal.Terminal
reloading plugin User.toggle_vintageous
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2016-01-15 21:40:00, next run at 2016-01-15 22:40:00 or after
Sublime Haskell: drop prepared completions

Jipperism commented Jan 15, 2016

After a number of tries I'm using the latest version of the haskell platform, and the branch specified here with ST3. It seems to work, however, I'm getting the following error message. Does this appear in other people's ST3 console as well or do I need to look into it more? I'm a bit at a loss as to how to fix this since all threads seem to point here so please tell me if this is the wrong place to ask.

 Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1022, in load_module
  File "<frozen importlib._bootstrap>", line 1003, in load_module
  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 868, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/jip/.config/sublime-text-3/Packages/SublimeHaskell/repl.py", line 17, in <module>
    import SublimeREPL.sublimerepl as sublimerepl
ImportError: No module named 'SublimeREPL'
reloading plugin SublimeHaskell.stylishhaskell
reloading plugin SublimeHaskell.sublime_haskell_common
reloading plugin SublimeHaskell.symbols
reloading plugin SublimeHaskell.util
reloading plugin Terminal.Terminal
reloading plugin User.toggle_vintageous
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2016-01-15 21:40:00, next run at 2016-01-15 22:40:00 or after
Sublime Haskell: drop prepared completions
@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Jan 20, 2016

Member

@Jipperism, are you using hsdev branch? Do you have SublimeREPL plugin installed?

Member

mvoidex commented Jan 20, 2016

@Jipperism, are you using hsdev branch? Do you have SublimeREPL plugin installed?

@Jipperism

This comment has been minimized.

Show comment
Hide comment
@Jipperism

Jipperism Jan 22, 2016

Yes i am using hsdev branch, I followed the instructions for installing it through the sublime package manager by adding the repository. I figured out I did not have SublimeREPL installed indeed, and installing it fixed the error messages at startup so my question is probably not in the right place anymore since I do not get the 'Failed to compile moduleinspector' error anymore. None of the features is working tho, it seems to crash on trying to autocomplete and i cannot insert or view types. Should I start my own thread?

Jipperism commented Jan 22, 2016

Yes i am using hsdev branch, I followed the instructions for installing it through the sublime package manager by adding the repository. I figured out I did not have SublimeREPL installed indeed, and installing it fixed the error messages at startup so my question is probably not in the right place anymore since I do not get the 'Failed to compile moduleinspector' error anymore. None of the features is working tho, it seems to crash on trying to autocomplete and i cannot insert or view types. Should I start my own thread?

@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Jan 22, 2016

Member

Yes, create new issue

Member

mvoidex commented Jan 22, 2016

Yes, create new issue

@mvoidex

This comment has been minimized.

Show comment
Hide comment
@mvoidex

mvoidex Jan 23, 2016

Member

Also, there was a bug mvoidex/hsdev#22 which causes hsdev crash on linux. It must be fixed in 0.1.5.3

Member

mvoidex commented Jan 23, 2016

Also, there was a bug mvoidex/hsdev#22 which causes hsdev crash on linux. It must be fixed in 0.1.5.3

@mvoidex mvoidex closed this Feb 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment