[pywin32-bugs] [ pywin32-Bugs-1606685 ] ShellExecute returns wrong error message
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-12-01 10:58:08
|
Bugs item #1606685, was opened at 2006-12-01 11:58 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1606685&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Anders J. Munch (andersjm) Assigned to: Nobody/Anonymous (nobody) Summary: ShellExecute returns wrong error message Initial Comment: When win32api.ShellExecute fails with an error code 31, the accompagnying message is "A device attached to the system is not functioning." (translated, the actual message I got was in Danish). This is the message for ERROR_GEN_FAILURE. However code 31 for ShellExecute means SE_ERR_NOASSOC, indicating that no association exists for the extension of the given file name. (XP Pro, Python 2.4.4, pywin32 208) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1606685&group_id=78018 |