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

Missing build-dep network-uri #1

Open
FPtje opened this issue Jan 17, 2015 · 0 comments
Open

Missing build-dep network-uri #1

FPtje opened this issue Jan 17, 2015 · 0 comments

Comments

@FPtje
Copy link

FPtje commented Jan 17, 2015

MediaWiki/Util/Fetch.hs:28:8:
    Could not find module ‘Network.URI’
    It is a member of the hidden package ‘network-uri-2.6.0.1’.
    Perhaps you need to add ‘network-uri’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

ghc version: ghc-7.8.3-2
Cabal version: 1.20.0.3-2
OS: Linux
network-uri should be added to build-deps

When that's done I get these errors:

MediaWiki/API.hs:58:40:
    Couldn't match type ‘text-1.1.1.3:Data.Text.Internal.Text’
                  with ‘[Char]’
    Expected type: String
      Actual type: text-1.1.1.3:Data.Text.Internal.Text
    In the expression: showMIMEType form_mime_ty
    In the expression: ("Content-Type", showMIMEType form_mime_ty)

MediaWiki/API.hs:64:30:
    Couldn't match type ‘[Char]’
                  with ‘text-1.1.1.3:Data.Text.Internal.Text’
    Expected type: SubType
      Actual type: [Char]
    In the first argument of ‘Application’, namely
      ‘"x-www-form-urlencoded"’
    In the expression: Application "x-www-form-urlencoded"
    In an equation for ‘form_mime_ty’:
        form_mime_ty = Application "x-www-form-urlencoded"

I got these on both Windows and Linux.

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