On 1/25/21 2:04 PM, Rich Shepard wrote:
> 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)

Something weird is going on here. This is some kind of encoding error.


> 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

It looks as if you have a customized version of classic.ui here. Try
deleting (or moving) it. It seems as if it must have some strange
characters in it.


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

LyX should pick up python3 on reconfigure. But I'm not sure where that
gets stored.

You might want to raise this on devel. People there may have more ideas.

Riki


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

Reply via email to