Tuesday, July 22, 2014

EclipseFP 2.6.1 released!

I've just released EclipseFP 2.6.1. EclipseFP is a set of Eclipse plugins for Haskell development. This is a bug fixing release, mainly for GHC 7.8 support.

Release notes can be found here.

As usual, download from http://eclipsefp.sf.net/updates.

Happy Haskell Hacking!

17 comments:

Wiria said...

Just updated my EclipseFP and noticed that everytime I F4 on a keyword and try to open browser from Hoogle's result, it will crash. Do you experience this too?

Unknown said...

No, it works correctly for me. I only noticed a slight delay (first F4 was few secs), but results show and double-clicking opens a browser window in editors (also few secs delay) correctly.

Unknown said...

Forgot to mention I'm on Ubuntu 12.04.

Wiria said...

Then I suspect there must be something wrong with my JVM.
I'm on Ubuntu 14.04.

Thanks anyway Vlatko

Unknown said...

Hi!
Impossible to download :
http://eclipsefp.sf.net/updates
gives
http://eclipse.sourceforge.net/updates
which gives
a 404 error... with
1. Server: eclipse.sourceforge.net
2. URL path: /updates
3. Error notes: NONE
4. Error type: 404
5. Request method: GET
6. Request query string: NONE
7. Time: 2014-10-10 09:46:11 UTC (1412934371)
What can I do?

JP Moresmau said...

Use Eclipse? you don't download via browser, you just configure an update site pointing to http://eclipsefp.sourceforge.net/updates/

JP Moresmau said...

But Jean-Pierre you were right the message on the HTML page pointed to the wrong address, fixed.

Unknown said...

Yes, now it's fixed but after that I was unable to install all the packages downloaded by EclipseFP. I had lots of errors with notably "setup-Cabal-1.18.1.3-x86_64-windows-ghc-7.8.3.exe: does not exist".
I had to uninstall Haskell 64 bits and install Haskell 32 bits and there, everything was correctly settled.
I think there is a bug in Cabal because in fact setup-Cabal-1.18.1.3-x86_64-windows-ghc-7.8.3.exe existed !

But now I would need a guide for EclipseFP and an example of project... Do you know something which can help?

JP Moresmau said...

