When I launch the new "Preferences..." command, I get the following error. Any ideas? Thanks, Piero
Traceback (most recent call last): File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Latex.tmbundle/Support/bin/configure.py", line 5, in ? pref = tmprefs.Preferences() File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Latex.tmbundle/Support/bin/tmprefs.py", line 18, in __init__ self.prefs.update(self.readTMPrefs()) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Latex.tmbundle/Support/bin/tmprefs.py", line 39, in readTMPrefs plDict = plistlib.readPlist(pl) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Latex.tmbundle/Support/bin/newplistlib.py", line 77, in readPlist rootObject = p.parse(pathOrFile) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Latex.tmbundle/Support/bin/newplistlib.py", line 397, in parse from xml.parsers.expat import ParserCreate File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: dlopen(/System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so, 2): no suitable image found.
Did find: /System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so: mach-o, but wrong architecture
Piero,
This is the first time I've seen that error. What version of OS X are you using?
Brad
On 8/9/07, Piero D'Ancona pierodancona@gmail.com wrote:
When I launch the new "Preferences..." command, I get the following error. Any ideas? Thanks, Piero
...
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: dlopen(/System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so, 2): no suitable image found.
Did find: /System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so: mach-o, but wrong architecture
OK, now that I look a little more carefully at the error message you provided I see the problem. The fact that python is trying to load pyexpat.so out of site-packages tells me that module is something you installed in addition to the standard python. You are going to need to reinstall or remove the xmlplus package.
Brad
______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Brad Miller <bmiller@...> writes:
OK, now that I look a little more carefully at the error message
you provided I see the problem. The fact that python is trying to load pyexpat.so out of site-packages tells me that module is something you installed in addition to the standard python. You are going to need to reinstall or remove the xmlplus package.
Brad
Thank you Brad, I removed the additional package (who knows who put it there? ti was probably installed by some software I was trying). Now LaTeX preferences works perfectly
Piero