<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Brad,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In order to be able to use the Latex Bundle again, I moved my com.macromates.textmate.plist away from the Preferences folder. Then I tried to move it again to my Preferences folder to see if the error appeared again. Unfortunately, I forgot to quit TextMate before that operation : TextMate regenerated com.macromates.textmate.plist so I lost the preference file which was causing the problem.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If I come accross the problem again, I'll be more careful and I'll mail the lines causing the error.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have been using 1414 for a day or two before I encountered the error.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>Sylvain</DIV><BR><DIV><DIV>Le 23 août 07 à 13:53, Brad Miller a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Sylvain,<BR><BR>First look in your /tmp directory and see fi there is a file tmltxprefs.plist.  If there is it should be an xml file and you can look at line 1304 column 11 to see what the problem might be.  If it does not contain personal information maybe you can post that line and a few lines around it. <BR><BR>If that file does not exist run this command to create one:<BR>plutil -convert xml1 $HOME/Library/Preferences/com.macromates.textmate.plist -o /tmp/tmltxprefs.plist<BR><BR>When did this problem start?  Have you been using build 1414 for a while or did it fail the first time you tried? <BR><BR> <BR>Thanks,<BR><BR>Brad<BR><BR><BR><DIV><SPAN class="gmail_quote">On 8/23/07, <B class="gmail_sendername">Sylvain Desvé</B> <<A href="mailto:sylvain.desve@mines.inpl-nancy.fr">sylvain.desve@mines.inpl-nancy.fr </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>I came accross a bug related to the Latex Bundle. Here are some <BR>relevant information:<BR><BR>TextMate version: revision 1414<BR>Python version: 2.3.5<BR><BR>Here is the error message I get when I try Typeset & View:<BR><BR>Traceback (most recent call last):<BR>   File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ <BR>Latex.tmbundle/Support/bin/texMate.py", line 299, in ?<BR>     tmPrefs = tmprefs.Preferences()<BR>   File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/<BR>Latex.tmbundle/Support/bin/tmprefs.py", line 18, in __init__ <BR>     self.prefs.update(self.readTMPrefs())<BR>   File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/<BR>Latex.tmbundle/Support/bin/tmprefs.py", line 39, in readTMPrefs<BR>     plDict = plistlib.readPlist (pl)<BR>   File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/<BR>Latex.tmbundle/Support/bin/newplistlib.py", line 77, in readPlist<BR>     rootObject = p.parse(pathOrFile)<BR>   File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/ <BR>Latex.tmbundle/Support/bin/newplistlib.py", line 402, in parse<BR>     parser.ParseFile(fileobj)<BR>xml.parsers.expat.ExpatError: not well-formed (invalid token): line<BR>1304, column 11<BR><BR>I get similar errors when trying other command relying on texMate.py<BR><BR>It has to do with my com.macromates.textmate.plist preference file<BR>because when I move it elsewhere and relaunch TextMate every things<BR>is fine again.<BR><BR>I won't upload my com.macromates.textmate.plist since it contains<BR>personal information. Just tell me if you need some data from it.<BR><BR>Thanks,<BR>Sylvain<BR><BR>_______________________________________________<BR>textmate-dev mailing list<BR><A href="mailto:textmate-dev@lists.macromates.com"> textmate-dev@lists.macromates.com</A><BR><A href="http://lists.macromates.com/mailman/listinfo/textmate-dev">http://lists.macromates.com/mailman/listinfo/textmate-dev</A><BR></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR> Brad Miller<BR>Assistant Professor, Computer Science<BR>Luther College<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">textmate-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:textmate-dev@lists.macromates.com">textmate-dev@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate-dev">http://lists.macromates.com/mailman/listinfo/textmate-dev</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>