Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket-upload-file is broken

Ibrahim June 3, 2020

I am using Bitbucket-upload-file, it is broken. Error message

Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file@sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657cTraceback (most recent call last): File "/pipe.py", line 77, in <module> pipe = UploadFilePipe(schema=schema, pipe_metadata=metadata, check_for_newer_version=True) File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 267, in __init__ self.check_for_newer_version() File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 289, in check_for_newer_version if tuple(map(int, latest_version.split('.'))) > tuple(map(int, current_version.split('.'))):ValueError: invalid literal for int() with base 10: '5@sha256'

8 answers

1 accepted

0 votes
Answer accepted
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2020

Hello @Ibrahim , thanks for reporting

As the workaround for the few days, while we review changes, is to use version 0.1.1.

I will notify about the release

 

Regards, Galyna

6 votes
chong_yang June 3, 2020

Because version 0.1.5 has SHA info followed by version number. So need to disable the version checking or wait the official engineer to fix it.

3 votes
Harri Rahikainen June 4, 2020

Same with 0.1.2. Please fix.

2 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2020

@Harri Rahikainen @Roland van Laar try, please, version 0.1.6, it should work now

Roland van Laar June 9, 2020

It works. Was a mechanism put in place to prevent this from happening in the future?

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2020

@Roland van Laar we made a revert, so any version should work now.

To prevent such breaking changes from happening again:

Unfortunately, there was a bad approach of checking the newest version and we are working on fixing that approach. Once done, we will recommend to update to the version with the proper one.

Regards, Galyna

Like Ayoub Ennassiri likes this
2 votes
Roland van Laar June 4, 2020

It happens with 0.1.4 as well.

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2020

@Ibrahim @Roland van Laar @wjia @drichards-lightwell @Harri Rahikainen if you are still experiencing this in your pipe , you may try again, it should work now.

Best ragards, Galyna

drichards-lightwell June 9, 2020

Thanks @Halyna Berezovska I can confirm that v0.1.4 is working, thank you for fixing that!!

Like Halyna Berezovska likes this
0 votes
wjia June 4, 2020

same with 0.1.3 as well

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events