HG bug: hg serve -p 81 -d
Mads Kiilerich
mads at kiilerich.com
Mon Jul 20 05:01:36 CDT 2009
On 07/20/2009 11:29 AM, Honza Bambas wrote:
> Mads Kiilerich wrote:
>> 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
>>
>>
> Thank you. Where can I get a pure windows version please? I have
> installed the 1.3 installer for win
> (http://mercurial.berkwood.com/binaries/Mercurial-1.3.exe). That is
> not what I should use?
Oh. I guessed that you were building your own version. But you telling
facts is better than me guessing ;-)
I assume that version should be fine. Many do however use TortoiseHg's
version instead.
In that case I don't know what is going on and my guesses were wrong.
AFAIK mingw32 runs .exe files exactly like native windows do, so I
wouldn't expect mingw32 to cause any difference. Cygwin is another story.
Please keep the discussion on the list - someone else might know the answer.
/Mads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090720/c38b355e/attachment.htm
More information about the Mercurial
mailing list