Activity log for bug #1856447

Date Who What changed Old value New value Message
2019-12-15 10:20:58 Enno L bug added bug
2019-12-15 10:21:22 Enno L description The onedrive backend uses the 'unicode' constructor form Python2.7. This leads to: "NameError: name 'unicode' is not defined" Duplicity version: 0.8.08 Python: Python 3.6.9 (default, Dec 8 2019, 01:17:00) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 OS Distro and version: FreeBSD BSDServer 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64 Type of target system: Onedrive Error log: Rückverfolgung des vorangegangenen Fehlers: Traceback (innermost last): File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 371, in inner_retry return fn(self, *args) File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 531, in put self.__do_put(source_path, remote_filename) File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 517, in __do_put self.backend._put(source_path, remote_filename) File "/usr/local/lib/python3.6/site-packages/duplicity/backends/onedrivebackend.py", line 262, in _put u'Content-Length': unicode(len(chunk)), NameError: name 'unicode' is not defined The onedrive backend uses the 'unicode' constructor from Python2.7. This leads to:  "NameError: name 'unicode' is not defined" Duplicity version: 0.8.08 Python: Python 3.6.9 (default, Dec 8 2019, 01:17:00) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 OS Distro and version: FreeBSD BSDServer 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64 Type of target system: Onedrive Error log: Rückverfolgung des vorangegangenen Fehlers: Traceback (innermost last):   File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 371, in inner_retry     return fn(self, *args)   File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 531, in put     self.__do_put(source_path, remote_filename)   File "/usr/local/lib/python3.6/site-packages/duplicity/backend.py", line 517, in __do_put     self.backend._put(source_path, remote_filename)   File "/usr/local/lib/python3.6/site-packages/duplicity/backends/onedrivebackend.py", line 262, in _put     u'Content-Length': unicode(len(chunk)),  NameError: name 'unicode' is not defined
2019-12-15 16:49:47 Kenneth Loafman duplicity: status New In Progress
2019-12-15 16:49:51 Kenneth Loafman duplicity: importance Undecided Medium
2019-12-15 16:49:57 Kenneth Loafman duplicity: assignee Kenneth Loafman (kenneth-loafman)
2019-12-15 16:50:01 Kenneth Loafman duplicity: milestone 0.8.09
2019-12-15 17:10:51 Kenneth Loafman duplicity: status In Progress Fix Committed
2019-12-15 17:10:57 Kenneth Loafman duplicity: assignee Kenneth Loafman (kenneth-loafman)
2020-01-07 20:11:06 Kenneth Loafman duplicity: status Fix Committed Fix Released