Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Python 3.4.1 - Pythonw.exe not working


Newbie

Status: Offline
Posts: 2
Date:
Python 3.4.1 - Pythonw.exe not working
Permalink   
 


I packaged Python 3.4.1 via a msi using a standard capture [ghost capture failed registering a dll]. Whenever I go to run it, I pick IDLE (Python GUI), which points to pythonw.exe. However, nothing happens. I have also launched a command box from the context of this package, went and tried to manually run the program with nothing happening and no error codes returned, also nothing in the event logs. I used the cameyo tracer tool and below is the filtered results for pythonw.exe. Any help would be appreciated.

I am trying to package this on

  Windows 7sp1 x86

PID3448:TID2552:3674416ms:Python.cameyo.exe|WinUtils:Ini: 'AutoLaunch=C:\Python34\pythonw.exe>>IDLE (Python GUI)>;C:\Python34\python.exe>>Module Docs>;C:\Python34\Doc\python341.chm>>Python Manuals>'

PID3448:TID2552:3674416ms:Python.cameyo.exe|WinUtils:Ini: 'Shortcuts=C:\Python34\pythonw.exe>>%Programs%\Python 3.4\IDLE (Python GUI).lnk>;C:\Python34\python.exe>>%Programs%\Python 3.4\Module Docs.lnk>;C:\Python34\Doc\python341.chm>>%Programs%\Python 3.4\Python Manuals.lnk>;%System%\msiexec.exe>/x{df32bb9e-3ed8-36b5-a649-e8c845c5f3a2}>%Programs%\Python 3.4\Uninstall Python.lnk>'

PID3448:TID2552:3674603ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3448:TID2552:3675258ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3448:TID2552:3675305ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3448:TID2552:3675336ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3448:TID2552:3675367ms:Python.cameyo.exe|Update:MergeTreeUpdate_Callback: C_\Python34\pythonw.exe

PID3448:TID2552:3675399ms:Python.cameyo.exe|Update:MergeTreeUpdate_Callback: Icons\pythonw.exe.ico

PID3448:TID2552:3675461ms:Python.cameyo.exe|VirtLoader:Flags=0021 C_\Python34\pythonw.exe (27kb): FileAttr=020 ShortName= VirtRepository=0 LastWriteTime=18/05/2014 VfcPointer=24555072 CompSize=11537

PID3448:TID2552:3675492ms:Python.cameyo.exe|VirtLoader:Flags=0001 Icons\pythonw.exe.ico (19kb): FileAttr=00 ShortName= VirtRepository=0 LastWriteTime=01/01/1601 VfcPointer=28492130 CompSize=7541

PID3528:TID2456:3677411ms:Python.cameyo.exe|WinUtils:Ini: 'AutoLaunch=C:\Python34\pythonw.exe>>IDLE (Python GUI)>;C:\Python34\python.exe>>Module Docs>;C:\Python34\Doc\python341.chm>>Python Manuals>'

PID3528:TID2456:3677411ms:Python.cameyo.exe|WinUtils:Ini: 'Shortcuts=C:\Python34\pythonw.exe>>%Programs%\Python 3.4\IDLE (Python GUI).lnk>;C:\Python34\python.exe>>%Programs%\Python 3.4\Module Docs.lnk>;C:\Python34\Doc\python341.chm>>%Programs%\Python 3.4\Python Manuals.lnk>;%System%\msiexec.exe>/x{df32bb9e-3ed8-36b5-a649-e8c845c5f3a2}>%Programs%\Python 3.4\Uninstall Python.lnk>'

PID3448:TID2552:3678160ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3448:TID2552:3678191ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3448:TID2552:3681030ms:Python.cameyo.exe|VirtLoader:- Skipping 'C_\Python34\pythonw.exe' [FileFlags=0021, Mode=1]

PID3448:TID2552:3681061ms:Python.cameyo.exe|VirtLoader:+ Deploying 'Icons\pythonw.exe.ico'

PID3448:TID2552:3681061ms:Python.cameyo.exe|UnpackUtils:UnpackUtils_DeployFromVfc(Icons\pythonw.exe.ico): creating dir C:\Users\madmin\AppData\Roaming\VOS\Python\PROG\Icons (bRet=1)

PID3448:TID2552:3681061ms:Python.cameyo.exe|UnpackUtils:UnpackUtils_DeployFromVfc(Icons\pythonw.exe.ico): disconnecting newly-created dir: Icons

PID3448:TID2552:3681061ms:Python.cameyo.exe|UnpackUtils:UnpackUtils_DeployFromVfc(Icons\pythonw.exe.ico): bRet=1

