Platform<=>version conflict or what?

Jorma Paavola Jorma.Paavola at Elisanet.fi
Sun Jun 3 04:45:50 PDT 2007


Phillip Stevens kirjoitti:
> Hi Jorma,
> =

> I just renamed gdiplus.dll here so it wouldn't be found,  and MY App (als=
o) says:
>   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.
> =

> So I will be very surprised if it isn't this.
> =

> Try moving the .dll directly into the same directory as you are running t=
he exe
> from.
> =

> If that doesn't work make sure you don't have different versions of
> the .dll floating around on the system,  and try different ones in the
> directory the exe is being run from.  Or mis-matched versions,  or
> something.  You could be in ".dll h*ll"
> =

> If it still doesn't run,  go to www.sysinternals.com (now part of Microso=
ft),
> and get some of the cool tools they have there like filemon so you can se=
e what
> it is,  that your app is trying to load.  A lot of very useful things the=
re like
> Process Explorer,  so stock up.  :P
> =


Hi Phil,

First I would like to explain, that my TestApp(.exe) is first py2eded =

(without bundle) totalling 16 files on dist-folder. When I try it, it =

runs perfectly on all WinOS's !
My goal is this make 'single-exe' (to work also on all WinOS's), where I =

used NSIS proposed by Oleg.
This works fine on my Win2k ! - It'll create Runtime-Temp, where the =

TestApp is running from, when started and erases Temp-file automatically =

when exited - this feature I like !!

1) gdiplus.dll
- according to my knowledge gdiplus.dll is needed also, when running =

py2exed TestApp - this works fine (also on Win98)
- the problem starts when trying to run NSISed TestApp on Win98 !!
- due the dynamic generation of Runbase on Temp-file gdiplus.dll cannot =

be placed on it, but never mind the first priority is the version on =

windows/system-folder
- even that I have six different gdiplus.dll located in different places =

  they are same versions exept one, which is not in use

2) Tools from sysintervals
- I tested Process Explorer, which shows the situation on Runtime-basis
	- this is however not so nice to track failures happening only once!
- Also I used "Dependency Walker", which principally should show the =

whole story, this however 'failed' partly as it became unfortunately =

refresched and a part of data became lost

3) Process Explorer gave an detailled list of running state on my =

TestApp on Win2k (Moron.exe.txt).
There are two files, which I would like to remark:
- nsexec.dll (NSIS-module ~ OK !)
- TrtseShl.dll           (TortoiseShell) ?? WHY ?

On Win98 could be seen 'a strange module' flashing just before exit to =

traceback:
- WINO386.mod	Non Windows based module ???

What is WINO386.mod ???

4)Filemon
- Can you collect the whole trace with it ?

rgds,

Jorma

-------------- next part --------------
Process	PID	CPU	Description	Company Name
System Idle Process	0	94.34		=

 Interrupts	n/a		Hardware Interrupts	=

 DPCs	n/a		Deferred Procedure Calls	=

 System	8			=

  SMSS.EXE	164		Windows NT Session Manager	Microsoft Corporation
   CSRSS.EXE	188		Client Server Runtime Process	Microsoft Corporation
   WINLOGON.EXE	208		Windows NT Logon Application	Microsoft Corporation
    SERVICES.EXE	236		Services and Controller app	Microsoft Corporation
     ati2evxx.exe	356			=

     svchost.exe	448		Generic Host Process for Win32 Services	Microsoft Cor=
poration
     spoolsv.exe	472		Spooler SubSystem App	Microsoft Corporation
     AluSchedulerSvc	512		Automatic LiveUpdate Scheduler Service	Symantec C=
orporation
     CCSETMGR.EXE	540		Symantec Settings Manager Service	Symantec Corporati=
on
     svchost.exe	568		Generic Host Process for Win32 Services	Microsoft Cor=
poration
     GBPoll.exe	608		Norton GoBack Polling Service	Symantec Corporation
     InCDsrv.exe	636		incdsrv	Nero AG
     NAVAPSVC.EXE	680		Norton AntiVirus Auto-Protect Service	Symantec Corpo=
ration
     NPFMNTOR.EXE	728		Norton AntiVirus Firewall Install Monitor	Symantec C=
orporation
     NPROTECT.EXE	748		Norton Protection Status	Symantec Corporation
     mstask.exe	868		Task Scheduler Engine	Microsoft Corporation
     SNDSrvc.exe	888		Network Driver Service	Symantec Corporation
     NOPDB.exe	932		NOPDB	Symantec Corporation
     symlcsvc.exe	948		Symantec Core Component	Symantec Corporation
     WinMgmt.exe	980		Windows Management Instrumentation	Microsoft Corporat=
