ReadPipeOut Error on Mac OS X

I recently installed FrontPanel 4.2.3 on Mac OS X Mountain Lion. Using the Python library I’m running some code to interact with an FPGA ( Spartan XC3S400) and this is code that works on Linux. Most things run fine on Mac OS X except any function that calls FrontPanel.ReadFromPipeOut returns the same error. I call the function as demonstrated:

b = ok.FrontPanel()
b.ReadFromPipeOut(0xA0, “0x00”)

I get the following Error:

Traceback (most recent call last):
File “”, line 1, in
File “”, line 249, in ReadFromPipeOut
def ReadFromPipeOut(self, *args): return _ok.FrontPanel_ReadFromPipeOut(self, *args)
TypeError: in method ‘FrontPanel_ReadFromPipeOut’, argument 3 of type ‘(char *data, int length)’

Any help would be greatly appreciated.

The data argument for Pipes in version 4.2.3 should be a bytearray now.