[wxPython-users] Re: Platform<=>version conflict or what?
Phillip Stevens
pmstevens at verizon.net
Tue Jul 3 04:06:32 PDT 2007
Hi Jorma,
Here is some info about the search order of .DLL's:
http://msdn2.microsoft.com/en-us/library/ms682586.aspx
Since you say it extracts the files into a Temp folder, I'm guessing
that it should add this Temp Folder to the Path (for 98 anyway...).
Is it possible that the Path has grown too long, or that you are out
of environment space on the Win98 system? If so the Path maybe has
been truncated, Or maybe it fails to modify the Path, and that is
the problem.
The error message says that it cannot find the file. If a file really is
there, I'd wonder if it can't find it it because the Path isn't
pointing to it. In the other OS'es it may be using the other search
mechanisms available in order to locate the .DLL.
If this isn't it, it's probably time to run it under a debugger
(IDLE, GDB, or other), set some breakpoints, run to just before
where things break, and then single step along and see what's really
going on, at the moment when things do break. And which .DLL is
involved, as that might provide a clue.
---Phil
Tuesday, July 3, 2007, 5:33:28 AM, you wrote:
> Phillip Stevens kirjoitti:
>>
>> - Have you verified that the files have been properly extracted
>> from the single executable into the temporary directory? Do they
>> have the same MD5SUM's as they did before they were placed into the
>> single file executable?
>>
>> - Does it make any difference if compression is turned off?
> No
>>
>> - Maybe it's an order of events thing? (maybe the .dlls have to
>> already be present before the .exe starts running?? I ask this not
>> knowing if it extracts them all, or if they are extracted "on demand"
>> as requested, or the order in which they are extracted...)
> It extracts all of them first to Temp-folder !
>>
>>> 4)Filemon
>>> - Can you collect the whole trace with it ?
>> I've never run into a case where I could not see what I wanted to see
>> with Filemon. I usually let things run to the point where the event
>> has happened, then stop the capture in Filemon, and look back at what
>> happened.
>>
>>> rgds,
>>
>>> Jorma
> Hi Philip,
> I had some more time to study the abnormalities when tryi´ing to run
> "NSISed" .exe (originated on py2exed dist - folder) on Win98:
> The facts are:
> - the original test GUI-appl runs fine from it´s dist-folder in all OS´s
> (also Win98), when py2exe not-budled
> - when NSISed error msg is generated as previously informed:
> File "wx\__init__.pyc", line 45, in <module>
> File "wx\_core.pyc", line 4, in <module>
> File "wx\_core_.pyc", line 12, in <module>
> File "wx\_core_.pyc", line 10, in __load
> ImportError: DLL load failed: One of the library files needed to run
> this application cannot be found.
> - NSISed single exe file works fine in all other OS´s than WIN98, where
> it was made (as trial)
> - "Filemon" does not show clearly any missing sw-modules-when running
> NSISed single .exe on Win98
> - there are however some for me strange abnormalities of extracted
> sw-modules on Win98:
> when NSISed exe is running from it´s Temp-folder, there happens many times:
> - Atribute errors (twice)"NOTFOUND" when "GetAttributes" requested
> - FindOPen/Open errors "NOTFOUND" with "OPENEXISTING READONLY DENYNONE"
> Other marking
> - CONAGENT.PIF , DOSAGENT.INI and ConAgent.ico GetAttributes "NOTFOUND"
> Could someone give good proposals how to go on to try to find out the
> reason for the problem !
> Thanks and best regards,
> Jorma Paavola
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail:
> wxPython-users-help at lists.wxwidgets.org
More information about the wxpython-users
mailing list