$ midi2ly Traceback (most recent call last): File "/usr/bin/midi2ly", line 60, in ? import lilylib as ly ImportError: No module named lilylib Python installed: 2.4.3-r4 $ locate lilylib /usr/share/lilypond/2.8.0/python/lilylib.pyc /usr/share/lilypond/2.8.0/python/lilylib.py Reproducible: Always Expected Results: midi2ly works on a midifile.
Reopen with exact ebuild name and version, won't guess.
*** Bug 161805 has been marked as a duplicate of this bug. ***
Installed version of media-sound/lilypond: 2.8.0-r1 emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6rene i686) ================================================================= System uname: 2.6.18-gentoo-r6rene i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.12.6 Last Sync: Thu, 11 Jan 2007 18:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/public.efil.de /usr/portage/local/rene" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts asf bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus dga dlloader dri dvd dvdread elibc_glibc encode exif fam fasttrack fbsplash firefox flac gdbm gif gimp gimpprint gnome gnutella gphoto2 gpm gstreamer gtk gtk2 hal iconv idn imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics jack java javascript joystick jpeg kde kernel_linux ladspa lcms ldap libg++ linguas_de logrotate mad mikmod mmap mmx mmxext mozsvg mp3 mpeg musicbrainz ncurses nls nosource nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 quicktime readline reflection rtc scanner sdl session sndfile sox spell spl sse sse2 ssl svg tcpd tetex threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_radeon vidix vim vim-syntax visualization vorbis win32codecs wma wmp xcomposite xine xml xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
please try a recent ebuild from bug 132706
Created attachment 118173 [details] Testfile
0) midi2ly generates some code now as of 2.10.20 midi2ly colibri.mid LY output to `./colibri-midi.ly'... 1) Unfortunately, the code is not perfect lilypond colibri-midi.ly GNU LilyPond 2.10.20 Processing `colibri-midi.ly' Parsing... error: Incorrect lilypond version: 2.7.18 (2.7.38, 2.10.20) error: Consider updating the input with the convert-ly script /usr/bin/../share/lilypond/2.10.20/ly/init.ly:25:10: error: syntax error, unexpected $end \maininput error: failed files: "colibri-midi.ly" 2) Might this be related to the fact that midi2ly generates code for version 2.7.18? But even if I run convert-ly, produced code does not work. 3) Even if code generation is not perfect - at least lilypond should run through?
please use 2.10.23 and attach any files needed to reproduce errors as text