Page MenuHomePhabricator

Unable to convert/upload MP4 video through video2commons: "No such file or directory"
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
https://video2commons.toolforge.org/

  • Upload an MP4 file via Add task

What happens?:

  • When the progress shows 4%, an error appears below but progress bar continues as if it is ok and fails in the next step.

Error: An exception occurred: FileNotFoundError: b"[Errno 2] No such file or directory: '/data/project/video2commons/video2commons/frontend/static/uploads/ca38bbde-1946-11ed-9b40-82d0630f66a4'"

What should have happened instead?:
Should allow copying of the converted file.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Mozilla Firefox on Windows 10

Event Timeline

Aklapper renamed this task from Unable to convert/upload videos through video2commons to Unable to convert/upload MP4 video through video2commons: "No such file or directory".Aug 13 2022, 7:13 AM

Note that the same happens for .mov files as well. Also happens around 4%. Windows Firefox on Windows 11.

It shows that directory is missing, because it is actually a symlink.
lrwxrwxrwx 1 tools.video2commons tools.video2commons 36 Dec 26 2016 /data/project/video2commons/video2commons/frontend/static/uploads -> /data/scratch/video2commons/uploads/

In /data/scratch there is no video2commons directory. But there is a message:

This volume was recently migrated to a new, empty server.

If you had files here that you need, they can probably be recovered.  Open
a phabricator task and assign it to Andrew Bogott.

Also, in the future, don't put files that you need here! There is
no guarantee of persistence or reliability for the scratch volume.

It probably needs to be changed. I'm subscribing @Andrew as he can probably tell more.

I'm getting the same error message (Error: An exception occurred: FileNotFoundError: b"[Errno 2] No such file or directory: '/data/project/video2commons/video2commons/frontend/static/uploads/55f5972c-715e-11ed-a81e-66fb5a932327'") at the start of the upload. The progress bar keeps going to 100% but I'm not able to move on after that.

Chicocvenancio claimed this task.
Chicocvenancio subscribed.

Should be fixed now.