>> "C:\Users\Laci\AppData\Local\Programs\Python\Python35\lib\site-packages\win32\PythonService.exe"
> I wanted you to run the above executable, not python.exe. If it fails
> you'll get more information about why it's failing when run directly
> then when the service controller runs it. Since you'r
On Thu, Oct 6, 2016 at 5:23 AM, Nagy László Zsolt wrote:
> "C:\Users\Laci\AppData\Local\Programs\Python\Python35\lib\site-packages\win32\PythonService.exe"
I wanted you to run the above executable, not python.exe. If it fails
you'll get more information about why it's failing when run directly
th
>
> The MWE I provided is so simple. By now, It should be obvious what is
> missing from it. :-(
>
>
The problem is NOT with my code. I just installed a new virtual machine,
and installed python3.5 amd64 + pypiwin32 on it. On that machine, the
test service works perfectly!
So it is with my machin
> On Wed, Oct 5, 2016 at 7:43 AM, Nagy László Zsolt
> wrote:
>> It did not help. I still get the same error message (service did not
>> respond in time).
> Can you run the service executable directly? From the command line
> check `sc qc TestService`. Run the BINARY_PATH_NAME executable, e.g.
On Wed, Oct 5, 2016 at 7:43 AM, Nagy László Zsolt wrote:
> It did not help. I still get the same error message (service did not
> respond in time).
Can you run the service executable directly? From the command line
check `sc qc TestService`. Run the BINARY_PATH_NAME executable, e.g.
for /f "
>> But again, that is not related to the question. Why does it not work?
>> What is missing?
> If you mean why running the service doesn't work, it should once you
> run the post-install script that copies pywintypes35.dll to the
> Windows System32 directory. This DLL is required by PythonService.
On Wed, Oct 5, 2016 at 6:18 AM, Nagy László Zsolt wrote:
> But again, that is not related to the question. Why does it not work?
> What is missing?
If you mean why running the service doesn't work, it should once you
run the post-install script that copies pywintypes35.dll to the
Windows System32
>> def main(self):
>> self.ReportServiceStatus(win32service.SERVICE_RUNNING)
>> while not self.stop_requested.is_set():
>> time.sleep(1) # So something useful here
> Why don't you use the Windows Event (hWaitStop) with
> WaitForSingleObject instead of an additional
On Tue, Oct 4, 2016 at 7:33 AM, Nagy László Zsolt wrote:
>
>>> Is it possible to write a win32 service with 64 bit python 3.5? The
>>> pywin32 package does exist on 3.5 64bit, but missing some modules:
>> Try pip installing the "pypiwin32" package.
> That worked, thanks.
>
> Do you have an explana
>> Is it possible to write a win32 service with 64 bit python 3.5? The
>> pywin32 package does exist on 3.5 64bit, but missing some modules:
> Try pip installing the "pypiwin32" package.
That worked, thanks.
Do you have an explanation why to official build (
https://sourceforge.net/projects/pywi
On Mon, Oct 3, 2016 at 1:26 PM, Nagy László Zsolt wrote:
>
> Is it possible to write a win32 service with 64 bit python 3.5? The
> pywin32 package does exist on 3.5 64bit, but missing some modules:
Try pip installing the "pypiwin32" package.
--
https://mail.python.org/mailman/listinfo/python-lis
Hello,
Is it possible to write a win32 service with 64 bit python 3.5? The
pywin32 package does exist on 3.5 64bit, but missing some modules:
>>> import win32service
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed:The specified module could not be found.
12 matches
Mail list logo