lilypond-user
[Top][All Lists]
Advanced

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

Re: convert-ly, musicxml2ly, etc. problems


From: Bertalan Fodor
Subject: Re: convert-ly, musicxml2ly, etc. problems
Date: Fri, 01 Dec 2006 09:45:19 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Well, that doesn't work in 2.10.0-2, and (according to Rick) in 2.11.x

Because with that you get the message:

C:\Program Files\LilyPond\usr\bin>python -v convert-ly -h
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.5 (r25:51908, Nov 15 2006, 17:33:18)
[GCC 4.1.1] on mingw32
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
 File "convert-ly", line 13, in <module>
   import os
ImportError: No module named os
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] zipimport
# cleanup[1] signal
# cleanup[1] exceptions
# cleanup sys
# cleanup __builtin__
# cleanup ints
# cleanup floats



I think a more effective solution is to rename the offending scripts
to have a .py extension.  Doesn't that work?







reply via email to

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