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
Describe the bug
Giving AssertionError when trying to take video using the API.
I have tried to downgrade the API to previous versions but that has also not worked.
To Reproduce
Steps to reproduce the behavior:
Install API by cloning the public repo
Run gopro-video --wired 1
Expected behavior
Record a video from the GoPro using USB
Screenshots
INFO 12:39:20.253 Querying mDNS to find _gopro-web._tcp.local.... mdns_scanner.py:67
INFO 12:39:20.262 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera Control Wired Usb",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/control/wired_usb",
"p" : "Toggle.ENABLE",
<<<<<<<<--------------
WARNING 12:39:20.268 Received non-success status 404: Not Found gopro_base.py:403
INFO 12:39:20.269 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/control/wired_usb?p=1",
"status" : "ErrorCode.ERROR",
"protocol" : "Protocol.HTTP",
-------------->>>>>>>>
INFO 12:39:20.277 Using Open GoPro API version 2.0 gopro_wired.py:110
INFO 12:39:20.278 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:20.291 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:20.293 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
WARNING 12:39:20.322 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:20.325 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
INFO 12:39:20.338 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera Presets Set Group",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/presets/set_group",
"_id" : "1000",
<<<<<<<<--------------
WARNING 12:39:21.022 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:21.024 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
Capturing a video...
INFO 12:39:21.061 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:21.073 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:21.076 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
WARNING 12:39:21.095 Received non-success status 404: Not Found gopro_base.py:403
INFO 12:39:21.096 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/shutter/start",
"status" : "ErrorCode.ERROR",
"protocol" : "Protocol.HTTP",
-------------->>>>>>>>
Component
What is the bug in?
Describe the bug
Giving AssertionError when trying to take video using the API.
I have tried to downgrade the API to previous versions but that has also not worked.
To Reproduce
Steps to reproduce the behavior:
gopro-video --wired 1
Expected behavior
Record a video from the GoPro using USB
Screenshots
INFO 12:39:20.253 Querying mDNS to find _gopro-web._tcp.local.... mdns_scanner.py:67
INFO 12:39:20.262 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera Control Wired Usb",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/control/wired_usb",
"p" : "Toggle.ENABLE",
<<<<<<<<--------------
WARNING 12:39:20.268 Received non-success status 404: Not Found gopro_base.py:403
INFO 12:39:20.269 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/control/wired_usb?p=1",
"status" : "ErrorCode.ERROR",
"protocol" : "Protocol.HTTP",
-------------->>>>>>>>
INFO 12:39:20.271 gopro_base.py:396
<<<<<<<<--------------
"id" : "Version",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/version",
<<<<<<<<--------------
INFO 12:39:20.275 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/version",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : "2.0",
-------------->>>>>>>>
INFO 12:39:20.277 Using Open GoPro API version 2.0 gopro_wired.py:110
INFO 12:39:20.278 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:20.291 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:20.293 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
INFO 12:39:20.310 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:20.322 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:20.325 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
INFO 12:39:20.338 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera Presets Set Group",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/presets/set_group",
"_id" : "1000",
<<<<<<<<--------------
INFO 12:39:21.009 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/presets/set_group?id=1000",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
-------------->>>>>>>>
INFO 12:39:21.011 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:21.022 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:21.024 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
INFO 12:39:21.037 gopro_base.py:396
<<<<<<<<--------------
"id" : "Media List",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/media/list",
<<<<<<<<--------------
INFO 12:39:21.059 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/media/list",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
"identifier" : "64438127300848920",
"media" : [
Capturing a video...
INFO 12:39:21.061 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera State",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/state",
<<<<<<<<--------------
WARNING 12:39:21.073 SettingId.MEDIA_FORMAT does not contain a value 12 parsers.py:110
INFO 12:39:21.076 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/state",
"status" : "ErrorCode.SUCCESS",
"protocol" : "Protocol.HTTP",
"data" : {
# i took out all the data for conciseness
},
-------------->>>>>>>>
INFO 12:39:21.089 gopro_base.py:396
<<<<<<<<--------------
"id" : "Camera Shutter",
"protocol" : "Protocol.HTTP",
"endpoint" : "gopro/camera/shutter",
"mode" : "start",
<<<<<<<<--------------
WARNING 12:39:21.095 Received non-success status 404: Not Found gopro_base.py:403
INFO 12:39:21.096 gopro_base.py:418
-------------->>>>>>>>
"id" : "http://172.21.198.51:8080/gopro/camera/shutter/start",
"status" : "ErrorCode.ERROR",
"protocol" : "Protocol.HTTP",
-------------->>>>>>>>
ERROR 12:39:21.097 AssertionError() video.py:50
Exiting...
Hardware
Additional context
Using version 0.16.1
Firmware version v01.72
Hero 9 Black
The text was updated successfully, but these errors were encountered: