-
Notifications
You must be signed in to change notification settings - Fork 12
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
BUG: NMM video is being displayed instead of Glos video #1383
Comments
I see it. Do you know if the Annotation was changed? Did it used to be ABSTRACT without an A or B ? There is a video for a different ABSTRACT that does not exist anymore. It must be fetching the wrong file for some reason. |
I know that this was the case for ABSTRACT but I also see it now here, where we didn't change the annotation: |
At ABSTRACT-B, user states Lemma was changed and that happened. |
I had to modify the object retrieval. The subclass was not working. Is it true that there is no normal video for the gloss? The nme video file was moved to be the name of a normal video. I can remove the video or else restore it to the correct filename? |
Yes,you can do anything you want with videos. I have reupload videos to the affected glosses with signCollect. Everything is ok for now. What can I do to detect this anomalies in the future? |
Okay, something probably happened there. When the lemma is updated, it has a signal that moves around the video files. |
I made a page to display all the gloss video object paths. https://signbank.cls.ru.nl/datasets/checks/5 It shows what is stored internally in the objects. We are in the process of fixing the filenames for backups (you see them with bak bak patterns) so these will be changed and the files renamed. |
If you see a path that is totally wrong, in order to delete the wrong file/path/object you need to do this in Gloss Detail and delete the video. (For really old videos the files could have disappeared already, with switching servers in the past. It could be on backup elsewhere if you find something that is missing that you don't have.) The new video upload (that's for the gloss) uses the same code that is making the "bak" files. So some things may end up working differently. We typically test on tstMH not on NGT. |
@rem0g can you upload the normal video again? There was something messed up and the "backup" video turned out to be the NME video. I think there were multiple links to the same file. The perspective videos are still there, you can see them in gloss edit in the lower area of the left column if you are in Gloss Edit. |
I have reuploaded the video again! |
Okay, thanks! This should be fixed now. I moved all the backup files to the correct paths (for all the datasets). UPDATE I just checked and there is still a bak bak file for ABSTRACT-A The new (non-zip) upload uses the same code as the code that makes the backup file. So hopefully that is all working correctly now. |
@rem0g I fixed the video filenames with weird 7-characters. There were three. (FIXED)
(FIXED THE ONES ABOVE) It happens if the video file exists but without a corresponding GlossVideo object and you upload the video again. That has been patched so that if a video is uploaded but the file name already exists, but no GlossVideo object is there, it will erase the existing file before uploading the new one. I added another patch that lazily creates the GlossVideo object if it finds a video file with the correct name but no object. This can happen (that a video file is stored, but no GlossVideo object has been created) when a transaction does not complete because the database gets locked. The repairs should fix themselves. If you notice that there is one of these paths with weird characters -- see Dataset Manager -> NGT -> Manage Video Storage -- you can fix it by going to GlossDetail. Download the video just to be safe. |
This should be working okay now. |
For example:
https://signbank.cls.ru.nl/dictionary/gloss/47011
I have only uploaded NMM video, but not deleted it. For now I am seeing only NMM video, while glos video has not been removed. There is also still from the Glos video.
The text was updated successfully, but these errors were encountered: