Julien, it sounds like you're doing something different than what's in the manual.
Could you paste exactly the code you used in your .emacs to include org-habit in the modules list and then activate it? I guess it would be two separate lines?
Thanks,
JB
Thanks Noorul, this helped me fix the error, and I now have it working !
I should mention that I do need to (require 'org-habit) after it's
been added to the modules list, in order to actually activate it.
On Thu, Sep 2, 2010 at 7:17 PM, Noorul Islam <noorul@noorul.com> wrote:
> On Thursday, September 2, 2010, Julien Fantin <julien.fantin@gmail.com> wrote:
>> I'm watching this as I wasn't able to enable this module either.
>>
>> I have state logging enable with :
>> (setq org-todo-keywords
>> (quote
>> ((sequence "TODO(t!)" "NEXT(n!)" "|" "DONE(d!)")
>> (sequence "WAIT(w@/!)" "SOMEDAY(s@/!)" "|" "CANCELLED(c@/!)"))))
>>
>> And org-habit is configured with :
>> (add-to-list 'org-modules 'org-habit)
>>
>> Which doesn't seems to work either...
>>
>> If I try o (require 'org-habit) though, I'll get an error when
>> building the agenda with C-c a a :
>> org-habit-duration-to-days: Wrong type argument: stringp, nil
>>
>
> If you pull the latest version from git repo, you won't get this
> error, instead a meaningful error message will be displayed.
>
> Thanks and Regards
> Noorul
>