[pywin32-bugs] [ pywin32-Bugs-2065850 ] Some typelibs have non integer versions
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-01-28 05:13:04
|
Bugs item #2065850, was opened at 2008-08-21 15:59 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2065850&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: com Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Some typelibs have non integer versions Initial Comment: From python-win32: """ When using the makepy utility I noticed it used to crash out with the following traceback: line 148, in SelectTlb i.major = int(i.major, 16) ValueError: invalid literal for int() with base 16: 'CS2' ... Most likely this (last line of traceback) refers to the version number of Adobe Photoshop Creative Suite 2. """ There is some existing confusion between hex and int in that file, but it doesn't expect strings! Note that GetTypeLibInfo() etc all use integers for the version info - which probably means the typelib can't be directly loaded - but that isn't really our problem - we shouldn't die. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2012-01-27 21:13 Message: I'm rejecting this as it seems limited to just the original typelib and hasn't since been reported again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2065850&group_id=78018 |