Activity log for bug #1983060

Date Who What changed Old value New value Message
2022-07-28 22:22:15 James Haefner bug added bug
2022-07-28 23:14:49 François Marier summary email-reminder preferences won't load Unset EMAIL environment variable breaks preferences window
2022-07-28 23:14:56 François Marier email-reminder: importance Undecided High
2022-07-28 23:14:58 François Marier email-reminder: assignee François Marier (fmarier)
2022-07-28 23:15:01 François Marier email-reminder: status New Confirmed
2022-07-28 23:15:07 François Marier email-reminder: milestone 0.8.2
2022-07-28 23:27:15 François Marier email-reminder: status Confirmed Fix Committed
2022-07-29 04:39:31 François Marier bug task added email-reminder (Debian)
2022-07-29 04:39:38 François Marier bug task added email-reminder (Ubuntu)
2022-07-29 04:39:49 François Marier email-reminder (Ubuntu): status New Confirmed
2022-07-29 04:40:40 François Marier email-reminder (Debian): importance Undecided High
2022-07-29 04:40:44 François Marier email-reminder (Debian): assignee François Marier (fmarier)
2022-07-29 13:17:04 Launchpad Janitor email-reminder (Ubuntu): status Confirmed Fix Released
2022-07-29 15:24:05 François Marier email-reminder (Ubuntu): assignee François Marier (fmarier)
2022-07-29 15:24:21 François Marier email-reminder (Debian): status New Fix Released
2022-07-29 22:08:15 François Marier description Upgraded to Ubuntu MATE 22.04 and email-reminder 0.8.1.3. Out of the box and invoked in the Accessories menu item, email-reminder loads but gives the error on exit: "You will not receive an email because your email address is not set." (or similar words). Attempts to load preferences window fail (no window appears.) Ran "email-reminder-editor" from a terminal, attempted to invoke the preferences window, and received an error message from Python3 to the terminal that suggested that the environment variable "EMAIL" was not set. I exported EMAIL=myemailaddress, reran email-reminder, and the preferences window appeared with my email shown, and email alerts now working as expected. So, it appears that "EMAIL" must be set at least once in order for email-reminder to add the user name and email address to $HOME/.email-reminders. Cheers, and thanks for a useful program. [Impact] email-reminder is unusable for new users who have the EMAIL environment variable unset because the user's email address must be set in preferences before any reminders will be sent out. This is a severe regression from upstream's 0.7.8 and is fixed in 0.8.1-4. The fix is trivial (checking for whether or not the envvar is set before using it): https://salsa.debian.org/debian/email-reminder/-/commit/421ecf6df3e1ddde5cb3aa2c804f687765ea250e Since there are no other changes in version 0.8.1-4, the simplest fix would be to **sync from Debian unstable**. I have attached a debdiff showing the differences between them. [Test plan] 1. Delete any existing ~/.email-reminders. 2. Run `unset EMAIL`. 3. Run `email-reminder-editor`. 4. In the menu, open "Edit | Preferences...". 5. (notice that nothing happens and the preferences window never shows up) [Where problems could occur] The only regression that this could cause is to prevent the preferences dialog from opening for more users than just the ones that have EMAIL unset. [Original report] Upgraded to Ubuntu MATE 22.04 and email-reminder 0.8.1.3. Out of the box and invoked in the Accessories menu item, email-reminder loads but gives the error on exit: "You will not receive an email because your email address is not set." (or similar words). Attempts to load preferences window fail (no window appears.) Ran "email-reminder-editor" from a terminal, attempted to invoke the preferences window, and received an error message from Python3 to the terminal that suggested that the environment variable "EMAIL" was not set. I exported EMAIL=myemailaddress, reran email-reminder, and the preferences window appeared with my email shown, and email alerts now working as expected. So, it appears that "EMAIL" must be set at least once in order for email-reminder to add the user name and email address to $HOME/.email-reminders. Cheers, and thanks for a useful program.
2022-07-29 22:09:41 François Marier attachment added 0.8.1-3_to_0.8.1-4.diff https://bugs.launchpad.net/debian/+source/email-reminder/+bug/1983060/+attachment/5605928/+files/0.8.1-3_to_0.8.1-4.diff
2022-07-29 22:12:12 François Marier bug added subscriber Ubuntu Sponsors Team
2022-12-05 08:28:12 François Marier email-reminder: status Fix Committed Fix Released
2023-11-27 04:58:29 François Marier removed subscriber Ubuntu Sponsors