#990343 backintime 1.1.24 - unhandled exception

#990343#5
Date:
2021-06-26 11:16:17 UTC
From:
To:
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, sawbona
#990343#10
Date:
2021-07-14 20:29:50 UTC
From:
To:
I have received yet another 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 0x7f87bbb63488>
Traceback (most recent call last):
  File "/usr/share/backintime/common/tools.py", line 1458, in
__log_keyring_warning
TypeError: 'NoneType' object is not callable
---

As you will gather from the transcript, it is the same problem (line
1458) in file "/usr/share/backintime/common/tools.py".

FYI, here are the last 12 lines from the file file metioned above:


[code]

1456
1457 def __log_keyring_warning():
1458     from time import sleep
1459     sleep(0.1)
1460     logger.warning('import keyring failed')
1461
1462 if keyring is None and keyring_warn:
1463     #delay warning to give logger some time to import
1464     import _thread
1465     _thread.start_new_thread(__log_keyring_warning, ())
1466     # logger.warning('import keyring failed')
1467

[/code]

Thanks in advance,

sawbona

#990343#13
Date:
2023-01-20 11:38:41 UTC
From:
To:
This could be fixed with 1.3.3.

Could you please check this and report back.

#990343#18
Date:
2023-01-22 15:58:45 UTC
From:
To:
This unhandled exception only happens every so often, totally at
random/with no discernible pattern so testing and reporting will be
more a lottery than anything else.

It can happen in a fortnight or twice within a three day span.
Unfortunately, I have *not* been able to reproduce it.

That said, for various reasons, I am running Buster on a backported
kernel.

Installing backintime-common 1.3.3. and backintime-qt will wreak
havoc in my installation.

Thanks for your input.

Best,

sawbona

#990343#37
Date:
2024-01-30 16:18:16 UTC
From:
To:
The problem is fixed in version 1.4.2.
#990343#40
Date:
2024-02-17 11:56:34 UTC
From:
To:
Hello,

Bug #990343 in backintime reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/jmw/pkg-backintime/-/commit/fb829057fdc6d4bea3df2af7e195d125bc5bda47
------------------------------------------------------------------------
update changelog

Closes: #990343
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/990343

#990343#47
Date:
2024-02-25 13:49:51 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
backintime, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 990343@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio Fantoni <fantonifabio@tiscali.it> (supplier of updated backintime package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 25 Feb 2024 13:30:41 +0000
Source: backintime
Architecture: source
Version: 1.4.3-1
Distribution: unstable
Urgency: medium
Maintainer: Jonathan Wiltshire <jmw@debian.org>
Changed-By: Fabio Fantoni <fantonifabio@tiscali.it>
Closes: 990343
Changes:
 backintime (1.4.3-1) unstable; urgency=medium
 .
   * New upstream version 1.4.3 (Closes: #990343)
   * d/patches/dbus-in-usr-share.patch: remove (applied upstream)
   * Update d/copyright
Checksums-Sha1:
 992300290b6d6f9d979b9d3091017b0135d21aac 1451 backintime_1.4.3-1.dsc
 d7228823ea7cf579e21c67e8c91a906ad0e9b536 1924227 backintime_1.4.3.orig.tar.gz
 641535ecc0b9bda0497e122744247ee136fbd05f 7468 backintime_1.4.3-1.debian.tar.xz
 0e68496058f6b5d49afabfd26c363c956c24b171 6001 backintime_1.4.3-1_source.buildinfo
Checksums-Sha256:
 ca806756bf3def186b1c5e81c38a59d02de79c9479ecbce90208557564172e33 1451 backintime_1.4.3-1.dsc
 89a1d9f1b766025d0219b7978e77ee91a5e25ef99ade164c1d8b5a9a3d273e65 1924227 backintime_1.4.3.orig.tar.gz
 334178d52531517d4e35305482cb7d4dbd291b1fb233a190c69e7f9b5e2d6a0c 7468 backintime_1.4.3-1.debian.tar.xz
 ada1ae006416ae57d8b9584e4c8af0a09d5b0cd717b09a50e71157791f9615b4 6001 backintime_1.4.3-1_source.buildinfo
Files:
 0973e2651694b350b702ac44e479f712 1451 utils optional backintime_1.4.3-1.dsc
 8c68f62b919e29712405e641b04fed22 1924227 utils optional backintime_1.4.3.orig.tar.gz
 968b441328aa1db9c8333147ca1e6cbe 7468 utils optional backintime_1.4.3-1.debian.tar.xz
 31162226b5279a13862aea660731c316 6001 utils optional backintime_1.4.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iIUEARYKAC0WIQTdFzjfLGn8URFmteMDXuYJgEtROQUCZdtBiA8cam13QGRlYmlh
bi5vcmcACgkQA17mCYBLUTn8OgEAyncLZLQx/5hvmvx2lXKtPMMNseacmNfpka+x
Y5XiMN0A/RT19p2iWxMIT1fxwK2x1O9pKRJ5gGa3sLCtVj7YjfcC
=168z
-----END PGP SIGNATURE-----