Public bug reported:

Reconfigure results in:

```
Traceback (most recent call last):
  File "/usr/share/lyx/configure.py", line 1899, in <module>
    ret = checkLatexConfig(lyx_check_config and LATEX, bool_docbook)
  File "/usr/share/lyx/configure.py", line 1420, in checkLatexConfig
    for line in open(file, 'r', encoding='utf8').readlines():
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 845: 
invalid start byte
support/Systemcall.cpp (276): Systemcall: 'python3 -tt 
"/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' finished with exit code 
1

```

Running 'python3 -tt "/usr/share/lyx/configure.py" --binary-
dir="/usr/bin/"' in a terminal does *not* result in the error LyX is
reporting and instead appears to complete successfully.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: lyx 2.3.4.2-2
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Wed Apr 29 10:50:55 2020
InstallationDate: Installed on 2014-05-08 (2182 days ago)
InstallationMedia: Linux Mint 16 "petra" - Release amd64 20131126
SourcePackage: lyx
UpgradeStatus: Upgraded to focal on 2020-04-25 (4 days ago)

** Affects: lyx (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875909

Title:
  LyX can't build PDFs / missing begin document

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1875909/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to