[SVN] [BUG] Latex Bundle

Sylvain Desvé sylvain.desve at mines.inpl-nancy.fr
Thu Aug 23 20:27:57 UTC 2007


Brad,

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.

If I come accross the problem again, I'll be more careful and I'll  
mail the lines causing the error.

I have been using 1414 for a day or two before I encountered the error.

Thanks,
Sylvain

Le 23 août 07 à 13:53, Brad Miller a écrit :

> Sylvain,
>
> 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.
>
> If that file does not exist run this command to create one:
> plutil -convert xml1 $HOME/Library/Preferences/ 
> com.macromates.textmate.plist -o /tmp/tmltxprefs.plist
>
> When did this problem start?  Have you been using build 1414 for a  
> while or did it fail the first time you tried?
>
>
> Thanks,
>
> Brad
>
>
> On 8/23/07, Sylvain Desvé <sylvain.desve at mines.inpl-nancy.fr > wrote:
> Hello,
>
> I came accross a bug related to the Latex Bundle. Here are some
> relevant information:
>
> TextMate version: revision 1414
> Python version: 2.3.5
>
> Here is the error message I get when I try Typeset & View:
>
> Traceback (most recent call last):
>    File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/
> Latex.tmbundle/Support/bin/texMate.py", line 299, in ?
>      tmPrefs = 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 402, in parse
>      parser.ParseFile(fileobj)
> xml.parsers.expat.ExpatError: not well-formed (invalid token): line
> 1304, column 11
>
> I get similar errors when trying other command relying on texMate.py
>
> It has to do with my com.macromates.textmate.plist preference file
> because when I move it elsewhere and relaunch TextMate every things
> is fine again.
>
> I won't upload my com.macromates.textmate.plist since it contains
> personal information. Just tell me if you need some data from it.
>
> Thanks,
> Sylvain
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
>
>
>
> -- 
> Brad Miller
> Assistant Professor, Computer Science
> Luther College
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20070823/12642312/attachment.html>


More information about the textmate-dev mailing list