Bug 2027811 - [abrt] frescobaldi: readSettings(): browser.py:102:readSettings:TypeError: setFontSize(self, QWebEngineSettings.FontSize, int): argument 2 has unexpected type 'float'
Summary: [abrt] frescobaldi: readSettings(): browser.py:102:readSettings:TypeError: se...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: frescobaldi
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4d1464c9928061d9f95afbeb8e9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-30 18:28 UTC by Trond Aasan
Modified: 2022-01-12 01:23 UTC (History)
3 users (show)

Fixed In Version: frescobaldi-3.1.3-7.fc35
Clone Of:
Environment:
Last Closed: 2022-01-12 01:23:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.24 KB, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
File: cpuinfo (2.62 KB, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
File: environ (1.51 KB, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
File: mountinfo (3.14 KB, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
File: namespaces (172 bytes, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
File: open_fds (6.32 KB, text/plain)
2021-11-30 18:28 UTC, Trond Aasan
no flags Details
frescobaldi configuration (4.45 KB, text/plain)
2021-11-30 18:38 UTC, Trond Aasan
no flags Details

Description Trond Aasan 2021-11-30 18:28:27 UTC
Description of problem:
Launch program. Crashes immediately

Version-Release number of selected component:
frescobaldi-3.1.3-6.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.frescobaldi.Frescobaldi-103559.scope
cmdline:        /usr/bin/python3 /usr/bin/frescobaldi
crash_function: readSettings
exception_type: TypeError
executable:     /usr/bin/frescobaldi
interpreter:    python3-3.10.0-1.fc35.x86_64
kernel:         5.15.4-201.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
browser.py:102:readSettings:TypeError: setFontSize(self, QWebEngineSettings.FontSize, int): argument 2 has unexpected type 'float'

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/frescobaldi_app/panel.py", line 64, in sizeHint
    self.widget()
  File "/usr/lib/python3.10/site-packages/frescobaldi_app/panel.py", line 71, in widget
    w = self.createWidget()
  File "/usr/lib/python3.10/site-packages/frescobaldi_app/docbrowser/__init__.py", line 56, in createWidget
    return browser.Browser(self)
  File "/usr/lib/python3.10/site-packages/frescobaldi_app/docbrowser/browser.py", line 86, in __init__
    self.readSettings()
  File "/usr/lib/python3.10/site-packages/frescobaldi_app/docbrowser/browser.py", line 102, in readSettings
    ws.setFontSize(QWebEngineSettings.DefaultFixedFontSize, fixed.pointSizeF() * 96 / 72)
TypeError: setFontSize(self, QWebEngineSettings.FontSize, int): argument 2 has unexpected type 'float'

Local variables in innermost frame:
self: <docbrowser.browser.Browser object at 0x7f115763f760>
s: <PyQt5.QtCore.QSettings object at 0x7f1157585d80>
ws: <PyQt5.QtWebEngineWidgets.QWebEngineSettings object at 0x7f115755d230>
family: 'Sans Serif'
size: 16
fixed: <PyQt5.QtGui.QFont object at 0x7f1157683ed0>

Comment 1 Trond Aasan 2021-11-30 18:28:30 UTC
Created attachment 1844230 [details]
File: backtrace

Comment 2 Trond Aasan 2021-11-30 18:28:31 UTC
Created attachment 1844231 [details]
File: cpuinfo

Comment 3 Trond Aasan 2021-11-30 18:28:32 UTC
Created attachment 1844232 [details]
File: environ

Comment 4 Trond Aasan 2021-11-30 18:28:34 UTC
Created attachment 1844233 [details]
File: mountinfo

Comment 5 Trond Aasan 2021-11-30 18:28:35 UTC
Created attachment 1844234 [details]
File: namespaces

Comment 6 Trond Aasan 2021-11-30 18:28:36 UTC
Created attachment 1844235 [details]
File: open_fds

Comment 7 Trond Aasan 2021-11-30 18:38:33 UTC
Created attachment 1844237 [details]
frescobaldi configuration

This is the config file from an older version. If I delete this file, frescobaldi will start normally.

Comment 8 Fedora Update System 2022-01-05 20:29:54 UTC
FEDORA-2022-3cc3d2d29f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3cc3d2d29f

Comment 9 Fedora Update System 2022-01-06 01:53:59 UTC
FEDORA-2022-3cc3d2d29f has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-3cc3d2d29f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3cc3d2d29f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-01-12 01:23:28 UTC
FEDORA-2022-3cc3d2d29f has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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