[Pythonmac-SIG] "import library too new"?

Jack Jansen jack@oratrix.nl
Wed, 20 Oct 1999 10:28:14 +0200


> I remember this came up before... but I can't remember the answer. 
> Can somebody please tell me what this means:
> 
> >>> import QDRotate
> Traceback (innermost last):
>    File "<input>", line 1, in ?
> ImportError: PythonCore: An import library was too new for a client.
> 
> 
> I thought maybe it meant I have to rebuild the QDRotate shared lib, 
> but I did that and still get this error.

That should have worked. If QDRotate was linked against PythonCore 1.5.2b1 and 
you re-link it against 1.5.2c1 it should now work. Are you sure (a) you're 
importing the relinked version and (b) you relinked against the new PythonCore?

As you apparently have CodeWarrior, could you try running it under the 
debugger? The debugger log window shows which code fragments are loaded in 
which order, maybe this gives a clue...
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm