emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invalid duration format (9.4.5)
@ 2021-05-10 13:45 Jarmo Hurri
  2021-05-10 13:54 ` Detlef Steuer
  0 siblings, 1 reply; 4+ messages in thread
From: Jarmo Hurri @ 2021-05-10 13:45 UTC (permalink / raw)
  To: emacs-orgmode


Greetings.

To get my work done, I had to switch from master branch to stable, but
now I started getting "invalid duration format" error when trying to
create my daily agenda:

org-duration-to-minutes: Invalid duration format: #("12:45-14:15 +1w" 0 15 (fontified nil org-category "schedule"))

Here is the corresponding row, and the preceding row, from file
schedule.org:

<2021-04-15 Thu 09:15-10:45 +1w>
<2021-04-19 Mon 12:45-14:15 +1w>

Any hints?

Jarmo



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

* Re: Invalid duration format (9.4.5)
  2021-05-10 13:45 Invalid duration format (9.4.5) Jarmo Hurri
@ 2021-05-10 13:54 ` Detlef Steuer
  2021-05-10 14:25   ` Nicholas Savage
  0 siblings, 1 reply; 4+ messages in thread
From: Detlef Steuer @ 2021-05-10 13:54 UTC (permalink / raw)
  To: emacs-orgmode

Am Mon, 10 May 2021 16:45:30 +0300
schrieb Jarmo Hurri <jarmo.hurri@iki.fi>:

> Greetings.
> 
> To get my work done, I had to switch from master branch to stable, but
> now I started getting "invalid duration format" error when trying to
> create my daily agenda:
> 
> org-duration-to-minutes: Invalid duration format: #("12:45-14:15 +1w"
> 0 15 (fontified nil org-category "schedule"))
> 
> Here is the corresponding row, and the preceding row, from file
> schedule.org:
> 
> <2021-04-15 Thu 09:15-10:45 +1w>
> <2021-04-19 Mon 12:45-14:15 +1w>
> 
> Any hints?
> 
> Jarmo
> 
> 


Can confirm!

Detlef


-- 
"Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben 
 einfacher zu machen. (George Eliot)" 

Dr. Detlef Steuer
Helmut-Schmidt-Universität
Fakultät WiSo
Holstenhofweg 85
22043 Hamburg

Tel:  040/6541-2819
mail: steuer@hsu-hh.de


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

* Re: Invalid duration format (9.4.5)
  2021-05-10 13:54 ` Detlef Steuer
@ 2021-05-10 14:25   ` Nicholas Savage
  2021-05-10 16:10     ` [External] : " Daniel Ortmann
  0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Savage @ 2021-05-10 14:25 UTC (permalink / raw)
  To: Emanuel Berg via General discussions about Org-mode.

Thanks for the report. This was also reported last night too: https://lists.gnu.org/archive/html/emacs-orgmode/2021-05/msg00592.html

I'll probably have a chance to look into this sometime today, but it probably won't be until this evening if anyone else has a chance earlier than that.

On Mon, May 10, 2021, at 09:54, Detlef Steuer wrote:
> Am Mon, 10 May 2021 16:45:30 +0300
> schrieb Jarmo Hurri <jarmo.hurri@iki.fi>:
> 
> > Greetings.
> > 
> > To get my work done, I had to switch from master branch to stable, but
> > now I started getting "invalid duration format" error when trying to
> > create my daily agenda:
> > 
> > org-duration-to-minutes: Invalid duration format: #("12:45-14:15 +1w"
> > 0 15 (fontified nil org-category "schedule"))
> > 
> > Here is the corresponding row, and the preceding row, from file
> > schedule.org:
> > 
> > <2021-04-15 Thu 09:15-10:45 +1w>
> > <2021-04-19 Mon 12:45-14:15 +1w>
> > 
> > Any hints?
> > 
> > Jarmo
> > 
> > 
> 
> 
> Can confirm!
> 
> Detlef
> 
> 
> -- 
> "Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben 
>  einfacher zu machen. (George Eliot)" 
> 
> Dr. Detlef Steuer
> Helmut-Schmidt-Universität
> Fakultät WiSo
> Holstenhofweg 85
> 22043 Hamburg
> 
> Tel:  040/6541-2819
> mail: steuer@hsu-hh.de
> 
> 


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

* Re: [External] : Re: Invalid duration format (9.4.5)
  2021-05-10 14:25   ` Nicholas Savage
@ 2021-05-10 16:10     ` Daniel Ortmann
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Ortmann @ 2021-05-10 16:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1998 bytes --]

This fix works for me.

    commit 6107c2b15bf19ab5300c2861db365a3dc310adc6 (origin/maint)
    Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
    Date:   Mon May 10 18:00:58 2021 +0200

         Revert "agenda: Fix "org-duration-to-minutes: Invalid duration
    format" error"

         This reverts commit bc857bfc62ba94e04fb338bfb35f4b612c114d0c.

         The "fix" breaks elsewhere, as reported below.

         Reported-by: Daniel Ortmann <daniel.ortmann@oracle.com>
    <http://lists.gnu.org/r/emacs-orgmode/2021-05/msg00592.html>


On 5/10/21 9:25 AM, Nicholas Savage wrote:
> Thanks for the report. This was also reported last night too: https://urldefense.com/v3/__https://lists.gnu.org/archive/html/emacs-orgmode/2021-05/msg00592.html__;!!GqivPVa7Brio!Non_TqJOEgfushDGmmgrZySe4dyz4pr69tdmeFRzKzRUwzoLORtfh7pMyW2pU_1ZotQ$
>
> I'll probably have a chance to look into this sometime today, but it probably won't be until this evening if anyone else has a chance earlier than that.
>
> On Mon, May 10, 2021, at 09:54, Detlef Steuer wrote:
>> Am Mon, 10 May 2021 16:45:30 +0300
>> schrieb Jarmo Hurri <jarmo.hurri@iki.fi>:
>>
>>> Greetings.
>>>
>>> To get my work done, I had to switch from master branch to stable, but
>>> now I started getting "invalid duration format" error when trying to
>>> create my daily agenda:
>>>
>>> org-duration-to-minutes: Invalid duration format: #("12:45-14:15 +1w"
>>> 0 15 (fontified nil org-category "schedule"))
>>>
>>> Here is the corresponding row, and the preceding row, from file
>>> schedule.org:
>>>
>>> <2021-04-15 Thu 09:15-10:45 +1w>
>>> <2021-04-19 Mon 12:45-14:15 +1w>
>>>
>>> Any hints?
>>>
>>> Jarmo
>>>
>>>
>>
>> Can confirm!
>>
>> Detlef
>>
>>
>> -- 
>> "Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben
>>   einfacher zu machen. (George Eliot)"
>>
>> Dr. Detlef Steuer
>> Helmut-Schmidt-Universität
>> Fakultät WiSo
>> Holstenhofweg 85
>> 22043 Hamburg
>>
>> Tel:  040/6541-2819
>> mail: steuer@hsu-hh.de
>>
>>


[-- Attachment #2: Type: text/html, Size: 4005 bytes --]

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

end of thread, other threads:[~2021-05-10 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 13:45 Invalid duration format (9.4.5) Jarmo Hurri
2021-05-10 13:54 ` Detlef Steuer
2021-05-10 14:25   ` Nicholas Savage
2021-05-10 16:10     ` [External] : " Daniel Ortmann

Code repositories for project(s) associated with this 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).