all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel oz?
Date: Fri, 10 Nov 2017 13:10:59 -0500	[thread overview]
Message-ID: <87mv3uuhqk.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: E8D32249-8604-4FB7-9F1E-F303209A79E5@nordakademie.de

Johannes Brauer <brauer@nordakademie.de> writes:

> Hi,
>
> I am looking for a working configuration for using oz code blocks in org-mode file. I've installed
> Mozart2 on macOS 10.12.6 and use org-mode version 9.0.9. I've put
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((emacs-lisp . t)
>    (oz . t)))
> into my Aquamacs initialization and the ob-z.el in a path where Emacs can read it.
> If I try to execute (C-C C-C) the following code block
>
> #+begin_src oz :results value
>   39 + 3
> #+end_src
>
> I get the following error messages:
>
> executing Oz code block...
> Org-babel: executing Oz expression
> Create OPI socket for evaluating expressions
> open-network-stream: make client process failed: Connection refused, :name, *Org-babel-OPI-socket*,
> :buffer, nil, :host, localhost, :service, 6001, :nowait, nil
>
> I cannot figure out, what to do?
> Any hints?
>

[this "answer" is uncontaminated by such mundane things as testing - I know
 nothing about Oz except what I read in contrib/lisp/ob-oz.el and I don't have
 Mozart installed on my machine (except for various pieces in my Music folder)]

You need to start the server using the contrib/scripts/StartOzServer.oz
script.

-- 
Nick

  reply	other threads:[~2017-11-10 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09 18:07 org-babel oz? Johannes Brauer
2017-11-10 18:10 ` Nick Dokos [this message]
     [not found] <mailman.79.1510419613.20453.emacs-orgmode@gnu.org>
2017-11-12 17:43 ` Johannes Brauer

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

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

  git send-email \
    --in-reply-to=87mv3uuhqk.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.