[python-win32] Python-based Windows service: Subcommand works with "debug", but hangs under "start"
Jens Vagelpohl
jens at dataflake.org
Tue Feb 21 11:29:37 CET 2012
On Feb 20, 2012, at 17:44 , Preston Landers wrote:
> Offhand it sounds like a authorization related issue. Have you tried
> checking the current user identity / authorization from within the
> child processes?
That seems to be the problem. The service itself was registered to run under no particular account, so it assumed the default, and that default probably lacked permissions to write to disk. When running pythonservice.exe with the -debug flag, the service runs under the invoking user account, which explains why I never saw the issue in debug mode. Now I registered the service to run under my own user account and the problem went away.
Thanks!
jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/python-win32/attachments/20120221/845eb610/attachment.pgp>
More information about the python-win32
mailing list