Well EclipseFP contains cheatsheets for the initial steps (creating a project, running it, etc). Also the book Begining Haskell (http://www.apress.com/9781430262503) shows examples of using EclipseFP. The EclipseFP website also shows some screenshots.

Unknown said...

Unable to install EclipseFP.
I have cabal 1.18 and it seems that scion-browser needs cabal < 1.17 in order to be installed in sandbox.
Do you need part of the log in Eclipse console?
What can I do?

JP Moresmau said...

No, scion-browser works fine with Cabal 1.18 or more, your conflict is with something else. You can always install scion-browser in its own sandbox if it conflicts with something else.

Unknown said...

Is it rather SourceGraph?
I'm giving you the last part of the log because I don't know what do...:

Resolving dependencies...
cabal.exe: Could not resolve dependencies:
trying: derive-2.5.18/installed-a51... (user goal)
trying: scion-browser-0.3.5/installed-176... (user goal)
next goal: SourceGraph (user goal)
rejecting: SourceGraph-0.7.0.6 (conflict: derive =>
haskell-src-exts==1.16.0.1/installed-30b..., SourceGraph =>
haskell-src-exts==1.15.*)
rejecting: SourceGraph-0.7.0.5, 0.7.0.4 (conflict: scion-browser =>
Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal>=1.8 && <1.17)
rejecting: SourceGraph-0.7.0.3, 0.7.0.2 (conflict: scion-browser =>
Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal>=1.8 && <1.15)
rejecting: SourceGraph-0.7.0.1, 0.7.0.0 (conflict: scion-browser =>
Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal>=1.8 && <1.11)
rejecting: SourceGraph-0.6.1.1, 0.6.0.2, 0.6.0.1, 0.6.0.0 (conflict:
scion-browser => Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal>=1.8
&& <1.9)
rejecting: SourceGraph-0.5.5.0, 0.5.2.0, 0.5.1.0, 0.5.0.0 (conflict:
scion-browser => Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal>=1.6
&& <1.7)
rejecting: SourceGraph-0.3 (conflict: scion-browser =>
Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal<1.7)
rejecting: SourceGraph-0.2, 0.1 (conflict: scion-browser =>
Cabal==1.18.1.3/installed-421..., SourceGraph => Cabal<1.5)
Backjump limit reached (change with --max-backjumps).

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

JP Moresmau said...

Yes, Sourcegraph is problematic, so in 2.6.2 it's not installed by default anymore. I've just released 2.6.2 with new versions of scion-browser and buildwrapper, why don't you try to install the new version?

Unknown said...

I follow the method in

http://eclipsefp.github.io/install.html

and in there, I have no choice... I'm taking what Eclipse is downloading from
http://eclipsefp.sf.net/updates

I didn't know if half an hour ago
I downloaded 2.6.1 or 2.6.2.

What is the version now on http://eclipsefp.sf.net/updates ?

JP Moresmau said...

Now it's 2.6.2...

Unknown said...

I'll try and tell you

Unknown said...

ExitFailure1...

Main errors I got:

Building graphviz-2999.6.0.0...
Failed to install graphviz-2999.6.0.0
Last 10 lines of the build log ( D:\Eclipse\eclipse\wkh\.metadata\.plugins\net.sf.eclipsefp.haskell.ui\sandbox\logs\graphviz-2999.6.0.0.log ):
(and originally defined in `Text.PrettyPrint.HughesPJ')

Data\GraphViz\Attributes.hs:1605:34:
Ambiguous occurrence `empty'
It could refer to either `Data.GraphViz.Types.Parsing.empty',
imported from `Data.GraphViz.Types.Parsing' at Data\GraphViz\Attributes.hs:146:1-34
(and originally defined in `Control.Applicative')
or `Data.GraphViz.Types.Printing.empty',
imported from `Data.GraphViz.Types.Printing' at Data\GraphViz\Attributes.hs:147:1-35
(and originally defined in `Text.PrettyPrint.HughesPJ')
...
Configuring SHA-1.6.4.1...
...
cabal.exe: Error: some packages failed to install:
Cabal-1.2.4.0 failed during the configure step. The exception was:
user error (
C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Version.hs:1:12:
Warning:
-fglasgow-exts is deprecated: Use individual extensions instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Verbosity.hs:1:12:
Warning:
-fglasgow-exts is deprecated: Use individual extensions instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Simple\Utils.hs:1:12:
Warning:
-fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE
ForeignFunctionInterface #-} instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Simple\LocalBuildInfo.hs:1:12:
Warning:
-fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE
ForeignFunctionInterface #-} instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\RawSystem.hs:10:1:
Warning:
Module `System.Cmd' is deprecated: Use "System.Process" instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\TempFile.hs:60:44:
Could not deduce (GHC.Exception.Exception e0)
arising from a use of `try'
from the context (Show a1, Num a1)
bound by the inferred type of
findTempName :: (Show a1, Num a1) => a1 -> IO a
at
C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\TempFile.hs:(55,5)-(60,64)
The type variable `e0' is ambiguous
Note: there are several potential instances:
instance GHC.Exception.Exception
Control.Exception.Base.NestedAtomically
-- Defined in `Control.Exception.Base'
instance GHC.Exception.Exception
Control.Exception.Base.NoMethodError
-- Defined in `Control.Exception.Base'
instance GHC.Exception.Exception
Control.Exception.Base.NonTermination
-- Defined in `Control.Exception.Base'
...plus 7 others
In the second argument of `finally', namely `try (removeFile path)'
In the expression: action path `finally` try (removeFile path)
In a stmt of a 'do' block:
if b then
findTempName (x + 1)
else
action path `finally` try (removeFile path)
)
Graphalyze-0.8.0.0 depends on graphviz-2999.6.0.0 which failed to install.
SourceGraph-0.1 depends on graphviz-2999.6.0.0 which failed to install.
graphviz-2999.6.0.0 failed during the building phase. The exception was:
ExitFailure 1