[pywin32-bugs] [ pywin32-Bugs-799063 ] Registering Python COM Server component category crashes
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-01-15 19:36:00
|
Bugs item #799063, was opened at 2003-09-02 10:40 Message generated for change (Comment added) made by ericp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=799063&group_id=78018 Category: com Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matthias Kirst (mattkirst) Assigned to: Nobody/Anonymous (nobody) Summary: Registering Python COM Server component category crashes Initial Comment: When registering the Python COM Server component category, Python crashes with Dr.Watson. The crash happens when executing the last line in the function: def RegisterPyComCategory(): """ Register the Python COM Server component category. """ regCat = _cat_registrar() regCat.RegisterCategories( [ (CATID_PythonCOMServer, 0x0409, "Python COM Server") ] ) ---------------------------------------------------------------------- Comment By: Eric Promislow (ericp) Date: 2004-01-15 19:35 Message: Logged In: YES user_id=63713 I got occasional crashes when registering a Python COM Server on a clean Win2K system with ActivePython 2.3.2 build 232. When attempting to register a COM server the first time, I would get an access violation reported in PyNode_Future ---------------------------------------------------------------------- Comment By: Stuart Rackham (sjrackham) Date: 2003-09-28 00:49 Message: Logged In: YES user_id=655059 Observed on Win98/XP/2000/NT4. A workaround is to have your installer write the following registry entry *before* registering the server: [HKEY_CLASSES_ROOT\Component Categories\{B3EF80D0-68E2-11D0-A689-00C04FD658FF}] "409"="Python COM Server" ---------------------------------------------------------------------- Comment By: Matthias Kirst (mattkirst) Date: 2003-09-05 06:55 Message: Logged In: YES user_id=397984 Bingo! The installation crashed as well with 154 (NT/XP). Since I experienced my crash with a customized Python/PythonCOM version I did not register the scripting engine -> the crash occured when I registered my first COM component. Since win32all does not unregister the Python COM Server component category when uninstalling you succeed when preinstalling an older version of win32all. ---------------------------------------------------------------------- Comment By: John J Smith (johnjsmith) Date: 2003-09-04 18:47 Message: Logged In: YES user_id=830565 Is this related to bug #784962 (Installation crash in recent win32all's)? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=799063&group_id=78018 |