-
Notifications
You must be signed in to change notification settings - Fork 151
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
Problems with python sdk using http on GoPro12. #412
Comments
I appear to be having similar issues. I can make requests using the python library "requests" to the HTTP endpoints without error, and the endpoints even work in the browser. Running: OUTPUT: (base) XXXXX % gopro-photo --wired --identifier XXXX WARNING 23:19:05.774 ConnectionError(ProtocolError('Connection aborted.', BadStatusLine('gpHttpServer: [07353924][INFO gopro_base.py:359 |
I am having the same errors. I was about to open an issue but couldn't recreate today, for some reason.
|
I'm able to work around this issue by setting the HTTP version to 0.9 in a curl request, ie:
|
Hi I have not been able to reproduce this. There have been some large updates recently so can you try again on version 0.15.1? |
I haven't seen that error in a while, but the 12s do seem much more temperamental than the 11s. I'm using a lot of them in a commercial setting. Also, if you have the labs firmware loaded, it seems that you have to introduce some delay in between HTTP commands. Otherwise you get 500 errors. |
This appears to be a duplicate of #437 which will have a fix in the next release. |
Component
What is the bug in?
Describe the bug
test.py
import subprocess
subprocess.run(["gopro-photo", "--wired", "--identifier", "3282", "--output", ". /images/"])
when running HERO12, you can see the error as shown in the screenshot.
Previously I used HERO11 and with the SDK as of HERO11 this command could be executed without error.
In the SDK as of 0.14.1, I also saw the same error as #409 when I executed the same command in HERO11.
Expected behavior
Originally, when this command is executed, the photos taken are saved in the images folder, but an error occurs.
Screenshots
Hardware
The text was updated successfully, but these errors were encountered: