Question: what to do, my Python is getting crazy

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Nov 17 22:36:52 CET 2008


En Mon, 17 Nov 2008 12:56:07 -0200, Pekeika  
<m.echavarriagregory at umiami.edu> escribió:

> 10 minutes later after I said thanks... the message came out again...
> this is the complete lines:
>
> PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
> (Intel)] on win32.
> Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin'
> for further copyright information.
>>>> Traceback (most recent call last):
>   File "boot_com_servers.py", line 21, in <module>
>   File "C:\Python25\lib\site-packages\pythoncom.py", line 3, in
> <module>
>     pywintypes.__import_pywin32_system_module__("pythoncom", globals
> ())
>   File "C:\Python25\lib\site-packages\win32\lib\pywintypes.py", line
> 98, in __import_pywin32_system_module__
>     ('.dll', 'rb', imp.C_EXTENSION))
> ImportError: DLL load failed: The specified procedure could not be
> found.

That reference to boot_com_servers.py is rather strange - it belongs to  
py2exe. Neither the console version of Python, nor PythonWin, use py2exe.  
Have you been playing with it? Do you attempt to execute PythonWin from  
inside an application packaged with py2exe?
I assume you get the message above just by opening PythonWin, by double  
clicking on its icon, ok?

> I know Python 2.5 doesn't load DLL's anymore. Should I change the DLL
> extensions by .pyo or a different extension? in which files, the
> pywintypes?

No, the pywin32 package works fine out-of-the-box. You don't need (and  
should not!) change any file extension. A DLL is *not* the same as a .pyo  
file.

> Gabriel, you mean, install pythonwin in another empty directory ans
> see if it works?

No, I was talking about the command line interpreter ("python.exe"), not  
the PythonWin application.

> and the queue IS working.

Which "queue"?

> May be this a virus in my PC?
> My web service is also getting crazy,

Can't tell...

-- 
Gabriel Genellina




More information about the Python-list mailing list