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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
<br></span>&gt;&gt;&gt; import sip<span class="q" id="q_111a4759d4e0f827_3"><br>&gt;&gt;&gt;&nbsp;&nbsp; </span><br><br><div><span class="gmail_quote">On 3/30/07, <b class="gmail_sendername">Richard Tew</b> &lt;<a href="mailto:richard.m.tew@gmail.com">
richard.m.tew@gmail.com</a>&gt; 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 &lt;<a href="mailto:dhagrow+stackless@gmail.com">
dhagrow+stackless@gmail.com</a>&gt; wrote:<br>&gt; #0&nbsp;&nbsp;0xb7e6bc53 in strlen () from /lib/tls/i686/cmov/libc.so.6<br>&gt; #1&nbsp;&nbsp;0x08091f26 in PyString_FromFormatV (<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; format=0x8133668 &quot;type &#39;%.100s&#39; is not an acceptable base type&quot;,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; vargs=&lt;value optimized out&gt;) at Objects/stringobject.c:202<br>&gt; #2&nbsp;&nbsp;0x080ddbd0 in PyErr_Format (exception=0x814c9e0,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; format=0x8133668 &quot;type &#39;%.100s&#39; is not an acceptable base type&quot;)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; at Python/errors.c:522<br>&gt; #3&nbsp;&nbsp;0x0809fad6 in type_new (metatype=0xb7f829e0, args=0xb7d9e734, kwds=0x0)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; at Objects/typeobject.c:1690<br>&gt; #4&nbsp;&nbsp;0x080995cd in type_call (type=0xb7f829e0, args=0xb7d9e734, kwds=0x0)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; at Objects/typeobject.c:423<br>&gt; #5&nbsp;&nbsp;0x0805b72b in PyObject_Call (func=0xb7f829e0, arg=0xb7d9e734, kw=0x0)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; at Objects/abstract.c:1863<br>&gt; #6&nbsp;&nbsp;0xb7f7d666 in initsip ()<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;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.&nbsp;&nbsp;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>