Re: Invalid duration format error with active timestamp

2021-05-19 Thread Garjola Dindi
On Tue 18-May-2021 at 23:23:39 +02, Rainer Hansen
 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  writes:
>
>> On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
>>  wrote: 
>>> Hello,
>>>
>>> Garjola Dindi  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!
>
>
>

-- 




Re: Invalid duration format error with active timestamp

2021-05-18 Thread Rainer Hansen
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  writes:

> On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
>  wrote: 
>> Hello,
>>
>> Garjola Dindi  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!




Re: Invalid duration format error with active timestamp

2021-05-18 Thread Garjola Dindi
On Mon 17-May-2021 at 16:01:25 +02, Nicolas Goaziou
 wrote: 
> Hello,
>
> Garjola Dindi  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!

-- 




Re: Invalid duration format error with active timestamp

2021-05-17 Thread Nicolas Goaziou
Hello,

Garjola Dindi  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



Invalid duration format error with active timestamp

2021-05-17 Thread Garjola Dindi


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.

--