Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PythonWin32 issue with McMillan Installer (6a2) and WMI

Reply
Thread Tools

PythonWin32 issue with McMillan Installer (6a2) and WMI

 
 
bschollnick@gmail.com
Guest
Posts: n/a
 
      12-07-2004
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gordon McMillan installer and Python 2.4 Svein Brekke Python 10 03-04-2005 11:27 PM
What's happened to the McMillan [Installer] website? simo Python 0 02-09-2004 05:14 PM
McMillan Installer: No module named wxPython.wx Harald Schneider Python 1 12-01-2003 09:35 AM
Temp File Cleanup for McMillan Installer Pgms achrist@easystreet.com Python 0 08-31-2003 07:18 AM
OpenGL with Mcmillan Installer? Michael Peuser Python 0 08-23-2003 10:20 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57