Skip to content

Missing build-dep network-uri #1

Description

@FPtje
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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions