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
I have a default installation of Weblate using Docker. I have been using it for several personal projects with no problem, but after some months without using it, I am suddenly having an issue that I have no idea how to fix, and there seems to be no information about it around the web. It could be some kind of configuration change on my server, but since the error message is so cryptic, I'm reporting it as a bug.
I have a project setup with English as the source language. I am trying to upload a new version of the English source file through the "Upload translation" form. I choose the CSV file, select "Replace the existing translation file" (it's the only option) and leave the rest with the default values. I submit the form and all I get is an error: "File upload failed: I/O operation on closed file."
System check identified some issues:
WARNINGS:
?: (security.W018) You should not have DEBUG set to True in deployment.
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.14.1/admin/install.html#collecting-errors
System check identified 2 issues (1 silenced).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
I have a default installation of Weblate using Docker. I have been using it for several personal projects with no problem, but after some months without using it, I am suddenly having an issue that I have no idea how to fix, and there seems to be no information about it around the web. It could be some kind of configuration change on my server, but since the error message is so cryptic, I'm reporting it as a bug.
I have a project setup with English as the source language. I am trying to upload a new version of the English source file through the "Upload translation" form. I choose the CSV file, select "Replace the existing translation file" (it's the only option) and leave the rest with the default values. I submit the form and all I get is an error: "File upload failed: I/O operation on closed file."
The Docker container logs only display this:
Trying the same operation via API also leads to the same error:
Request:
curl -X POST -F file=@my_file.csv -F conflicts=replace-translated -F author=MyName -F email=my@email.tld -F method=replace -H "Authorization: Token MY_TOKEN" https://myhost.tld/api/translations/my-project/my-component/en/file/
Output:
{"file":"I/O operation on closed file."}
What could be the issue causing this error and how could I fix it? Could the error message be improved in some way?
I already tried
Steps to reproduce the behavior
https://myhost.tld/projects/my-project/my-component/en/
).Expected behavior
The file is uploaded successfuly, or, if there is a server configuration issue, a more user-friendly message is shown.
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: