Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
can't install snaplet-hdbc, duplicate type signature
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Kahn  
View profile  
 More options Sep 18 2012, 10:17 pm
From: Chris Kahn <christopher.k...@gmail.com>
Date: Tue, 18 Sep 2012 19:17:21 -0700 (PDT)
Local: Tues, Sep 18 2012 10:17 pm
Subject: can't install snaplet-hdbc, duplicate type signature

Hey all,

I'm relatively new to Haskell, been learning for the last 6 months or so
and had a class in university that covered the basics. So I decided I'd
give the Snap framework a spin on my machine. It's a relatively new machine
so this is a fresh install of Haskell (GHC 7.4.1) on Ubuntu 12.04. I
installed Snap, created a skeleton project etc, and then went and did cabal
install snaplet-hdbc and it started compiling things and loading packages,
and finally spat out this error:

src/Snap/Snaplet/Internal/Types.hs:82:1:
    Duplicate type signature:
      src/Snap/Snaplet/Internal/Types.hs:82:1-47: snapletConfig ::
                                                    Lens (Snaplet a)
SnapletConfig
      src/Snap/Snaplet/Internal/Types.hs:76:1-39: snapletConfig ::
                                                    forall s_aySX.
                                                    Lens (Snaplet s_aySX)
SnapletConfig

src/Snap/Snaplet/Internal/Types.hs:87:1:
    Duplicate type signature:
      src/Snap/Snaplet/Internal/Types.hs:87:1-34: snapletValue ::
                                                    Lens (Snaplet a) a
      src/Snap/Snaplet/Internal/Types.hs:76:1-39: snapletValue ::
                                                    forall s_aySX. Lens
(Snaplet s_aySX) s_aySX
cabal: Error: some packages failed to install:
snap-0.9.1.1 failed during the building phase. The exception was:
ExitFailure 1

Is this because of something I've configured wrong, or is it a bug in Snap?
Can anybody help?

Cheers!
Chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MightyByte  
View profile  
 More options Sep 19 2012, 1:02 am
From: MightyByte <mightyb...@gmail.com>
Date: Wed, 19 Sep 2012 01:02:46 -0400
Local: Wed, Sep 19 2012 1:02 am
Subject: Re: [snap] can't install snaplet-hdbc, duplicate type signature

This is caused by a problem in data-lens-template-2.1.6.  You need to
upgrade to the recently released 2.1.7.  The following commands should
correct the problem:

ghc-pkg unregister data-lens-template --force
ghc-pkg unregister snap --force
cabal update
cabal install snaplet-hdbc

On Tue, Sep 18, 2012 at 10:17 PM, Chris Kahn <christopher.k...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Kahn  
View profile  
 More options Sep 19 2012, 10:38 pm
From: Chris Kahn <christopher.k...@gmail.com>
Date: Wed, 19 Sep 2012 19:38:40 -0700 (PDT)
Local: Wed, Sep 19 2012 10:38 pm
Subject: Re: [snap] can't install snaplet-hdbc, duplicate type signature

Success! That did it. Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »