emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Duy Nguyen <ddnguyen2101@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: Potential bug: Invalid function: org-encode-time
Date: Sun, 14 Aug 2022 22:23:50 +0200	[thread overview]
Message-ID: <CAM=3T04Kqt87ro1aLTR_8xQD2tk+O3mfJDDfR8-6MCaCELdYMw@mail.gmail.com> (raw)

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

Hi everyone,

I am having issues trying to use the latest version of Org with straight
(the built-in version works fine. Currently testing with a minimal config,
i.e. I only have the necessary code to enable straight and use-package in
my init.el, and I have added the following as well:

(use-package org
  :straight t)

Initially, when I generate an ~org-clock-report~ table it works just fine.
However, at some random point it stops working and just gives me the
following error: "Invalid function: org-encode-time". Not sure if I
explained it well, so here is a short video <https://youtu.be/wSrqDHNlMNA>
to show what is happening (I am continuously pressing C-c to refresh the
org clock table).

If I manually delete the contents of the =eln-cache= folder and restart
emacs, I can use ~org-clock-report~ again, but at some point it will just
give me the same error just like in the video.

Anyone could help me find out what the issue is?

Thanks,
Duy

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

             reply	other threads:[~2022-08-15 21:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 20:23 Duy Nguyen [this message]
2022-08-16  9:20 ` Potential bug: Invalid function: org-encode-time Ihor Radchenko
2022-08-16 10:08   ` Duy Nguyen
2022-08-16 11:47   ` Max Nikulin
2022-08-16 11:55     ` Ihor Radchenko
2022-08-16 12:44       ` Max Nikulin
2022-08-16 12:51         ` Ihor Radchenko

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=3T04Kqt87ro1aLTR_8xQD2tk+O3mfJDDfR8-6MCaCELdYMw@mail.gmail.com' \
    --to=ddnguyen2101@gmail.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 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).