Frescobaldi Suddenly Running Slowly

109 views
Skip to first unread message

ryanmicha...@gmail.com

unread,
Feb 25, 2013, 8:53:11 AM2/25/13
to fresc...@googlegroups.com
I am using Arch Linux with Frescobaldi 2.0.8 

Frescobaldi was running well up until today. Now, it takes about a minute to open a LilyPond file and it takes about a minute to engrave the file. Sometimes it won't even do that and it will just lock up entirely. I'm not sure what is wrong, and I am unable to debug Frescobaldi.

Wilbert Berendsen

unread,
Feb 25, 2013, 11:46:51 AM2/25/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com
Op 25-02-13 14:53, ryanmicha...@gmail.com schreef:
How does Frescobaldi start up? Are there other processes taking up
resources?
Are you having a file with many \include commands? They might take a
long time to be searched by Frescobaldi (because it looks for commands
that change the name of output documents).

Wilbert

--
Wilbert Berendsen
http://www.wilbertberendsen.nl/

ryanmicha...@gmail.com

unread,
Feb 25, 2013, 11:18:42 PM2/25/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, in...@wilbertberendsen.nl
Here is a video showing the problem exactly. There are no other processes running whenever this occurs. The problems seems tied to files with more than a few lines of information.

http://youtu.be/GxRg3jdE4-o

ryanmicha...@gmail.com

unread,
Feb 25, 2013, 11:39:05 PM2/25/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com
I just came to the realization of what is causing the problem. If I take my LilyPond files, which have each measure split into a single line, and remove all line breaks, making it one line, there is no problem. It works absolutely perfectly. Now, we just need to find out what is causing this.

Richard Cognot

unread,
Feb 26, 2013, 2:33:50 AM2/26/13
to fresc...@googlegroups.com
Hi,

ryanmicha...@gmail.com a �crit :
You should try to use this:

http://www.vrplumber.com/programming/runsnakerun/

It provides very usefull information as to what is taking time in a
python process in a readable way. It uses the output of cProfile.

I think you'll need a source distribution of frescobaldi though.

Regards,
Richard.

ryanmicha...@gmail.com

unread,
Feb 27, 2013, 12:00:48 AM2/27/13
to fresc...@googlegroups.com, cog...@gocad.org
I'm having a hard time figuring out how to use this application... I'm a novice with Python, sadly.

I looked back on my Pacman log and found the packages that were updated before the slowness began:
"sip"
"python2-sip"
"nepomuk-core"

I assume that the culprit is either sip or python2-sip, since both are dependencies for Frescobaldi.


On Tuesday, February 26, 2013 2:33:50 AM UTC-5, R.Cognot wrote:
Hi,

ryanmicha...@gmail.com a �crit :

flup

unread,
Feb 27, 2013, 2:43:33 AM2/27/13
to fresc...@googlegroups.com, cog...@gocad.org, ryanmicha...@gmail.com
Hello,

I also noticed a huge slowdown of Frescobaldi since about 1 week, after some dependencies updates under Mac OS X.

As it seemed to be "interface" slowness, I though it could be qt4, but I'll try to find out in direction of python or sip

Philippe

flup

unread,
Feb 27, 2013, 7:41:14 AM2/27/13
to fresc...@googlegroups.com, cog...@gocad.org, ryanmicha...@gmail.com
After re-installing an older version of sip, Frescobaldi was running normally again. Seemed thus to be related to a "sip" problem.

Philippe

ryanmicha...@gmail.com

unread,
Feb 27, 2013, 5:48:28 PM2/27/13
to fresc...@googlegroups.com, cog...@gocad.org, ryanmicha...@gmail.com
What version of sip did you have and to what version did you downgrade? I tried downgrading from sip-4.14.3-1 to sip-4.14-2.1 and it didn't help. :(

flup

