I think the way to solve this problem is to run your type library
through makepy.py and keep the output. For example:
C:~\Lib\site-packages\win32com\client\makepy.py -o MyTlb.py
[my_path]\MyTlb.tlb
Then, in your code, wherever you need something from that type lib,
import the file as you
Hi,
I have a similar problem as described bellow - launching multiple
instances of my application causes rewriting dicts.dat file in gen_py
cache, sometimes when two processes running at the same time it leads
to errors, because of locked dicts.dat.
Is there some way to prevent this file to
Hi,
I am having a similar problem when launching multiple instances of an
Application that allows Python scripting via COM. (Yes, I am launching
these instances at the same time.)
The error I get is:
File C:\Python26\Lib\site-packages\win32com\client\makepy.py, line 288,
in
My app consists of 2 scripts. The first one is an infinite loop which
calls periodically the second script. The first script does not work
with COM. The second script makes one instance of COM, calls some its
methods and ends. The first script waits until the second one finishes
its job so
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,
On 5/02/2009 9:40 AM, Zdenek Mejzlik wrote:
File c:\python25\lib\site-packages\win32com\client\gencache.py, line
109, in _LoadDicts
version = p.load()
EOFError
This is an error loading 'dicts.dat' from the win32com\gen_py directory.
The management of this file is very crude and doesn't
Has anyone hit this Error?
I'm using ActivePython-2.5.2.2-win32-x68 and once in a while I'm hitting
this error below.
Application,47,2008-04-25 23:46:58,2008-04-25 23:46:58,4,1,Error
event,0,None,Python Service, File C:\Python25\wuest2.py, line 17, in
module
import wuestCommon
File