colonelpanic8 / org-project-capture

Manage org-mode TODOs for your projectile projects
332 stars 33 forks source link

(invalid-function helm-build-sync-source) #14

Closed colonelpanic8 closed 7 years ago

colonelpanic8 commented 8 years ago
Debugger entered--Lisp error: (invalid-function helm-build-sync-source)
  helm-build-sync-source("Org Capture Options:" :candidates (("Dropbox (Uber Technologies)" . "Dropbox (Uber Technologies)") ("org" . "org") ("dotfiles" . "dotfiles") ("org-projectile" . "org-projectile") ("okcupyd" . "okcupyd") ("vcrpy" . "vcrpy") ("ideas" . "ideas") ("scala-mode2" . "scala-mode2") ("helm" . "helm") ("hackintosh" . "hackintosh") ("mu4e-notifications" . "mu4e-notifications") ("pylast" . "pylast") ("mopidy-lastfm" . "mopidy-lastfm") ("phone" . "phone") ("projectile" . "projectile") ("ergodox-firmware" . "ergodox-firmware") ("mu4e" . "mu4e") ("restclient.el" . "restclient.el") ("curry" . "curry") ("gotest.el" . "gotest.el") ("multi-line" . "multi-line") ("order" . "order") ("demand" . "demand")) :action (("Do capture" . #[257 "\301\300\"\207" ["* TODO %?\n  :PROPERTIES:\n  :CREATED:  [2016-04-17 Sun 16:04]\n  :END:\n  :LOGBOOK:\n  - State \"TODO\"       from              [2016-04-17 Sun 16:04]\n  :END:\n" org-projectile:capture-for-project] 4 "\n\n(fn PROJECT)"])))
  org-projectile:helm-source("* TODO %?\n  :PROPERTIES:\n  :CREATED:  [2016-04-17 Sun 16:04]\n  :END:\n  :LOGBOOK:\n  - State \"TODO\"       from              [2016-04-17 Sun 16:04]\n  :END:\n")
  (list (helm-source-org-capture-templates) (org-projectile:helm-source (if arg (org-capture-make-linked-todo-template) (org-capture-make-todo-template))))
  (helm :sources (list (helm-source-org-capture-templates) (org-projectile:helm-source (if arg (org-capture-make-linked-todo-template) (org-capture-make-todo-template)))) :candidate-number-limit 99999 :buffer "*helm org capture templates*")
  imalison:helm-org-todo(nil)
  call-interactively(imalison:helm-org-todo nil nil)
  command-execute(imalison:helm-org-todo)
colonelpanic8 commented 8 years ago

This seems to happen when org-projectile is byte compiled without helm-source being required.

colonelpanic8 commented 8 years ago

perhaps there should be a separate helm-org-projectile that explicitly depends on helm to avoid this

colonelpanic8 commented 8 years ago

I'm going to fix this by moving the org-projectile helm functions into their own package

colonelpanic8 commented 7 years ago

This is fixed now that org-projectile-helm is a separate project.