Opened 6 years ago

Closed 13 months ago

#14827 closed defect (outdated)

pyodbc can no longer connect after wx.PyApp._BootstrapApp

Reported by: bouke Owned by:
Priority: normal Milestone:
Component: wxPython Version: 2.9.4
Keywords: pyodbc osx freetds Cc: bouke@…
Blocked By: Blocking:
Patch: no


We are working with a MS SQL 2012 server. Connecting to the server from OSX is no problem from a simple script. However, as soon as a wx.App is initialized, connecting is no longer possible. The problem seems to be in the C code; when I remove the call to self._BootstrapApp(), connecting is still possible.

import wx
import pyodbc

config = "Server=[ip];"\

class MyApp(wx.App): pass

# works


# fails

Both pyodbc 2.1.11 and 3.0.6 have this issue. FreeTDS version 0.91 installed using homebrew. WXMAC also installed using homebrew.

Change History (3)

comment:1 Changed 6 years ago by bouke

  • Cc bouke@… added

comment:2 Changed 3 years ago by oneeyeman

Would be nice to know what was the problem and if its a runtime whether it can be traced by {unix|i}ODBC tracing or freeTDS tracing.

comment:3 Changed 13 months ago by robind

  • Resolution set to outdated
  • Status changed from new to closed

Closing old Phoenix tickets...

If this is still an issue in wxPython 4.0.0a1 then please open a new issue (or PR) at the wxPython-Phoenix project page on Github:

Note: See TracTickets for help on using tickets.