Bug 2027811
| Summary: | [abrt] frescobaldi: readSettings(): browser.py:102:readSettings:TypeError: setFontSize(self, QWebEngineSettings.FontSize, int): argument 2 has unexpected type 'float' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Trond Aasan <trond.aasan> | ||||||||||||||||
| Component: | frescobaldi | Assignee: | Gwyn Ciesla <gwync> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 35 | CC: | fede, gwync, oget.fedora | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/683f80e64b7b7ad8799ced685de80aa73d134b9d | ||||||||||||||||||
| Whiteboard: | abrt_hash:4d1464c9928061d9f95afbeb8e9caefc35a9dfb4;VARIANT_ID=kde; | ||||||||||||||||||
| Fixed In Version: | frescobaldi-3.1.3-7.fc35 | Doc Type: | --- | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2022-01-12 01:23:28 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1844230 [details]
File: backtrace
Created attachment 1844231 [details]
File: cpuinfo
Created attachment 1844232 [details]
File: environ
Created attachment 1844233 [details]
File: mountinfo
Created attachment 1844234 [details]
File: namespaces
Created attachment 1844235 [details]
File: open_fds
Created attachment 1844237 [details]
frescobaldi configuration
This is the config file from an older version. If I delete this file, frescobaldi will start normally.
FEDORA-2022-3cc3d2d29f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3cc3d2d29f 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. 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. |
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>