ion
     svchost.exe	996		Generic Host Process for Win32 Services	Microsoft Cor=
poration
     CCEVTMGR.EXE	1024		Symantec Event Manager Service	Symantec Corporation
     NSCSRVCE.EXE	1364		Norton Security Console Norton Protection Center Se=
rvice	Symantec Corporation
    LSASS.EXE	248		LSA Executable and Server DLL (Export Version)	Microsoft=
 Corporation
    ati2evxx.exe	1320			=

explorer.exe	1352		Windows Explorer	Microsoft Corporation
 atiptaxx.exe	1468		ATI Desktop Control Panel	ATI Technologies, Inc.
 CCAPP.EXE	1452		Symantec User Session	Symantec Corporation
 InCD.exe	1496		InCD	Nero AG
 jusched.exe	1516		Java(TM) Platform SE binary	Sun Microsystems, Inc.
 winampa.exe	1192			=

 realsched.exe	1532		RealNetworks Scheduler	RealNetworks, Inc.
 GoogleToolbarNo	1544		GoogleToolbarNotifier	Google Inc.
 GBTray.exe	1580		Norton GoBack Tray Icon	Symantec Corporation
 procexp.exe	1524	4.72	Sysinternals Process Explorer	Sysinternals
  Moron.exe	2060	0.94		=

   ns15.tmp	1752			=

    CMD.EXE	528		Windows NT Command Processor	Microsoft Corporation
     Moro.exe	1368			=

SymTray.exe	1408		Norton SystemWorks SymTray	Symantec Corporation

Process: Moron.exe Pid: 2060

Name	Description	Company Name	Version
ADVAPI32.DLL	Advanced Windows 32 Base API	Microsoft Corporation	5.00.2195.7=
038
clbcatq.dll		Microsoft Corporation	2000.02.3529.0000
comctl32.dll	Common Controls Library	Microsoft Corporation	5.81.4968.2500
COMDLG32.DLL	Common Dialogs DLL	Microsoft Corporation	5.00.3700.6693
cscdll.dll	Offline Network Agent	Microsoft Corporation	5.00.2195.6713
cscui.dll	Client Side Caching UI	Microsoft Corporation	5.00.2195.6705
ctype.nls			=

GDI32.DLL	GDI Client DLL	Microsoft Corporation	5.00.2195.7133
KERNEL32.DLL	Windows NT BASE API Client DLL	Microsoft Corporation	5.00.2195=
.7099
locale.nls			=

lz32.dll	LZ Expand/Compress API DLL	Microsoft Corporation	5.00.2195.6611
Moron.exe			=

msvcp71.dll	Microsoft=AE C++ Runtime Library	Microsoft Corporation	7.10.307=
7.0000
msvcr71.dll	Microsoft=AE C Runtime Library	Microsoft Corporation	7.10.3052.=
0004
msvcrt.dll	Microsoft (R) C Runtime Library	Microsoft Corporation	6.01.9844.=
0000
nsExec.dll			=

NTDLL.DLL	NT Layer DLL	Microsoft Corporation	5.00.2195.7006
OLE32.DLL	Microsoft OLE for Windows	Microsoft Corporation	5.00.2195.7059
OLEAUT32.DLL		Microsoft Corporation	2.40.4522.0000
rpcrt4.dll	Remote Procedure Call Runtime	Microsoft Corporation	5.00.2195.70=
85
SETUPAPI.DLL	Windows Setup API	Microsoft Corporation	5.00.2195.6622
SHELL32.DLL	Windows Shell Common Dll	Microsoft Corporation	5.00.3900.7105
ShellExt.dll	GoBack Shell Extension	Symantec Corporation	4.01.0000.0365
SHLWAPI.DLL	Shell Light-weight Utility Library	Microsoft Corporation	6.00.2=
800.1907
sortkey.nls			=

sorttbls.nls			=

TrtseShl.dll	TortoiseShell	www.tortoisecvs.org	1.08.0031.0001
unicode.nls			=

USER32.DLL	Windows 2000 USER API Client DLL	Microsoft Corporation	5.00.2195=
.7133
USERENV.DLL	Userenv	Microsoft Corporation	5.00.2195.7002
version.dll	Version Checking and File Installation Libraries	Microsoft Corp=
oration	5.00.2195.6623
ws2_32.dll	Windows Socket 2.0 32-Bit DLL	Microsoft Corporation	5.00.2195.66=
01
ws2help.dll	Windows Socket 2.0 Helper for Windows NT	Microsoft Corporation	=
5.00.2134.0001
wsock32.dll	Windows Socket 32-Bit DLL	Microsoft Corporation	5.00.2195.6603


More information about the wxpython-users mailing list