I've just committed a fix to the subversion repository that should work around this problem.<br><br>Brad<br clear="all"><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science<br>Luther College
<br><br><div><span class="gmail_quote">On 9/3/07, <b class="gmail_sendername">Jonas Due Vesterheden</b> <<a href="mailto:jonas@vesterheden.dk">jonas@vesterheden.dk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>When I use the "Typeset & View" command from the Latex bundle I get<br>the following error:<br><br>Traceback (most recent call last):<br>  File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py",
<br>line 299, in <module><br>    tmPrefs = tmprefs.Preferences()<br>  File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",<br>line 18, in __init__<br>    
self.prefs.update(self.readTMPrefs())<br>  File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",<br>line 39, in readTMPrefs<br>    plDict = plistlib.readPlist(pl)
<br>  File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",<br>line 77, in readPlist<br>    rootObject = p.parse(pathOrFile)<br>  File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",
<br>line 402, in parse<br>    parser.ParseFile(fileobj)<br>xml.parsers.expat.ExpatError: not well-formed (invalid token): line<br>634, column 17<br><br>I Googled and found a posting with a similar problem:<br><a href="http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html">
http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html</a>. Brad Miller<br>replied with a suggestion to check out /tmp/tmltxprefs.plist - I did,<br>and found a line with some weird characters that are probably to<br>blame. Here are lines 632-641:
<br><br>                <dict><br>                        <key>command</key><br>                        <string>grep '<br><br><br>______________________________________________________________________
<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br><br></blockquote></div><br>