[SOLVED] Frescobaldi does not start

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Frescobaldi does not start

Postby Erik » Oct 11th, '18, 12:22

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
Last edited by Erik on Oct 11th, '18, 14:50, edited 1 time in total.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Frescobaldi does not start

Postby banjo » Oct 11th, '18, 13:11

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
(_)=='=~
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 445
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: Frescobaldi does not start

Postby Erik » Oct 11th, '18, 13:47

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
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Frescobaldi does not start

Postby banjo » Oct 11th, '18, 14:14

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
(_)=='=~
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 445
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: Frescobaldi does not start

Postby Erik » Oct 11th, '18, 14:50

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
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: [SOLVED] Frescobaldi does not start

Postby banjo » Oct 11th, '18, 14:59

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.
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 445
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron