no modules availables

Paul A. Rubin parubin73 at gmail.com
Fri Aug 14 17:34:53 UTC 2020


On 8/14/20 11:28 AM, Jose Ramom Flores das Seixas wrote:
>
> Hi:
>
> I take a long time without using /LyX/, but my package manager has 
> been updating lyx when new versions come out. Nowadays, I have 
> installed version 2.3.5.2 (OS: Ubuntu 18.04).
>
> Today I tried to edit a file, with lyxformat 544, but /LyX/ tells me a 
> module is missing. Looking at the module dialogue I found that no 
> module is available.
>
> I've checked that the standard module files are in 
> /usr/share/lyx/layouts, and besides them I have some other modules in 
> ~/.lyx/layouts.
>
> When I run /LyX/ from a terminal I can notice the following error:
>
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 
> 395: invalid start byte support/Systemcall.cpp (276): Systemcall: 
> 'python -tt "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' 
> finished with exit code 1
>
> LyX: Done!
>
> Finally, when executing *Reconfigure*, an error dialog appears with 
> the following message:
>
> The system reconfiguration has failed.
>
> Default textclass is used but LyX may
>
> not be able to work properly.
>
> Please reconfigure again if needed.
>
> I've run *Reconfigure* several times, but the modules still don't 
> appear.Any leads on what's not going well?
>
> Cheers
>
> Ramom
>
>
It would be nice to know if the alleged non-UTF8 character is in 
configure.py or in some file it is trying to read.

I've attached configure.py from my system (Linux Mint 19.3). You might 
start by comparing it to the one on your system (in /usr/share/lyx) 
using diff, meld or whatever tool you prefer. If there is a discrepancy, 
try reconfiguring using my copy.

If there's no difference in the script files, I would suggest trying to 
run the configuration script directly in a terminal (python -tt 
"/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"). If you get the 
same error message, check ~/.lyx/configure.log to see if you can figure 
out where the error occurred, and maybe post the log here.

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200814/94d4cb16/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.py
Type: text/x-python
Size: 95376 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200814/94d4cb16/attachment-0001.py>


More information about the lyx-users mailing list