Skip to content
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

Open
Matt812g opened this issue Jan 24, 2024 · 4 comments

Comments

@Matt812g
Copy link

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.

Thanks!

@thierryvolpiatto
Copy link
Collaborator

thierryvolpiatto commented Jan 24, 2024 via email

@Matt812g
Copy link
Author

Matt812g commented Jan 24, 2024 via email

@thierryvolpiatto
Copy link
Collaborator

thierryvolpiatto commented Jan 24, 2024 via email

@Matt812g
Copy link
Author

Matt812g commented Jan 25, 2024

Interestingly, I have several functions that use start-process with sentinels (as opposed to make-process, which emacs-async uses). Those work fine.

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:
termux/termux-packages#19059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants