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

org-element cache error when using prompt #63

Closed
iantor opened this issue Jul 17, 2023 · 3 comments
Closed

org-element cache error when using prompt #63

iantor opened this issue Jul 17, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@iantor
Copy link

iantor commented Jul 17, 2023

Org-version 9.6.7
Emacs-version 30.0.50

After receiving answer from ChatGPT, see this warning:

■ Warning (org-element-cache): org-element--cache: Org parser error in journal.org::301559. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
nil
Please report this to Org mode mailing list (M-x org-submit-bug-report).

--- this seems to happen consistently, got it each time I tested it.
Haven't reported it to mailing list yet.

@guibor
Copy link

guibor commented Aug 2, 2023

I get the same error when using org-ai

@rksm
Copy link
Owner

rksm commented Aug 2, 2023

Calling (org-element-cache-reset) after insertion seems to help. I'll release a fix shortly.

@rksm rksm added the duplicate This issue or pull request already exists label Aug 2, 2023
@rksm
Copy link
Owner

rksm commented Aug 2, 2023

duplicates #16

@rksm rksm closed this as completed in bc023fa Aug 2, 2023
rksm added a commit that referenced this issue Aug 2, 2023
this might be related to
ref #63
ref #67
ref #69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants