-
Notifications
You must be signed in to change notification settings - Fork 87
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
Issue reading PO files on windows. #757
Comments
@Nigel2392 this is like a side effect of none of the localize developers using Windows. Happy to review a PR if you're up for submitting one |
I don't really understand github and their pull request system, sorry... I've monkeypatched it in my own project, so it won't bother me when developing. Respectfully - I'm only here to bring it to attention. I'm planning to put some time into git's pull system in the future; I'll get back to it then. |
Understood. And thank you again for raising these issues. It is most helpful to get reports from as many real-world users as possible. |
PO files cannot properly be opened on windows. This is because the file gets locked.
You might receive permission errors like so:
Where
NOT_THE_RIGHT_USERPROFILE_FOLDER
would beNIGELV~1
when it should beNigelvanGoodAd
.This is due to an issue in opening the tempfile in
view/edit_translation.upload_pofile
. The temporary file should be opened withdelete=False
, and then properly unlinked.The fixed code should be:
The text was updated successfully, but these errors were encountered: