[pywin32-bugs] [ pywin32-Bugs-2571020 ] ADODBAPI - py2exe bug
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-06-05 23:20:07
|
Bugs item #2571020, was opened at 2009-02-05 20:25 Message generated for change (Settings changed) made by kf7xm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2571020&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: win32 Group: None Status: Open Resolution: None >Priority: 2 Private: No Submitted By: George Hebert (g_hebert) >Assigned to: Vernon Cole (kf7xm) Summary: ADODBAPI - py2exe bug Initial Comment: If a Python application uses adodbapi and is compiled into an exe using Py2exe, that app will fail on importing as soon as it is executed because of the following line: version = __doc__.split('-',2)[0] #v2.1 Cole It appears as though __doc__ is None if being used within a compiled python app (exe). This could be fixed if the version was simply set to a string... ex: version = 'adodbapi 2.x.x'. There may be other ways of fixing this but I believe this would be the easiest. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2571020&group_id=78018 |