[ python-Bugs-1351545 ] win32serviceutil bug
SourceForge.net
noreply at sourceforge.net
Wed Nov 9 07:44:24 CET 2005
Bugs item #1351545, was opened at 2005-11-08 09:52
Message generated for change (Settings changed) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1351545&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
>Group: 3rd Party
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Tim Graber (tgraber_us)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: win32serviceutil bug
Initial Comment:
When trying to call service restart or start, the following
error message is received. The utility is not handling
embeded spaces in the SERVICE_NAME.
error:
Traceback (most recent call last):
File "C:\Python24\Tools\scripts\serviceinfo.py", line 23,
in ?
service_info(action, machine, service)
File "C:\Python24\Tools\scripts\serviceinfo.py", line 11,
in service_info
win32serviceutil.RestartService(service, machine)
File "C:\Python24\lib\site-packages\win32
\lib\win32serviceutil.py", line 409,
in RestartService
raise win32service.error, (hr, name, msg)
pywintypes.error: (1060, 'OpenService', 'The specified
service does not exist as
an installed service.')
Service entry on server using sc query:
SERVICE_NAME: JDEdwards OneWorld XE B733
Queue
DISPLAY_NAME: JDEdwards OneWorld XE B733
Queue
TYPE : 110 WIN32_OWN_PROCESS
(interactive)
STATE : 4 RUNNING
(STOPPABLE, PAUSABLE,
ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-11-08 22:44
Message:
Logged In: YES
user_id=33168
This bug is in win32all (win32com or whatever the package is
called). It's not a standard part of Python. You will need
to file a bug report with whoever distributes the package.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1351545&group_id=5470
More information about the Python-bugs-list
mailing list