rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

Uploader error message "Cannot create source file with provided data" #217

Closed koonchaya closed 3 months ago

koonchaya commented 4 months ago

Original post: https://rfcx.slack.com/archives/C03FD1WD02J/p1712661570627809 From: Layla

I also found this error message from uploading some of the files but these files are available in the project. I can open the file in visualizer. We should find out why it is showing this error message.

Image

Additional detail

Frongs investigated and found that this error came from the Uploader app uploads 1 file 6 times in 2 seconds.

Example of uploaded file from this error https://arbimon.org/project/puerto-rico-island-wide/visualizer/rec/167078968 https://arbimon.org/project/puerto-rico-island-wide/visualizer/rec/167079877

Image

Image

Expected result

rassokhina-e commented 4 months ago
Untitled

Regarding this issue, we are investigating with Frongs, the user sent 1 time recording and got ingested status, but ingest service processed these file twice, in the second time Core sent the duplicate file error

rassokhina-e commented 4 months ago

the core side processes duplicate problem for this case, the ingest API gets only once the user request to upload, the ingest API tasks send twice the request, so issue on both side core - cannot process duplicate file and ingest service tasks - sends twice the request

Image Image Image

koonchaya commented 4 months ago

@rassokhina-e What will be the next step?

rassokhina-e commented 4 months ago

I found a problem, when the user uploads short files, the process is too quick and when the file is changed the status from waiting to uploading, the system put the same file 1-2 seconds before to the uploading queue again and process it again.

so we just need to change the status of the uploading file straightaway after putting this file in the queue

Image Image

koonchaya commented 4 months ago

@rassokhina-e Is the short file including 1-min file? Why is it happening now not before?

rassokhina-e commented 4 months ago

this is waiting for the prod release of Uploader, we are going to make in in the nearest week

koonchaya commented 4 months ago

@rassokhina-e I got this error with some of the files on mac version.

Image

Image

koonchaya commented 4 months ago

Fixed in version 1.5.9

rassokhina-e commented 3 months ago

I added the Validation Error description to the error text, so the user can understand the problem better if the error occurs

@koonchaya I'll share with you 1.5.10 directly to check this case

I tested 215 recordings today and found only 1 issue with this text above, the case was related to Validation error from Ingest service

koonchaya commented 3 months ago

I don't see the error message so far (tested in several sites and ~200 files per site)

grindarius commented 3 months ago

Released in v1.2.2 🚀