nickstenning / honcho

Honcho: a python clone of Foreman. For managing Procfile-based applications.
http://pypi.python.org/pypi/honcho
MIT License
1.59k stars 145 forks source link

don't run on windows python 2.7 #147

Closed s-trooper closed 8 years ago

s-trooper commented 9 years ago

seems know issue with python 2.7 but anyway, i hope to save time for another that will try this combination.

Traceback (most recent call last): File "", line 1, in File "C:\Python27\Lib\multiprocessing\forking.py", line 380, in main prepare(preparation_data) File "C:\Python27\Lib\multiprocessing\forking.py", line 488, in prepare assert main_name not in sys.modules, main_name AssertionError: main

akramparvez commented 9 years ago

There is a work around for this issue. This issue occurs only if you use honcho.exe on windows with python 2.7, create a script with the following code and use this instead of honcho.exe

from honcho import command

if __name__ == "__main__":
    command.main()
nickstenning commented 8 years ago

This is a known bug in Python 2.7.

Upgrading to 2.7.11 should fix the issue.