Re: Graceful handling of pref conversion failures

2021-02-26 Thread Pavel Sanda
On Wed, Feb 24, 2021 at 02:37:08PM +, José Abílio Matos wrote:
> > LyXRC.cpp (260): Conversion failed for /home/lyx/.lyx/preferences
> > Warning: Could not read configuration file
> > 
> > Error while reading the configuration file
> > preferences.
> > Please check your installation.
> > 
> > and no GUI response. This must be totally confusing for users who
> > just click on icons, because launch will fail without any visible
> > feedback for them.
> > 
> > I am not sure what should be our response - just issue warn dialog
> > and exit or launch lyx with generic settings and some warning on top
> > of that. Ideas?
> > 
> > I even think this was raised some time ago, but as of now not fixed
> > in the master.
> > 
> > Pavel
> 
> Pavel do you know if this issue as a tracker issue assigned?

I did not see it in trac (though my search was not too deep).

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Graceful handling of pref conversion failures

2021-02-24 Thread José Abílio Matos
On Wednesday, February 17, 2021 11:34:23 AM WET Pavel Sanda wrote:
> Hi,
> 
> when pref conversion routines fail you are greeted on terminal with
> 
> LyXRC.cpp (260): Conversion failed for /home/lyx/.lyx/preferences
> Warning: Could not read configuration file
> 
> Error while reading the configuration file
> preferences.
> Please check your installation.
> 
> and no GUI response. This must be totally confusing for users who
> just click on icons, because launch will fail without any visible
> feedback for them.
> 
> I am not sure what should be our response - just issue warn dialog
> and exit or launch lyx with generic settings and some warning on top
> of that. Ideas?
> 
> I even think this was raised some time ago, but as of now not fixed
> in the master.
> 
> Pavel

Pavel do you know if this issue as a tracker issue assigned?

Best regards,
-- 
José Abílio-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Graceful handling of pref conversion failures

2021-02-17 Thread Pavel Sanda
Hi,

when pref conversion routines fail you are greeted on terminal with

LyXRC.cpp (260): Conversion failed for /home/lyx/.lyx/preferences
Warning: Could not read configuration file

Error while reading the configuration file
preferences.
Please check your installation.

and no GUI response. This must be totally confusing for users who
just click on icons, because launch will fail without any visible
feedback for them.

I am not sure what should be our response - just issue warn dialog
and exit or launch lyx with generic settings and some warning on top
of that. Ideas?

I even think this was raised some time ago, but as of now not fixed
in the master.

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel