emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pls <p.l.schmidt@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: ob-lilypond
Date: Thu, 26 Mar 2015 10:20:47 +0100	[thread overview]
Message-ID: <2D1EB9CA-9087-4C33-B020-8FE28AB3B149@gmx.de> (raw)
In-Reply-To: <8C90E16E-E3E6-4A01-9CD4-402697ED7A22@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 7188 bytes --]

Hey all,

looks like I’m having quite a few problems with ob-lilypond (Org-mode version 8.2.7b). To ensure that my setup is correct I ran the tests mentioned on http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html#sec-9:

M-x load-file RET ~/path/to/current/org-mode-git-repository/testing/lisp/test-ob-lilypond.el
M-x ert RET RET

And this is what I got (short version):

Selector: t
Passed: 6
Failed: 36 (36 unexpected)
Total:  42/42

Started at:   2015-03-25 13:32:19+0100
Finished.
Finished at:  2015-03-25 13:32:19+0100

...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF…F

Am I missing something? How can I get this to work?

Thanks for any help!
patrick

Error message (long version):
Selector: t
Passed: 6
Failed: 36 (36 unexpected)
Total:  42/42

Started at:   2015-03-25 13:32:19+0100
Finished.
Finished at:  2015-03-25 13:32:19+0100

...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...F

F ob-lilypond/ly-arrange-mode
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-arrange-mode))
      :form
      (boundp org-babel-lilypond-arrange-mode)
      :value nil))

F ob-lilypond/ly-attempt-to-open-pdf
    (void-variable org-babel-lilypond-display-pdf-post-tangle)

F ob-lilypond/ly-attempt-to-play-midi
    (void-variable org-babel-lilypond-play-midi-post-tangle)

F ob-lilypond/ly-check-for-compile-error
    (void-function org-babel-lilypond-check-for-compile-error)

F ob-lilypond/ly-command-ly/bound
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-ly-command))
      :form
      (boundp org-babel-lilypond-ly-command)
      :value nil))

F ob-lilypond/ly-command-ly/stringp
    (void-variable org-babel-lilypond-ly-command)

F ob-lilypond/ly-command-midi/bound
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-midi-command))
      :form
      (boundp org-babel-lilypond-midi-command)
      :value nil))

F ob-lilypond/ly-command-midi/stringp
    (void-variable org-babel-lilypond-midi-command)

F ob-lilypond/ly-command-pdf/bound
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-pdf-command))
      :form
      (boundp org-babel-lilypond-pdf-command)
      :value nil))

F ob-lilypond/ly-command-pdf/stringp
    (void-variable org-babel-lilypond-pdf-command)

F ob-lilypond/ly-commands/customize
    (ert-test-failed
     ((should
       (equal
	(list org-babel-lilypond-ly-command org-babel-lilypond-pdf-command org-babel-lilypond-midi-command)
	(list "nonsense" "bla" "fasel")))
      :form
      (equal
       (nil nil nil)
       ("nonsense" "bla" "fasel"))
      :value nil :explanation
      (list-elt 0
		(different-types nil "nonsense"))))

F ob-lilypond/ly-commands/darwin
    (ert-test-failed
     ((should
       (equal
	(list org-babel-lilypond-ly-command org-babel-lilypond-pdf-command org-babel-lilypond-midi-command)
	(list "/Applications/lilypond.app/Contents/Resources/bin/lilypond" "open" "open")))
      :form
      (equal
       (nil nil nil)
       ("/Applications/lilypond.app/Contents/Resources/bin/lilypond" "open" "open"))
      :value nil :explanation
      (list-elt 0
		(different-types nil "/Applications/lilypond.app/Contents/Resources/bin/lilypond"))))

F ob-lilypond/ly-commands/other
    (ert-test-failed
     ((should
       (equal
	(list org-babel-lilypond-ly-command org-babel-lilypond-pdf-command org-babel-lilypond-midi-command)
	(list "lilypond" "xdg-open" "xdg-open")))
      :form
      (equal
       (nil nil nil)
       ("lilypond" "xdg-open" "xdg-open"))
      :value nil :explanation
      (list-elt 0
		(different-types nil "lilypond"))))

F ob-lilypond/ly-commands/windows-nt
    (ert-test-failed
     ((should
       (equal
	(list org-babel-lilypond-ly-command org-babel-lilypond-pdf-command org-babel-lilypond-midi-command)
	(list "lilypond" "" "")))
      :form
      (equal
       (nil nil nil)
       ("lilypond" "" ""))
      :value nil :explanation
      (list-elt 0
		(different-types nil "lilypond"))))

F ob-lilypond/ly-compile-lilyfile
    (void-variable org-babel-lilypond-ly-command)

F ob-lilypond/ly-compile-post-tangle
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-compile-post-tangle))
      :form
      (boundp org-babel-lilypond-compile-post-tangle)
      :value nil))

F ob-lilypond/ly-display-pdf-post-tangle
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-display-pdf-post-tangle))
      :form
      (boundp org-babel-lilypond-display-pdf-post-tangle)
      :value nil))

F ob-lilypond/ly-gen-html
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-gen-pdf))
      :form
      (boundp org-babel-lilypond-gen-pdf)
      :value nil))

F ob-lilypond/ly-gen-png
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-gen-png))
      :form
      (boundp org-babel-lilypond-gen-png)
      :value nil))

F ob-lilypond/ly-gen-svg
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-gen-svg))
      :form
      (boundp org-babel-lilypond-gen-svg)
      :value nil))

F ob-lilypond/ly-get-header-args
    (void-function org-babel-lilypond-set-header-args)

F ob-lilypond/ly-mark-error-line
    (void-function org-babel-lilypond-mark-error-line)

F ob-lilypond/ly-parse-error-line
    (void-function org-babel-lilypond-parse-error-line)

F ob-lilypond/ly-parse-line-num
    (void-function org-babel-lilypond-parse-line-num)

F ob-lilypond/ly-play-midi-post-tangle
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-play-midi-post-tangle))
      :form
      (boundp org-babel-lilypond-play-midi-post-tangle)
      :value nil))

F ob-lilypond/ly-process-compile-error
    (ert-test-failed
     ((should
       (equal 238
	      (point)))
      :form
      (equal 238 1)
      :value nil :explanation
      (different-atoms
       (238 "#xee" "?î")
       (1 "#x1" "?\x01"))))

F ob-lilypond/ly-set-header-args
    (void-function org-babel-lilypond-set-header-args)

F ob-lilypond/ly-switch-extension-with-extensions
    (void-function org-babel-lilypond-switch-extension)

F ob-lilypond/ly-switch-extension-with-paths
    (void-function org-babel-lilypond-switch-extension)

F ob-lilypond/ly-toggle-arrange-mode
    (void-variable org-babel-lilypond-arrange-mode)

F ob-lilypond/ly-toggle-html-generation-toggles-flag
    (void-variable org-babel-lilypond-gen-html)

F ob-lilypond/ly-toggle-midi-play-toggles-flag
    (void-variable org-babel-lilypond-play-midi-post-tangle)

F ob-lilypond/ly-toggle-pdf-display-toggles-flag
    (void-variable org-babel-lilypond-display-pdf-post-tangle)

F ob-lilypond/ly-toggle-pdf-generation-toggles-flag
    (void-variable org-babel-lilypond-gen-pdf)

F ob-lilypond/ly-toggle-png-generation-toggles-flag
    (void-variable org-babel-lilypond-gen-png)

F ob-lilypond/use-eps
    (ert-test-failed
     ((should
       (boundp 'org-babel-lilypond-use-eps))
      :form
      (boundp org-babel-lilypond-use-eps)
      :value nil))




[-- Attachment #2: Type: text/html, Size: 13090 bytes --]

  reply	other threads:[~2015-03-26  9:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 12:49 ob-lilypond pls
2015-03-26  9:20 ` pls [this message]
2015-03-29 21:27   ` ob-lilypond Nick Dokos
2015-03-30  9:20     ` ob-lilypond Patrick L. Schmidt
  -- strict thread matches above, loose matches on Subject: below --
2015-03-26  9:26 ob-lilypond Patrick L. Schmidt
2011-06-27 13:00 ob-lilypond Martyn Jago
2011-06-27 18:53 ` ob-lilypond Eric Schulte
2011-06-28  9:38   ` ob-lilypond Martyn Jago
2011-06-28 10:07     ` ob-lilypond Bastien
2011-06-28 10:21       ` ob-lilypond Bastien
2011-06-28 20:45         ` ob-lilypond Eric Schulte
2011-06-28 23:07           ` ob-lilypond Bastien
2011-06-29  0:41             ` ob-lilypond Eric Schulte
2011-06-29 17:07           ` ob-lilypond Martyn Jago
2011-06-29 21:15             ` ob-lilypond Eric Schulte
2011-06-30  6:38               ` ob-lilypond Martyn Jago
2011-06-30 18:10                 ` ob-lilypond Eric Schulte
2011-07-01 12:01                   ` ob-lilypond Christian Moe
2011-07-01 13:43                   ` ob-lilypond Martyn Jago
2011-07-01 19:27                     ` ob-lilypond Eric Schulte
2011-07-02 13:04                       ` ob-lilypond Martyn Jago
2011-06-28 13:38     ` ob-lilypond Cameron Horsburgh
2011-06-28 16:46       ` ob-lilypond Martyn Jago
2011-06-28 12:11 ` ob-lilypond Christian Moe
2011-06-28 13:18   ` ob-lilypond David O'Toole
2011-06-28 17:06   ` ob-lilypond Martyn Jago
2011-06-28 18:51     ` ob-lilypond Christian Moe
2011-06-28 19:00     ` ob-lilypond Michael Brand
2011-06-28 20:00     ` ob-lilypond Christian Moe
2011-06-28 21:19       ` ob-lilypond Martyn Jago

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2D1EB9CA-9087-4C33-B020-8FE28AB3B149@gmx.de \
    --to=p.l.schmidt@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).