-
Notifications
You must be signed in to change notification settings - Fork 1
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
Video / Image task fails #340
Comments
There is no media file in CAWS when I download the data. This can be caused by several things:
|
The video task now works with the UI w/o the exception above. However, the media is still not uploaded to CAWS. Here is the log:
But neither the json or the files are in the download from CAWS. |
Now the JSON and files are uploaded to CAWS. But when downloading, the filenames of the downloaded files does not match the names of the files uploaded. Here are two audio recordings: "measurements": [
{
"data": {
"id": "f2307b9b-e401-4014-b2c7-68e05e2ca17c",
"__type": "dk.cachet.carp.audio",
"upload": true,
"filename": "f2307b9b-e401-4014-b2c7-68e05e2ca17c.mp4",
"metadata": {},
"mediaType": "audio",
"endRecordingTime": "2024-10-29T19:30:46.677579Z",
"startRecordingTime": "2024-10-29T19:30:34.778037Z"
},
"sensorEndTime": 1730230246677579,
"sensorStartTime": 1730230234778037
},
{
"data": {
"id": "f2307b9b-e401-4014-b2c7-68e05e2ca17c",
"__type": "dk.cachet.carp.audio",
"upload": true,
"filename": "f2307b9b-e401-4014-b2c7-68e05e2ca17c.mp4",
"metadata": {},
"mediaType": "audio",
"endRecordingTime": "2024-10-29T19:30:46.677579Z",
"startRecordingTime": "2024-10-29T19:30:34.778037Z"
},
"sensorEndTime": 1730230246677579,
"sensorStartTime": 1730230234778037
}
] But the files downloaded with it looks like this |
The file upload task seems to work fine with audio files but not image files - here is the log, where only one file upload tasks ends....?
Subsequently getting
|
Sometimes it return an HTTP error
which is defined as;
|
* fix of cph-cachet/carp_studies_app#340 * fix of cph-cachet/carp_studies_app#341 * handling error messages from NGINX * improved unit testing in carp_backend
When using the image task it fails with an assertion error when clicking on the "green" save button.
The picture is taken but not uploaded to the database / saved in any way.
Testing on the Samsung S10e Android 12 / SDK 33 phone.
The log is:
and
The text was updated successfully, but these errors were encountered: