-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Git fatal: name consists only of disallowed characters when trying to commit translations #9462
Comments
Yes, it can be it, see #8766. Users created before the fix might still not be validated. |
Are there any specific characters I should be on the lookout for in recently joined users? Would it help if I install the latest Weblate version from pypi? |
The problematic name is in the error message: It can also be that you messed up git configuration files Weblate uses and set this as a committer. |
Well the error message is seemingly saying the problem is just one newline character. I have not touched the configuration file when this problem started. Just checking now I'm pretty sure I don't have a custom committer name even specified there. Is there a way to entirely reset a git repo used by weblate? The web interface buttons leave a lot to be desired and I think manually deleting the files on disk caused this problem to start, though I don't know enough internal details to know what database data or something this might have caused to become invalid. |
The whole problematic name is: The error message is printed here: https://github.com/git/git/blob/a9e066fa63149291a55f383cfa113d8bdbdaa6b3/ident.c#L517 |
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
Assuming the user search page works with I've got a new error today:
|
While this is valid RFC 5322, such string can confuse git and end up with fatal: name consists only of disallowed characters: " (128) Fixes WEBLATE-2WZ Issue #9462
I've just discovered that this can also be caused by using <> characters in the user name. This was fixed by d137f73. |
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
Thank you for your report; the issue you have reported has just been fixed.
|
I just upgraded to Weblate 5.0 and I can confirm that I no longer have issues with getting all the changes in Weblate committed and things cleaned out. I can now resume using Weblate. Thank you so much for the fix! |
Describe the issue
I was trying to get weblate to play nice with a rewritten git history. I tried all the buttons in the maintenance GUI and even deleting the repo on disk, but I could not manage to get the change count listed in the repository maintenance page on weblate to go down to 0. Now I have probably messed something up as I can't even commit the changes in weblate. I just get an internal server error when trying to commit changes in weblate:
I found an earlier issue about a translator having forbidden characters in their username causing git to fail. I don't know how I would check to confirm if this is the same problem. I tried using the git squash plugin to put all changes into a single commit but I still get the same error.
I already tried
Steps to reproduce the behavior
Expected behavior
I expect some of the repo maintenance / deleting things manually to get things at least fixed enough to be able to resume using weblate.
Screenshots
No response
Exception traceback
How do you run Weblate?
PyPI module
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: