Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3UploadThread fix bug with regex search on bytes #26

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

OscarLuu
Copy link
Member

@OscarLuu OscarLuu commented Jul 9, 2024

Fixes a bug where S3UploadThread tries to do regex on a bytes object.

[E 240708 22:31:58 S3UploadThread:46] Error uploading barfoo: cannot use a string pattern on a bytes-like object
[E 240708 22:31:59 S3UploadThread:46] Error uploading foobar: cannot use a string pattern on a bytes-like object
Exception: [((<class 'TypeError'>, TypeError('cannot use a string pattern on a bytes-like object'), <traceback object at 0x7f9ec8846d80>), <S3UploadThread(Thread-9, started daemon 140319659054848)>), ((<class 'TypeError'>, TypeError('cannot use a string pattern on a bytes-like object'), <traceback object at 0x7f9eb41d60c0>), <S3UploadThread(Thread-9, started daemon 140319659054848)>)]

@jehiah jehiah merged commit 38571c3 into bitly:master Jul 9, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants