marcinkoziej / org-pomodoro

pomodoro technique for org-mode
https://github.com/lolownia/org-pomodoro
GNU General Public License v3.0
590 stars 79 forks source link

Invalid function: log4e:deflogger #57

Open BrianZbr opened 8 years ago

BrianZbr commented 8 years ago

I recently started getting the following error message whenever I kill a pomodoro:

alert-log-notify: Invalid function: log4e:deflogger

According to package-list-packages, log4e version 20150105.505 is installed.

Not sure if this helps but I tried putting a trace on alert-log-notify I got this:

1 -> alert-log-notify: info=(:message "One does not simply kill a pomodoro!" :title "Pomodoro killed." :icon nil :severity normal :category org-pomodoro :buffer #<buffer reviews.org> :mode org-mode :data nil)

niyumard commented 3 years ago

Clock stopped at [2021-03-01 Mon 20:34] after 0:18 Auto-saving... Error running timer ‘org-pomodoro-tick’: (invalid-function log4e:deflogger) [2 times]

The same happens for me. I'm using Doom Emacs.

felipelalli commented 3 years ago

What command are using to kill a pomodoro?

niyumard commented 3 years ago

What command are using to kill a pomodoro?

Nothing, just when after the break finishes and pomodoro ends automatically it gives this error. But I can also reproduce this error by running "org-pomodoro" twice, with the first time it starts fine, then on the second time it asks me if I really want to kill the pomodoro, and when I say yes, it doesn't kill the pomodoro, clock out or delete the clock line (basically does nothing) and gives this erorr.

telotortium commented 3 years ago

log4e:deflogger is a macro, but that shouldn't be an issue - defmacro installs a function definition for the macros it defines, and (fboundp 'log4e:deflogger) is called.