From mboxrd@z Thu Jan 1 00:00:00 1970 From: pls Subject: ob-lilypond Date: Wed, 25 Mar 2015 13:49:23 +0100 Message-ID: <8C90E16E-E3E6-4A01-9CD4-402697ED7A22@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_5CB9248D-7096-4B50-98C4-FDBC9BB11070" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YakkT-0007Mx-FZ for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 08:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YakkQ-0007Pm-1g for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 08:49:29 -0400 Received: from mout.gmx.net ([212.227.15.18]:56098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YakkP-0007PI-K4 for emacs-orgmode@gnu.org; Wed, 25 Mar 2015 08:49:25 -0400 Received: from [192.168.0.100] ([77.20.119.185]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LgptO-1ZEjrx38qM-00oHCk for ; Wed, 25 Mar 2015 13:49:23 +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=_5CB9248D-7096-4B50-98C4-FDBC9BB11070 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? 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=_5CB9248D-7096-4B50-98C4-FDBC9BB11070 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

...FFFFFFFFFF= FFFFFFFFFFFFFFFFFFFFFFFFF=85F

= Am I missing something?

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

...FFFFFFFFFF= FFFFFFFFFFFFFFFFFFFFFFFFF...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)

<= /div>
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)

<= div>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)

<= div>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)

<= div>
F ob-lilypond/ly-mark-error-line
  =   (void-function = org-babel-lilypond-mark-error-line)

<= div>
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)

<= div>
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
&n= bsp;   (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)

<= /div>
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
&nb= sp;   (void-variable = org-babel-lilypond-gen-pdf)

F = ob-lilypond/ly-toggle-png-generation-toggles-flag
&nb= sp;   (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=_5CB9248D-7096-4B50-98C4-FDBC9BB11070--