Re: zlib + Windows 32 service problem (ImportError)

2005-08-17 Thread John Machin
Laszlo Zsolt Nagy wrote: > | > >> | >> C:\Python24;C:\Python24\DLLs;c:\Python24\Lib\site-packages\win32;c:\oracle\product\10.1.0\db_1\bin;c:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;c:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:

Re: zlib + Windows 32 service problem (ImportError)

2005-08-17 Thread Laszlo Zsolt Nagy
| >| >C:\Python24;C:\Python24\DLLs;c:\Python24\Lib\site-packages\win32;c:\oracle\product\10.1.0\db_1\bin;c:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;c:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program >| Files\Common Files\GT

Re: zlib + Windows 32 service problem (ImportError)

2005-08-16 Thread vincent wehren
"Laszlo Zsolt Nagy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] | vincent wehren wrote: | | >"Laszlo Zsolt Nagy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag | >news:[EMAIL PROTECTED] | >| Sorry, I realized that the import zlib was not executed from my | >| (working) service.

Re: zlib + Windows 32 service problem (ImportError)

2005-08-16 Thread Laszlo Zsolt Nagy
vincent wehren wrote: >"Laszlo Zsolt Nagy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag >news:[EMAIL PROTECTED] >| Sorry, I realized that the import zlib was not executed from my >| (working) service. >| So here is the question: why can't I use zlib from a win32 service? Is >| there any way to make

Re: Windows 32 service problem (ImportError)

2005-08-15 Thread Martin v. Löwis
Laszlo Zsolt Nagy wrote: > exceptions.ImportError: dynamic module does not define init function > (initzlib) > - > > Where is the problem? Please help. My guess is that you have a zlib.dll somewhere, which gets used before zlib.pyd. Regards, Martin -- http://mail.python.org/mailman/

Re: zlib + Windows 32 service problem (ImportError)

2005-08-15 Thread vincent wehren
"Laszlo Zsolt Nagy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] | Sorry, I realized that the import zlib was not executed from my | (working) service. | So here is the question: why can't I use zlib from a win32 service? Is | there any way to make it working? | | >---

zlib + Windows 32 service problem (ImportError)

2005-08-15 Thread Laszlo Zsolt Nagy
Sorry, I realized that the import zlib was not executed from my (working) service. So here is the question: why can't I use zlib from a win32 service? Is there any way to make it working? >- >Python could not import the service's module > File "T:\Python\Projects\NamedConnector\Serv

Windows 32 service problem (ImportError)

2005-08-15 Thread Laszlo Zsolt Nagy
Hi All! I have a running service (a small web server) implemented in python, running as a win32 service. I wrote another program that is very similar to the web server but I cannot start the service. From the event log, I can read this traceback: - Python could not import the se