PID3448:TID2552:3681093ms:Python.cameyo.exe|VirtLoader:Loader_Main: AutoLaunchMode=0, AutoLaunchRaw=C:\Python34\pythonw.exe>>IDLE (Python GUI)>;C:\Python34\python.exe>>Module Docs>;C:\Python34\Doc\python341.chm>>Python Manuals>, ExecCmd=

PID3448:TID2552:3681093ms:Python.cameyo.exe|VirtLoader:Loader_Main: AutoLaunchRaw=C:\Python34\pythonw.exe>

PID3448:TID2552:3681093ms:Python.cameyo.exe|VirtLoader:Loader_Main: AutoLaunchCmd=C:\Python34\pythonw.exe

PID3448:TID2552:3681093ms:Python.cameyo.exe|WinUtils:Ini: 'AutoLaunch=C:\Python34\pythonw.exe>>IDLE (Python GUI)>;C:\Python34\python.exe>>Module Docs>;C:\Python34\Doc\python341.chm>>Python Manuals>'

PID3448:TID2552:3681093ms:Python.cameyo.exe|WinUtils:Ini: 'Shortcuts=C:\Python34\pythonw.exe>>%Programs%\Python 3.4\IDLE (Python GUI).lnk>;C:\Python34\python.exe>>%Programs%\Python 3.4\Module Docs.lnk>;C:\Python34\Doc\python341.chm>>%Programs%\Python 3.4\Python Manuals.lnk>;%System%\msiexec.exe>/x{df32bb9e-3ed8-36b5-a649-e8c845c5f3a2}>%Programs%\Python 3.4\Uninstall Python.lnk>'

PID3448:TID2552:3681171ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3448:TID2552:3683916ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtLoader:ExecName: Taking AutoLaunchCmd=C:\Python34\pythonw.exe

PID3448:TID2552:3684665ms:Python.cameyo.exe|NtQueryAttributesFile:ApiInit|FullFileName=C:\Python34\pythonw.exe|VariablizedFileName=C:\Python34\pythonw.exe|DesiredAccess=0|CreateOptions=0

PID3448:TID2552:3684665ms:Python.cameyo.exe|NtQueryAttributesFile:C:\Python34\pythonw.exe -> C_\Python34\pythonw.exe

PID3448:TID2552:3684665ms:Python.cameyo.exe|Cerveau:SandboxCfg_GetFlags(FILES\C_\Python34\pythonw.exe)=StrictlyIsolated

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtUtils:BeforeSyscall(NtQueryAttributesFile): NtQueryAttributesFile(C_\Python34\pythonw.exe) => STATUS_CAMEYO_RETURN_VIRTFILEDATA (Attr=0x0020)

PID3448:TID2552:3684665ms:Python.cameyo.exe|NtQueryAttributesFile:ApiRet|Ret=0x0|Attr=00000020|\??\C:\Python34\pythonw.exe

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtLoader:Loader_Main: GetFileAttributes(C:\Python34\pythonw.exe)=32

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtLoader:Loader_Main: ExecName=C:\Python34\pythonw.exe, Dll32Name=C:\Users\madmin\AppData\Roaming\VOS\Python\AppVirtDll_Python.dll

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtLoader:ExecInject(C:\Python34\pythonw.exe[])

PID3448:TID2552:3684665ms:Python.cameyo.exe|CreateProcessAsUserW:ApiInit: lpApplicationName=(null)|lpCommandLine="C:\Python34\pythonw.exe"|lpCurrentDirectory=(null)|bInheritHandles=0|dwCreationFlags=0x80000|StartupInfo.cb=72(known=68)|hToken=ffffffff

PID3448:TID2552:3684665ms:Python.cameyo.exe|CreateProcessAsUserW:CreateProcessW: FullFileName=C:\Python34\pythonw.exe, lpCurrentDirectory=(null), lpEnvironment=00000000

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtUtils:FileStreaming_Deploy(Section): in: C_\Python34\pythonw.exe, CarrierExeName=C:\Users\madmin\Documents\Cameyo Apps\Python.cameyo.exe

PID3448:TID2552:3684665ms:Python.cameyo.exe|VirtUtils:FileStreaming_Deploy: out: C_\Python34\pythonw.exe (bRet=1)

PID3448:TID2552:3684681ms:Python.cameyo.exe|ImaginarySection:LoadImageFromMemory: in (DbgImaginaryFile=C:\Python34\pythonw.exe)

PID3448:TID2552:3684681ms:Python.cameyo.exe|ImaginaryExec:InitImaginaryProcess: about to save manifest XMLs from C:\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtQueryAttributesFile:ApiInit|FullFileName=C:\Python34\pythonw.exe|VariablizedFileName=C:\Python34\pythonw.exe|DesiredAccess=0|CreateOptions=0

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtQueryAttributesFile:C:\Python34\pythonw.exe -> C_\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|Cerveau:SandboxCfg_GetFlags(FILES\C_\Python34\pythonw.exe)=StrictlyIsolated

