-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: source
Are you sure you want to change the base?
Conversation
: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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is explained in the script: https://github.com/mechmotum/mechmotum.github.io/blob/source/dreamobject.py#L4
There was a problem hiding this comment.
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
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 |
@@ -0,0 +1,60 @@ | |||
# Create a ~/.boto file with: |
There was a problem hiding this comment.
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.
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. |
Solved some formatting problems in the internet guide and wrote a short description for my research