You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i'm getting up to speed with using b2 buckets and the boto library. After cloning the repo and opening the sample project in my ide, i first read thru the article at Backblaze B2 Quick Start: Using Python With the Backblaze S3 Compatible API and gathered a fairly good understanding of the code. I then tried just running it and encountered a wall of text in errors from python. So i then watched the youtube explainer video. Part 1 at least presents a greatly simplified overview, basically matching what i had gathered in reading the article. However in the video the code executes without issue, successfully making the request and receiving bucket data.
With the understanding that this should work, i created a new python file, called it sample minimal and pulled out just the basic minimal parts that should run and replicate the success that the video had. Another wall of text from python in errors and ending with "ValueError: Invalid endpoint: https://s3.us-west-002.backblazeb2.com".
I then searched the repository for issues, finding only one that didn't match my trouble, then checked branches, and found the v1.0 branch. Surprise, v1.0 works like a charm. After spending now a couple hours familiarizing myself with the project, i was quickly able to read and make sense of the simplified v1.0 version and was successful in running the code, without a mess of python errors or any other issues.
I just wanted to bring this to your attention, basically the v2.0 branch which is what downloads by default when cloning the repo is either broken or requires additional information, while the v1.0 just works. As an intro to working with B2, the successful result would be far more advantageous for new users who may not be as stubborn as i was today.
The text was updated successfully, but these errors were encountered:
Hi,
So i'm getting up to speed with using b2 buckets and the boto library. After cloning the repo and opening the sample project in my ide, i first read thru the article at Backblaze B2 Quick Start: Using Python With the Backblaze S3 Compatible API and gathered a fairly good understanding of the code. I then tried just running it and encountered a wall of text in errors from python. So i then watched the youtube explainer video. Part 1 at least presents a greatly simplified overview, basically matching what i had gathered in reading the article. However in the video the code executes without issue, successfully making the request and receiving bucket data.
With the understanding that this should work, i created a new python file, called it sample minimal and pulled out just the basic minimal parts that should run and replicate the success that the video had. Another wall of text from python in errors and ending with "ValueError: Invalid endpoint: https://s3.us-west-002.backblazeb2.com".
I then searched the repository for issues, finding only one that didn't match my trouble, then checked branches, and found the v1.0 branch. Surprise, v1.0 works like a charm. After spending now a couple hours familiarizing myself with the project, i was quickly able to read and make sense of the simplified v1.0 version and was successful in running the code, without a mess of python errors or any other issues.
I just wanted to bring this to your attention, basically the v2.0 branch which is what downloads by default when cloning the repo is either broken or requires additional information, while the v1.0 just works. As an intro to working with B2, the successful result would be far more advantageous for new users who may not be as stubborn as i was today.
The text was updated successfully, but these errors were encountered: