Hello,

My script running on Windows XP Professional SP2 is sometimes hit with the following problem.
I use Python 2.5.1.1 (from ActiveState) and Python 2.5 pywin32-210.
The script uses the Sensormatic's Intellex API consisting of COM components.

PythonWin 2.5.1 (r251:54863, May 1 2007, 17:47:05) [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 "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
   exec codeObject in __main__.__dict__
File "C:\altworx_core\api_servers\intellex_configuration\read_intellex_status.py", line 6, in <module>
   import pythoncom, win32com.client
File "c:\python25\lib\site-packages\win32com\client\__init__.py", line 12, in <module>
   import dynamic, gencache, pythoncom
File "c:\python25\lib\site-packages\win32com\client\gencache.py", line 662, in <module>
   __init__()
File "c:\python25\lib\site-packages\win32com\client\gencache.py", line 54, in __init__
   _LoadDicts()
File "c:\python25\lib\site-packages\win32com\client\gencache.py", line 109, in _LoadDicts
   version = p.load()
EOFError

If I uninstall both pywin and Python and install them again the problem disappears. But it is only temporary solution the problem returns back after several days. Please, help me to find the definitive solution.

Thanks

Zdenek Mejzlik.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to