PythonWin32 issue with McMillan Installer (6a2) and WMI

Discussion in 'Python' started by bschollnick@gmail.com, Dec 7, 2004.

  1. Guest

    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
     
    , Dec 7, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Peuser

    OpenGL with Mcmillan Installer?

    Michael Peuser, Aug 23, 2003, in forum: Python
    Replies:
    0
    Views:
    313
    Michael Peuser
    Aug 23, 2003
  2. Replies:
    0
    Views:
    307
  3. Harald Schneider
    Replies:
    1
    Views:
    2,352
    Harald Schneider
    Dec 1, 2003
  4. ardechou
    Replies:
    1
    Views:
    292
    Michel Claveau, résurectionné d'outre-bombe inform
    Jul 22, 2004
  5. Svein Brekke

    Gordon McMillan installer and Python 2.4

    Svein Brekke, Mar 2, 2005, in forum: Python
    Replies:
    10
    Views:
    772
    David Bolen
    Mar 4, 2005
Loading...

Share This Page