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

PythonWin32 issue with McMillan Installer (6a2) and WMI

P: n/a

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

I have previously "bundled" this application with Installer
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...

The error is:

C:\develope\versions\distdata_collector_v2>data_co llector_v2.exe
Traceback (most recent call last):
File "<string>", line 73, in ?
"C:\develope\versions\builddata_collector_v2\out1. pyz/win32com.client.gen
cache", line 520, in EnsureModule
"C:\develope\versions\builddata_collector_v2\out1. pyz/win32com.client.gen
cache", line 287, in MakeModuleForTypelib
"C:\develope\versions\builddata_collector_v2\out1. pyz/win32com.client.mak
epy", line 273, in GenerateFromTypeLibSpec
"C:\develope\versions\builddata_collector_v2\out1. pyz/win32com.client.gen
cache", line 550, in AddModuleToCache
"C:\develope\versions\builddata_collector_v2\out1. pyz/win32com.client.gen
cache", line 629, in _GetModule
File "C:\develope\Installer\", line 318, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named
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.