Frescobaldi 3.1.3 crashing in Ubuntu 22.04 --fixed

231 views
Skip to first unread message

Jorma Louhi

unread,
Apr 30, 2022, 12:59:41 PM4/30/22
to fresc...@googlegroups.com
I had to make some changes in some python files because of the float/integer errors and managed to get it working in my Lenovo laptop.

Greetings
Mr. Jorma Louhi
Finland


poppler.py
render.py
scrollarea.py
shadow.py
viewmanager.py
browser.py

Wilbert Berendsen

unread,
May 2, 2022, 1:44:41 AM5/2/22
to fresc...@googlegroups.com
Op Sat, 30 Apr 2022 19:59:26 +0300
Jorma Louhi <jorma...@gmail.com> schreef:
Thanks! I think most errors were also already fixed in current git, but
I will review your changes as well.
A new release is upcoming, my own development system now also has
Python 3.10.

Best and thanks again!

--
Wilbert Berendsen (www.wilbertberendsen.nl)

Hugh Lanham

unread,
Aug 3, 2022, 9:35:16 AM8/3/22
to Frescobaldi
Hi
Has this really been fixed? I have re-installed to ensure everything up to date but still cannot use Frescobaldi. It crashes every time I try to engrave or open an existing file.
Hugh

Hugh Lanham

unread,
Aug 3, 2022, 9:38:44 AM8/3/22
to Frescobaldi


Hugh Lanham <hughl...@gmail.com>

14:28 (8 minutes ago)




to info
Frescobaldi: 3.1.3
Extension API: 0.9.0
Python: 3.10.4
python-ly: 0.9.6
Qt: 5.15.3
PyQt: 5.15.6
sip: 6.5.1
poppler: 22.2.0
python-poppler-qt: 0.75.0
OS: Linux-5.15.0-43-generic-x86_64-with-glibc2.35

Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/musicview/widget.py", line 106, in openDocument
    self.view.setDocument(doc)
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/view.py", line 405, in setDocument
    with self.modifyPages() as pages:
  File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/view.py", line 376, in modifyPages
    self.updatePageLayout(lazy)
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/widgetoverlay.py", line 161, in updatePageLayout
    super().updatePageLayout(lazy)
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/view.py", line 344, in updatePageLayout
    self.setAreaSize(self._pageLayout.size())
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/scrollarea.py", line 104, in setAreaSize
    self._updateScrollBars()
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/scrollarea.py", line 189, in _updateScrollBars
    vbar.setPageStep(viewport.height() * .9)
TypeError: setPageStep(self, int): argument 1 has unexpected type 'float'

Federico Bruni

unread,
Aug 3, 2022, 3:05:07 PM8/3/22
to fresc...@googlegroups.com
I think you need version 3.2


Il giorno mer 3 ago 2022 alle 06:38:44 -0700, Hugh Lanham
<hughl...@gmail.com> ha scritto:
> --
> Frescobaldi homepage: http://www.frescobaldi.org/
> Mailing list: http://groups.google.com/group/frescobaldi
> Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
> ---
> You received this message because you are subscribed to the Google
> Groups "Frescobaldi" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to frescobaldi...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/frescobaldi/6209f771-940e-4284-adb0-daea8fd46354n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages