[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.6.3 midi2ly: bad midi module location
From: |
John Mandereau |
Subject: |
2.6.3 midi2ly: bad midi module location |
Date: |
Thu, 18 Aug 2005 16:21:34 +0200 |
When I tried to run 2.6.3 midi2ly on Fedora Core 4, I got:
Traceback (most recent call last):
File "/usr/bin/midi2ly", line 42, in ?
import midi
ImportError: No module named midi
I fixed it:
I opened midi2ly.py and edited these lines:
libdir = '/usr/lib/lilypond/2.6.3'
if not os.path.isdir (libdir):
libdir = '/usr/lib/lilypond/2.6.3'
sys.path.insert (0, os.path.join (libdir, 'python'))
I replaced 'lib' with 'share' and saved the file, then it worked!
This bug may also happen on other platforms (it happens with Windows
native version, but it won't work anyway, because there is no midi lib)
--
John Mandereau <address@hidden>
- 2.6.3 midi2ly: bad midi module location,
John Mandereau <=