Hello all !
Sorry to revive this forgotten thread, I'm coming more or less into the same issue, after quite a few updates on my computer (ubuntu 18.04->20.04). I had the default repo version (3.0 or so) and it stopped working after the update. I uninstalled and purged and then tried to grab the last source, but it also failed to start when trying to run directly without install.
Here's the output :
Traceback (most recent call last):
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/plugin.py", line 79, in instance
return _instances[cls][obj]
File "/usr/lib/python3.8/weakref.py", line 383, in __getitem__
return self.data[ref(key)]
KeyError: <weakref at 0x7f13be0b3270; to 'type' at 0x28f5bb0 (PanelManager)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./frescobaldi", line 28, in <module>
main.main() # Parse command line, create windows etc
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/main.py", line 210, in main
win = mainwindow.MainWindow()
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/mainwindow.py", line 129, in __init__
self.createMenus()
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/mainwindow.py", line 1105, in createMenus
menu.createMenus(self)
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/menu.py", line 61, in createMenus
m.addMenu(menu_file(mainwindow))
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/menu.py", line 95, in menu_file
m.addMenu(snippet.menu.TemplateMenu(mainwindow))
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/snippet/menu.py", line 146, in __init__
self.addAction(self.tool().actionCollection.templates_manage)
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/snippet/menu.py", line 58, in tool
return panelmanager.manager(self.mainwindow()).snippettool
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/panelmanager.py", line 38, in manager
return PanelManager.instance(mainwindow)
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/plugin.py", line 84, in instance
result.__init__(obj)
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/panelmanager.py", line 70, in __init__
self.loadPanel("musicview.MusicViewPanel", "viewers")
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/panelmanager.py", line 107, in loadPanel
__import__(module_name)
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/musicview/__init__.py", line 59, in <module>
from . import documents
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/musicview/documents.py", line 29, in <module>
import popplerqt5
RuntimeError: popplerqt5 cannot import type '����' from PyQt5.QtCore
./frescobaldi --version-debug gives :
Traceback (most recent call last):
File "./frescobaldi", line 28, in <module>
main.main() # Parse command line, create windows etc
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/main.py", line 151, in main
sys.stdout.write(debuginfo.version_info_string() + '\n')
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/debuginfo.py", line 130, in version_info_string
return separator.join(map("{0[0]}: {0[1]}".format, version_info_named()))
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/debuginfo.py", line 122, in version_info_named
yield "python-poppler-qt", python_poppler_version()
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/debuginfo.py", line 38, in wrapper
return f()
File "/home/yann/Softs/frescobaldi-3.1.3/frescobaldi_app/debuginfo.py", line 89, in python_poppler_version
import popplerqt5
RuntimeError: popplerqt5 cannot import type '����' from PyQt5.QtCore
From your messages above, I thought it may have been a popplerqt5 issue, so I updated my version using pip3.
When I launch python and try "import popplerqt5" it fails :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/yann/.local/lib/python3.8/site-packages/PyQt5/
QtCore.abi3.so)
Any clue ? Might be a version problem somewhere as I first installed some packages via the manager, and then updated through pip, but I don't know where to look.
Thanks in advance for your help (and for frescobaldi - eager to use it again after quite some time !)
Yann