[Hackage] #549: The reason for an upload error is not reported
#549: The reason for an upload error is not reported ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ I don't have a paste to hand, but when `cabal upload` fails due to an error from the server, the error message is not displayed unless you also increase the verbosity (`-v3` worked for me). See also #338. Apparently this also affects download, not only upload. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/549> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#549: The reason for an upload error is not reported ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: ---------------------------------+------------------------------------------ Old description:
I don't have a paste to hand, but when `cabal upload` fails due to an error from the server, the error message is not displayed unless you also increase the verbosity (`-v3` worked for me).
See also #338.
Apparently this also affects download, not only upload.
New description: I don't have a paste to hand, but when `cabal upload` fails due to an error from the server, the error message is not displayed unless you also increase the verbosity (`-v3` worked for me). See also #338 and #545 (duplicate?). Apparently this also affects download, not only upload. Comment (by abayley): See also #545 (duplicate?). -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/549#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#549: The reason for an upload error is not reported ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: unknown => very easy (<1 hour) * milestone: => cabal-install-0.8 Comment: Also relevant is #448 though reporting the error better doesn't depend on the rewrite. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/549#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#549: The reason for an upload error is not reported ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: closed Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.6.0.2 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Thu Jun 4 13:48:36 BST 2009 Duncan Coutts <duncan@haskell.org> * Make cabal upload/check print out the error messages reported by the server The code to do it was already there but we were checking for the mime type text/plain using just (==) when in fact the server reports text/plain; charset="ISO-8859-1" so we have to parse the field a bit better (still a bit of a hack). }}} It'll be in 0.6.4 -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/549#comment:3> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage