#410 ADODBAPI - py2exe bug

closed-fixed
win32 (141)
2
2009-12-16
2009-02-06
No

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.

Discussion

  • Vernon Cole

    Vernon Cole - 2009-06-05
    • labels: --> win32
     
  • Vernon Cole

    Vernon Cole - 2009-06-05
    • priority: 5 --> 2
    • assigned_to: nobody --> kf7xm
     
  • Vernon Cole

    Vernon Cole - 2009-12-16

    Will be fixed in adodbapi v 2.3.

     
  • Vernon Cole

    Vernon Cole - 2009-12-16
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks