[wxPython] problems with McMillan's Installer

I'm running into some problem's using Gordon's Installer:

Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
nor wxPython installed), things stop working consistently.

Symptoms:

* I build an installation using wxPython 2.1.13, appears to work fine on
Windows 95

* I upgrade to 2.1.16, rebuild and retest. I get the following error on
startup on win95/98:

Traceback (innermost last):
  File "<string>", line 3, in ?
  File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
  File "d:\apps\Installer\support\imputil.py", line 176, in _import_top_module
  File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
  File "c:\python\wxpython\__init__.py", line 20, in ?
  File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
ImportError: DLL load failed: A device attached to the system is not
functioning

* wxpython\__init__.py line 20 import the wxc extension.

* I uninstall 2.1.16 from my dev system, reboot, and install
2.1.13. Rebuild installation. Same error.

* I install Python on the test win98 system (reboot). Same error.

* I install wxPython 2.1.13 on the test system (reboot) - It works!

* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!

* I uninstall Python from the test system (reboot) - It works!

I search the test system drives for python and wxPython dlls - nothing.

I search the test system registry for references to python or wxPython -
nothing.

I tried various PYTHONPATH settings, including the current directory, the
directory holding my sources, and my Python installation dir -- same
results.

Something's obviously changed on the test system by the installation of
wxPython, but I don't know what.

Anyone else run into anything similar?

Thanks much in advance!

Miles

After a little more research, I believe there's one or more DLLs that
wxc.pyd depends on, that are installed by the wxPython installer, but that
Gordon McMillan's Installer doesn't pick up as dependencies (MSVCRT.DLL
may be one..).

Robin - what's the easiest way to determine what files the wxPython
installer actually installs on the system?

Thanks!

Miles

···

On Sat, 15 Jul 2000, Miles Clark wrote:

I'm running into some problem's using Gordon's Installer:

Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
nor wxPython installed), things stop working consistently.

Symptoms:

* I build an installation using wxPython 2.1.13, appears to work fine on
Windows 95

* I upgrade to 2.1.16, rebuild and retest. I get the following error on
startup on win95/98:

Traceback (innermost last):
  File "<string>", line 3, in ?
  File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
  File "d:\apps\Installer\support\imputil.py", line 176, in _import_top_module
  File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
  File "c:\python\wxpython\__init__.py", line 20, in ?
  File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
ImportError: DLL load failed: A device attached to the system is not
functioning

* wxpython\__init__.py line 20 import the wxc extension.

* I uninstall 2.1.16 from my dev system, reboot, and install
2.1.13. Rebuild installation. Same error.

* I install Python on the test win98 system (reboot). Same error.

* I install wxPython 2.1.13 on the test system (reboot) - It works!

* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!

* I uninstall Python from the test system (reboot) - It works!

I search the test system drives for python and wxPython dlls - nothing.

I search the test system registry for references to python or wxPython -
nothing.

I tried various PYTHONPATH settings, including the current directory, the
directory holding my sources, and my Python installation dir -- same
results.

Something's obviously changed on the test system by the installation of
wxPython, but I don't know what.

Anyone else run into anything similar?

Thanks much in advance!

Miles

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

I believe that the install.log file written by the wxPython installer (in your wxPython directory) lists all the files installed on the system, as well as the registry keys that are set.

-greg

···

At 01:00 PM 7/15/2000 -0700, Miles Clark wrote:

Robin - what's the easiest way to determine what files the wxPython
installer actually installs on the system?

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist

You're right Greg. Thanks for the tip.

···

On Sat, 15 Jul 2000, Greg Landrum wrote:

At 01:00 PM 7/15/2000 -0700, Miles Clark wrote:

>Robin - what's the easiest way to determine what files the wxPython
>installer actually installs on the system?

I believe that the install.log file written by the wxPython installer (in
your wxPython directory) lists all the files installed on the system, as
well as the registry keys that are set.

-greg

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

Hello,

I'm running into the same problem as below. I get exactly the same error
messages. Has anyone solved it?

Bob

···

At 11:48 AM 7/15/00 -0700, you wrote:

I'm running into some problem's using Gordon's Installer:

Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
nor wxPython installed), things stop working consistently.

Symptoms:

* I build an installation using wxPython 2.1.13, appears to work fine on
Windows 95

* I upgrade to 2.1.16, rebuild and retest. I get the following error on
startup on win95/98:

Traceback (innermost last):
File "<string>", line 3, in ?
File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
File "d:\apps\Installer\support\imputil.py", line 176, in _import_top_module
File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
File "c:\python\wxpython\__init__.py", line 20, in ?
File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
ImportError: DLL load failed: A device attached to the system is not
functioning

* wxpython\__init__.py line 20 import the wxc extension.

* I uninstall 2.1.16 from my dev system, reboot, and install
2.1.13. Rebuild installation. Same error.

* I install Python on the test win98 system (reboot). Same error.

* I install wxPython 2.1.13 on the test system (reboot) - It works!

* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!

* I uninstall Python from the test system (reboot) - It works!

I search the test system drives for python and wxPython dlls - nothing.

I search the test system registry for references to python or wxPython -
nothing.

