lilypond-devel
[Top][All Lists]
Advanced

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

Re: Frescobaldi 2.18 install problems on KXStudio


From: Colin Campbell
Subject: Re: Frescobaldi 2.18 install problems on KXStudio
Date: Wed, 11 Mar 2015 09:03:16 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 2015-03-11 12:16 AM, Wilbert Berendsen wrote:
Op Tue, 10 Mar 2015 16:53:03 -0600
Colin Campbell <address@hidden> schreef:

  >>> import ly.pkginfo
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
ImportError: No module named pkginfo
Strange. There must be an old 'ly' module lying around on your system,
because pkginfo was already added quite some time ago.

Please, give me the result of:

$ python
import ly
ly.__path__
ly.__file__


Nailed it, Wilbert! It seems that I must be the first person to install python-ly as well as Adam Spiers' ly2video. That's a really cool utility which takes a .ly project, compiles to MIDI and ultimately gives an AVI file with the score scrolling past over the synchronised MIDI.

*********************************************
address@hidden ~$ python
Python 2.7.8 (default, Oct 20 2014, 15:05:19)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ly
>>> ly.__path__
*['/usr/local/lib/python2.7/dist-packages/ly2video-0.4.1-py2.7.egg/ly']*
>>> ly.__file__
*'/usr/local/lib/python2.7/dist-packages/ly2video-0.4.1-py2.7.egg/ly/__init__.pyc'*
>>>
[1]+  Stopped                 python
address@hidden ~$
*********************************************

Adam's .egg file exists as a .zip and inside the .zip is a folder named ly. I'm copying this to the -dev list because it might be wise for the LilyPond community to restrict the name ly for core lilypond use only. A major strength of LilyPond is the community of supporting and supplemental utilities which has grown around LP, but the risk of this sort of conflict will probably only grow, especially as "ly" is an obvious name for a folder.

@devel: The problem comes from installing python-ly for the new 2.18 version of Frescobaldi, which makes Frescobaldi look for a folder named "ly" outside its own code. It uses the first one it finds on the path, opening the possibility that a conflicting version is found first, with the result that Frescobaldi errors off.

Cheers,
Colin

-- I've learned that you shouldn't go through life with a catcher's mitt on both hands. You need to be able to throw something back. -Maya Angelou, poet (1928- )


reply via email to

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