import sip works fine:<span class="q"><br><br>Python 2.5 Stackless 3.1b3 060516 (python-2.5:51933, Mar 30 2007, 11:50:40)<br>[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.
<br></span>>>> import sip<span class="q" id="q_111a4759d4e0f827_3"><br>>>> </span><br><br><div><span class="gmail_quote">On 3/30/07, <b class="gmail_sendername">Richard Tew</b> <<a href="mailto:richard.m.tew@gmail.com">
richard.m.tew@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 3/30/07, Miguel Turner <<a href="mailto:dhagrow+stackless@gmail.com">
dhagrow+stackless@gmail.com</a>> wrote:<br>> #0 0xb7e6bc53 in strlen () from /lib/tls/i686/cmov/libc.so.6<br>> #1 0x08091f26 in PyString_FromFormatV (<br>> format=0x8133668 "type '%.100s' is not an acceptable base type",
<br>> vargs=<value optimized out>) at Objects/stringobject.c:202<br>> #2 0x080ddbd0 in PyErr_Format (exception=0x814c9e0,<br>> format=0x8133668 "type '%.100s' is not an acceptable base type")
<br>> at Python/errors.c:522<br>> #3 0x0809fad6 in type_new (metatype=0xb7f829e0, args=0xb7d9e734, kwds=0x0)<br>> at Objects/typeobject.c:1690<br>> #4 0x080995cd in type_call (type=0xb7f829e0, args=0xb7d9e734, kwds=0x0)
<br>> at Objects/typeobject.c:423<br>> #5 0x0805b72b in PyObject_Call (func=0xb7f829e0, arg=0xb7d9e734, kw=0x0)<br>> at Objects/abstract.c:1863<br>> #6 0xb7f7d666 in initsip ()<br>> from /usr/local/spython/lib/python2.5/site-packages/sip.so
<br><br>As far as I can tell from the stacktrace I would guess that sip does<br>not initialise one of its types correctly. This also happens if you<br>just import sip, right?<br><br>Can someone set a breakpoint to initsip and then step through to see
<br>the code path which leads to this point?<br><br>Thanks,<br>Richard.<br></blockquote></div><br>