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

timer errors #76

Open
emacsomancer opened this issue Dec 8, 2024 · 7 comments
Open

timer errors #76

emacsomancer opened this issue Dec 8, 2024 · 7 comments

Comments

@emacsomancer
Copy link
Contributor

I seem to be getting org-node-related timer errors:

Error running timer: (cl-no-applicable-method #[(sortstr key) ((if (fboundp 'org-node-fakeroam-daily-create) (org-node-fakeroam-daily-create sortstr key t) (error "Not installed: org-node-fakeroam"))) nil] comp--spill-lap-function #[(sortstr key) ((if (fboundp 'org-node-fakeroam-daily-create) (org-node-fakeroam-daily-create sortstr key t) (error "Not installed: org-node-fakeroam"))) nil])
Error running timer: (cl-no-applicable-method #[(node) ((let ((time (cdr (assoc "CREATION_TIME" (org-node-get-props node))))) (when (and time (not (string-blank-p time))) (cons time (org-node-get-id node))))) nil] comp--spill-lap-function #[(node) ((let ((time (cdr (assoc "CREATION_TIME" (org-node-get-props node))))) (when (and time (not (string-blank-p time))) (cons time (org-node-get-id node))))) nil])
Error running timer: (cl-no-applicable-method #[(sortstr key) ((org-node-create sortstr (org-id-new) key)) nil] comp--spill-lap-function #[(sortstr key) ((org-node-create sortstr (org-id-new) key)) nil])

(I'm using elpaca to install org-node, org-node-fakeroam, and el-job from github; maybe I don't have these in the right order or something. I'm wondering if this related to dailies not currently being marked/font-locked on the calendar view.)

@meedstrom
Copy link
Owner

meedstrom commented Dec 9, 2024 via email

@meedstrom
Copy link
Owner

meedstrom commented Dec 9, 2024

Would these changes solve the issue? e60db8b

@emacsomancer
Copy link
Contributor Author

I still don't seem to be getting marked dates in the calendar

@meedstrom
Copy link
Owner

meedstrom commented Dec 13, 2024

Oh, maybe with this? I'll add it in, thanks for mentioning.

(defvaralias 'org-node-series-that-marks-calendar 
             'org-node-seq-that-marks-calendar)

@meedstrom
Copy link
Owner

Checking in, do you get marked dates now?

@emacsomancer
Copy link
Contributor Author

I do get marked dates now.

(I'm still getting the timer errors sometimes, but functionality doesn't seem otherwise impaired?)

meedstrom added a commit that referenced this issue Feb 2, 2025
@meedstrom
Copy link
Owner

meedstrom commented Feb 2, 2025

Interesting problem. Now I understand my first fix would not have done anything.

Did a possible fix on a separate branch: 131059d

If you get time, maybe copy-paste that and see if the problem stops appearing!


As always, thanks for reporting. It's possible that other people are also seeing this error. Out of curiosity, what's your gc-cons-threshold?

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