1

Every time that I mark my habits as DONE I got this error in *Messages* buffer:

TODO state changed to DONE
TODO state changed to NEXT
setq: Invalid time zone specification: (nil nil nil)
Note stored

I already searched for this error and can't get any clue how to avoid it.

This is the stacktrace of the error: https://pastebin.com/0vLm45P0

This error only occurs with emacs 26.1, when I tried with emacs 25.3 it works well.

5
  • 2
    Can you provide a minimal config which reproduces this issue?
    – phils
    Commented Aug 11, 2018 at 7:28
  • What OS are you running Emacs on? There's a similar bug in Org mode caused by changes in Emacs' date handling code, so maybe that's what's happening to you.
    – user66
    Commented Aug 11, 2018 at 10:29
  • I'm running Emacs on Ubuntu 16.04 @metaturso
    – squiter
    Commented Aug 12, 2018 at 20:16
  • @phils I have a confusing orgmode configuration, but my config works well in Emacs 25, so I don't think that is the cause of the bug... you can see my setup on github.com/squiter/emacs-dotfiles
    – squiter
    Commented Aug 12, 2018 at 20:17
  • This seems to be data related: you have some timestamp in a file, org-timestamp-change is called, it gets the timestamp, parses it using org-parse-timestring and end up with a time spec like this: (0 0 0 12 8 2018 (nil nil nil)) which is indeed illegal, so encode-time barfs on it. But I didn't find enough information in the backtrace to figure out what timestamp it was looking at. One simple thing that you can try if you don't have too many timestamps is to evaluate (org-timestamp-change 1 'day) on each timestamp and find out if it barfs on one of them or maybe all of them. Maybe ...
    – NickD
    Commented Aug 12, 2018 at 21:35

1 Answer 1

0

This issue was fixes when I upgraded my orgmode to lastast version: 9.1.13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.