HG bug: hg serve -p 81 -d

Mads Kiilerich mads at kiilerich.com
Mon Jul 20 04:20:10 CDT 2009


On 07/19/2009 11:08 PM, Honza B wrote:
>
>> $ python --version
>> Python 2.5
>>
>>
>> Running on windows under mingw32.
>>
>>      

...

> I did try with hg 1.3:
>
> $ hg serve -p 81 -d
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.3)
> ** Extensions loaded: win32text, graphlog, mq
> Traceback (most recent call last):
>    File "hg", line 27, in<module>
>    File "mercurial\dispatch.pyc", line 16, in run
>    File "mercurial\dispatch.pyc", line 27, in dispatch
>    File "mercurial\dispatch.pyc", line 43, in _runcatch
>    File "mercurial\dispatch.pyc", line 449, in _dispatch
>    File "mercurial\dispatch.pyc", line 317, in runcommand
>    File "mercurial\dispatch.pyc", line 501, in _runcommand
>    File "mercurial\dispatch.pyc", line 454, in checkargs
>    File "mercurial\dispatch.pyc", line 448, in<lambda>
>    File "mercurial\util.pyc", line 370, in check
>    File "mercurial\commands.pyc", line 2805, in serve
>    File "mercurial\cmdutil.pyc", line 562, in service
> AttributeError: 'module' object has no attribute 'spawnvp'
>    

You are using a mingw32 python? Guess so.

Mercurial supports both windows and posix operating systems. But mingw32 
is neither and both. That combination is not supported.

The pure windows version will however work fine under mingw32.

/Mads


More information about the Mercurial mailing list