[python-win32] odbc exceptions

Vernon Cole vernondcole at gmail.com
Tue Nov 30 18:46:09 CET 2010


On Tue, Nov 30, 2010 at 10:25 AM, Preston Landers <planders at gmail.com>wrote:

> That's strange.  I don't get that under Python 2.6.5 and PyWin32 v214. I
> get the kind of error one would expect.
>
> >>> try:
> ...  odbc.odbc("asdf")
> ... except:
> ...  raise
> ...
> Traceback (most recent call last):
>   File "<stdin>", line 2, in <module>
> dbi.opError: [Microsoft][ODBC Driver Manager] Data source name not found
> and no default driver specified in LOGIN
>
> Memo to self:  when reading a pywin32 bug report using an Ubuntu
workstation, actually re-boot into Windows and test software before
dispensing seeming wisdom which may prove foolish...

Robin:
  Works for me, too, now that I actually test it.  What versions of Python,
pywin32 and Windows are you running?
--
Vernon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20101130/7bbd0c45/attachment.html>


More information about the python-win32 mailing list