Il giorno lun 9 set 2019 alle 11:59, Urs Liska <li...@openlilylib.org>
ha scritto:
I've finally managed to do some work on Frescobaldi again, picking up
on a completely new "Document Fonts" dialog I had started some time
ago. I think it is approaching a point where it can be merged, and
therefore I'd be glad about people testing it
Hi Urs
When I open "Document Fonts", it hangs forever until I close
Frescobaldi.
My python is version 3.7.4.
$ frescobaldi
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/__init__.py",
line 69, in document_fonts
dlg = dialog.FontsDialog(info, mainwin)
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py",
line 107, in __init__
self.createTabs()
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py",
line 144, in createTabs
musicfonts.MusicFontsWidget(self.available_fonts, self)
File
"/home/fede/src/frescobaldi/frescobaldi_app/fonts/musicfonts.py", line
77, in __init__
bai.setEnabled(self._font_repo and not self._auto_install)
TypeError: setEnabled(self, bool): argument 1 has unexpected type 'str'
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 224,
in excepthook
exception.ExceptionDialog(exctype, excvalue, exctb)
File "/home/fede/src/frescobaldi/frescobaldi_app/exception.py", line
46, in __init__
self._ext_maintainer =
app.extensions().is_extension_exception(tbfull)
File
"/home/fede/src/frescobaldi/frescobaldi_app/extensions/__init__.py",
line 811, in is_extension_exception
return (infos['extension-name'],
TypeError: 'NoneType' object is not subscriptable
Original exception was:
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/__init__.py",
line 69, in document_fonts
dlg = dialog.FontsDialog(info, mainwin)
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py",
line 107, in __init__
self.createTabs()
File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py",
line 144, in createTabs
musicfonts.MusicFontsWidget(self.available_fonts, self)
File
"/home/fede/src/frescobaldi/frescobaldi_app/fonts/musicfonts.py", line
77, in __init__
bai.setEnabled(self._font_repo and not self._auto_install)
TypeError: setEnabled(self, bool): argument 1 has unexpected type 'str'
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi", line 32, in <module>
sys.exit(app.run())
File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 141,
in run
aboutToQuit()
File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line
191, in emit
l.call(args, kwargs)
File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line
308, in call
return self.func(obj, *args[self.argslice], **kwargs)
File "/home/fede/src/frescobaldi/frescobaldi_app/musicpreview.py",
line 171, in cleanup
self._top.hide()
RuntimeError: wrapped C/C++ object of type QWidget has been deleted
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 224,
in excepthook
exception.ExceptionDialog(exctype, excvalue, exctb)
File "/home/fede/src/frescobaldi/frescobaldi_app/exception.py", line
46, in __init__
self._ext_maintainer =
app.extensions().is_extension_exception(tbfull)
File
"/home/fede/src/frescobaldi/frescobaldi_app/extensions/__init__.py",
line 811, in is_extension_exception
return (infos['extension-name'],
TypeError: 'NoneType' object is not subscriptable
Original exception was:
Traceback (most recent call last):
File "/home/fede/src/frescobaldi/frescobaldi", line 32, in <module>
sys.exit(app.run())
File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 141,
in run
aboutToQuit()
File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line
191, in emit
l.call(args, kwargs)
File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line
308, in call
return self.func(obj, *args[self.argslice], **kwargs)
File "/home/fede/src/frescobaldi/frescobaldi_app/musicpreview.py",
line 171, in cleanup
self._top.hide()
RuntimeError: wrapped C/C++ object of type QWidget has been deleted
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user