I am using Bitbucket-upload-file, it is broken. Error message
Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file@sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657c
Traceback (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'
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same with 0.1.2. Please fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Harri Rahikainen @Roland van Laar try, please, version 0.1.6, it should work now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works. Was a mechanism put in place to prevent this from happening in the future?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.