[Bug 3832] New: hglib fails to import due to STARTF_USESHOWWINDOW not in subprocess python 2.6.6

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Feb 18 21:48:28 CST 2013


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

          Priority: normal
            Bug ID: 3832
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hglib fails to import due to STARTF_USESHOWWINDOW not
                    in subprocess python 2.6.6
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: gadgetsteve at hotmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

Import of hglib fails on NT with python 2.6.6 giving error message:
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Int
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import hglib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\Python26\lib\site-packages\hglib\__init__.py", line 1, in <mo
    import client, subprocess, util, error
  File "c:\Python26\lib\site-packages\hglib\client.py", line 2, in <modu
    import hglib, error, util, templates, merge, context
  File "c:\Python26\lib\site-packages\hglib\util.py", line 166, in <modu
    startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
AttributeError: 'module' object has no attribute 'STARTF_USESHOWWINDOW'

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


More information about the Mercurial-devel mailing list