From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Patrick L. Schmidt" Subject: ob-lilypond Date: Thu, 26 Mar 2015 10:26:50 +0100 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_1B330BAA-82E0-440D-BE79-15D2DF9A6C21" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb44B-0002tE-AT for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb448-00005j-HJ for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:27:07 -0400 Received: from mx.maketank.net ([78.47.170.41]:53061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb448-0008WQ-4J for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:27:04 -0400 Received: from ip4d1477b9.dynamic.kabel-deutschland.de ([77.20.119.185] helo=[192.168.0.100]) by mx.maketank.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Yb43z-0004jJ-Bu for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 10:26:57 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --Apple-Mail=_1B330BAA-82E0-440D-BE79-15D2DF9A6C21 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hey all, looks like I=92m 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#s= ec-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=85F 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" "?=EE") (1 "#x1" "?=01")))) 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))= --Apple-Mail=_1B330BAA-82E0-440D-BE79-15D2DF9A6C21 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Hey all,

looks like I=92m 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-l= ilypond.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

...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF= FFF=85F

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

...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF= FFF...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" = "?=EE")
       (1 "#x1" = "?=01"))))

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))
= --Apple-Mail=_1B330BAA-82E0-440D-BE79-15D2DF9A6C21--