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.
Log in to post a comment.