[Desktop-packages] [Bug 1930640] Re: Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-07 Thread Jon Yoon
Confirmed everything appears to be working. We can consider this closed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to duplicity in Ubuntu. https://bugs.launchpad.net/bugs/1930640 Title: Error when using S3 multipart upload - TypeErr

[Desktop-packages] [Bug 1930640] Re: Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-07 Thread Jon Yoon
After a little more digging, I believe part of my issue with the boto3+s3 option was that I was still using the full URL rather than just the bucket name, so rather than: boto3+s3://BUCKET_NAME/folder I was still using: boto3+s3://s3-us-west-2.amazonaws.com/BUCKET_NAME/folder So this appears to

[Desktop-packages] [Bug 1930640] Re: Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-07 Thread Jon Yoon
No funny characters in the bucket name. It's literally just alpha characters and dashes: labkey-artifactory- backup And the folder it drops into uses an underscore: artifactory_backup I'll recheck that link. There were a few that I already saw, but were not applicable to my situation. -- You

[Desktop-packages] [Bug 1930640] Re: Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-04 Thread Jon Yoon
I've tried using boto3+s3:// as well before and it was unsuccessful. Swapping it out with this newer version of duplicity produced an error regarding the HeadBucket operation. See new failure below. I turned up the verbosity to 9 for this one. Note: My company is using Duplicity 0.8.11 and Duply

[Desktop-packages] [Bug 1930640] Re: Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-03 Thread Jon Yoon
Unfortunately, the same issue is coming up, even after installing the requirements via pip. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/duplicity/backends/_boto_multi.py", line 223, in _upload mp.upload_part_from_file(fd, offset + 1, cb=_upload_callback, File "

[Desktop-packages] [Bug 1908971] Re: TypeError: cannot use a string pattern on a bytes-like object

2021-06-02 Thread Jon Yoon
I ran into the same issue, but upgrading to 0.8.19 didn't fix it. I've put in a new bug for this: https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1930640 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to duplicity in Ubuntu. https

[Desktop-packages] [Bug 1930640] [NEW] Error when using S3 multipart upload - TypeError: cannot use a string pattern on a bytes-like object

2021-06-02 Thread Jon Yoon
Public bug reported: I followed the solution in https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1908971 (I was running duplicity 0.8.11.1612-1 as well), but after upgrading to 0.8.19, the problem still persists for me when trying to use S3 multipart uploads. Note: This problem doesn't ap