Well, what to say... from one day to the other my LaTeX bundle starts giving me
"There was a problem reading the preferences file, continuing with defaults"
message which is a hell of a complication as my latex files do not work with pdflatex :( I'm not aware of installing anything on my Mac in the last days..... I even reinstalled TextMate & Latex bundle but the message is still there :(
and by the way I have Leopard 10.5.4 & TextMate 1.5.7 (1436) so probably the old posts about python problems with Tiger do not apply...
Is there an easy fix or should I really get to writting my own less fancy but a working script for running latex & all the stuff instead of Typeset & View??
2008/10/10 Karol Kovarik karol.kovarik@gmail.com
Well, what to say... from one day to the other my LaTeX bundle starts giving me
"There was a problem reading the preferences file, continuing with defaults"
message which is a hell of a complication as my latex files do not work with pdflatex :( I'm not aware of installing anything on my Mac in the last days..... I even reinstalled TextMate & Latex bundle but the message is still there :(
and by the way I have Leopard 10.5.4 & TextMate 1.5.7 (1436) so probably the old posts about python problems with Tiger do not apply...
Is there an easy fix or should I really get to writting my own less fancy but a working script for running latex & all the stuff instead of Typeset & View??
Well, yes, there is an easy fix. Either delete the Textmate LaTeX preference file and let the bundle recreate it, or replace it from your backup. The file is at ~/Library/Preferences/com.macromates.textmate.latex_config.plist
On Fri, Oct 10, 2008 at 9:11 AM, Karol Kovarik karol.kovarik@gmail.comwrote:
Well, what to say... from one day to the other my LaTeX bundle starts giving me
"There was a problem reading the preferences file, continuing with defaults"
message which is a hell of a complication as my latex files do not work with pdflatex :( I'm not aware of installing anything on my Mac in the last days..... I even reinstalled TextMate & Latex bundle but the message is still there :(
and by the way I have Leopard 10.5.4 & TextMate 1.5.7 (1436) so probably the old posts about python problems with Tiger do not apply...
Is there an easy fix or should I really get to writting my own less fancy but a working script for running latex & all the stuff instead of Typeset & View??
Do you have the very latest version of the Latex bundle from the subversion repository?
Unless you are running up against something completely new, this problem has been fixed for quite some time.
Brad
-- View this message in context: http://www.nabble.com/problem-reading-preferences-file-for-LaTeX-bundle-tp19... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
@ Sven - I deleted the file but I have no clue how to make Latex bundle to recreate it... all my efforts end up in screwing up the whole package and then reinstalling TextMate anew :( (but I'm getting good at it :) )
@Brad - I'm a totaly new TextMate user so all I can tell you is that I use TextMate version 1.5.7(1436) on Leopard 10.5.4 and the Latex bundle that comes with it... In fact, I don't know how to upgrade Latex bundle as it is not in /Library/Application\ Support/TextMate/Bundles as all bundles I installed myself but somewhere else (presume /Applications/TextMate.app.....etc where I do not want to change things as it resulted in reinstalling TextMate the last time I tried to update Latex bundle there)
Karol
--------- Karol Kovarik Laboratoire de Physique Subatomique et de Cosmologie Grenoble, France
well in order to be able to work, I resorted to the ultimate solution - full reinstall i.e. deleted TextMate.app and all the local files from ~/Library/Preferences/com.macromates.textmate* and ~Library/Application\ Support/TextMate/
After a new install everything works fine as before... It is really weird as I still do not know what happened as I surely didn't play with these files before as it worked out of the box for me...
On 12 Oct 2008, at 16:54, Karol Kovarik wrote:
After a new install everything works fine as before... It is really weird as I still do not know what happened as I surely didn't play with these files before as it worked out of the box for me...
The problem is with the Python functions used to read the preferences file, it can give the error when the preferences file contain certain characters, and since your preferences file stores a lot of things like recent search strings etc. it can happen that a problematic character enteres the file.
That said, if you go to TextMate → Preferences → Software Update and switch to Cutting Edge, it has a fix for the Python preferences reader.