[Bug 3798] New: Unknown exception thrown if https proxy misconfigured

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Feb 1 04:44:03 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3798

          Priority: normal
            Bug ID: 3798
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Unknown exception thrown if https proxy misconfigured
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: cowwoc at bbs.darktech.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.4.2
         Component: Mercurial
           Product: Mercurial

When I run "hg clone <address>" against a misconfigured server (the HTTPd proxy
in front of it is misconfigured, I'm still tracking it down). I get the
following error:

requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.4.2)
** Extensions loaded: convert, mq, histedit
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 65, in dispatch
  File "mercurial\dispatch.pyo", line 88, in _runcatch
  File "mercurial\dispatch.pyo", line 741, in _dispatch
  File "mercurial\dispatch.pyo", line 514, in runcommand
  File "mercurial\dispatch.pyo", line 831, in _runcommand
  File "mercurial\dispatch.pyo", line 802, in checkargs
  File "mercurial\dispatch.pyo", line 738, in <lambda>
  File "mercurial\util.pyo", line 472, in check
  File "mercurial\commands.pyo", line 1221, in clone
  File "mercurial\hg.pyo", line 381, in clone
  File "mercurial\localrepo.pyo", line 2582, in clone
  File "mercurial\localrepo.pyo", line 1771, in pull
  File "mercurial\localrepo.pyo", line 2375, in addchangegroup
  File "mercurial\revlog.pyo", line 1197, in addgroup
  File "mercurial\changegroup.pyo", line 192, in deltachunk
  File "mercurial\changegroup.pyo", line 17, in readexactly
  File "mercurial\util.pyo", line 908, in read
  File "mercurial\util.pyo", line 886, in splitbig
  File "mercurial\httppeer.pyo", line 20, in zgenerator
zlib.error: Error -3 while decompressing: invalid distance code

Ideally "hg" should provide a better error message than "transaction abort!".
There is no indication of the cause unless you enable verbose mode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list