1. Fredrik Håård
  2. hgapi
  3. Issues
Issue #21 wontfix


Eugene Dorovatovskiy
created an issue

Throw an error WindowsError:

Traceback (most recent call last):
  File "C:/Users/Eugene/PycharmProjects/odesk/Mercurial3k/mercurial.py", line 6, in <module>
  File "C:\Python32\lib\site-packages\hgapi-1.6.0-py3.2.egg\hgapi\hgapi.py", line 96, in hg_init
  File "C:\Python32\lib\site-packages\hgapi-1.6.0-py3.2.egg\hgapi\hgapi.py", line 92, in hg_command
  File "C:\Python32\lib\site-packages\hgapi-1.6.0-py3.2.egg\hgapi\hgapi.py", line 69, in command
  File "C:\Python32\lib\subprocess.py", line 744, in __init__
    restore_signals, start_new_session)
  File "C:\Python32\lib\subprocess.py", line 977, in _execute_child
WindowsError: [Error 2]

One of the solutions:

os.environ['PATH'] += ";C:\Program Files\Mercurial"

Comments (1)

  1. Log in to comment