On 23/02/2012 4:36 PM, Kyle wrote:
Bill, did you ever find a resolution to your pythonservice.exe issue?
I've got the PyWin32 extensions installed in a private site-packages
directory under my stuff, which isn't the same as the Python
site-packages site. I need a way to set PYTHONPATH, or in
Well, I know this isn't a solution per say, but the usual cause of this
error message is that you failed to call the Win32 API SetServiceStatus()
with a 'ask me again in x time' or 'i've finished starting successfully'
call in a fairly quick manner. See
Bill, did you ever find a resolution to your pythonservice.exe issue?
I've got the PyWin32 extensions installed in a private site-packages
directory under my stuff, which isn't the same as the Python
site-packages site. I need a way to set PYTHONPATH, or in some other
way initialize the DLL load
Mark Hammond skippy.hamm...@gmail.com wrote:
On 13/05/2010 9:25 AM, Bill Janssen wrote:
Mark Hammondskippy.hamm...@gmail.com wrote:
Execute 'python nativePipeTestService.py install' to install it, then
start it as normal (ie, don't run it manually with no args).
Yes, that's what I
On 15/05/2010 5:06 AM, Bill Janssen wrote:
Mark Hammondskippy.hamm...@gmail.com wrote:
On 13/05/2010 9:25 AM, Bill Janssen wrote:
Mark Hammondskippy.hamm...@gmail.com wrote:
Execute 'python nativePipeTestService.py install' to install it, then
start it as normal (ie, don't run it
test
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
test
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
test
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
On 12/05/2010 4:51 PM, Mark Hammond wrote:
test
Oops - sorry about the noise :(
One-of-the-risks-when-working-on-email-clients ly,
Mark
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Mark Hammond mhamm...@skippinet.com.au wrote:
See attached sample which works for me - be sure to place it in the
same directory as the pipeTestService.py sample (win32/Demos/service).
All right, I put it in a file called nativePipeTestService.py, in that
directory, and tried it. Here's what
Bill Janssen jans...@parc.com wrote:
$ python nativePipeTestService.py start
Starting service PyNativePipeTestService []
Error starting service: The service did not respond to the start or control
request in a timely fashion.
$
I rebooted and tried again, same result.
Then I tried setting
On 13/05/2010 2:08 AM, Bill Janssen wrote:
Bill Janssenjans...@parc.com wrote:
$ python nativePipeTestService.py start
Starting service PyNativePipeTestService []
Error starting service: The service did not respond to the start or control
request in a timely fashion.
$
I rebooted and tried
Mark Hammond skippy.hamm...@gmail.com wrote:
Execute 'python nativePipeTestService.py install' to install it, then
start it as normal (ie, don't run it manually with no args).
Yes, that's what I tried first. See my message
67901.1273677...@parc.com, just previous to the one you replied to.
$
On 13/05/2010 9:25 AM, Bill Janssen wrote:
Mark Hammondskippy.hamm...@gmail.com wrote:
Execute 'python nativePipeTestService.py install' to install it, then
start it as normal (ie, don't run it manually with no args).
Yes, that's what I tried first. See my message
On 11/05/2010 12:50 PM, Bill Janssen wrote:
Mark Hammondskippy.hamm...@gmail.com wrote:
That's correct. Using python.exe as the host will involve having a
.py script which imports the servicemanager module then call
PrepareToHostSingle and instantiate the service class - or something
like
Thanks, Mark.
I suppose I could run regsetup.py, but that would make my private Python
globally known, not really what I want to do.
I'll soldier on with option (a), using python.exe to run the service,
and see if I can get that to work on a simple example.
Bill
Mark Hammond mhamm...@skippinet.com.au wrote:
Sounds about right - but reading pythonservice.cpp is really the
definitive source to what needs to be done. Sadly I can't find
anything more specific, such as a sample.
OK. pythonservice.exe has a lot of stuff in it -- for instance, there
seems
OK, so I wrote my own InstallService:
import sys, os, win32service
def InstallService(pythonClassFile, serviceName, displayName,
startType = None, errorControl = None, bRunInteractive = 0,
On 12/05/2010 4:28 AM, Bill Janssen wrote:
OK, so I wrote my own InstallService:
That actually isn't necessary - the class can provide _exe_name_ and
_exe_args_ attributes to override the defaults.
See attached sample which works for me - be sure to place it in the same
directory as the
On 10/05/2010 7:08 AM, Bill Janssen wrote:
A few weeks ago, Mark mentioned that there's now a way to run a Windows
service without pythonservice.exe.
I'd like to hear more about that. Right now, I'm stuck with my UpLib
system on Windows. I'd like to be able to install everything in the
UpLib
Mark Hammond skippy.hamm...@gmail.com wrote:
That's correct. Using python.exe as the host will involve having a
.py script which imports the servicemanager module then call
PrepareToHostSingle and instantiate the service class - or something
like that :)
How definitive :-). I'm already
21 matches
Mail list logo