lyx 2rc1 prefs2prefs
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
Re: lyx 2rc1 prefs2prefs
Le 10/03/2011 15:24, Evan Mason a écrit : 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' What is your python version? JMarc
Re: lyx 2rc1 prefs2prefs
Jean-Marc Lasgouttes lasgouttes at lyx.org writes: Le 10/03/2011 15:24, Evan Mason a écrit : 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' What is your python version? JMarc [emason@acacia float_CUS]$ python --version Python 2.6.4 Evan
Re: lyx 2rc1 prefs2prefs
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
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:34:26 José Matos wrote: /home/emason/.lyx/preferences OK, now that I read the code I see that test is there. One question, is there a line in your preference file that starts with \language_use_babel? What is its content? Regards, -- José Abílio
Re: lyx 2rc1 prefs2prefs
José Matos jamatos at lyx.org writes: On Thursday 10 March 2011 15:34:26 José Matos wrote: /home/emason/.lyx/preferences OK, now that I read the code I see that test is there. One question, is there a line in your preference file that starts with \language_use_babel? What is its content? Regards, The line is: \language_use_babel false I had switched off babel in my previous lyx installation (1.6.8) in order to use the agutext document class. I guess I can try changing it to true in 'preference' and see what happens. Thanks, Evan
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:44:56 Evan Mason wrote: The line is: \language_use_babel false I had switched off babel in my previous lyx installation (1.6.8) in order to use the agutext document class. I guess I can try changing it to true in 'preference' and see what happens. No need to change it, your use case is reasonable. I suspect that if you remove the quotes () around false the script will work. Or at least it will work past that point, more correctly. ;-) Thanks, Evan -- José Abílio
Re: lyx 2rc1 prefs2prefs
No need to change it, your use case is reasonable. I suspect that if you remove the quotes () around false the script will work. Or at least it will work past that point, more correctly. Thanks, Evan Indeed removing the quotes seems to have worked. Thanks a lot, Evan
lyx 2rc1 prefs2prefs
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
Re: lyx 2rc1 prefs2prefs
Le 10/03/2011 15:24, Evan Mason a écrit : 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' What is your python version? JMarc
Re: lyx 2rc1 prefs2prefs
Jean-Marc Lasgouttes lasgouttes at lyx.org writes: Le 10/03/2011 15:24, Evan Mason a écrit : 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' What is your python version? JMarc [emason@acacia float_CUS]$ python --version Python 2.6.4 Evan
Re: lyx 2rc1 prefs2prefs
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
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:34:26 José Matos wrote: /home/emason/.lyx/preferences OK, now that I read the code I see that test is there. One question, is there a line in your preference file that starts with \language_use_babel? What is its content? Regards, -- José Abílio
Re: lyx 2rc1 prefs2prefs
José Matos jamatos at lyx.org writes: On Thursday 10 March 2011 15:34:26 José Matos wrote: /home/emason/.lyx/preferences OK, now that I read the code I see that test is there. One question, is there a line in your preference file that starts with \language_use_babel? What is its content? Regards, The line is: \language_use_babel false I had switched off babel in my previous lyx installation (1.6.8) in order to use the agutext document class. I guess I can try changing it to true in 'preference' and see what happens. Thanks, Evan
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:44:56 Evan Mason wrote: The line is: \language_use_babel false I had switched off babel in my previous lyx installation (1.6.8) in order to use the agutext document class. I guess I can try changing it to true in 'preference' and see what happens. No need to change it, your use case is reasonable. I suspect that if you remove the quotes () around false the script will work. Or at least it will work past that point, more correctly. ;-) Thanks, Evan -- José Abílio
Re: lyx 2rc1 prefs2prefs
No need to change it, your use case is reasonable. I suspect that if you remove the quotes () around false the script will work. Or at least it will work past that point, more correctly. Thanks, Evan Indeed removing the quotes seems to have worked. Thanks a lot, Evan
lyx 2rc1 prefs2prefs
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 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
Re: lyx 2rc1 prefs2prefs
Le 10/03/2011 15:24, Evan Mason a écrit : 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' What is your python version? JMarc
Re: lyx 2rc1 prefs2prefs
Jean-Marc Lasgouttes lyx.org> writes: > > Le 10/03/2011 15:24, Evan Mason a écrit : > >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' > > What is your python version? > > JMarc [emason@acacia float_CUS]$ python --version Python 2.6.4 Evan
Re: lyx 2rc1 prefs2prefs
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 > 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
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:34:26 José Matos wrote: > /home/emason/.lyx/preferences OK, now that I read the code I see that test is there. One question, is there a line in your preference file that starts with \language_use_babel? What is its content? Regards, -- José Abílio
Re: lyx 2rc1 prefs2prefs
José Matos lyx.org> writes: > > On Thursday 10 March 2011 15:34:26 José Matos wrote: > > /home/emason/.lyx/preferences > > OK, now that I read the code I see that test is there. One question, is there > a line in your preference file that starts with \language_use_babel? What is > its content? > > Regards, > The line is: \language_use_babel "false" I had switched off babel in my previous lyx installation (1.6.8) in order to use the agutext document class. I guess I can try changing it to true in 'preference' and see what happens. Thanks, Evan
Re: lyx 2rc1 prefs2prefs
On Thursday 10 March 2011 15:44:56 Evan Mason wrote: > > The line is: > > \language_use_babel "false" > > I had switched off babel in my previous lyx installation (1.6.8) in order > to use the agutext document class. I guess I can try changing it to true > in 'preference' and see what happens. No need to change it, your use case is reasonable. I suspect that if you remove the quotes (") around false the script will work. Or at least it will work past that point, more correctly. ;-) > Thanks, Evan -- José Abílio
Re: lyx 2rc1 prefs2prefs
> > No need to change it, your use case is reasonable. > > I suspect that if you remove the quotes (") around false the script will > work. > Or at least it will work past that point, more correctly. > > > Thanks, Evan > Indeed removing the quotes seems to have worked. Thanks a lot, Evan