[Top][All Lists]

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

I found an answer, but got "option --png not recognized" Error

From: Josh Don
Subject: I found an answer, but got "option --png not recognized" Error
Date: Fri, 4 Feb 2005 17:01:23 -0800 (PST)


I asked a question before, this answer works better than anything you guys told me,
it lets me run lilypond from WSH...

C:/cygwin/bin/bash.exe --login -c "/usr/bin/lily-wins C:/"

the problem is it doesn't recognise the command line options.
I've tried other options and, I've tried them from the cygwin prompt.
I've tried them in quotes and things. What is up with this?...

C:/cygwin/bin/bash.exe --login -c "/usr/bin/lily-wins --png C:/"


Traceback (most recent call last):
  File "/usr/bin/lily-wins", line 56, in ?
    (opts, files)=getopt.getopt (sys.argv[1:],'dh', ['help', 'debug'])
  File "/usr/lib/python2.4/", line 89, in getopt
    opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
  File "/usr/lib/python2.4/", line 153, in do_longs
    has_arg, opt = long_has_args(opt, longopts)
  File "/usr/lib/python2.4/", line 170, in long_has_args
    raise GetoptError('option --%s not recognized' % opt, opt)
getopt.GetoptError: option --png not recognized


"C:\cygwin\bin\lilypond.exe -h" says this... (but do they work?)

GNU LilyPond 2.4.2
Usage: lilypond [OPTION]... FILE...

Typeset music and/or produce MIDI from FILE.

LilyPond produces beautiful music notation.
For more information, see

  -e, --evaluate=EXPR   set option, use -e '(ly:option-usage)' for help
  -f, --format=EXT      select back-end to use
  -h, --help            print this help
  -H, --header=FIELD    write header field to BASENAME.FIELD
  -I, --include=DIR     add DIR to search path
  -i, --init=FILE       use FILE as init file
  -m, --no-layout       produce MIDI output only
  -o, --output=FILE     write output to FILE
  -p, --preview         generate a preview
      --no-pages        don't generate full pages
      --png             generate PNG
      --ps              generate PostScript
      --dvi             generate DVI
      --pdf             generate PDF (default)
      --tex             generate TeX
  -s, --safe-mode       run in safe mode
  -v, --version         print version number
  -V, --verbose         be verbose
  -w, --warranty        show warranty and copyright






Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

reply via email to

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