[Bug 4160] New: [hg serve] Crashes on Windows

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Feb 5 07:14:21 CST 2014


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

          Priority: normal
            Bug ID: 4160
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: [hg serve] Crashes on Windows
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: yruslan at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.9
         Component: hgweb
           Product: Mercurial

d:\Repo\hg>hg serve

** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.9)
** Extensions loaded: gpg
Traceback (most recent call last):
  File "hg", line 42, in <module>

  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 69, in dispatch
  File "mercurial\dispatch.pyo", line 134, in _runcatch
  File "mercurial\dispatch.pyo", line 806, in _dispatch
  File "mercurial\dispatch.pyo", line 586, in runcommand
  File "mercurial\dispatch.pyo", line 897, in _runcommand
  File "mercurial\dispatch.pyo", line 868, in checkargs
  File "mercurial\dispatch.pyo", line 803, in <lambda>
  File "mercurial\util.pyo", line 511, in check
  File "mercurial\commands.pyo", line 5204, in serve

  File "mercurial\cmdutil.pyo", line 514, in service
  File "mercurial\commands.pyo", line 5214, in init

  File "mercurial\hgweb\server.pyo", line 325, in create_server
  File "mimetypes.pyo", line 358, in init
  File "mimetypes.pyo", line 258, in read_windows_registry
  File "mimetypes.pyo", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 0: ordinal
not in range(128)

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


More information about the Mercurial-devel mailing list