From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qAsGMqSwxGA3JAAAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 15:03:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wJh0LaSwxGCvYQAAbx9fmQ (envelope-from ) for ; Sat, 12 Jun 2021 13:03:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 24E3F26D5D for ; Sat, 12 Jun 2021 15:03:32 +0200 (CEST) Received: from localhost ([::1]:44208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls3IQ-0005Tg-Fj for larch@yhetil.org; Sat, 12 Jun 2021 09:03:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls3GR-0005T7-7I for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 09:01:28 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:55942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ls3GH-00034B-4U for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 09:01:26 -0400 Received: by mail-pj1-x1035.google.com with SMTP id k7so7176415pjf.5 for ; Sat, 12 Jun 2021 06:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=FBQdvhQWR6mvIHKsB9PcxSGg4/kateD22hVNnYolY/Q=; b=faoL1aN6Q0D53ilTbTY7ONjw7F7gToUl5nanwH4deryazfWcag/YrOhxcVLs0rfkKi qWbRbtlarwnllBVUVBWWkNG2jDJgT0Wcx5aBZRbUHO6S5DpK8oUOY/T23fkVtIwtfvpZ 3TWrTUOWpKtoFj4BfW/6qii7NpQpqbaYooGwpf7UBbu5NpH01yxBTHPF0sXcPxtjcT47 jMLxQejGEpZ39jTRSuKgRYqrI/8bsuI1wtzHdRTUiknj6xyhDSGJu4EEUDEMlwfOtxat 0V6E9v8vYvPQvN3CFerCnMAn3/UA1L8LAJ0ON1ilV0TebbnVeeVp5uzeLbP2jcyW4TIg OHQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=FBQdvhQWR6mvIHKsB9PcxSGg4/kateD22hVNnYolY/Q=; b=ZzU3tsXovmU7xe/rQ/4Y3wdeBEzEPIzEF36ZFGF6xGGl3UEoWu6DLzr7lftesO8PBf +a/r52EkrYAtqgqIqsQXLkkYJwpu+GKZDY5JH+EjgfCSncKV1Nz4XKPqoZnznImBaOyX d97d5ofAKyCDz4g8de5j+r/1eOgGBWQS2AedHApviq5hRCKjlRN/Elxe2HUxDjTbhBzk c1OxHhZ2PzQyoQjIlLun6VeS+ZjoMG2iWISbLVrqDc59sHYQItkqw6zfhc24nTweSNKb 3oMHnUoE1cyJiXIVg1TVi1YR7dpAgVW3Wbp0IfNfnbtgPjNt6mbjKwpABpPU8Isbgdim K/fw== X-Gm-Message-State: AOAM533xElXD+X0TnnOyOU9MScesJhvjOaywbwUm9iP3WGBmOxKJ0B+T aPn3TEtIF2DN0Zc7ge6YQ8c= X-Google-Smtp-Source: ABdhPJzwRMTsVt1MZWd0UyLlZ2H9KZ/BkH1fM4xyUNwanj1ncBGSdn6yz2QHit7tASyBYZ88SH0vfA== X-Received: by 2002:a17:902:a70c:b029:118:7b47:e5bf with SMTP id w12-20020a170902a70cb02901187b47e5bfmr6982184plq.9.1623502873831; Sat, 12 Jun 2021 06:01:13 -0700 (PDT) Received: from localhost ([198.27.182.161]) by smtp.gmail.com with ESMTPSA id o16sm7623907pfu.75.2021.06.12.06.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 06:01:13 -0700 (PDT) From: Jack Kamm To: Uwe Brauer , emacs-orgmode@gnu.org Subject: Re: [BUG] org babel fails with matlab+python kernel on MacOS-10.15 [9.4.6 (release_9.4.6-541-g52b097 @ /Users/oub/emacs/site-lisp/packages/org/)] In-Reply-To: References: Date: Sat, 12 Jun 2021 06:01:12 -0700 Message-ID: <878s3ffd9j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=jackkamm@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623503012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FBQdvhQWR6mvIHKsB9PcxSGg4/kateD22hVNnYolY/Q=; b=QmiT3PDfgLpsyVfQLYDmCNd62uKhWFjBNWOCG1903NCBbvDfYC8+MOsYjaMt6tB5uuWhuk o9PYdB+RpGoFdzp2uAG1jTXEcsOVYBc3TpbeGH6qfHRKk6zk+52GwxPjcihWqsy8KfGM1x 1SpBIW1R8W62wDSyj83MyULuwonjwibp6NsrLZVKzZUEcMIYoapmnFiaTKJjKo/H9GIGTn p1EsUg0m16oEFuKUwiT5KIx9agryuktv5Ar0GZEnerjv8GEgCVtIN+WFZxWidg7k+qmNIv einodrIGheKbY3SvNxZX8+Rni5A9Q2sk8HGFpntqLMmzWHyeyq+DTFif1EVWHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623503012; a=rsa-sha256; cv=none; b=ZvdHQWHr9FWb4H5w0ytNjlbNOMuPr0RDp9QbEtauvzfxBy9DXC/+0pJ8KiuJa+wVGT75xB Q3L1JGXnz8MOMZSM2wWO+4bMpVTjaNBrUQyjo5lWZDVZWeODRHu+7lCZyBGsZIhJpofcA/ S6YK+r/76IGKBdAoiEBGRiHYNptFlUVKxDmYRnrNpOKecidO7Xj87EF6JgVayXrH3hAp2s h4W0Qj1Z/FOBaMzh3i/nMO8VFyUatAVjy5ar0fwCdHOJTzMYTYztXfABmM6DKqKNftifV+ f9vVyvDGa70O43G6HBl6H/VeeAMhFVmP5Q2DuPeKw/Pi9anUlgzUeBAWn694tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=faoL1aN6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=faoL1aN6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 24E3F26D5D X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1F2KFNQyrOYg Hello Uwe, Uwe Brauer writes: > (defalias 'org-babel-execute:matlab 'org-babel-execute:ipython) ob-ipython is not part of org-mode core, so I don't think this can be considered a bug here. While the original ob-ipython is unmaintained, scimax [1] maintains a fork of it, so you could consider seeking help there. Also, it looks like you're trying to use org-mode with a jupyter matlab kernel, so you may also consider ob-jupyter from the emacs-jupyter [2] project. I have had good success using it to run jupyter kernels from various languages before. Also, I would suggest verifying that the jupyter matlab kernel works outside of Emacs/org-mode, to isolate where the problem is. > | ob-ipython--dump-error("Traceback (most recent call last):\n File \"/Users/...") This line seems to be the critical one in the error output. If you can expand out the full error message, it may elucidate what the problem is. [1] https://github.com/jkitchin/scimax [2] https://github.com/nnicandro/emacs-jupyter