Troubles With McMillan Installer

Mike Cravitz mcravitz at worldnet.att.net
Tue Jul 10 23:19:59 CEST 2001


When trying to run the executable created by Simple.py (followed by
the install step), I get the message "ImportError: No module named
mxDateTime". The directory containing the installed software looks
like this...
 Directory of D:\temp\stuff

07/10/01  12:25p        <DIR>          .
07/10/01  12:25p        <DIR>          ..
07/10/01  12:25p                77,878 MSVCIRT.dll
07/10/01  12:25p                69,632 07/10/01  12:25p
mx.DateTime.mxDateTime.mxDateTime.pyd
07/10/01  12:25p               667,729 python20.dll
07/10/01  12:25p             3,883,055 wx23_0h.dll
07/10/01  12:25p               394,577 wxptest.exe
07/10/01  12:25p                57,407 wxPython.calendarc.pyd
07/10/01  12:25p               286,779 wxPython.gridc.pyd
07/10/01  12:25p               159,804 wxPython.utilsc.pyd
07/10/01  12:25p             1,732,665 wxPython.wxc.pyd
07/10/01  12:25p                61,517 zlib.pyd
07/10/01  12:25p                32,848 _socket.pyd
07/10/01  12:25p                45,133 _sre.pyd
              14 File(s)      7,469,024 bytes
                          9,639,739,392 bytes free

So I renamed mx.DateTime.mxDateTime.mxDateTime.pyd to simply
mxDateTime.pyd and got a traceback of "mxDateTime.Error: no current
time API set". Can anybody provide me with some assistance on this
problem. Thanks much.

Mike

Btw,  In case it would be helpful here are the two tracebacks in their
entirety...

====start of traceback BEFORE rename of
====mx.DateTime.mxDateTime.mxDateTime.pyd to
====mxDateTime.pyd

D:\temp\stuff>wxptest
Traceback (most recent call last):
  File "<string>", line 3, in ?
  File "H:\python\installer\support\imputil.py", line 88, in
_import_hook
    top_module = self._import_top_module(parts[0])
  File "H:\python\installer\support\imputil.py", line 170, in
_import_top_module
    module = item.import_top(name)
  File "H:\python\installer\support\imputil.py", line 197, in
import_top
    return self._import_one(None, name, name)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "H:\Applications\CRT\Client\crtQueryRefno.py", line 5, in ?
    from mx.DateTime import *
  File "H:\python\installer\support\imputil.py", line 117, in
_import_hook
    return importer._finish_import(top_module, parts[1:], fromlist)
  File "H:\python\installer\support\imputil.py", line 206, in
_finish_import
    bottom = self._load_tail(top, parts)
  File "H:\python\installer\support\imputil.py", line 292, in
_load_tail
    m = self._import_one(m, part, fqname)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "h:\python\lib\mx\DateTime\__init__.py", line 8, in ?
    from DateTime import *
  File "H:\python\installer\support\imputil.py", line 78, in
_import_hook
    module = parent.__importer__._do_import(parent, parts, fromlist)
  File "H:\python\installer\support\imputil.py", line 323, in
_do_import
    top_module = self._import_one(parent, top_name, top_fqname)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "h:\python\lib\mx\DateTime\DateTime.py", line 9, in ?
    from mxDateTime import *
  File "H:\python\installer\support\imputil.py", line 91, in
_import_hook
    raise ImportError, 'No module named ' + fqname
ImportError: No module named mxDateTime


====end of traceback BEFORE rename of
====mx.DateTime.mxDateTime.mxDateTime.pyd to
====mxDateTime.pyd


====start of traceback AFTER rename of
====mx.DateTime.mxDateTime.mxDateTime.pyd to
====mxDateTime.pyd

Traceback (most recent call last):
  File "<string>", line 3, in ?
  File "H:\python\installer\support\imputil.py", line 88, in
_import_hook
    top_module = self._import_top_module(parts[0])
  File "H:\python\installer\support\imputil.py", line 170, in
_import_top_module
    module = item.import_top(name)
  File "H:\python\installer\support\imputil.py", line 197, in
import_top
    return self._import_one(None, name, name)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "H:\Applications\CRT\Client\crtQueryRefno.py", line 5, in ?
    from mx.DateTime import *
  File "H:\python\installer\support\imputil.py", line 117, in
_import_hook
    return importer._finish_import(top_module, parts[1:], fromlist)
  File "H:\python\installer\support\imputil.py", line 206, in
_finish_import
    bottom = self._load_tail(top, parts)
  File "H:\python\installer\support\imputil.py", line 292, in
_load_tail
    m = self._import_one(m, part, fqname)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "h:\python\lib\mx\DateTime\__init__.py", line 8, in ?
    from DateTime import *
  File "H:\python\installer\support\imputil.py", line 78, in
_import_hook
    module = parent.__importer__._do_import(parent, parts, fromlist)
  File "H:\python\installer\support\imputil.py", line 323, in
_do_import
    top_module = self._import_one(parent, top_name, top_fqname)
  File "H:\python\installer\support\imputil.py", line 252, in
_import_one
    module = self._process_result(result, fqname)
  File "H:\python\installer\support\imputil.py", line 281, in
_process_result
    exec code in module.__dict__
  File "h:\python\lib\mx\DateTime\DateTime.py", line 898, in ?
    def add_century(year,
mxDateTime.Error: no current time API set


====end of traceback AFTER rename of
====mx.DateTime.mxDateTime.mxDateTime.pyd to
====mxDateTime.pyd



More information about the Python-list mailing list