textmate/latex.tmbundle — Issue #17: TypeError when running pdflatex or bibtex
Author: fonnesbeck
Created: 2011-12-15 22:28:10+00:00
State: open

Running pdflatex or bibtex using the bundle returns the following:

Traceback (most recent call last):
File "/Users/fonnescj/Library/Application Support/TextMate/Managed/
Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 465, in
tmPrefs = tmprefs.Preferences()
File "/Users/fonnescj/Library/Application Support/TextMate/Managed/
Bundles/LaTeX.tmbundle/Support/bin/tmprefs.py", line 45, in __init__
self.prefs.update(self.readTMPrefs())
TypeError: 'NoneType' object is not iterable

commenting out line 45 or handling the exception gets rid of the problem.

I got rid of TM1 after installing TM2, so presumably there is no longer a prefs file for TextMate, resulting in the None (?).