Python API compatibility

I am getting a runtime warning, which I believe is tied to the version of python that I am running. I am running python2.5

Migrate to FrontPanel-3.0.9 does not seem to resolve this.

When running python2.4, the equivalent wx libraries do not understand the bind command found in the Counters.py example.

Logs for both the Python2.5 and Python2.4 run attempts are shown below.

Any suggestions?

Peter

Error log below:
Python 2.5

sys.path.append("/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode");

/tools/OpalKelley/FrontPanel/API/Python/ok.py:7: RuntimeWarning: Python C API version mismatch for module _ok: This Python has API version 1013, module _ok has version 1012.
import _ok
/tools/OpalKelley/FrontPanel/API/Python/ok.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1013, module swig_runtime_data3 has version 1012.
import _ok
Traceback (most recent call last):
File “Counters.py”, line 136, in
frame = CountersFrame(None)
File “Counters.py”, line 59, in init
self.ConfigureXEM()
File “Counters.py”, line 78, in ConfigureXEM
self.xem.ConfigureFPGA(bitfile)
File “/tools/OpalKelley/FrontPanel/API/Python/ok.py”, line 169, in ConfigureFPGA
def ConfigureFPGA(*args): return _ok.FrontPanel_ConfigureFPGA(*args)
TypeError: in method ‘FrontPanel_ConfigureFPGA’, argument 2 of type 'std::string[/FONT]

Python 2.4

sys.path.append("/usr/lib/python2.4/site-packages/wx-2.4-gtk-ansi");

python2.4 Counters.py
Traceback (most recent call last):
File “Counters.py”, line 136, in ?
frame = CountersFrame(None)
File “Counters.py”, line 51, in init
self.Bind(wx.EVT_TIMER, self.OnUpdateTimer)
AttributeError: CountersFrame instance has no attribute ‘Bind’