By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

PythonWin32 issue with McMillan Installer (6a2) and WMI

P: n/a
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_co llector_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

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.