unread,
Feb 28, 2013, 1:20:04 AM2/28/13
to fresc...@googlegroups.com, cog...@gocad.org, ryanmicha...@gmail.com
I went back to 4.14.1.0 (I don't know if version numbering is the same under OS X and Linux), a version dating from about 4 months ago.

Philippe

Franz

unread,
Feb 28, 2013, 7:05:54 AM2/28/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen


Am Montag, 25. Februar 2013 14:53:11 UTC+1 schrieb ryanmicha...@gmail.com:
I am using Arch Linux with Frescobaldi 2.0.8 

Frescobaldi was running well up until today. Now, it takes about a minute to open a LilyPond file and it takes about a minute to engrave the file. Sometimes it won't even do that and it will just lock up entirely. I'm not sure what is wrong, and I am unable to debug Frescobaldi.


I had the same problem after updating KDE to kde 4.10. Yesterday I downloaded and compiled and installed sip, python-poppler and PyQt. I needed some hours for doing this. Now everything seems to run right.
After updating to a new kde-release I had everytime problems with frescobaldi. Could a static version of frescobaldi for Linux solve the problems?

ryanmicha...@gmail.com

unread,
Feb 28, 2013, 12:57:42 PM2/28/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen
What distro are you running? I tried to compile everything, but I realized that if I did so, my package manager (Pacman) would not be able to manage them, meaning I'd have to literally delete the individual files in case I had to remove the applications.

Franz

unread,
Feb 28, 2013, 2:58:12 PM2/28/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen


Am Donnerstag, 28. Februar 2013 18:57:42 UTC+1 schrieb ryanmicha...@gmail.com:
What distro are you running? I tried to compile everything, but I realized that if I did so, my package manager (Pacman) would not be able to manage them, meaning I'd have to literally delete the individual files in case I had to remove the applications.


I'm using opensuse-12.2.
Which packages did you install and how did you do it? (configure, make, etc.)

ryanmicha...@gmail.com

unread,
Feb 28, 2013, 6:08:39 PM2/28/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen
I started with sip and downloaded it from http://www.riverbankcomputing.com/software/sip/download. I compiled it by running the configure file in the folder, then ran "make" and "sudo make install". It put the files in the directories where they belong, but Pacman isn't able to recognize that sip is installed as a package. I am still learning the ways of packages and things on Arch, so I probably did a few things wrong.

Wilbert Berendsen

unread,
Mar 15, 2013, 7:41:02 PM3/15/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen
Hi,

I have changed things in Frescobaldi to deal with broken QTextUserData
in PyQt-4.9.6 and 4.10, which should make Frescobaldi usable again,
although slightly slower.

See: https://github.com/wbsoft/frescobaldi/issues/100

Please test!
W
--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)

flup

unread,
Mar 16, 2013, 1:46:05 AM3/16/13
to fresc...@googlegroups.com, ryanmicha...@gmail.com, Franz-Rudolf Kuhnen, wbs...@xs4all.nl
Under OS X, it's running fine again.

Thanks :-)

Hes

unread,
Mar 25, 2013, 1:39:41 PM3/25/13
to fresc...@googlegroups.com
I'm running Fedora 18, and I had the same problems. Been running Frescobaldi for months without a problem, and suddenly it got terribly slow. Startup time was 10x as long as usual and engraving my data took about 45 seconds. After downgrading sip and (because of dependency problems) PyQt4, engraving the same document took no longer than 1,3 second.

What I did:
yum downgrade sip-4.14.2-1.fc18 PyQt4-4.9.6

Then I changed /etc/yum.repos.d/fedora-updates.repo to refuse updating these packages for a while by putting the next line right below [updates]
exclude=sip,PyQt4

bwb...@gmail.com

unread,
Apr 7, 2013, 1:33:21 AM4/7/13
to fresc...@googlegroups.com, heste...@gmail.com
Thanks -- I needed this fix!  

Cheers,

Ben


Reply all
Reply to author
Forward
0 new messages