| Summary: | Frescobaldi throws a fatal error when starting up | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Brian Kimerer <briankimerer> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | briankimerer, davidwhodgins, geiger.david68210, lewyssmith |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | frescobaldi-3.2-1.mga9.noarch.rpm | CVE: | |
| Status comment: | |||
|
Description
Brian Kimerer
2023-01-03 17:34:55 CET
Should be fixed in next frescobaldi-3.2-2.mga9 update! Please test when available in repo. CC:
(none) =>
geiger.david68210 Thank you Brian for a very helpful report.
Thank you David for another lightning response. I expected to see a new package 'qpageview', but the nearest I could find was 'python3-qpageview'.
However,
$ urpmq --requires frescobaldi | grep qpageview
qpageview
shows up as expected, but the converse is not clear:
$ urpmq --whatrequires qpageview
$ urpmq -i qpageview
both return "no such package".
However:
$ urpmq --whatrequires python3-qpageview
frescobaldi
Installing frescobaldi-3.2-2 did indeed pull in
python3-qpageview 0.6.2 1.mga9 noarch
How did it work that out?
Never mind; running it did not work here (can Brian check this?):
$ frescobaldi
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/frescobaldi_app/plugin.py", line 79, in instance
return _instances[cls][obj]
File "/usr/lib64/python3.10/weakref.py", line 416, in __getitem__
return self.data[ref(key)]
KeyError: <weakref at 0x7f5d2105f240; to 'type' at 0x157da20 (PanelManager)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/frescobaldi", line 40, in <module>
main.main() # Parse command line, create windows etc
File "/usr/lib/python3.10/site-packages/frescobaldi_app/main.py", line 218, in main
win = mainwindow.MainWindow()
File "/usr/lib/python3.10/site-packages/frescobaldi_app/mainwindow.py", line 136, in __init__
self.createMenus()
File "/usr/lib/python3.10/site-packages/frescobaldi_app/mainwindow.py", line 1113, in createMenus
menu.createMenus(self)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/menu.py", line 61, in createMenus
m.addMenu(menu_file(mainwindow))
File "/usr/lib/python3.10/site-packages/frescobaldi_app/menu.py", line 95, in menu_file
m.addMenu(snippet.menu.TemplateMenu(mainwindow))
File "/usr/lib/python3.10/site-packages/frescobaldi_app/snippet/menu.py", line 149, in __init__
self.addAction(self.tool().actionCollection.templates_manage)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/snippet/menu.py", line 58, in tool
return panelmanager.manager(self.mainwindow()).snippettool
File "/usr/lib/python3.10/site-packages/frescobaldi_app/panelmanager.py", line 38, in manager
return PanelManager.instance(mainwindow)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/plugin.py", line 84, in instance
result.__init__(obj)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/panelmanager.py", line 70, in __init__
self.loadPanel("musicview.MusicViewPanel", "viewers")
File "/usr/lib/python3.10/site-packages/frescobaldi_app/panelmanager.py", line 107, in loadPanel
__import__(module_name)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/musicview/__init__.py", line 59, in <module>
from . import documents
File "/usr/lib/python3.10/site-packages/frescobaldi_app/musicview/documents.py", line 29, in <module>
import popplerqt5
RuntimeError: popplerqt5 cannot import type '����' from PyQt5.QtCoreCC:
(none) =>
lewyssmith (In reply to Lewis Smith from comment #2) > Installing frescobaldi-3.2-2 did indeed pull in > python3-qpageview 0.6.2 1.mga9 noarch > How did it work that out? # urpmq --provides python3-qpageview python-qpageview[== 0.6.2-1.mga9] python3-qpageview[== 0.6.2-1.mga9] python3.10-qpageview[== 0.6.2-1.mga9] python3.10dist(qpageview)[== 0.6.2] python3dist(qpageview)[== 0.6.2] qpageview[== 0.6.2-1.mga9] CC:
(none) =>
davidwhodgins
Brian Kimerer
2023-01-04 04:50:47 CET
CC:
(none) =>
briankimerer I installed frescobaldi-3.2-2.mga9 from the repository and it runs fine on this platform. I could not figure out how to uninstall the version that I installed from github, so I have both installed in parallel. I don't know if that has any impact on this or not.
Anyway, I can run either /usr/bin/frescobaldi (from repository) or /usr/local/bin/frescobaldi (from github) and they both work. The only difference between the two frescobaldi startup scripts is a -s switch on the hashbang in /usr/bin/frescobaldi
$ diff /usr/bin/frescobaldi /usr/local/bin/frescobaldi
1c1
< #!/usr/bin/python3 -s
---
> #!/usr/bin/python3
(In reply to Dave Hodgins from comment #3) > (In reply to Lewis Smith from comment #2) > > Installing frescobaldi-3.2-2 did indeed pull in > > python3-qpageview 0.6.2 1.mga9 noarch > > How did it work that out? > # urpmq --provides python3-qpageview ... > qpageview[== 0.6.2-1.mga9] Another lesson! (In reply to Brian Kimerer from comment #4) > I installed frescobaldi-3.2-2.mga9 from the repository and it runs fine on > this platform. > Anyway, I can run either /usr/bin/frescobaldi (from repository) or > /usr/local/bin/frescobaldi (from github) and they both work. This is clear enough: a nice +ve response. Ignoring my own experience, closing satisfactorily. Resolution:
(none) =>
FIXED |