Warning message for every volume using --asynchronous-upload
Bug #946993 reported by
Daniel Andersson
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Debbugs |
Fix Released
|
Unknown
|
|||
Duplicity |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the --asynchronous-
Exception AttributeError: AttributeError(
attribute '_Thread__block'",) in <module 'threading' from
'/usr/lib/
is thrown to STDERR every time a volume is created.
(I also used the -v5 switch)
Also reported as Debian bug #659004, but it has gotten no attention for a month.
Duplicity 0.6.17
Python 2.7.2+
Debian Sid
Linux
Changed in debbugs: | |
status: | Unknown → Confirmed |
Changed in debbugs: | |
status: | Confirmed → Fix Released |
Changed in duplicity: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
There looks like there's a fix for this upstream, it just hasn't made it to the distribution yet.
http:// bugs.python. org/issue14308
"""
msg155818 - (view) Author: Dustin Kirkland (Dustin.Kirkland) Date: 2012-03-14 23:48
My Apache2 logs are filled with the following error kicked out by my python wsgi script:
[Wed Mar 14 18:16:38 2012] [error] Exception AttributeError: AttributeError( "'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/ python2. 7/threading. pyc'> ignored
I was able to silence these with a simple conditional in /usr/lib/ python2. 7/threading. pyc:
- del self._Thread__block
+ if hasattr(self, '_Thread__block'):
+ del self._Thread__block
Full patch attached."""
I'm experiencing this as well, though it is not fatal in this case. I can readily observe the difftar being uploaded.