[Bug 3470] New: crash in dispatch.py when trying to report an error

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Thu May 24 17:24:37 CDT 2012


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

          Priority: normal
            Bug ID: 3470
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: crash in dispatch.py when trying to report an error
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: bos at serpentine.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

Augie's new "identify third-party extensions as sources of tracebacks" code
prevents Mercurial from printing a traceback.

http://selenic.com/repo/hg/rev/1c9f58a6c8f1

Here's what I get instead:

Traceback (most recent call last):
  File "/home/bryano/hg/hg/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/home/bryano/hg/hg/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/bryano/hg/hg/mercurial/dispatch.py", line 65, in dispatch
    return _runcatch(req)
  File "/home/bryano/hg/hg/mercurial/dispatch.py", line 217, in _runcatch
    ct = tuplever(compare)
  File "/home/bryano/hg/hg/mercurial/dispatch.py", line 255, in tuplever
    return tuple([int(i) for i in v.split('.')])
ValueError: invalid literal for int() with base 10: '8a8ccfeb07ea'

These are the contents of mercurial/__version__.py that I believe are causing
the problem:

# this file is autogenerated by setup.py
version = "8a8ccfeb07ea+20120524"

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


More information about the Mercurial-devel mailing list