PID3448:TID2552:3684681ms:Python.cameyo.exe|VirtUtils:BeforeSyscall(NtQueryAttributesFile): NtQueryAttributesFile(C_\Python34\pythonw.exe) => STATUS_CAMEYO_RETURN_VIRTFILEDATA (Attr=0x0020)

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtQueryAttributesFile:ApiRet|Ret=0x0|Attr=00000020|\??\C:\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtCreateFile:ApiInit|FullFileName=C:\Python34\pythonw.exe|VariablizedFileName=C:\Python34\pythonw.exe|DesiredAccess=80100080|CreateOptions=60

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtCreateFile:C:\Python34\pythonw.exe -> C_\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|Cerveau:SandboxCfg_GetFlags(FILES\C_\Python34\pythonw.exe)=StrictlyIsolated

PID3448:TID2552:3684681ms:Python.cameyo.exe|VirtUtils:BeforeSyscall(NtCreateFile): ImaginaryFile=C_\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|VirtUtils:BeforeSyscall(NtCreateFile): hImaginaryFile=0x44c, dbgCounter=3, MatrixFileName=C_\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|NtCreateFile:ApiRet|Ret=0x0|\??\C:\Python34\pythonw.exe|Out.Handle=0x44c|Options=0x60|Disposition=0x1

PID3448:TID2552:3684681ms:Python.cameyo.exe|ImaginarySection:NtCreateSection(ImaginaryFile=C_\Python34\pythonw.exe): MaximumSize=0, PageAttributes=0x00000002, SectionAttributes=0x08000000, DesiredAccess=0x000f0005, ObjAttr=0x00000000, FileHandle=0x44c

PID3448:TID2552:3684681ms:Python.cameyo.exe|ImaginarySection:NtCreateSection(Data): ImaginaryFile=C_\Python34\pythonw.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|VirtUtils:FileStreaming_Deploy(Section): in: C_\Python34\pythonw.exe, CarrierExeName=C:\Users\madmin\Documents\Cameyo Apps\Python.cameyo.exe

PID3448:TID2552:3684681ms:Python.cameyo.exe|VirtUtils:FileStreaming_Deploy: out: C_\Python34\pythonw.exe (bRet=1)

PID3448:TID2552:3684681ms:Python.cameyo.exe|FileTables:CImaginaryZipCache::GetZipContents(C_\Python34\pythonw.exe): adding to cache: hSection=454, FileSize=27648

PID3448:TID2552:3684681ms:Python.cameyo.exe|WinUtils:ExtractPeManifest(C:\Python34\pythonw.exe): found in PE resource

PID3448:TID2552:3684681ms:Python.cameyo.exe|ImaginarySxsContexts:RemoveNewGlobalAssembliesFromXml(C_\Python34\pythonw.exe): MatrixProcessName=C_\Python34\pythonw.exe

PID3060:TID1800:3684728ms:Python.exe|DllMain:DllMain: CmdLine="C:\Python34\pythonw.exe"

PID3060:TID1800:3684728ms:Python.exe|WinUtils:Ini: 'AutoLaunch=C:\Python34\pythonw.exe>>IDLE (Python GUI)>;C:\Python34\python.exe>>Module Docs>;C:\Python34\Doc\python341.chm>>Python Manuals>'

PID3060:TID1800:3684728ms:Python.exe|WinUtils:Ini: 'Shortcuts=C:\Python34\pythonw.exe>>%Programs%\Python 3.4\IDLE (Python GUI).lnk>;C:\Python34\python.exe>>%Programs%\Python 3.4\Module Docs.lnk>;C:\Python34\Doc\python341.chm>>%Programs%\Python 3.4\Python Manuals.lnk>;%System%\msiexec.exe>/x{df32bb9e-3ed8-36b5-a649-e8c845c5f3a2}>%Programs%\Python 3.4\Uninstall Python.lnk>'

PID3060:TID1800:3684728ms:Python.exe|UnpackUtils:VirtIniSettings: ENV setting found: 'IMAGINARYEXEC_APPNAME=C:\Python34\pythonw.exe'->'IMAGINARYEXEC_APPNAME'='C:\Python34\pythonw.exe'

PID3060:TID1800:3684728ms:Python.exe|UnpackUtils:VirtIniSettings: ENV setting found: 'IMAGINARYEXEC_CMDLINE="C:\Python34\pythonw.exe"'->'IMAGINARYEXEC_CMDLINE'='"C:\Python34\pythonw.exe"'

