From: Daniel Ortmann <daniel.ortmann@oracle.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: clocktable error in org-agenda [9.2.2 (release_9.2.2-245-g9d7b1e @ /home/dortmann/src/git-org-mode/lisp/)]
Date: Tue, 5 Mar 2019 12:49:36 -0600 [thread overview]
Message-ID: <d8b59474-79d5-cfff-a829-2f7952bcd179@oracle.com> (raw)
In-Reply-To: <87r2bmyvy9.fsf@norang.ca>
Does anyone have an idea of why this problem occurs?
And perhaps how to fix it?
On 3/4/19 7:02 PM, Bernt Hansen wrote:
> Actually I think it is a bug. This weird behaviour has been around for
> a very long time (years probably).
>
> I have noticed similar behaviour with log mode, and clock check mode as
> well.
>
> I can reproduce the issue at with the following recipe:
>
> C-c a a (start org agenda)
> j -3 RET (go back 3 days although any number of days probably works)
> l (turn on log mode) or R for clock report
> . (go to today)
> l (wont' turn off log mode anymore)
>
> Workaround:
>
> j -3 RET (go back 3 days again)
> l (turn log mode off) or R for clock report
> . (works normally again)
>
> I run into this regularly when I'm checking clock reports in the agenda
> for the past week (jump to the past, turn clock reports or logging on)
> then move forwards again and you can't turn it off.
>
> HTH.
>
> Regards,
> Bernt
>
> Daniel Ortmann <daniel.ortmann@oracle.com> writes:
>
>> This is crazy! After months of problems, I myself no longer can
>> reproduce this issue! :-/
>>
>> Comments welcome (Please!) ... but this issue no longer is actually a bug.
>>
>> On 3/4/19 3:22 PM, Daniel Ortmann wrote:
>>> Remember to cover the basics, that is, what you expected to happen and
>>> what in fact did happen. You don't know how to make a good report? See
>>>
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__orgmode.org_manual_Feedback.html-23Feedback&d=DwIGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=Dkq-B4wf3U4UeyggH34kSw8HWPy7CqI3u3RwPXz2f5o&m=4fSQsyYOysB0leNb80s58m3u_JCrMhGMzVXrgGispfw&s=_u3sTu0de7IKTb2RsyImTOaTAqX4pl-EiuT_gDXAtXA&e=
>>>
>>> Your bug report will be posted to the Org mailing list.
>>> ------------------------------------------------------------------------
>>>
>>> Since this problem has been occurring for a few months now, it's got to
>>> be something wrong in my configuration.
>>>
>>> In the org agenda, pressing R activates the clock report but pressing it
>>> again does not turn it off. The same behavior occurs through the menu;
>>> clicking the view clock report checkbox turns the checkbox on and the
>>> clock report appears in the agenda ... but clicking it again does not
>>> turn the clock report off; it stays visible.
>>>
>>> To log the bug report I started with
>>> emacs -Q -l ~/minimal-org.el
>>> then ran M-x org-agenda followed by a and then R.
>>> The following debug trace immediately occurred.
>>>
>>> Please clue in the clueless.
>>> Thank you!
>>>
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>> file-exists-p(nil)
>>> org-check-agenda-file(nil)
>>> org-agenda-prepare-buffers((nil))
>>> org-dblock-write:clocktable((:name "clocktable" :link t :maxlevel 2
>>> :tstart 737122 :tend 737123 :scope agenda :indentation-column 0 :content
>>> "\n"))
>>> org-update-dblock()
>>> org-clock-get-clocktable(:link t :maxlevel 2 :tstart 737122 :tend
>>> 737123 :scope agenda)
>>> apply(org-clock-get-clocktable (:link t :maxlevel 2 :tstart 737122
>>> :tend 737123 :scope agenda))
>>> org-agenda-list(nil 737122 day nil)
>>> (let nil (org-agenda-list 'nil 737122 'day nil))
>>> eval((let nil (org-agenda-list 'nil 737122 'day nil)))
>>> org-let(nil (org-agenda-list 'nil 737122 'day nil))
>>> org-agenda-redo()
>>> org-agenda-clockreport-mode()
>>> funcall-interactively(org-agenda-clockreport-mode)
>>> call-interactively(org-agenda-clockreport-mode nil nil)
>>> command-execute(org-agenda-clockreport-mode)
>>>
>>>
>>> Emacs : GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit,
>>> Xaw3d scroll bars)
>>> of 2019-03-04
>>> Package: Org mode version 9.2.2 (release_9.2.2-245-g9d7b1e @
>>> /home/dortmann/src/git-org-mode/lisp/)
>>>
>>> current state:
>>> ==============
>>> (setq
>>> org-src-mode-hook '(org-src-babel-configure-edit-buffer
>>> org-src-mode-configure-edit-buffer)
>>> org-metadown-hook '(org-babel-pop-to-session-maybe)
>>> org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
>>> org-mode-hook '(#[0 "\300\301\302\303\304$\207"
>>> [add-hook change-major-mode-hook org-show-all append local]
>>> 5]
>>> #[0 "\300\301\302\303\304$\207"
>>> [add-hook change-major-mode-hook org-babel-show-result-all
>>> append local]
>>> 5]
>>> org-babel-result-hide-spec org-babel-hide-all-hashes)
>>> org-archive-hook '(org-attach-archive-delete-maybe)
>>> org-confirm-elisp-link-function 'yes-or-no-p
>>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>>> org-metaup-hook '(org-babel-load-in-session-maybe)
>>> org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3
>>> "\n\n(fn ENTRY)"]
>>> org-babel-pre-tangle-hook '(save-buffer)
>>> org-tab-first-hook '(org-babel-hide-result-toggle-maybe
>>> org-babel-header-arg-expand)
>>> org-occur-hook '(org-first-headline-recenter)
>>> org-cycle-hook '(org-cycle-hide-archived-subtrees
>>> org-cycle-show-empty-lines
>>> org-optimize-window-after-visibility-change)
>>> org-speed-command-hook '(org-speed-command-activate
>>> org-babel-speed-command-activate)
>>> org-dynamic-block-alist '(("columnview" . org-columns-insert-dblock)
>>> ("clocktable" . org-clock-report))
>>> org-confirm-shell-link-function 'yes-or-no-p
>>> org-link-parameters '(("id" :follow org-id-open)
>>> ("eww" :follow eww :store org-eww-store-link)
>>> ("rmail" :follow org-rmail-open :store
>>> org-rmail-store-link)
>>> ("mhe" :follow org-mhe-open :store org-mhe-store-link)
>>> ("irc" :follow org-irc-visit :store org-irc-store-link
>>> :export org-irc-export)
>>> ("info" :follow org-info-open :export org-info-export
>>> :store org-info-store-link)
>>> ("gnus" :follow org-gnus-open :store org-gnus-store-link)
>>> ("docview" :follow org-docview-open :export
>>> org-docview-export :store org-docview-store-link)
>>> ("bibtex" :follow org-bibtex-open :store
>>> org-bibtex-store-link)
>>> ("bbdb" :follow org-bbdb-open :export org-bbdb-export
>>> :complete org-bbdb-complete-link :store
>>> org-bbdb-store-link)
>>> ("w3m" :store org-w3m-store-link) ("file+sys")
>>> ("file+emacs") ("doi" :follow org--open-doi-link)
>>> ("elisp" :follow org--open-elisp-link)
>>> ("file" :complete org-file-complete-link)
>>> ("ftp" :follow
>>> (lambda (path) (browse-url (concat "ftp:" path))))
>>> ("help" :follow org--open-help-link)
>>> ("http" :follow
>>> (lambda (path) (browse-url (concat "http:" path))))
>>> ("https" :follow
>>> (lambda (path) (browse-url (concat "https:" path))))
>>> ("mailto" :follow
>>> (lambda (path) (browse-url (concat "mailto:" path))))
>>> ("news" :follow
>>> (lambda (path) (browse-url (concat "news:" path))))
>>> ("shell" :follow org--open-shell-link))
>>> org-agenda-start-on-weekday nil
>>> )
>>>
>>>
>
next prev parent reply other threads:[~2019-03-05 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-04 21:22 Bug: clocktable error in org-agenda [9.2.2 (release_9.2.2-245-g9d7b1e @ /home/dortmann/src/git-org-mode/lisp/)] Daniel Ortmann
2019-03-04 21:40 ` Daniel Ortmann
2019-03-05 1:02 ` Bernt Hansen
2019-03-05 18:49 ` Daniel Ortmann [this message]
2019-03-09 6:17 ` Nathaniel Nicandro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8b59474-79d5-cfff-a829-2f7952bcd179@oracle.com \
--to=daniel.ortmann@oracle.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.