From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gFWIAZjnjmEtLQEAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 23:15:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UN/JOJfnjmHNRgAAB5/wlQ (envelope-from ) for ; Fri, 12 Nov 2021 22:15:51 +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 5E1AE26DA for ; Fri, 12 Nov 2021 23:15:51 +0100 (CET) Received: from localhost ([::1]:56188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlepp-000509-4I for larch@yhetil.org; Fri, 12 Nov 2021 17:15:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlepO-0004zx-It for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 17:15:22 -0500 Received: from ciao.gmane.io ([116.202.254.214]:34988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlepL-0001jU-VD for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 17:15:22 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mlepK-0001tE-4T for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 23:15:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: after installing python3.6 on Ubuntu 16.04, org files open with errors Date: Fri, 12 Nov 2021 23:15:12 +0100 Message-ID: <878rxtkolr.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:8CnIS+GOVISYXCqqREcaqQgxzZM= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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=1636755351; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=2a4nBG+NGniimyBpS3noW6cw0yPYNmUHqVSqkd7DNPg=; b=fIU0HYfJKa70OAw7H0lYfdfz06WXUiLvYR9lH4g7aLU43hKak1nyZbLJXSSEE5GNetBZiu rppYTjdtKisbm/ZTuAdoGoh5dH6CkuWSLdu3oOU/nwJcPvWgw2WJqjL8oQHekCu4xCnMvL 8R5fM1WCs8VsPkXjRk4rdJVdIe4Q2tojEBydmWNNURw1nqjuHNVeJt+AYad1+1PilVhAmU nS5geZV+v9r+Z/dAjwbnJQjTr5ZImezDHzFyy9nLgJYNvPjORThKsY63dh+bFu2htEEY6/ tIIyujqCaVhA9XOM2aH9vuqs2OzWgEHcsE50b4Db9clkjRxG1i5d+8LASR66jA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636755351; a=rsa-sha256; cv=none; b=lAfw5nW4OnF5q3XT4F03RGkl3szz4o3sjVl2LMfPT2uw7gelOSZdgLNPYi/GUf2C/ywVaI 7QiVO3Ijf0mQd3D+VSCxky0vJnGKUCB676iQFQGgGF0VljgmjRWHX9Is6UJckv68kGI1Ad I09Lu8Ej769yA/IczrEn4I8nJhiflpaNo8rqidSVq2PwpNuhntFNr6qDkJv2hqUmP97ELA cy+u6W1YWxXwyuaww7Ov/EA3axzOQ9FcVZ3NxNHNplVKrnjlHN2beeWgIpWPDuUPki1tFB xAd8KcNwhVm/9uR2YYZInIF/wLmastQt/gAIiusvhbLQwpBn90kKaQswfDkxHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); 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: 5E1AE26DA X-Spam-Score: -1.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: AkX4gTt9MDTc --=-=-= Content-Type: text/plain Hi I am running Ubuntu 16.04 and I installed python3.6 (which is not officially supported for that Ubuntu version via https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get I also installed sudo -H python3.6 -m pip install jupyter sudo -H python3.6 -m pip install pexpect sudo -H python3.6 -m pip install matlab_kernel Now however I cannot open even simple org files, I obtain errors I attach and most of my keybinding and other things do not work. Any help is strongly appreciated. Regards Uwe Brauer --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=ob-python-bug.txt Traceback (most recent call last): File "/home/oub/.emacs.d/elpa/ob-ipython-20180224.153/client.py", line 1, in import jupyter_client as client File "/usr/local/lib/python3.6/dist-packages/jupyter_client/__init__.py", line 6, in from .asynchronous import AsyncKernelClient # noqa File "/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/__init__.py", line 1, in from .client import AsyncKernelClient # noqa File "/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/client.py", line 6, in from jupyter_client.channels import HBChannel File "/usr/local/lib/python3.6/dist-packages/jupyter_client/channels.py", line 15, in from .session import Session File "/usr/local/lib/python3.6/dist-packages/jupyter_client/session.py", line 52, in from jupyter_client.jsonutil import extract_dates File "/usr/local/lib/python3.6/dist-packages/jupyter_client/jsonutil.py", line 15, in from dateutil.parser import parse as _dateutil_parse # type: ignore File "/usr/lib/python3/dist-packages/dateutil/parser.py", line 25, in from six import text_type, binary_type, integer_types ModuleNotFoundError: No module named 'six' --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=python3.6.txt Content-Transfer-Encoding: quoted-printable Debugger entered--Lisp error: (json-readtable-error 84) signal(json-readtable-error (84)) json-read() json-read-from-string("Traceback (most recent call last):\n File \"/usr/= local/bin/jupyter-kernelspec\", line 7, in \n from jupyter_clien= t.kernelspecapp import KernelSpecApp\n File \"/usr/local/lib/python3.6/dis= t-packages/jupyter_client/__init__.py\", line 6, in \n from .asy= nchronous import AsyncKernelClient # noqa\n File \"/usr/local/lib/python3= .6/dist-packages/jupyter_client/asynchronous/__init__.py\", line 1, in \n from .client import AsyncKernelClient # noqa\n File \"/usr/loca= l/lib/python3.6/dist-packages/jupyter_client/asynchronous/client.py\", line= 6, in \n from jupyter_client.channels import HBChannel\n File = \"/usr/local/lib/python3.6/dist-packages/jupyter_client/channels.py\", line= 15, in \n from .session import Session\n File \"/usr/local/lib= /python3.6/dist-packages/jupyter_client/session.py\", line 52, in \= n from jupyter_client.jsonutil import extract_dates\n File \"/usr/local= /lib/python3.6/dist-packages/jupyter_client/jsonutil.py\", line 15, in \n from dateutil.parser import parse as _dateutil_parse # type: ign= ore\n File \"/usr/lib/python3/dist-packages/dateutil/parser.py\", line 25,= in \n from six import text_type, binary_type, integer_types\nMo= duleNotFoundError: No module named 'six'\n") ob-ipython--get-kernels() ob-ipython-auto-configure-kernels() run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-h= ook org-mode-hook) apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline= -mode-hook org-mode-hook)) run-mode-hooks(org-mode-hook) org-mode() set-auto-mode-0(org-mode nil) set-auto-mode--apply-alist((("\\.odb\\'" . archive-mode) ("\\.oth\\'" . a= rchive-mode) ("\\.otf\\'" . archive-mode) ("\\.oti\\'" . archive-mode) ("\\= .otc\\'" . archive-mode) ("\\.wiki\\'" . wikipedia-mode) ("\\.text\\'" . ma= rkdown-mode) ("\\.tlc\\'" . tlc-mode) ("\\.m\\'" . matlab-mode) ("\\.org$" = . org-mode) ("\\.odc\\'" . archive-mode) ("\\.odf\\'" . archive-mode) ("\\.= odi\\'" . archive-mode) ("\\.otp\\'" . archive-mode) ("\\.odp\\'" . archive= -mode) ("\\.otg\\'" . archive-mode) ("\\.odg\\'" . archive-mode) ("\\.ots\\= '" . archive-mode) ("\\.ods\\'" . archive-mode) ("\\.odm\\'" . archive-mode= ) ("\\.ott\\'" . archive-mode) ("\\.odt\\'" . archive-mode) ("\\.fqm$" . me= ssage-mode) ("\\.alda\\'" . alda-mode) ("\\.[Cc][Ss][Vv]\\'" . csv-mode) ("= \\.d[i]?\\'" . d-mode) ("\\.diffscuss\\'" . diffscuss-mode) ("\\.djvu\\'" .= djvu-dummy-mode) ("[\\\\/]pentadactyl\\.\\(inbox\\|mail\\)\\.google\\..*\\= .txt..." . gmail-message-mode) ("[\\\\/]itsalltext[\\\\/]\\(inbox\\|mail\\)= \\.google\\..*\\.t..." . gmail-message-mode) ("[\\\\/]\\(inbox\\|mail\\)-go= ogle-com.*\\.\\(ckr\\|html?\\|t..." . gmail-message-mode) ("hg-histedit-" .= hg-histedit-mode) ("\\.hgignore\\'" . hgignore-mode) ("/Mercurial\\.ini\\'= " . hgrc-mode) ("/\\.hg/hgrc\\'" . hgrc-mode) ("/\\.hgrc\\'" . hgrc-mode) (= "\\.lean$" . lean-mode) ("\\.ledger\\'" . ledger-mode) ("/git-rebase-todo\\= '" . git-rebase-mode) ("\\.R$" . R-mode) ("\\.jl\\'" . julia-mode) ("\\.tlc= $" . tlc-mode) ("\\.m$" . matlab-mode) ("\\.hva\\'" . latex-mode) ("\\.swif= t\\'" . swift-mode) ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file) ("\\.e= lc\\'" . elisp-byte-code-mode) ("\\.zst\\'" nil jka-compr) ("\\.dz\\'" nil = jka-compr) ("\\.xz\\'" nil jka-compr) ...) nil nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/Mail/Remember/matlab-= python.org" nil nil "~/ALLES/Mail/Remember/matlab-python.org" (14690076 47)) find-file-noselect("/home/oub/Mail/Remember/matlab-python.org" nil nil ni= l) #f(compiled-function (filename &optional wildcards) "Edit file FILENAME.\= nSwitch to a buffer visiting file FILENAME,\ncreating one if none already e= xists.\nInteractively, the default if you just type RET is the current dire= ctory,\nbut the visited file name is available through the minibuffer histo= ry:\ntype \\[next-history-element] to pull it into the minibuffer.\n\nThe f= irst time \\[next-history-element] is used after Emacs prompts for\nthe fil= e name, the result is affected by `file-name-at-point-functions',\nwhich by= default try to guess the file name by looking at point in the\ncurrent buf= fer. Customize the value of `file-name-at-point-functions'\nor set it to n= il, if you want only the visited file name and the\ncurrent directory to be= available on first \\[next-history-element]\nrequest.\n\nYou can visit fil= es on remote machines by specifying something\nlike /ssh:SOME_REMOTE_MACHIN= E:FILE for the file name. You can\nalso visit local files as a different u= ser by specifying\n/sudo::FILE for the file name.\nSee the Info node `(tram= p)File name Syntax' in the Tramp Info\nmanual, for more about this.\n\nInte= ractively, or if WILDCARDS is non-nil in a call from Lisp,\nexpand wildcard= s (if any) and visit multiple files. You can\nsuppress wildcard expansion = by setting `find-file-wildcards' to nil.\n\nTo visit a file without any kin= d of conversion and without\nautomatically choosing a major mode, use \\[fi= nd-file-literally]." (interactive #f(compiled-function () #)) #)("/home/oub/Mail/Remember/mat= lab-python.org" nil) ad-Advice-find-file(#f(compiled-function (filename &optional wildcards) "= Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating o= ne if none already exists.\nInteractively, the default if you just type RET= is the current directory,\nbut the visited file name is available through = the minibuffer history:\ntype \\[next-history-element] to pull it into the = minibuffer.\n\nThe first time \\[next-history-element] is used after Emacs = prompts for\nthe file name, the result is affected by `file-name-at-point-f= unctions',\nwhich by default try to guess the file name by looking at point= in the\ncurrent buffer. Customize the value of `file-name-at-point-functi= ons'\nor set it to nil, if you want only the visited file name and the\ncur= rent directory to be available on first \\[next-history-element]\nrequest.\= n\nYou can visit files on remote machines by specifying something\nlike /ss= h:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit local fi= les as a different user by specifying\n/sudo::FILE for the file name.\nSee = the Info node `(tramp)File name Syntax' in the Tramp Info\nmanual, for more= about this.\n\nInteractively, or if WILDCARDS is non-nil in a call from Li= sp,\nexpand wildcards (if any) and visit multiple files. You can\nsuppress= wildcard expansion by setting `find-file-wildcards' to nil.\n\nTo visit a = file without any kind of conversion and without\nautomatically choosing a m= ajor mode, use \\[find-file-literally]." (interactive #f(compiled-function = () #)) #) "/home/o= ub/Mail/Remember/matlab-python.org") apply(ad-Advice-find-file #f(compiled-function (filename &optional wildca= rds) "Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncrea= ting one if none already exists.\nInteractively, the default if you just ty= pe RET is the current directory,\nbut the visited file name is available th= rough the minibuffer history:\ntype \\[next-history-element] to pull it int= o the minibuffer.\n\nThe first time \\[next-history-element] is used after = Emacs prompts for\nthe file name, the result is affected by `file-name-at-p= oint-functions',\nwhich by default try to guess the file name by looking at= point in the\ncurrent buffer. Customize the value of `file-name-at-point-= functions'\nor set it to nil, if you want only the visited file name and th= e\ncurrent directory to be available on first \\[next-history-element]\nreq= uest.\n\nYou can visit files on remote machines by specifying something\nli= ke /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit lo= cal files as a different user by specifying\n/sudo::FILE for the file name.= \nSee the Info node `(tramp)File name Syntax' in the Tramp Info\nmanual, fo= r more about this.\n\nInteractively, or if WILDCARDS is non-nil in a call f= rom Lisp,\nexpand wildcards (if any) and visit multiple files. You can\nsu= ppress wildcard expansion by setting `find-file-wildcards' to nil.\n\nTo vi= sit a file without any kind of conversion and without\nautomatically choosi= ng a major mode, use \\[find-file-literally]." (interactive #f(compiled-fun= ction () #)) #) "/= home/oub/Mail/Remember/matlab-python.org") find-file("/home/oub/Mail/Remember/matlab-python.org") dired--find-file(find-file "/home/oub/Mail/Remember/matlab-python.org") dired--find-possibly-alternative-file("/home/oub/Mail/Remember/matlab-pyt= hon.org") dired-find-file() funcall-interactively(dired-find-file) call-interactively(dired-find-file nil nil) command-execute(dired-find-file) --=-=-=--