Errors (and lock up) on starting Frescobaldi

Bug #1996192 reported by Raphael Mankin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
frescobaldi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have recently upgraded from xubuntu 20.04 to 22.04.
Now Frescobaldi will not start. I tried a reboot, but that did not help.

I get a popup window showing:

Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/widgets/linenumberarea.py", line 83, in paintEvent
    rect.moveTop(geom.top())
TypeError: moveTop(self, int): argument 1 has unexpected type 'float'

If I start it from the command line, I get :

frescobaldi
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/panel.py", line 64, in sizeHint
    self.widget()
  File "/usr/share/frescobaldi/frescobaldi_app/panel.py", line 71, in widget
    w = self.createWidget()
  File "/usr/share/frescobaldi/frescobaldi_app/docbrowser/__init__.py", line 56, in createWidget
    return browser.Browser(self)
  File "/usr/share/frescobaldi/frescobaldi_app/docbrowser/browser.py", line 86, in __init__
    self.readSettings()
  File "/usr/share/frescobaldi/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'
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/panel.py", line 81, in showEvent
    self.widget()
  File "/usr/share/frescobaldi/frescobaldi_app/panel.py", line 71, in widget
    w = self.createWidget()
  File "/usr/share/frescobaldi/frescobaldi_app/docbrowser/__init__.py", line 56, in createWidget
    return browser.Browser(self)
  File "/usr/share/frescobaldi/frescobaldi_app/docbrowser/browser.py", line 86, in __init__
    self.readSettings()
  File "/usr/share/frescobaldi/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'
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/highlight.py", line 209, in paintEvent
    super().paintEvent(ev) # first paint the contents
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/shadow.py", line 43, in paintEvent
    rect = ev.rect().adjusted(-width, -width, width / 2, width / 2)
TypeError: adjusted(self, int, int, int, int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/widgets/linenumberarea.py", line 83, in paintEvent
    rect.moveTop(geom.top())
TypeError: moveTop(self, int): argument 1 has unexpected type 'float'
QWidget::repaint: Recursive repaint detected
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?

Revision history for this message
Raphael Mankin (raph-p) wrote (last edit ):

I have tried:

apt purge frescobaldi
apt autoremove
apt install frescobaldi

but with no success.

(12 Nov)
I have now managed to download and install the .deb for version 3.0.0 and, with a certain amount of fiddling to install missing bits and pieces, this now works.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in frescobaldi (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Dietz (mgdietz) wrote :

This is similar to #1993213

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.