I tried various PYTHONPATH settings, including the current directory, the
directory holding my sources, and my Python installation dir -- same
results.

Something's obviously changed on the test system by the installation of
wxPython, but I don't know what.

Anyone else run into anything similar?

Thanks much in advance!

Miles

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
(216) 433-2837
--------------------------------------------------

The root of the problem is an out-of-date msvcrt.dll. Gordon's Installer
doesn't pickup that file as a dependency, but a current version is
required by wxWindows.

I solved by copying my msvcrt.dll from my windows system directory into
my installation distribution, and using Inno Setup to upgrade it if
necessary on install.

Miles

···

On Thu, 20 Jul 2000, Robert B. Klimek wrote:

Hello,

I'm running into the same problem as below. I get exactly the same error
messages. Has anyone solved it?

Bob

At 11:48 AM 7/15/00 -0700, you wrote:
>
>I'm running into some problem's using Gordon's Installer:
>
>Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
>Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
>nor wxPython installed), things stop working consistently.
>
>Symptoms:
>
>* I build an installation using wxPython 2.1.13, appears to work fine on
>Windows 95
>
>* I upgrade to 2.1.16, rebuild and retest. I get the following error on
>startup on win95/98:
>
>Traceback (innermost last):
> File "<string>", line 3, in ?
> File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
> File "d:\apps\Installer\support\imputil.py", line 176, in _import_top_module
> File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
> File "c:\python\wxpython\__init__.py", line 20, in ?
> File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
>ImportError: DLL load failed: A device attached to the system is not
>functioning
>
>* wxpython\__init__.py line 20 import the wxc extension.
>
>* I uninstall 2.1.16 from my dev system, reboot, and install
>2.1.13. Rebuild installation. Same error.
>
>* I install Python on the test win98 system (reboot). Same error.
>
>* I install wxPython 2.1.13 on the test system (reboot) - It works!
>
>* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!
>
>* I uninstall Python from the test system (reboot) - It works!
>
>
>I search the test system drives for python and wxPython dlls - nothing.
>
>I search the test system registry for references to python or wxPython -
>nothing.
>
>I tried various PYTHONPATH settings, including the current directory, the
>directory holding my sources, and my Python installation dir -- same
>results.
>
>Something's obviously changed on the test system by the installation of
>wxPython, but I don't know what.
>
>Anyone else run into anything similar?
>
>
>Thanks much in advance!
>
>
>Miles
>
>
>
>
>
>
>_______________________________________________
>wxPython-users mailing list wxPython-users@wxwindows.org
>http://wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
(216) 433-2837
--------------------------------------------------

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

Miles,

Thanks for the quick reply. But I'm still missing something. I'm aware of
the msvcrt.dll problem and I added it to the .cfg file but it still won't work.

Specifically what I did was copy the msvcrt.dll file from c:\winnt\system32
to my install directory. And I added it to the 'misc' option in the .cfg
file. I run the .bat file and it produces a directory with bunch of stuff
including the msvcrt.dll. Then I copy the whole directory to another PC and
run the executible and... get the same darn error as below.

I haven't gotten to the Inno Setup yet.

Bob

···

At 01:36 PM 7/20/00 -0700, you wrote:

The root of the problem is an out-of-date msvcrt.dll. Gordon's Installer
doesn't pickup that file as a dependency, but a current version is
required by wxWindows.

I solved by copying my msvcrt.dll from my windows system directory into
my installation distribution, and using Inno Setup to upgrade it if
necessary on install.

Miles

On Thu, 20 Jul 2000, Robert B. Klimek wrote:

Hello,

I'm running into the same problem as below. I get exactly the same error
messages. Has anyone solved it?

Bob

At 11:48 AM 7/15/00 -0700, you wrote:
>
>I'm running into some problem's using Gordon's Installer:
>
>Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
>Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
>nor wxPython installed), things stop working consistently.
>
>Symptoms:
>
>* I build an installation using wxPython 2.1.13, appears to work fine on
>Windows 95
>
>* I upgrade to 2.1.16, rebuild and retest. I get the following error on
>startup on win95/98:
>
>Traceback (innermost last):
> File "<string>", line 3, in ?
> File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
> File "d:\apps\Installer\support\imputil.py", line 176, in

_import_top_module

> File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
> File "c:\python\wxpython\__init__.py", line 20, in ?
> File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
>ImportError: DLL load failed: A device attached to the system is not
>functioning
>
>* wxpython\__init__.py line 20 import the wxc extension.
>
>* I uninstall 2.1.16 from my dev system, reboot, and install
>2.1.13. Rebuild installation. Same error.
>
>* I install Python on the test win98 system (reboot). Same error.
>
>* I install wxPython 2.1.13 on the test system (reboot) - It works!
>
>* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!
>
>* I uninstall Python from the test system (reboot) - It works!
>
>
>I search the test system drives for python and wxPython dlls - nothing.
>
>I search the test system registry for references to python or wxPython -
>nothing.
>
>I tried various PYTHONPATH settings, including the current directory, the
>directory holding my sources, and my Python installation dir -- same
>results.
>
>Something's obviously changed on the test system by the installation of
>wxPython, but I don't know what.
>
>Anyone else run into anything similar?
>
>
>Thanks much in advance!
>
>
>Miles
>
>
>
>
>
>
>_______________________________________________
>wxPython-users mailing list wxPython-users@wxwindows.org
>http://wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
(216) 433-2837
--------------------------------------------------

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
(216) 433-2837
--------------------------------------------------

