Re: strange bug after a fresh install
>>> "NS" == Nicholas Savage writes: > Are you using ob-ipython? Your trace makes it seem like that might be > loaded maybe in your init files. This issue seems to cover the problem > you are having, since it says that it's modifying `org-mode-hook'. > https://github.com/gregsexton/ob-ipython/issues/161 Thanks for the link > Maybe since you have a clean install you're missing jupyter while you > weren't before? Right, I will check smime.p7s Description: S/MIME cryptographic signature
Re: strange bug after a fresh install
>>> "JJ" == Jeremie Juste writes: > Hello Uwe, > if seems that the problem lies with ob-ipython. > I would suggest to remove ob-ipython to check and then perform a fresh > install of ob-ipython. thanks smime.p7s Description: S/MIME cryptographic signature
Re: strange bug after a fresh install
Hello Uwe, if seems that the problem lies with ob-ipython. I would suggest to remove ob-ipython to check and then perform a fresh install of ob-ipython. HTH, Jeremie Uwe Brauer writes: > Hi > > I freshly installed Ubuntu 20.04 and used the pre compiled Emacs 26, I > copies also all my init files. > > When I open an org file I obtain an error message I don't understand and > attach any help is appreciated > > Regards > > Uwe Brauer > > Debugger entered--Lisp error: (json-readtable-error 47) > signal(json-readtable-error (47)) > json-read() > json-read-from-string("/home/oub/.login: No such file or > directory.\njupyter: Command not found.\n") > ob-ipython--get-kernels() > ob-ipython-auto-configure-kernels() > run-hooks(change-major-mode-after-body-hook text-mode-hook > outline-mode-hook 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() > normal-mode(t) > after-find-file(nil t) > find-file-noselect-1(# > "~/kde3-trinity/INSTALL-Trusty.org" nil nil > "~/kde3-trinity/INSTALL-Trusty.org" (17304181 66309)) > find-file-noselect("/home/mjpons/kde3-trinity/INSTALL-Trusty.org" nil nil > nil) > #f(compiled-function (filename wildcards) "Edit file > FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one 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-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 the\ncurrent directory to be available > on first \\[next-history-element]\nrequest.\n\nYou can visit files on > remote machines by specifying something\nlike > /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit > local 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, for more about this.\n\nInteractively, or if WILDCARDS > is non-nil in a call from Lisp,\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 major mode, use > \\[find-file-literally]." (interactive #f(compiled-function () > #)) # 0x1b4a57>)("/home/mjpons/kde3-trinity/INSTALL-Trusty.org" nil) > ad-Advice-find-file(#f(compiled-function (filename > wildcards) "Edit file FILENAME.\nSwitch to a buffer visiting file > FILENAME,\ncreating one 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-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 the\ncurrent directory to be available > on first \\[next-history-element]\nrequest.\n\nYou can visit files on > remote machines by specifying something\nlike > /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit > local 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, for more about this.\n\nInteractively, or if WILDCARDS > is non-nil in a call from Lisp,\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 major mode, use > \\[find-file-literally]." (interactive #f(compiled-function () > #)) #) > "/home/mjpons/kde3-trinity/INSTALL-Trusty.org") > apply(ad-Advice-find-file #f(compiled-function (filename > wildcards) "Edit file FILENAME.\nSwitch to a buffer visiting file > FILENAME,\ncreating one 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
Re: strange bug after a fresh install
Are you using ob-ipython? Your trace makes it seem like that might be loaded maybe in your init files. This issue seems to cover the problem you are having, since it says that it's modifying `org-mode-hook'. https://github.com/gregsexton/ob-ipython/issues/161 Maybe since you have a clean install you're missing jupyter while you weren't before? On Wed, Sep 16, 2020, at 16:56, Uwe Brauer wrote: > Hi > > I freshly installed Ubuntu 20.04 and used the pre compiled Emacs 26, I > copies also all my init files. > > When I open an org file I obtain an error message I don't understand and > attach any help is appreciated > > Regards > > Uwe Brauer > > > Attachments: > * bug
strange bug after a fresh install
Hi I freshly installed Ubuntu 20.04 and used the pre compiled Emacs 26, I copies also all my init files. When I open an org file I obtain an error message I don't understand and attach any help is appreciated Regards Uwe Brauer Debugger entered--Lisp error: (json-readtable-error 47) signal(json-readtable-error (47)) json-read() json-read-from-string("/home/oub/.login: No such file or directory.\njupyter: Command not found.\n") ob-ipython--get-kernels() ob-ipython-auto-configure-kernels() run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook 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() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/kde3-trinity/INSTALL-Trusty.org" nil nil "~/kde3-trinity/INSTALL-Trusty.org" (17304181 66309)) find-file-noselect("/home/mjpons/kde3-trinity/INSTALL-Trusty.org" nil nil nil) #f(compiled-function (filename wildcards) "Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one 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-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 the\ncurrent directory to be available on first \\[next-history-element]\nrequest.\n\nYou can visit files on remote machines by specifying something\nlike /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit local 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, for more about this.\n\nInteractively, or if WILDCARDS is non-nil in a call from Lisp,\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 major mode, use \\[find-file-literally]." (interactive #f(compiled-function () #)) #)("/home/mjpons/kde3-trinity/INSTALL-Trusty.org" nil) ad-Advice-find-file(#f(compiled-function (filename wildcards) "Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one 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-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 the\ncurrent directory to be available on first \\[next-history-element]\nrequest.\n\nYou can visit files on remote machines by specifying something\nlike /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can\nalso visit local 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, for more about this.\n\nInteractively, or if WILDCARDS is non-nil in a call from Lisp,\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 major mode, use \\[find-file-literally]." (interactive #f(compiled-function () #)) #) "/home/mjpons/kde3-trinity/INSTALL-Trusty.org") apply(ad-Advice-find-file #f(compiled-function (filename wildcards) "Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one 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-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 the\ncurrent directory to be available on first