Closed skallinen closed 3 years ago
Pushing tree broke after upgrading to emacs 28.0.50 and migrating to straight
request.el is 0.3.3 anki Version 2.1.16 (4bc33e2f) Qt 5.15.2 PyQt 5.15.2 Getting this kind of errors:
Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 1) org-macro-initialize-templates(nil) org-export-as(#s(org-export-backend :name nil :parent html :transcoders ((latex-fragment . anki-editor--ox-latex) (latex-environment . anki-editor--ox-latex)) :options nil :filters nil :blocks nil :menu nil) nil nil t (:with-toc nil :anki-editor-mode t)) org-export-string-as(#("How wo you add \n" 0 16 (org-category "20210729125121-adding_users_to_groups" wrap-prefix #(" " 0 6 (face org-indent)) line-prefix #(" " 0 6 (face org-indent)) fontified t)) #s(org-export-backend :name nil :parent html :transcoders ((latex-fragment . anki-editor--ox-latex) (latex-environment . anki-editor--ox-latex)) :options nil :filters nil :blocks nil :menu nil) t (:with-toc nil :anki-editor-mode t)) anki-editor--build-fields() anki-editor-note-at-point() #f(compiled-function () #<bytecode -0x1755ca5371a57646>)() org-scan-tags(#f(compiled-function () #<bytecode -0x1755ca5371a57646>) (lambda (todo tags-list level) (progn (setq org-cached-props nil) (or (and (org-string<> (or (org-cached-entry-get nil "ANKI_NOTE_TYPE") "") ""))))) nil nil) org-map-entries(#f(compiled-function () #<bytecode -0x1755ca5371a57646>) "&ANKI_NOTE_TYPE<>\"\"" tree nil) anki-editor-map-note-entries(#f(compiled-function () #<bytecode -0x1755ca5371a57646>) nil tree) anki-editor-push-notes((4)) anki-editor-push-tree() funcall-interactively(anki-editor-push-tree) call-interactively(anki-editor-push-tree nil nil) command-execute(anki-editor-push-tree)
Got the error :ANKI_FAILURE_REASON: Wrong number of arguments: (0 . 0), 0 in the org document.
Any pointers?
downgrading request.el had no effect.
this is an org problem it seems. as a temporary workaround, doing (org-reload) seems to remove the problem. closing the issue.
Pushing tree broke after upgrading to emacs 28.0.50 and migrating to straight
request.el is 0.3.3 anki Version 2.1.16 (4bc33e2f) Qt 5.15.2 PyQt 5.15.2 Getting this kind of errors:
Got the error :ANKI_FAILURE_REASON: Wrong number of arguments: (0 . 0), 0 in the org document.
Any pointers?