PID3060:TID1800:3684790ms:Python.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3060:TID1800:3687692ms:Python.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3448:TID2552:3688191ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'C_\Python34\pythonw.exe'

PID3448:TID2552:3688206ms:Python.cameyo.exe|PathTree:LoadTreeFromDisk: loading node 'Icons\pythonw.exe.ico'

PID3060:TID1800:3690203ms:Python.exe|DllMain:ImaginaryExecInit: ExecAppName=[C:\Python34\pythonw.exe], CmdLine=["C:\Python34\pythonw.exe"]

PID3060:TID1800:3690203ms:Python.exe|DllMain:ImaginaryExecInit: Old PEB.ImagePathName=C:\Users\madmin\AppData\Roaming\VOS\Python\Python.exe, PEB.CommandLine="C:\Python34\pythonw.exe". New BaseAddress=1D000000

PID3060:TID1800:3690203ms:Python.exe|GetModuleFileNameW:ApiRet|Ret=23|LE=0|nSize=1300|C:\Python34\pythonw.exe

PID3060:TID1800:3690203ms:Python.exe|ImaginarySxsContexts:RemoveNewGlobalAssembliesFromXml(C_\Python34\pythonw.exe): MatrixProcessName=C_\Python34\pythonw.exe

PID3060:TID1800:3690203ms:Python.exe|LoadStaticDlls:MyExeName=C:\Python34\pythonw.exe

PID3060:TID1800:3690453ms:Python.exe|GetModuleFileNameW:ApiRet|Ret=23|LE=0|nSize=1300|C:\Python34\pythonw.exe

PID3060:TID1800:3690453ms:Python.exe|ImaginarySxsContexts:RemoveNewGlobalAssembliesFromXml(C_\Python34\python34.dll): MatrixProcessName=C_\Python34\pythonw.exe

PID3060:TID1800:3690484ms:Python.exe|hkMiscApis:GetCommandLineWHook: ImaginaryExecCmdLine=["C:\Python34\pythonw.exe"]

PID3060:TID1800:3690484ms:Python.exe|hkMiscApis:GetCommandLineW: resulting lpBuffer="C:\Python34\pythonw.exe", LastError=0

PID3060:TID1800:3690484ms:Python.exe|hkMiscApis:GetCommandLineW: resulting lpBuffer="C:\Python34\pythonw.exe", LastError=0

PID3060:TID1800:3690484ms:Python.exe|hkMiscApis:GetCommandLineW: resulting lpBuffer="C:\Python34\pythonw.exe", LastError=203

PID3060:TID1800:3690484ms:Python.exe|GetModuleFileNameW:ApiRet|Ret=23|LE=0|nSize=260|C:\Python34\pythonw.exe

PID3060:TID1800:3690500ms:Python.exe|GetModuleFileNameW:ApiRet|Ret=23|LE=0|nSize=256|C:\Python34\pythonw.exe

PID3060:TID1800:3690749ms:Python.exe|hkQueryDirectoryFile:Skipping virtual file: 'pythonw.exe' because it doesn't match FileMask

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:Adding virtual file: 'pythonw.exe'

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:ReturnVirtualFile: pythonw.exe, FileFlags=0021

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:ApiRet|Ret=SUCCESS|OrgRetVal=NO_MORE_FILES|RetFile=pythonw.exe

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:Adding virtual file: 'pythonw.exe'

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:ReturnVirtualFile: pythonw.exe, FileFlags=0021

PID3060:TID1800:3690827ms:Python.exe|hkQueryDirectoryFile:ApiRet|Ret=SUCCESS|OrgRetVal=NO_MORE_FILES|RetFile=pythonw.exe

 

 



__________________


Newbie

Status: Offline
Posts: 2
Date:
Permalink   
 

Looks like I fixed the issue. Basically after doing some more research, I had to add the following as a command line argument for the shortcut for IDLE

   C:\Python34\Lib\idlelib\idle.py

 

After this, everything works.



__________________
Anonymous

Date:
Permalink   
 

daveram wrote:

Looks like I fixed the issue. Basically after doing some more research, I had to add the following as a command line argument for the shortcut for IDLE

   C:\Python34\Lib\idlelib\idle.py

 

After this, everything works.


 What a legend this really helped me thanks very much!



__________________


Newbie

Status: Offline
Posts: 1
Date:
Permalink   
 

daveram wrote:

Looks like I fixed the issue. Basically after doing some more research, I had to add the following as a command line argument for the shortcut for IDLE

   C:\Python34\Lib\idlelib\idle.py

 

After this, everything works.



 @Hi daveram,

Can you guide clearly to me, because I'm a tester, so I don't know "I had to add the following as a command line argument for the shortcut for IDLE"

Thnx a lot!



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard