king simonnfhd78 fluvmvxkmmotorolacom hello developing application amongst things exports files launches associated applications using osstartfile also uses webbrowseropen see uses osstartfile everything works pc pcs office tested however released first version users reported unhandled exceptions seem coming osstartfile examples traceback recent call last file link_plannerwxappmain_framepyc line 1505 _on_csv file link_plannerutilsplatform_win32pyc line 17 openfile windowserror error 2 system find file specified cdocume1adminlocals1temptmpjotxlkcsv traceback recent call last file link_plannerwxappmain_framepyc line 1528 _on_google_earth file link_plannerutilsplatform_win32pyc line 17 openfile windowserror error 2147024809 parameter incorrect cdocume1bfultslocals1temptmphjyfykml traceback recent call last file link_plannerwxapphtml_windowpyc line 7 onlinkclicked file link_plannerwxappabout_framepyc line 41 _on_link_clicked file webbrowserpyc line 60 open file webbrowserpyc line 516 open windowserror error 2 system find file specified uhttpwwwmotorolacomptp last instance user said problem went away changed default browser firefox ie may red herring id like sure first two cases use tempfilemkstemp generate temporary files fairly sure exist ive searched information similar issues ive found guy sounds like exactly problem solution given httpgroupsgooglecoukgroupcomplangpythonbrowse_threadthreadd d86ba0e6420a2b475c8cacd8e6c06ed recipe describes osstartfile failing urls httpaspnactivestatecomaspncookbookpythonrecipe334665 includes link another page saying shellexecute doesnt work multithreaded apartment dont think problem using multiple threads im far aware using com anywhere made quick test error message get different windowserror error 14007 requested lookup key found active activation context httpwwwpythonorg think next step going reimplementing osstartfile python adding logging wondered whether anyone else ever problems osstartfile btw python 251 application packaged using py2exe case makes difference thanks lot suggestions simon king _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 thu 07 aug 2008 214849 0100 pythonwin32 osstartfile mysteriously failing