lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF not shown in Frescobaldi


From: Urs Liska
Subject: Re: PDF not shown in Frescobaldi
Date: Tue, 16 Jun 2020 10:06:18 +0200
User-agent: Evolution 3.36.2-1

Am Dienstag, den 16.06.2020, 09:58 +0200 schrieb Noeck:
> Hi Urs,
> 
> Am 16.06.20 um 00:37 schrieb Urs Liska:
> 
> > Rhat diesn't seem too plausible, it looks more like a dependency
> > issue.
> 
> I looked at the dependencies of the frescobaldi package and now
> installed python3-poppler-qt5. Now Frescobaldi crashes at startup
> (see
> traceback below).
> 
> > What about the Tools menu? Can you manually open/close an (even
> > empty) Music View from there? If so, what does it look like?
> 
> The music view is there, it is empty (gray). The tools menu looks
> normal
> and I can choose the music view there and also deselect it.

OK, that means "the music view is gone" is not correct. It's that it
can't display anything. Which underlines the suspicion of the poppler
dependency issue.


> The SVG view
> works and shows the document (if I compile it to SVG). The PDF-
> document
> drop down in the symbols tool bar is gray and empty.
> 
> One other piece of information: I get this warning when starting
> frescobaldi in the terminal:
> 
> > Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
> > QT_QPA_PLATFORM=wayland to run on Wayland anyway.
> 
> And the application has no icon in the Gnome menu. Could it be a
> Wayland
> issue? Using the second variable does not change anything obvious.

This may well be true, but the traceback looks like this one:
https://github.com/frescobaldi/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux#workaround-building-python-poppler-qt5-from-source
and
https://github.com/frescobaldi/frescobaldi/issues/838

I wonder if it's still possible today to have that problem with Linux
packages. What distribution/desktop do you use exactly?

Best
Urs

> 
> Cheers
> Joram
> 
> 
> Here is the traceback with python3-poppler-qt5 installed:
> 
> > Traceback (most recent call last):
> >   File "frescobaldi-3.1.2/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 0x7ff6db187cc0; to 'type' at 0x30ddd90
> > (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 "frescobaldi-3.1.2/frescobaldi_app/main.py", line 210, in
> > main
> >     win = mainwindow.MainWindow()
> >   File "frescobaldi-3.1.2/frescobaldi_app/mainwindow.py", line 129,
> > in __init__
> >     self.createMenus()
> >   File "frescobaldi-3.1.2/frescobaldi_app/mainwindow.py", line
> > 1105, in createMenus
> >     menu.createMenus(self)
> >   File "frescobaldi-3.1.2/frescobaldi_app/menu.py", line 61, in
> > createMenus
> >     m.addMenu(menu_file(mainwindow))
> >   File "frescobaldi-3.1.2/frescobaldi_app/menu.py", line 95, in
> > menu_file
> >     m.addMenu(snippet.menu.TemplateMenu(mainwindow))
> >   File "frescobaldi-3.1.2/frescobaldi_app/snippet/menu.py", line
> > 146, in __init__
> >     self.addAction(self.tool().actionCollection.templates_manage)
> >   File "frescobaldi-3.1.2/frescobaldi_app/snippet/menu.py", line
> > 58, in tool
> >     return panelmanager.manager(self.mainwindow()).snippettool
> >   File "frescobaldi-3.1.2/frescobaldi_app/panelmanager.py", line
> > 38, in manager
> >     return PanelManager.instance(mainwindow)
> >   File "frescobaldi-3.1.2/frescobaldi_app/plugin.py", line 84, in
> > instance
> >     result.__init__(obj)
> >   File "frescobaldi-3.1.2/frescobaldi_app/panelmanager.py", line
> > 70, in __init__
> >     self.loadPanel("musicview.MusicViewPanel", "viewers")
> >   File "frescobaldi-3.1.2/frescobaldi_app/panelmanager.py", line
> > 107, in loadPanel
> >     __import__(module_name)
> >   File "frescobaldi-3.1.2/frescobaldi_app/musicview/__init__.py",
> > line 52, in <module>
> >     import pagedview
> >   File "frescobaldi-3.1.2/frescobaldi_app/pagedview.py", line 36,
> > in <module>
> >     import popplerqt5
> > ValueError: PyCapsule_GetPointer called with incorrect name
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]