[issue2565] Cannot serve using daemon mode ("-d" switch)

Morten Fæster <bugs@mercurial.selenic.com> at mercurial.selenic.com Morten Fæster <bugs@mercurial.selenic.com> at mercurial.selenic.com
Thu Dec 23 10:44:55 UTC 2010


New submission from Morten Fæster <faester at gmail.com>:

I cannot use the internal web server using the daemon mode. I have tried 
using both normal user rights and elevated as an administrator. The stack 
trace is displayed below. 

BR 
Morten

C:\hg_repo\PolInfrastructure>hg serve -d
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit 
(AMD64)]
** Mercurial Distributed SCM (version 1.7.2)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 36, in dispatch
  File "mercurial\dispatch.pyc", line 58, in _runcatch
  File "mercurial\dispatch.pyc", line 590, in _dispatch
  File "mercurial\dispatch.pyc", line 401, in runcommand
  File "mercurial\dispatch.pyc", line 641, in _runcommand
  File "mercurial\dispatch.pyc", line 595, in checkargs
  File "mercurial\dispatch.pyc", line 588, in <lambda>
  File "mercurial\util.pyc", line 427, in check
  File "mercurial\commands.pyc", line 3415, in serve
  File "mercurial\cmdutil.pyc", line 611, in service
  File "mercurial\util.pyc", line 1418, in rundetached
  File "mercurial\windows.pyc", line 331, in spawndetached
  File "mercurial\windows.pyc", line 332, in STARTUPINFO
  File "mercurial\demandimport.pyc", line 76, in __getattribute__
AttributeError: 'module' object has no attribute 'STARTF_USESHOWWINDOW'

----------
messages: 14740
nosy: faester
priority: bug
status: unread
title: Cannot serve using daemon mode ("-d" switch)

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2565>
____________________________________________________


More information about the Mercurial-devel mailing list