Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1692546 - [abrt] lyx-common: processLayoutFile(): configure.py:1332:processLayoutFile:TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
Summary: [abrt] lyx-common: processLayoutFile(): configure.py:1332:processLayoutFile:T...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lyx
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5efd87e258a3f1e5c8a8508a8bd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-25 20:34 UTC by Bo Johnson
Modified: 2019-03-25 20:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
File: backtrace (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: cgroup (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: cpuinfo (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: environ (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: mountinfo (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: namespaces (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details
File: open_fds (deleted)
2019-03-25 20:34 UTC, Bo Johnson
no flags Details

Description Bo Johnson 2019-03-25 20:34:46 UTC
Version-Release number of selected component:
lyx-common-2.3.2-1.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -tt /usr/share/lyx/configure.py --binary-dir=/usr/bin/
crash_function: processLayoutFile
exception_type: TypeError
executable:     /usr/share/lyx/configure.py
interpreter:    python3-3.7.2-5.fc29.x86_64
kernel:         5.0.3-200.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
configure.py:1332:processLayoutFile:TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'

Traceback (most recent call last):
  File "/usr/share/lyx/configure.py", line 1904, in <module>
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
  File "/usr/share/lyx/configure.py", line 1384, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
  File "/usr/share/lyx/configure.py", line 1332, in processLayoutFile
    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'

Local variables in innermost frame:
file: '/usr/share/lyx/layouts/svjog.layout'
bool_docbook: 'true'
checkForClassExtension: <function processLayoutFile.<locals>.checkForClassExtension at 0x7fe471ed0b70>
classname: 'svjog'
p: re.compile(b'^\\s*#\\s*\\\\Declare(LaTeX|DocBook)Class\\s*(\\[([^,]*)(,.*)*\\])*\\s*{(.*)}\\s*$')
q: re.compile(b'^\\s*#\\s*\\\\DeclareCategory{(.*)}\\s*$')
classdeclaration: b''
categorydeclaration: b'""'
line: b'#  \\DeclareLaTeXClass[svjour,svjog.clo,natbib.sty]{Journal of Geodesy (Springer)}\n'
res: <re.Match object; span=(0, 82), match=b'#  \\DeclareLaTeXClass[svjour,svjog.clo,natbib.s>
qres: None
classtype: b'LaTeX'
optAll: b'[svjour,svjog.clo,natbib.sty]'
opt: b'svjour'
opt1: b',svjog.clo,natbib.sty'
desc: b'Journal of Geodesy (Springer)'
avai: b'false'
prereq_latex: b'svjour.cls,svjog.clo,natbib.sty'
prereq_list: [b'svjour.cls', b'svjog.clo', b'natbib.sty']
prereq_docbook: b''
prereq: b'svjour.cls,svjog.clo,natbib.sty'

Comment 1 Bo Johnson 2019-03-25 20:34:47 UTC
Created attachment 1547828 [details]
File: backtrace

Comment 2 Bo Johnson 2019-03-25 20:34:48 UTC
Created attachment 1547829 [details]
File: cgroup

Comment 3 Bo Johnson 2019-03-25 20:34:48 UTC
Created attachment 1547830 [details]
File: cpuinfo

Comment 4 Bo Johnson 2019-03-25 20:34:49 UTC
Created attachment 1547831 [details]
File: environ

Comment 5 Bo Johnson 2019-03-25 20:34:50 UTC
Created attachment 1547832 [details]
File: mountinfo

Comment 6 Bo Johnson 2019-03-25 20:34:50 UTC
Created attachment 1547833 [details]
File: namespaces

Comment 7 Bo Johnson 2019-03-25 20:34:51 UTC
Created attachment 1547834 [details]
File: open_fds


Note You need to log in before you can comment on or make changes to this bug.