<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 8/14/20 11:28 AM, Jose Ramom Flores
      das Seixas wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:38eb3b6b-bf8a-df7a-0efb-362098748750@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi:</p>
      <p>I take a long time without using <i>LyX</i>, 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).
</p>
      <p>Today I tried to edit a file, with lyxformat 544, but <i>LyX</i> tells me a module is missing. Looking at the module dialogue I found that no module is available.
</p>
      <p>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.</p>
      <p>When I run <i>LyX</i> from a terminal I can notice the following error:
</p>
      <p><tt><font color="#731717">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</font></tt></p>
      <p><font color="#731717"><tt> LyX: Done!</tt></font><font face="Courier New, Courier, monospace" color="#731717"> 
</font></p>
      <p>Finally, when executing <font size="+1"><b><tt>Reconfigure</tt></b></font>, an error dialog appears with the following message:
</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>The system reconfiguration has failed.</tt></font></p>
      <font size="+1" color="#731717"><tt> </tt></font>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>Default textclass is used but LyX may</tt></font></p>
      <font size="+1" color="#731717"><tt> </tt></font>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>not be able to work properly.</tt></font></p>
      <font size="+1" color="#731717"><tt> </tt></font>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>Please reconfigure again if needed.</tt></font></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>
</tt></font></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">I've run <font size="+1"><b><tt>Reconfigure</tt></b></font> several times, but the modules still don't appear.<tt><font color="#731717"><font size="+1"> </font></font></tt>Any leads on what's not going well?<font size="+1" color="#731717"><tt>
</tt></font></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font size="+1" color="#731717"><tt>
</tt></font></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Cheers</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ramom<font size="+1" color="#731717"><tt>
</tt></font></p>
      <p><style type="text/css">
p, li { white-space: pre-wrap; }</style></p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    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.<br>
    <br>
    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.<br>
    <br>
    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.<br>
    <br>
    Paul<br>
    <br>
  </body>
</html>