PythonWin32 issue with McMillan Installer (6a2) and WMI

B

bschollnick

Folks,

I have run into a strange problem, that I have not been able to solve.

I have previously "bundled" this application with Installer
successfully.
Just recently though, I tried, and ran into a issue.

Yes, I have made changes, but nothing I would expect this level of
issue with...
Mainly upgrading to Python 2.3.4, and the latest PythonWin32all.

---------------------------- Example --------
import wmi

print "done"
----------------------------------------------

The WMI package is Tim Golden's WMI package...
(http://tgolden.sc.sabren.com/python/wmi.html).

The error is:

C:\develope\versions\distdata_collector_v2>data_collector_v2.exe
Traceback (most recent call last):
File "<string>", line 73, in ?
File
"C:\develope\versions\builddata_collector_v2\out1.pyz/win32com.client.gen
cache", line 520, in EnsureModule
File
"C:\develope\versions\builddata_collector_v2\out1.pyz/win32com.client.gen
cache", line 287, in MakeModuleForTypelib
File
"C:\develope\versions\builddata_collector_v2\out1.pyz/win32com.client.mak
epy", line 273, in GenerateFromTypeLibSpec
File
"C:\develope\versions\builddata_collector_v2\out1.pyz/win32com.client.gen
cache", line 550, in AddModuleToCache
File
"C:\develope\versions\builddata_collector_v2\out1.pyz/win32com.client.gen
cache", line 629, in _GetModule
File "C:\develope\Installer\iu.py", line 318, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named
win32com.gen_py.565783C6-CB41-11D1-8B02-00600806D9B
6x0x1x2


It appears that Installer maybe trying to access material from a
temporary archive...?

Anyone else seen these issues?

I have not yet heard back from Gordon....

Now this does work through Py2exe without any problems.....
But I prefer the ease of use of Installer over Py2exe....
- Benjamin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top