all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* broken (or missing) packages after 'error in process sentinel: async-handle-result: End of file during parsing'
@ 2023-03-07  9:19 Thomas Klausner
  2023-03-07 13:06 ` Eli Zaretskii
  2023-03-07 20:57 ` chad
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Klausner @ 2023-03-07  9:19 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Hi!

I'm running emacs from git (currently yesterday's version). I have
regular problems updating packages in 'list-packages'. Please let me
know if this is not the right mailing list for this topic.

My workflow producing the issue: I start emacs, run 'M-x
list-packages', wait until the refresh finishes, mark packages to
update with 'U' and then execute the update with 'x'.

Not every day, but more often than not, while installing the updates
I'll see either of

error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing

appearing in the last line of the screen. This seems to break the
package updates. For example, when I next start emacs I might see an
error about helm not being installed.

I'll attach a message buffer from such an update process and my emacs
config. Let me know if you need more information.
 Thomas

[-- Attachment #2: emacs-error.log --]
[-- Type: text/plain, Size: 17033 bytes --]

Loading /home/wiz/.emacs.d/elpa/dtrt-indent-20220725.849/dtrt-indent.el (source)...done
Loading /home/wiz/.emacs.d/elpa/company-20230129.1929/company.el (source)...done
Loading /home/wiz/.emacs.d/elpa/flycheck-20221213.107/flycheck.el (source)...done
Loading /home/wiz/.emacs.d/elpa/tree-sitter-20220212.1632/tree-sitter.el (source)...
tsc-dyn-get: Using source :github (:loaded nil :recorded 0.18.0 :requested 0.18.0)
tsc-dyn-get: Recorded version already satifies requested -> loading
Loading helm-mode...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Importing package-keyring.gpg...done
Package refresh done
Packages that can be upgraded: 17; type ‘U’ to mark for upgrading.
Packages marked for upgrading: 17
Mark saved where search started
Packages to install: 1 (avy-20220910.1936).  Packages to upgrade: 17 (cmake-mode-20230119.1432 company-20230129.1929 csv-mode-1.21 deadgrep-20221222.608 doom-modeline-20230123.1423 flycheck-20221213.107 helm-20230129.1448 magit-20230129.555 markdown-mode-20230128.1027 tree-sitter-langs-20230128.1459 with-editor-20230118.1656 async-20221228.1315 compat-29.1.3.1 git-commit-20230103.2224 helm-core-20230117.1925 magit-section-20230106.1659 transient-20230129.923).  Proceed? (y or n) y
Operation [ Install 1 Upgrade 17 ] started
Saving file /home/wiz/.emacs.d/init.el...
Wrote /home/wiz/.emacs.d/init.el
Contacting host: elpa.gnu.org:443 [2 times]
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      compat-autoloads.el
Loading async...done
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      with-editor-autoloads.el
Loading async...done
Package ‘with-editor’ installed.
Contacting host: elpa.gnu.org:443 [2 times]
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      compat-autoloads.el
Loading async...done
Contacting host: melpa.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      transient-autoloads.el
Loading async...done
Package ‘transient’ installed.
Contacting host: melpa.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
  INFO     Scraping files for loaddefs...done
  GEN      markdown-mode-autoloads.el
Loading async...done
Package ‘markdown-mode’ installed.
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      magit-section-autoloads.el
Loading async...done
Package ‘magit-section’ installed.
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...32% 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...63% 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      magit-autoloads.el
Loading async...done
Package ‘magit’ installed.
Contacting host: melpa.org:443 [2 times]
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      helm-core-autoloads.el
Loading async...done
Package ‘helm-core’ installed.
Contacting host: melpa.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...40% 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...71% 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      helm-autoloads.el
Loading async...done
Package ‘helm’ installed.
Contacting host: melpa.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      transient-autoloads.el
Loading async...done
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      git-commit-autoloads.el
Loading async...done
Package ‘git-commit’ installed.
Contacting host: elpa.gnu.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: elpa.gnu.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs...done
  GEN      csv-mode-autoloads.el
Loading async...done
Package ‘csv-mode’ installed.
Contacting host: elpa.gnu.org:443 [2 times]
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
Loading async...done
Package ‘compat’ installed.
Contacting host: melpa.org:443
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      company-autoloads.el
Loading async...done
Package ‘company’ installed.
Contacting host: melpa.org:443 [2 times]
  INFO     Scraping files for loaddefs...done
  GEN      avy-autoloads.el
Loading async...done
Package ‘avy’ installed.
error in process sentinel: async-handle-result: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      async-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async-bytecomp.el (source)...done
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘async’ installed.
Contacting host: melpa.org:443
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      tree-sitter-langs-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘tree-sitter-langs’ installed.
Contacting host: melpa.org:443
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      flycheck-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘flycheck’ installed.
Contacting host: melpa.org:443
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      doom-modeline-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘doom-modeline’ installed.
Contacting host: melpa.org:443
  INFO     Scraping files for loaddefs...done
  GEN      deadgrep-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘deadgrep’ installed.
Contacting host: melpa.org:443
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Contacting host: melpa.org:443
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      cmake-mode-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘cmake-mode’ installed.
Package ‘cmake-mode-20230119.1432’ deleted.
Package ‘company-20230129.1929’ deleted.
Package ‘csv-mode-1.21’ deleted.
Package ‘deadgrep-20221222.608’ deleted.
Package ‘doom-modeline-20230123.1423’ deleted.
Package ‘flycheck-20221213.107’ deleted.
Package ‘helm-20230129.1448’ deleted.
Package ‘magit-20230129.555’ deleted.
Package ‘markdown-mode-20230128.1027’ deleted.
Package ‘tree-sitter-langs-20230128.1459’ deleted.
Package ‘git-commit-20230103.2224’ deleted.
Package ‘with-editor-20230118.1656’ deleted.
Error trying to delete ‘helm-core-20230117.1925’: (error "Package ‘helm-core-20230117.1925’ is used by ‘helm’ as dependency, not deleting")
Package ‘async-20221228.1315’ deleted.
Error trying to delete ‘magit-section-20230106.1659’: (error "Package ‘magit-section-20230106.1659’ is used by ‘magit’ as dependency, not deleting")
Package ‘transient-20230129.923’ deleted.
Package ‘compat-29.1.3.1’ deleted.
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Loading /home/wiz/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
Mark set
Mark saved where search started
Mark set [2 times]


emacs quit and restart, updating again

Loading /home/wiz/.emacs.d/elpa/dtrt-indent-20220725.849/dtrt-indent.el (source)...done
Loading /home/wiz/.emacs.d/elpa/company-20230209.134/company.el (source)...done
Loading /home/wiz/.emacs.d/elpa/flycheck-20230211.1938/flycheck.el (source)...done
Loading /home/wiz/.emacs.d/elpa/tree-sitter-20220212.1632/tree-sitter.el (source)...
tsc-dyn-get: Using source :github (:loaded nil :recorded 0.18.0 :requested 0.18.0)
tsc-dyn-get: Recorded version already satifies requested -> loading
Loading /home/wiz/.emacs.d/elpa/helm-20230210.1800/helm-mode.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Importing package-keyring.gpg...done
Package refresh done
Packages that can be upgraded: 2; type ‘U’ to mark for upgrading.
Packages marked for upgrading: 2
Packages to upgrade: 2 (helm-core-20230210.1955 magit-section-20230213.1424).  Proceed? (y or n) y
Operation [ Upgrade 2 ] started
Contacting host: melpa.org:443 [2 times]
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      magit-section-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘magit-section’ installed.
Contacting host: melpa.org:443 [2 times]
Parsing tar file...done
Extracting...done
  INFO     Scraping files for loaddefs... 
Note: standard-indent adjusted to 2
Note: indent-tabs-mode adjusted to nil
  INFO     Scraping files for loaddefs...done
  GEN      helm-core-autoloads.el
Loading /home/wiz/.emacs.d/elpa/async-20230130.1815/async.el (source)...done
Package ‘helm-core’ installed.
Package ‘helm-core-20230117.1925’ deleted.
Package ‘magit-section-20230106.1659’ deleted.
Package ‘helm-core-20230210.1955’ deleted.
Package ‘magit-section-20230213.1424’ deleted.
Operation finished.  Packages that are no longer needed: 1.  Type ‘M-x package-autoremove’ to remove them
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
error in process sentinel: if: End of file during parsing
error in process sentinel: End of file during parsing
Loading /home/wiz/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)


