emacs-async
emacs-async copied to clipboard
"error in process sentinel: End of file during parsing" during ANY async-start, or dired-async command
I think this may be similar to https://github.com/jwiegley/emacs-async/issues/131#issuecomment-772698106
- OS: Termux 0.118.0 (118), loaded from f-droid
- GNU Emacs 29.1 (build 1, aarch64-unknown-linux-android) of 2023-09-23, loaded from pkg in termux
- async Version: 1.9.8, loaded from melpa using use-package and straight.el.
When I run this code:
(defvar scratch-1 nil)
(progn
(setq async-debug t)
(setq scratch-1 nil)
(async-start
`(lambda ()
(message "yes")
1)
(lambda (result)
(setq scratch-1 result))
))
;; result eventually stored in this global variable
(describe-variable scratch-1)
I get this error:
error in process sentinel: End of file during parsing
I'm pretty sure that is not working as intended?
Any ideas how to get around this? I can't live without async -- especially dired-async, which also gives this error.
Thanks!
Matt812g @.***> writes:
- ( ) text/plain (*) text/html
I think this may be similar to #131 (comment)
• OS: Termux 0.118.0 (118), loaded from f-droid • GNU Emacs 29.1 (build 1, aarch64-unknown-linux-android) of 2023-09-23, loaded from pkg in termux • async Version: 1.9.8, loaded from melpa using use-package and straight.el.
When I run this code:
(defvar scratch-1 nil) (progn (setq async-debug t) (setq scratch-1 nil) (async-start `(lambda () (message "yes") 1) (lambda (result) (setq scratch-1 result)) )) ;; result eventually stored in this global variable (describe-variable scratch-1)
I get this error:
error in process sentinel: End of file during parsingI'm pretty sure that is not working as intended?
Any ideas how to get around this? I can't live without async -- especially dired-async, which also gives this error.
No, both (your code and dired-async) are working as expected on GnuLinux. Perhaps try to reinstall or recompile?
Thanks!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.**>
-- Thierry
Matt812g @.***> writes:
- ( ) text/plain (*) text/html
On Wednesday, January 24th, 2024 at 10:20, Thierry Volpiatto @.***> wrote:
... "both (your code and dired-async) are working as expected on GnuLinux." ...
Thanks for your timely response, Thierry ...
but, I'm confused by what you said.
When I copy a file using dired-async, it is expected that I SHOULD get the error listed above?
Of course no, you should have no errors at all.
Also, all was working fine on another GnuLinux (alpine) system just a day before.
No changes have been done recently, so if all was working fine there yesterday it should work fine today.
So, it seems to me that dired-async is NOT working as expected. Yes?
If you still have an error on the android platform, of course there is something wrong, in this case you should report as an emacs-bug to have help from the developer in charge of the android port of emacs. If it is working fine on GnuLinux it should work fine on other platforms.
I just tried copying a file in dired.
emacs contains: (async-signal (end-of-file))
Messages contains: Copy proceeding asynchronously... error in process sentinel: async-handle-result: End of file during parsing error in process sentinel: End of file during parsing
This is expected?
Of course no!
(Seems more likely to me that this is related to something weird in the termux environment that the dired-async code doesn't handle, but I could be wrong.)
Perhaps yes.
-- Thierry