[CalendarServer-users] Inappropriate file type for dynamic loading

Tor Hildrum torhildrum at gmail.com
Fri Nov 17 00:57:18 PST 2006


On 11/17/06, Wilfredo Sánchez Vega <wsanchez at wsanchez.net> wrote:
>    Yeah, this sound like something the linker would say.  Perhaps you
> have a bum python.

I traced everything, and here is what happens:
--------------------------------------------------------
--------------------------------------------------------
import xml # directory
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml
# /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__init__.pyc
matches /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__init__.py
import xml # precompiled from
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__init__.pyc
import _xmlplus # directory
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus
# /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/__init__.pyc
matches /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/__init__.py
import _xmlplus # precompiled from
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/__init__.pyc
import xml.parsers # directory
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers
# /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/__init__.pyc
matches /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/__init__.py
import xml.parsers # precompiled from
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/__init__.pyc
# /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/expat.pyc
matches /Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/expat.py
import xml.parsers.expat # precompiled from
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Macintosh-2.4/_xmlplus/parsers/expat.pyc
Inappropriate file type for dynamic loading
--------------------------------------------------------
--------------------------------------------------------

I just can't understand that it's my Python that is broken, because I
use it for other things like Turbogears and it seems to be working
fine. Could it be that the modules built by CalendarServer has been
built for PPC by some freak coincidence?

When I check PyXML it looks like everything is built for i386 though.

I'll try to get a hold of another intel mac to try with.

Tor


More information about the calendarserver-users mailing list