Flawed 2.3.6.1 upgrade

Rich Shepard rshepard at appl-ecosys.com
Mon Jan 25 19:04:48 UTC 2021


On Mon, 25 Jan 2021, Richard Kimberly Heck wrote:

> That is very odd. Assuming you had 2.3.6 installed before, the changes
> were very minimal. Maybe there's been a change to the Qt version that
> the build pulled in.

Riki,

Yes, it is. Installed here is qt5-5.12.8; I don't recall when that was
installed relative to lyx-2.3.6.

>> First, the fonts on the menu, toolbar, outline pane and other main window
>> widgets shrank. They're too small for me and I didn't find where to
>> enlarge
>> them under Tools->Display fonts.
>
> I believe the WM or Qt configuration tool controls that.

Perhaps; I'll check both.

> Run LyX from a terminal and see what error messages you get. The file
> must not be loading properly.

That's for certain:
$ lyx
Traceback (most recent call last):
   File "/usr/share/lyx/scripts/prefs2prefs.py", line 202, in <module>
     main(sys.argv)
   File "/usr/share/lyx/scripts/prefs2prefs.py", line 167, in main
     lines = read(source)
   File "/usr/share/lyx/scripts/prefs2prefs.py", line 52, in read
     lines = source.read().splitlines() or ['']
   File "/usr/lib64/python2.7/codecs.py", line 314, in decode
     (result, consumed) = self._buffer_decode(data, self.errors, final)
LookupError: unknown error handler name 'surrogateescape'
filetools.cpp (1221): Could not run file conversion script prefs2prefs.py.
GuiApplication.cpp (3119): Unable to convert /home/rshepard/.lyx/ui/classic.ui to format 4.
GuiApplication.cpp (3126): Unable to read UI file: /home/rshepard/.lyx/ui/classic.ui

Since I can't change the UI to default.ui within lyx, where can I change
it?

Since python2 reached EOL at the end of last year is there a way to specify
using python3 instead?

> Try looking in .config/ and .local/.

Well, ~./config/LyX/ has
-rw-r--r-- 1 rshepard users  6561 Nov  8  2010 LyX-1.6.0.conf
-rw-r--r-- 1 rshepard users  7030 Nov  8  2010 LyX-1.6.1.conf
-rw-r--r-- 1 rshepard users  5806 Nov  8  2010 LyX-1.6.2.conf
-rw-r--r-- 1 rshepard users  6114 Nov  8  2010 LyX-1.6.3.conf
-rw-r--r-- 1 rshepard users 11217 Jan 25 10:27 lyx.conf

and lyx.conf includes
[ui_files]
0=/usr/share/lyx/ui/default.ui

I don't see anything relevant in ~/.local/

Thanks,

Rich


More information about the lyx-users mailing list