Brent Maranzano - 2008-10-16

trying to install the mlabwrap on Ubuntu (kernel 2.6.24-21-generic) with Matlab2007b install and received the following error:
??? Error: A MATLAB string constant is not terminated properly.

Any help is greatly appreciated.

Here is the command with the output
sudo python setup.py install
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5af8767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb5af88b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb5e641bd]
#3 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa193d26a]
#4 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa1923352]
#5 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa1923599]
#6 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xa19237a4]
#7 [0xadaa6b7a]
#8 [0xadaa0a7b]
#9 [0xadaa0a7b]
#10 [0xada9e157]
#11 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb27398ec]
#12 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb2828378]
#13 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb273971f]
#14 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x2db) [0xb2791ebb]
#15 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb2d2c2cd]
#16 [0xadaa642b]
#17 [0xadaa09a4]
#18 [0xada9e157]
#19 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb27398ec]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5af8767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5af881e]
#2 /usr/lib/libX11.so.6 [0xb5e63518]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb5e5a0a6]
#4 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa1922227]
#5 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa19224b8]
#6 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so [0xa19236e0]
#7 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xa19237a4]
#8 [0xadaa6b7a]
#9 [0xadaa0a7b]
#10 [0xadaa0a7b]
#11 [0xada9e157]
#12 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb27398ec]
#13 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb2828378]
#14 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so [0xb273971f]
#15 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x2db) [0xb2791ebb]
#16 /usr/local/bin/matlabR2007b/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb2d2c2cd]
#17 [0xadaa642b]
#18 [0xadaa09a4]
#19 [0xada9e157]
??? Error: A MATLAB string constant is not terminated properly.