From mboxrd@z Thu Jan 1 00:00:00 1970 From: pls Subject: Re: ob-lilypond Date: Thu, 26 Mar 2015 10:20:47 +0100 Message-ID: <2D1EB9CA-9087-4C33-B020-8FE28AB3B149@gmx.de> References: <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=_55E0AA0E-BFB8-4984-9370-1797554C340A" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb3yH-0001Ig-62 for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb3yD-0006cd-P7 for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:21:01 -0400 Received: from mx.maketank.net ([78.47.170.41]:51908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb3yD-0006cY-8X for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 05:20:57 -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 1Yb3yA-0004Ub-PE for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 10:20:56 +0100 In-Reply-To: <8C90E16E-E3E6-4A01-9CD4-402697ED7A22@gmx.de> 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=_55E0AA0E-BFB8-4984-9370-1797554C340A 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=_55E0AA0E-BFB8-4984-9370-1797554C340A 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=_55E0AA0E-BFB8-4984-9370-1797554C340A--