On Thursday 10 March 2011 14:24:18 Evan Mason wrote: > Hi, I want to report a problem with 2rc1. I have made a trouble-free > installation of the source tarball on Mandriva linux 2010.0. > > [emason@acacia .lyx]$ uname -a > Linux acacia.cmima.csic.es 2.6.31.14-desktop-1mnb #1 SMP Wed Nov 24 > 10:42:07 EST 2010 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz > GNU/Linux > > > But when I try to start lyx I get the following: > > [emason@acacia .lyx]$ Traceback (most recent call last): > File "/usr/local/share/lyx/scripts/prefs2prefs.py", line 192, in <module> > main(sys.argv) > File "/usr/local/share/lyx/scripts/prefs2prefs.py", line 168, in main > (update, newline) = c(lines[i]) > File "/opt/share/lyx/scripts/prefs2prefs_prefs.py", line 54, in > language_use_babel val = m.group(1) > AttributeError: 'NoneType' object has no attribute 'group' > filetools.cpp(991): Could not run file conversion script prefs2prefs.py. > LyXRC.cpp(395): Unable to convert /home/emason/.lyx/preferences to format 1 > Warning: Could not read configuration file > ---------------------------------------- > Error while reading the configuration file > preferences. > Please check your installation. > > > I had a previous lyx (1.6.8) installation, which I removed using make > clean. > > Grateful for any suggestions, > > Evan
The script was expecting to found a line starting with \language_use_babel and found none. If this is the normal procedure the idea is to test for it. Thank you for the report. :-) -- José Abílio