On 11/17/06, Wilfredo Sánchez Vega <[EMAIL PROTECTED]> 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
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to