[-- Attachment #3: init.el --]
[-- Type: text/plain, Size: 2895 bytes --]

;; Manual settings
(setq-default c-basic-offset 4)
(global-set-key (kbd "C-s") 'isearch-forward-regexp)
; emacs server for emacsclient
(server-start)

(which-key-mode t)

(ivy-mode)
(setq ivy-use-virtual-buffers t)
(setq enable-recursive-minibuffers t)
(counsel-mode)

(defun c-setup ()
  (local-set-key (kbd "C-c C-f") 'clang-format-buffer))
(add-hook 'c-mode-common-hook 'c-setup)

;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ansi-color-names-vector
   ["#757575" "#CD5542" "#4A8F30" "#7D7C21" "#4170B3" "#9B55C3" "#68A5E9" "gray43"])
 '(csv-separators '(","))
 '(custom-enabled-themes '(leuven))
 '(custom-safe-themes
   '("cfe4d36ed4cf00a541f7ba0deb38c94808c13a3e4c717f07bc3b9c866670e8d1" "474513bacf33a439da7b9a5df1dd11a277929d8480752675fc7d5f3816d8fdef" "c2d6d17e0918b7f3c73dc456db1fedfb86b16bf17ef9a926b6b891ea39098718" "aad3ae46bd7abdf34ee22c35f827db75c669eb643fd4a6ed7dfb806fe0e90b4e" "56832ed2d65f75fa5767e56ad8795826f449fbecb9c3cd7ba02678c83ad6dd6f" "bf798e9e8ff00d4bf2512597f36e5a135ce48e477ce88a0764cfb5d8104e8163" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" default))
 '(dtrt-indent-global-mode t)
 '(flycheck-checker-error-threshold 10000)
 '(global-company-mode t)
 '(global-flycheck-mode t)
 '(global-tree-sitter-mode t)
 '(helm-mode nil)
 '(inhibit-startup-screen t)
 '(lsp-rust-server 'rust-analyzer)
 '(menu-bar-mode nil)
 '(package-archives
   '(("gnu" . "https://elpa.gnu.org/packages/")
     ("melpa" . "https://melpa.org/packages/")))
 '(package-selected-packages
   '(magit bison-mode leuven-theme clang-format+ company-php flycheck-eglot avy helm markdown-mode php-mode treemacs dtrt-indent company-box deadgrep tree-sitter-indent tree-sitter-langs clang-format tree-sitter which-key company counsel csv-mode json-mode lua-mode yasnippet yaml-mode rust-mode cmake-mode dap-mode flycheck))
 '(rust-format-on-save nil)
 '(show-trailing-whitespace t)
 '(smtpmail-smtp-server "localhost")
 '(smtpmail-smtp-service 25)
 '(tool-bar-mode nil)
 '(use-short-answers t)
 '(visible-bell t))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

;; Manual settings - post Package.el
(require 'company-box)
(add-hook 'company-mode-hook 'company-box-mode)
(put 'narrow-to-region 'disabled nil)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-09 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07  9:19 broken (or missing) packages after 'error in process sentinel: async-handle-result: End of file during parsing' Thomas Klausner
2023-03-07 13:06 ` Eli Zaretskii
2023-03-07 13:22   ` Thomas Klausner
2023-03-07 20:57 ` chad
2023-03-08  5:18   ` Michelangelo Rodriguez
2023-03-09 10:27   ` Thomas Klausner
2023-03-09 12:46     ` Thierry Volpiatto

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.