Page 1 of 1

[SOLVED] Frescobaldi does not start

PostPosted: Oct 11th, '18, 12:22
by Erik
Today I installed Frescobaldi. It does not start because a file is missing. In Konsole I get this comment:

erikjan@ejvw-main ~]$ frescobaldi
Traceback (most recent call last):
File "/bin/frescobaldi", line 7, in <module>
import main
File "/usr/lib/python3.5/site-packages/frescobaldi_app/main.py", line 42, in <module>
import remote # IPC with other Frescobaldi instances
File "/usr/lib/python3.5/site-packages/frescobaldi_app/remote/__init__.py", line 29, in <module>
from PyQt5.QtNetwork import QLocalServer, QLocalSocket
ImportError: No module named 'PyQt5.QtNetwork'


I looked for this file and found that "python-qt5-network-5.6-8.mga6.x86-64" is installed.

What else must I do to get the program working?

Greetings

Erik

Re: Frescobaldi does not start

PostPosted: Oct 11th, '18, 13:11
by banjo
The package is missing some python dependencies. This has been reported in a bugzilla report.

Try installing the following packages.

python3-qt5
python3-qt5-svg
python3-qt5-webkit

I had the same problem. I installed those packages, and Frescobaldi runs.

I also saw a lilypond issue. Check out the thread on this forum.

https://forums.mageia.org/en/viewtopic.php?f=7&t=11771

Banjo
(_)=='=~

Re: Frescobaldi does not start

PostPosted: Oct 11th, '18, 13:47
by Erik
Thank you very much. Frescobaldi starts now. But when I copy:

\relative c'' {
\time 7/4
c2 bes4 a2 g a bes4 a( g) f2
}
\addlyrics {


from the manual I get the following error:

Starting lilypond 2.19.61 [document.ly]...
Processing `/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly'
Parsing...
/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly:5:14: error: Unfinished main input
\addlyrics {

/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly:5:14: error: syntax error, unexpected end of input
\addlyrics {

/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly:1: warning: no \version statement found, please add

\version "2.19.61"

for future compatibility
fatal error: failed files: "/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly"
Exited with return code 1.


I hope you understand this.

Thank you for your help.

Erik

Re: Frescobaldi does not start

PostPosted: Oct 11th, '18, 14:14
by banjo
That is an incomplete snippet of lilypond code. It will not parse. You are seeing output from syntax errors in the code. The snippet:

Code: Select all
\addlyrics {


needs a closing bracket and stuff between the brackets. The error

Code: Select all
/tmp/frescobaldi-5xi9i_o6/tmp5rnmncyz/document.ly:5:14: error: Unfinished main input
\addlyrics {


is telling you that the input is unfinished.

Lilypond reads a programming language based on Scheme. Just like any other programming language, if there are syntax errors it will not work. You would do best to find a simple tutorial on lilypond and step through it to figure out how it works. Lilypond is very complex. Despite their claims to simplicity, it is not simple.

The lilypond user manual often shows only parts of the required input. For brevity they often leave out boilerplate code that is necessary to make the input compile. So if you just copy/paste what is in the manual, it will be incomplete.

Banjo
(_)=='=~

Re: Frescobaldi does not start

PostPosted: Oct 11th, '18, 14:50
by Erik
Dear Banjo,

thank you very much for your help. I see now that the error I got was caused by a "}" that I overlooked copying the example in the manual.

Again: thank you very much for your help. I was afraid already that I must change my OS to Linux Mint or Rosa to get the program working.

Erik

Re: [SOLVED] Frescobaldi does not start

PostPosted: Oct 11th, '18, 14:59
by banjo
I am running Frescobaldi on Mint right now. I also run it on Mageia. Lilypond has a steep learning curve to get started, but once you have the basic concepts down, you can make outstanding output.

Good luck with it.