Since msvcrt.dll is shared, is there a chance that your program is picking
up the wrong one? I used the System Information utility on Win98 to
determine which dll was actually loaded into memory, and it wasn't until I
installed the newer one into the system directory did it actually get
loaded.

miles

···

On Thu, 20 Jul 2000, Robert B. Klimek wrote:

Miles,

Thanks for the quick reply. But I'm still missing something. I'm aware of
the msvcrt.dll problem and I added it to the .cfg file but it still won't work.

Specifically what I did was copy the msvcrt.dll file from c:\winnt\system32
to my install directory. And I added it to the 'misc' option in the .cfg
file. I run the .bat file and it produces a directory with bunch of stuff
including the msvcrt.dll. Then I copy the whole directory to another PC and
run the executible and... get the same darn error as below.

I haven't gotten to the Inno Setup yet.

Bob

At 01:36 PM 7/20/00 -0700, you wrote:
>
>The root of the problem is an out-of-date msvcrt.dll. Gordon's Installer
>doesn't pickup that file as a dependency, but a current version is
>required by wxWindows.
>
>I solved by copying my msvcrt.dll from my windows system directory into
>my installation distribution, and using Inno Setup to upgrade it if
>necessary on install.
>
>Miles
>
>
>
>On Thu, 20 Jul 2000, Robert B. Klimek wrote:
>
>> Hello,
>>
>> I'm running into the same problem as below. I get exactly the same error
>> messages. Has anyone solved it?
>>
>> Bob
>>
>>
>> At 11:48 AM 7/15/00 -0700, you wrote:
>> >
>> >I'm running into some problem's using Gordon's Installer:
>> >
>> >Everything works fine on my develoment system (WinNT 4.0, Python 1.5.2,
>> >Installer beta 3f), but when I test on Windows 95 or 98 (neither Python
>> >nor wxPython installed), things stop working consistently.
>> >
>> >Symptoms:
>> >
>> >* I build an installation using wxPython 2.1.13, appears to work fine on
>> >Windows 95
>> >
>> >* I upgrade to 2.1.16, rebuild and retest. I get the following error on
>> >startup on win95/98:
>> >
>> >Traceback (innermost last):
>> > File "<string>", line 3, in ?
>> > File "d:\apps\Installer\support\imputil.py", line 51, in _import_hook
>> > File "d:\apps\Installer\support\imputil.py", line 176, in
>_import_top_module
>> > File "d:\apps\Installer\support\imputil.py", line 226, in _import_one
>> > File "c:\python\wxpython\__init__.py", line 20, in ?
>> > File "d:\apps\Installer\support\imputil.py", line 54, in _import_hook
>> >ImportError: DLL load failed: A device attached to the system is not
>> >functioning
>> >
>> >* wxpython\__init__.py line 20 import the wxc extension.
>> >
>> >* I uninstall 2.1.16 from my dev system, reboot, and install
>> >2.1.13. Rebuild installation. Same error.
>> >
>> >* I install Python on the test win98 system (reboot). Same error.
>> >
>> >* I install wxPython 2.1.13 on the test system (reboot) - It works!
>> >
>> >* I uninstall wxPython 2.1.13 from the test system (reboot) - It works!
>> >
>> >* I uninstall Python from the test system (reboot) - It works!
>> >
>> >
>> >I search the test system drives for python and wxPython dlls - nothing.
>> >
>> >I search the test system registry for references to python or wxPython -
>> >nothing.
>> >
>> >I tried various PYTHONPATH settings, including the current directory, the
>> >directory holding my sources, and my Python installation dir -- same
>> >results.
>> >
>> >Something's obviously changed on the test system by the installation of
>> >wxPython, but I don't know what.
>> >
>> >Anyone else run into anything similar?
>> >
>> >
>> >Thanks much in advance!
>> >
>> >
>> >Miles
>> >
>> >
>> >
>> >
>> >
>> >
>> >_______________________________________________
>> >wxPython-users mailing list wxPython-users@wxwindows.org
>> >http://wxwindows.org/mailman/listinfo/wxpython-users
>>
>> -------------------------------------------------
>> Robert B. Klimek
>> NASA Glenn Research Center
>> robert.klimek@grc.nasa.gov
>> (216) 433-2837
>> --------------------------------------------------
>>
>>
>> _______________________________________________
>> wxPython-users mailing list wxPython-users@wxwindows.org
>> http://wxwindows.org/mailman/listinfo/wxpython-users
>>
>
>
>
>_______________________________________________
>wxPython-users mailing list wxPython-users@wxwindows.org
>http://wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
Robert B. Klimek
NASA Glenn Research Center
robert.klimek@grc.nasa.gov
(216) 433-2837
--------------------------------------------------

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users