New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"error in process sentinel: End of file during parsing" during ANY async-start, or dired-async command #187
Comments
Matt812g ***@***.***> writes:
1. ( ) 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 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.
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
|
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?
Also, all was working fine on another GnuLinux (alpine) system just a day before. So, it seems to me that dired-async is NOT working as expected. Yes?
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? (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.)
I'll try reinstalling, but this was a fresh install, so I don't have much faith in it.
Thanks
|
Matt812g ***@***.***> writes:
1. ( ) 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
|
Interestingly, I have several functions that use I also am not doing any sending of messages, and I do not have filters set, though. I'm thinking it might be that which is the problem. If I have time, I will look at that deeper. I wonder if there is an issue with utf or something? I have posted a conversation here, as well: |
I think this may be similar to #131 (comment)
When I run this code:
I get this error:
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!
The text was updated successfully, but these errors were encountered: