christopherjwhite / org-toodledo

Emacs enhancement for syncing org-mode tasks with Toodledlo
83 stars 16 forks source link

Problems running org-toodledo-initialize #35

Open cpchan opened 10 years ago

cpchan commented 10 years ago

I am trying to rum org-toodledo under Emacs 24. However, I can't run org-toodledo-initialize with the following debug error:

Debugger entered--Lisp error: (void-function org-toodledo-task-parent) org-toodledo-task-parent((("id" . "9028490") ("title" . "Add some items to your todo list") ("modified" . "1388632851") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "2") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "0") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "10") ("status" . "1") ("note"))) org-toodledo-process-task((("id" . "9028490") ("title" . "Add some items to your todo list") ("modified" . "1388632851") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "2") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "0") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "10") ("status" . "1") ("note")) nil)

[(task) "\301\302\"\207" [task org-toodledo-process-task nil] 3](%28%28"id" .) ("title" . "Add some items to your todo list") ("modified" . "1388632851") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "2") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "0") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "10") ("status" . "1") ("note")))

mapc(#[(task) "\301\302\"\207" [task org-toodledo-process-task nil] 3](%28%28"id" .) ("title" . "Add some items to your todo list") ("modified" . "1388632851") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "2") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "0") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "10") ("status" . "1") ("note")) (("id" . "9028492") ("title" . "Visit the Settings section and configure your account") ("modified" . "1388632856") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "1") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "0") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "5") ("status" . "1") ("note")) (("id" . "9028494") ("title" . "Watch our tutorial videos in the Help section") ("modified" . "1388632846") ("completed" . "0") ("folder" . "0") ("context" . "0") ("goal" . "0") ("priority" . "3") ("tag") ("repeat") ("repeatfrom" . "0") ("duedate" . "1388577600") ("startdate" . "0") ("duetime" . "0") ("starttime" . "0") ("length" . "10") ("status" . "1") ("note")))) org-toodledo-sync() org-toodledo-save-hook() run-hooks(before-save-hook) basic-save-buffer() save-buffer(1) call-interactively(save-buffer nil nil)

christopherjwhite commented 10 years ago

Hi, Are you still seeing this issue?

If so, it seems like org-toodledo.el is not being loaded correctly. It might be that the function org-toodledo-task-parent is dynamically defined at compile time, so perhaps the code is not getting compiled correctly.

Can you try the following:

M-x byte-compile-file

Then enter the path to org-toodledo.el. Close emacs and restart and see if you still see the issue.

BraveTang commented 8 years ago

image this is my promble, when i running org-toodledo-initialize ,the emacs is die here