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

Add Benjamin research page #164

Open
wants to merge 5 commits into
base: source
Choose a base branch
from
Open

Conversation

Eimolgon
Copy link
Contributor

Solved some formatting problems in the internet guide and wrote a short description for my research

:research_theme: Cycling Safety
:template: project
:summary-sentence: We aim to discover how critical riding situations end in single bicycle crashes, through the understanding of biomechanics involved in the phenomena.
:summary-image: https://objects-us-east-1.dream.io/mechmotum/Fall2.jpg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you send me this file? Or did you figure out how to upload it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or paste it in a comment here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I uploaded it, took me some time but I managed to do it with cyberduck

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what I see when I build it locally:

image

No figure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be 400x400 pixels also.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using Python 3.11 on my computer and it seems to work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to update the script to boto3 and I think I'm almost there, now the error is

botocore.exceptions.NoCredentialsError: Unable to locate credentials

In the original script, where are loaded the credentials?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to create a .boto file that only exists on your computer. The credentials are stored there. These are private (like a password) so they can't be added to the github repo, each user must make the file with the credentials.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will create a pull request linked to the issue to continue there, I found the error but first we need an update from your side

@Eimolgon
Copy link
Contributor Author

Eimolgon commented Jan 27, 2025

resolve #165

dreamobject2.py is updated to boto3, however, credentials format changed in boto3: https://stackoverflow.com/questions/43907689/boto3-error-the-aws-access-key-id-you-provided-does-not-exist-in-our-records

We need an update for the credentials.

Additionally, I had to switch from the ~/.boto file to ~/.aws/credentials

This is the last error code I obtained
botocore.exceptions.ClientError: An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.

@@ -0,0 +1,60 @@
# Create a ~/.boto file with:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just edit the dreamobject.py, we don't need two versions.

@moorepants
Copy link
Contributor

We need an update for the credentials.

Additionally, I had to switch from the ~/.boto file to ~/.aws/credentials

Ok, just change the instructions in the file. We have to do it here and on the google drive where we have the same instructions. But let's make sure it works here before updating on the drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants