emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invalid duration format error with active timestamp
@ 2021-05-17 12:07 Garjola Dindi
  2021-05-17 14:01 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Garjola Dindi @ 2021-05-17 12:07 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

I am using the most recent elpa version of org
9.4.5 (9.4.5-93-gbc857b-elpa @
/home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.

Since updating org yesterday, when I use a timestamp like 

,----
| <2021-05-17 Mon 10:00-11:00>
`----


building the agenda fails with this backtrace:

,----
| Debugger entered--Lisp error: (error "Invalid duration format:
| #(\"10:00-11:00\" 0 5 (font...")
| 
|   error("Invalid duration format: %S" #("10:00-11:00" 0 11 (face
|   org-date keymap (keymap (follow-link . mouse-face) (mouse-3 .
|   org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face
|   highlight wrap-prefix #("  " 0 2 (face org-indent)) line-prefix #("  "
|   0 2 (face org-indent)) org-category "work" fontified t)))
| 
|   org-duration-to-minutes(#("10:00-11:00" 0 11 (face org-date keymap
|   (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse)
|   (mouse-2 . org-open-at-mouse)) mouse-face highlight wrap-prefix #("  "
|   0 2 (face org-indent)) line-prefix #("  " 0 2 (face org-indent))
|   org-category "work" fontified t)))
| 
|   org-agenda-format-item(nil #("Planning
|   ..." 0 68 (face org-level-1 wrap-prefix #("* " 0 2 (face org-indent))
|   line-prefix "" org-category "work" fontified t) 68 77 (keymap (keymap
|   (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2
|   . org-open-at-mouse)) mouse-face highlight face (org-tag org-level-1)
|   wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category
|   "work" fontified t) 77 78 (rear-nonsticky (mouse-face highlight keymap
|   invisible intangible help-echo org-linked-text htmlize-link) keymap
|   (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse)
|   (mouse-2 . org-open-at-mouse)) mouse-face highlight face (org-tag
|   org-level-1) wrap-prefix #("* " 0 2 (face org-indent)) line-prefix ""
|   org-category "work" fontified t)) " " "work" (#("work" 0 4 (inherited
|   t)) "planning") #("<2021-05-17 Mon 10:00-11:00>" 0 1 (face
|   (rainbow-delimiters-depth-1-face org-date) keymap (keymap (follow-link
|   . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 .
|   org-open-at-mouse)) mouse-face highlight wrap-prefix #("  " 0 2 (face
|   org-indent)) line-prefix #("  " 0 2 (face org-indent)) org-category
|   "work" fontified t) 1 27 (face org-date keymap (keymap (follow-link .
|   mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 .
|   org-open-at-mouse)) mouse-face highlight wrap-prefix #("  " 0 2 (face
|   org-indent)) line-prefix #("  " 0 2 (face org-indent)) org-category
|   "work" fontified t) 27 28 (face (rainbow-delimiters-depth-1-face
|   org-date) keymap (keymap (follow-link . mouse-face) (mouse-3 .
|   org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face
|   highlight wrap-prefix #("  " 0 2 (face org-indent)) line-prefix #("  "
|   0 2 (face org-indent)) org-category "work" rear-nonsticky (mouse-face
|   highlight keymap invisible intangible help-echo org-linked-text
|   htmlize-link) fontified t))
|   "<\\([[:digit:]]\\{4\\}-[[:digit:]]\\{2\\}-[[:digit:]]\\{..." nil)
| 
|   org-agenda-get-timestamps(nil)
`----

Does this ring a bell to somebody? I have been using timestamps like
this for a while without problems. I have checked the manual and I still
see this kind of timestamps in the corresponding section.

Thank you.

G.

-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Invalid duration format error with active timestamp
  2021-05-17 12:07 Invalid duration format error with active timestamp Garjola Dindi
@ 2021-05-17 14:01 ` Nicolas Goaziou
  2021-05-18 17:42   ` Garjola Dindi
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2021-05-17 14:01 UTC (permalink / raw)
  To: Garjola Dindi; +Cc: emacs-orgmode

Hello,

Garjola Dindi <garjola@garjola.net> writes:

> I am using the most recent elpa version of org
> 9.4.5 (9.4.5-93-gbc857b-elpa @
> /home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.
>
> Since updating org yesterday, when I use a timestamp like 
>
> ,----
> | <2021-05-17 Mon 10:00-11:00>
> `----
>
>
> building the agenda fails with this backtrace:
>
> ,----
> | Debugger entered--Lisp error: (error "Invalid duration format:
> | #(\"10:00-11:00\" 0 5 (font...")

This was fixed a few days ago.

Since Org in ELPA is updated every Monday, you need to update it again
(later?) today to get the fix.

Regards, 
-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Invalid duration format error with active timestamp
  2021-05-17 14:01 ` Nicolas Goaziou
@ 2021-05-18 17:42   ` Garjola Dindi
  2021-05-18 21:23     ` Rainer Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Garjola Dindi @ 2021-05-18 17:42 UTC (permalink / raw)
  To: emacs-orgmode

On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
<mail@nicolasgoaziou.fr> wrote: 
> Hello,
>
> Garjola Dindi <garjola@garjola.net> writes:
>
>> I am using the most recent elpa version of org
>> 9.4.5 (9.4.5-93-gbc857b-elpa @
>> /home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.
>>
>> Since updating org yesterday, when I use a timestamp like 
>>
>> ,----
>> | <2021-05-17 Mon 10:00-11:00>
>> `----
>>
>>
>> building the agenda fails with this backtrace:
>>
>> ,----
>> | Debugger entered--Lisp error: (error "Invalid duration format:
>> | #(\"10:00-11:00\" 0 5 (font...")
>
> This was fixed a few days ago.
>
> Since Org in ELPA is updated every Monday, you need to update it again
> (later?) today to get the fix.
>

Hi,

Thanks for your answer. I've been impatiently refreshing the packages
since yesterday, but I don't see any new version of org.

I am using 

http://orgmode.org/elpa/

Is this still correct? Just wondering, since I understood that some
things are changing in org packaging and distribution.

Thanks for your great work!

-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Invalid duration format error with active timestamp
  2021-05-18 17:42   ` Garjola Dindi
@ 2021-05-18 21:23     ` Rainer Hansen
  2021-05-19 19:40       ` Garjola Dindi
  0 siblings, 1 reply; 5+ messages in thread
From: Rainer Hansen @ 2021-05-18 21:23 UTC (permalink / raw)
  To: emacs-orgmode

Hi Garjola,

I had the same problem.

I fixed it by downloading manually the last working version of Org from
https://orgmode.org/elpa/,
i.e. https://orgmode.org/elpa/org-20210503.tar
and manually stored the extracted directory into my elpa directory,
/home/garjola/.emacs.d/elpa/ in your case.

After restarting Emacs Org agenda worked fine again.

I hope that helps.

Regards,
Rainer

Garjola Dindi <garjola@garjola.net> writes:

> On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
> <mail@nicolasgoaziou.fr> wrote: 
>> Hello,
>>
>> Garjola Dindi <garjola@garjola.net> writes:
>>
>>> I am using the most recent elpa version of org
>>> 9.4.5 (9.4.5-93-gbc857b-elpa @
>>> /home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.
>>>
>>> Since updating org yesterday, when I use a timestamp like 
>>>
>>> ,----
>>> | <2021-05-17 Mon 10:00-11:00>
>>> `----
>>>
>>>
>>> building the agenda fails with this backtrace:
>>>
>>> ,----
>>> | Debugger entered--Lisp error: (error "Invalid duration format:
>>> | #(\"10:00-11:00\" 0 5 (font...")
>>
>> This was fixed a few days ago.
>>
>> Since Org in ELPA is updated every Monday, you need to update it again
>> (later?) today to get the fix.
>>
>
> Hi,
>
> Thanks for your answer. I've been impatiently refreshing the packages
> since yesterday, but I don't see any new version of org.
>
> I am using 
>
> http://orgmode.org/elpa/
>
> Is this still correct? Just wondering, since I understood that some
> things are changing in org packaging and distribution.
>
> Thanks for your great work!



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Invalid duration format error with active timestamp
  2021-05-18 21:23     ` Rainer Hansen
@ 2021-05-19 19:40       ` Garjola Dindi
  0 siblings, 0 replies; 5+ messages in thread
From: Garjola Dindi @ 2021-05-19 19:40 UTC (permalink / raw)
  To: emacs-orgmode

On Tue 18-May-2021 at 23:23:39 +02, Rainer Hansen
<rainer.hansen@gmx.net> wrote: 
> Hi Garjola,
>
> I had the same problem.
>
> I fixed it by downloading manually the last working version of Org from
> https://orgmode.org/elpa/,
> i.e. https://orgmode.org/elpa/org-20210503.tar
> and manually stored the extracted directory into my elpa directory,
> /home/garjola/.emacs.d/elpa/ in your case.
>
> After restarting Emacs Org agenda worked fine again.
>
> I hope that helps.
>
> Regards,
> Rainer

Hi Rainer,

Thanks for the tip. I finally got the update via the package manager
before having the time to test your solution.

And org works great as always!

Cheers.

G.

>
> Garjola Dindi <garjola@garjola.net> writes:
>
>> On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
>> <mail@nicolasgoaziou.fr> wrote: 
>>> Hello,
>>>
>>> Garjola Dindi <garjola@garjola.net> writes:
>>>
>>>> I am using the most recent elpa version of org
>>>> 9.4.5 (9.4.5-93-gbc857b-elpa @
>>>> /home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.
>>>>
>>>> Since updating org yesterday, when I use a timestamp like 
>>>>
>>>> ,----
>>>> | <2021-05-17 Mon 10:00-11:00>
>>>> `----
>>>>
>>>>
>>>> building the agenda fails with this backtrace:
>>>>
>>>> ,----
>>>> | Debugger entered--Lisp error: (error "Invalid duration format:
>>>> | #(\"10:00-11:00\" 0 5 (font...")
>>>
>>> This was fixed a few days ago.
>>>
>>> Since Org in ELPA is updated every Monday, you need to update it again
>>> (later?) today to get the fix.
>>>
>>
>> Hi,
>>
>> Thanks for your answer. I've been impatiently refreshing the packages
>> since yesterday, but I don't see any new version of org.
>>
>> I am using 
>>
>> http://orgmode.org/elpa/
>>
>> Is this still correct? Just wondering, since I understood that some
>> things are changing in org packaging and distribution.
>>
>> Thanks for your great work!
>
>
>

-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-19 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 12:07 Invalid duration format error with active timestamp Garjola Dindi
2021-05-17 14:01 ` Nicolas Goaziou
2021-05-18 17:42   ` Garjola Dindi
2021-05-18 21:23     ` Rainer Hansen
2021-05-19 19:40       ` Garjola Dindi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).