[SVN] [BUG] Latex Bundle

Brad Miller bmiller at luther.edu
Thu Aug 23 11:53:23 UTC 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20070823/1d737040/attachment.html>


More information about the textmate-dev mailing list