Subject: backintime 1.1.24 - unhandled exception

From: [email-masked]
Date: Thu, 24 Jun 2021 21:31:10 -0300

Package: backintime
Version: 1.1.24-0.1
Severity: normal

I have recently received a notification in my system mail related to
an unhandled exception in a backintime Python script.

Here is the transcript:

-----

Unhandled exception in thread started by <function 
__log_keyring_warning at 0x7fdf90288488>
Traceback (most recent call last):
File "/usr/share/backintime/common/tools.py", line 1458, in 
__log_keyring_warning
TypeError: 'NoneType' object is not callable

-----

This is the first time I have seen (or noticed) such a message.
It has not happened again since.

The notification was sent by the cron daemon on date Mon, 21 Jun 2021
11:00:02 -0300.

The last backintime log entry was for a snapshot taken at Mon Jun 21
07:15:01 2021 local time and does not show any errors.

The crontab script is a system entry generated by the GUI and the 
python script is part of the application's installation.

[code]
#Back In Time system entry, this will be edited by the gui:
60 */15 * * * * /usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 
/usr/bin/backintime backup-job >/dev/null
[/code]

Python installed version is 2.7.16 (default, Oct 10 2019, 22:02:15).

I have reported this issue to 
https://github.com/bit-team/backintime/issues:

[url]https://github.com/bit-team/backintime/issues/1169[/url]

Later on I found that it had *also* been reported back in 10/2017:

[url]https://github.com/bit-team/backintime/issues/820[/url]

The OP's report is virtually identical to the one I filed and 
included messages from --debug:

[code]
Unhandled exception in thread started by <function 
__log_keyring_warning at 0x7fd698dbf400>
Traceback (most recent call last):
File "/usr/share/backintime/common/tools.py", line 1463, in 
__log_keyring_warning
File "", line 2237, in _find_and_load
File "", line 2222, in _find_and_load_unlocked
File "", line 2150, in _find_spec
TypeError: 'NoneType' object is not callable
[/code]

The OP's report did not have any subsequent follow-up from the 
maintainers of the backintime package.

Thanks in advance,

Carlos Izzo Videla

---

From: Mark Hindley <[email-masked]>
Date: Sat, 3 Jul 2021 14:37:48 +0100

Control: tags -1 upstream

Carlos,

> an unhandled exception in a backintime Python script.

Thanks for this.

As you have discovered this is an upstream issue that needs to be fixed by the
upstream devs. I hope you get a response to your issue.

Thanks.

Mark