Hi again Stan! On 8/04/2013 11:52 PM, Stan wrote:
(Also WMI, SQLAlchemy, anyjson, psycopg2, etc)
...
The service wrapper script is based on the example in examples\advanced\service.py, and writes to the eventlog. During testing it appears that simply /importing/ my main class will cause the application not to start, while excluding the import (and just sticking to the example service.py) allows it to start. With my include in place, no eventlog messages are logged.
So the question is what this import does. For example, if the import attempts to use WMI in any way, the hang could well be waiting for it. Peppering the imported code with diagnostics should be able to tell you roughly where the delay comes from.
Mark _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32