[Bug 3840] New: Unknown exception during "hg import" or "hg serve"

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Feb 24 22:01:48 CST 2013


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

          Priority: normal
            Bug ID: 3840
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Unknown exception during "hg import" or "hg serve"
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: sempasha at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.1
         Component: Mercurial
           Product: Mercurial

Created attachment 1715
  --> http://bz.selenic.com/attachment.cgi?id=1715&action=edit
patch file

I've got "Unknown exception" error when try to import any path to my repo or
try to start stand-alone web server with `hg serve`

D:\vhosts\wmc.tv>hg import E:\TEMP\UncommittedChanges.patch
applying E:\TEMP\UncommittedChanges.patch
** 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.5.1)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 28, in run
  File "mercurial\dispatch.pyc", line 65, in dispatch
  File "mercurial\dispatch.pyc", line 88, in _runcatch
  File "mercurial\dispatch.pyc", line 743, in _dispatch
  File "mercurial\dispatch.pyc", line 514, in runcommand
  File "mercurial\dispatch.pyc", line 833, in _runcommand
  File "mercurial\dispatch.pyc", line 804, in checkargs
  File "mercurial\dispatch.pyc", line 740, in <lambda>
  File "mercurial\util.pyc", line 475, in check
  File "mercurial\commands.pyc", line 3936, in import_
  File "mercurial\hg.pyc", line 97, in openpath
  File "mercurial\url.pyc", line 475, in open
  File "urllib2.pyc", line 400, in open
  File "urllib2.pyc", line 418, in _open
  File "urllib2.pyc", line 378, in _call_chain
  File "urllib2.pyc", line 1310, in file_open
  File "urllib2.pyc", line 1335, in open_local_file
  File "mimetypes.pyc", line 294, in guess_type
  File "mimetypes.pyc", line 355, in init
  File "mimetypes.pyc", line 259, in read_windows_registry
  File "mimetypes.pyc", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal
not in range(128)

D:\vhosts\wmc.tv>hg serve
** 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.5.1)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 28, in run
  File "mercurial\dispatch.pyc", line 65, in dispatch
  File "mercurial\dispatch.pyc", line 88, in _runcatch
  File "mercurial\dispatch.pyc", line 743, in _dispatch
  File "mercurial\dispatch.pyc", line 514, in runcommand
  File "mercurial\dispatch.pyc", line 833, in _runcommand
  File "mercurial\dispatch.pyc", line 804, in checkargs
  File "mercurial\dispatch.pyc", line 740, in <lambda>
  File "mercurial\util.pyc", line 475, in check
  File "mercurial\commands.pyc", line 5361, in serve
  File "mercurial\cmdutil.pyc", line 501, in service
  File "mercurial\commands.pyc", line 5326, in init
  File "mercurial\hgweb\server.pyc", line 322, in create_server
  File "mimetypes.pyc", line 355, in init
  File "mimetypes.pyc", line 259, in read_windows_registry
  File "mimetypes.pyc", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 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