Betriebssystemabhängig > Mac OS X
convert-ly
derHindemith:
Moment mal!!
Es gibt eine ziemlich große Problem hier. Ich habe convert-ly durch die Lilypond.app versucht. Da findet lilypond Python nicht. In Terminal.app geht alles perfekt.
Versuch mal convert-ly von Terminal.app. Ich habe den Eindruck dass es klappen wird.
derHindemith:
Dass which python /usr/bin/python ist, heisst das python nicht vorne genug in deinem PATH liegt. Wir können etwas später darüber reden. Dass convert-ly auf kein Fall von lilypond.app nicht funktioniert ist ein etwas größerer Problem. Damit du es jetzt benutzen kannst? Kannst du convert-ly -e myfile.ly in Terminal.app benutzen?
juppes:
wenn ich convert-ly -e myfile.ly (myfile durch den Namen der Datei ersetzt, die ich aktualisieren möchte, nehme ich an), bekomme ich zurück:
-bash: convert-ly: command not found
Oder der Inhalt des Terminal-Fensters:
Last login: Fri Mar 6 08:28:12 on ttyp1
Welcome to Darwin!
You have new mail.
de-spiegelkast:~ ich$ convert-ly -e BaltzarT-division-violin-13-division-violin-13.ly
-bash: convert-ly: command not found
muß ich in ein anderes Verzeichnis wechseln? Meine störrische Datei liegt auf dem Desktop. Wechsle ich dorthin, ist das Feedback das gleiche. Muß ich in das Verzeichnis, in dem convert-ly liegt?
Leider arbeite ich ganz selten mit dem Terminal, daher sind meine Kenntnisse nur rudimentär...
etilli33:
gerade eine Fehlermeldung dazu auf der Liste:
--- Zitat von: James Bailey ---I just noticed that convert-ly does not work from the lilypond.app
menu item in osx 10.4. I have python installed. convert-ly works from
the terminal, but here are the problems with the menu item.
• If I update the convert-ly file to be: env python, lilypond does
not find python. That's not unreasonable, the GUI versions of most
command-line applications don't load the path properly. (It's a known
issue with programs like Emacs.app or Aquamacs.app)
• If I update the convert-ly file to be the exact path to my python
installation (in this case /Users/jamesebailey/bin/python), lilypond
finds python, but reports the error:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/jamesebailey/Applications/LilyPond.app/Contents/
Resources/bin/convert-ly", line 14, in <module>
import os
ImportError: No module named os
With either modification, running convert-ly from the terminal works
without problem. Can this be resolved, or should convert-ly simply be
removed from the menu in 10.4?
--- Ende Zitat ---
Gruss
till
derHindemith:
Danke Till, Ich bin james.
juppes, 'schuldigung, meine Fehler. Lilypond ist auch nicht in deinem PATH.
du brauchst (für jetzt, später können wir lilypond zu deinem PATH einfügen)
/Applications/Notation/LilyPond 2.12.1/LilyPond2.12.2.app/Contents/Resources/bin/convert-ly -e myfile.ly
Anders gesagt, du brauchst die kompletten Pfad zu convert-ly, sonst sucht der Rechner nur in dem aktuellen Ordner.
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln