-
-
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
Error on compilemessages due to translations from django-debug-toolbar #1862
Comments
Apologies, the command actually includes |
@matthiask is the problem that we have |
@tim-schilling Yes. I don't know why that would be a fatal error when the whole translation is marked as |
@berzi would you be able to create a minimal project that reproduces this effect? |
Unfortunately I don't think so, the error comes from an old and complex project from my company and it would be quite time-consuming to try and recreate it. |
@berzi I understand, but from what we can see everything should be working. The only way for us to debug this would be to reproduce it. Since this work would most benefit you in particular, it feels reasonable to ask you to help us with that effort. If you don't have time that's totally understandable. This is a low priority for us because it's an undefined amount of work for an undefined amount of benefit. |
I understand that. The error doesn't block me at the moment so it's low priority for me as well. If I get any new clue or get the time to reproduce the error I'll post here again. I'm fairly sure it has something to do with Windows, since I'm the only one of all my colleagues who worked and this and had this issue, but there's also many outdated things all along the pipeline (the Django version, the Docker Compose version...) so who knows. |
That's actually a good place to start. What versions of python, docker
compose and Django are you using?
…On Wed, Dec 13, 2023, 6:27 AM berzi ***@***.***> wrote:
@berzi <https://github.com/berzi> I understand, but from what we can see
everything should be working. The only way for us to debug this would be to
reproduce it. Since this work would most benefit you in particular, it
feels reasonable to ask you to help us with that effort.
If you don't have time that's totally understandable.
This is a low priority for us because it's an undefined amount of work for
an undefined amount of benefit.
I understand that. The error doesn't block me at the moment so it's low
priority for me as well. If I get any new clue or get the time to reproduce
the error I'll post here again.
I'm fairly sure it has something to do with Windows, since I'm the only
one of all my colleagues who worked and this and had this issue, but
there's also many outdated things all along the pipeline (the Django
version, the Docker Compose version...) so who knows.
—
Reply to this email directly, view it on GitHub
<#1862 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJYZP2UNELQU2KDU5F2TKTYJGNJLAVCNFSM6AAAAABAGFIZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJTHAZDMMJQHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Docker Compose: 3.7 gettext and other dependencies are installed with the following command: apt-get install --no-install-recommends -y \
gettext \
libgettextpo-dev \
procps \
locales |
I just tried again with and without |
The command
django-admin compilemessages
fails when I havedjango-debug-toolbar
installed (I tried both 4.1.0 and 4.2.0 which is currently the latest release).The full error is as follows (the
#0
and timing at the start of each line are due to docker compose and should be irrelevant for the issue):All I can find from researching the error is that this error is due to plurals being used incorrectly, but the lines I checked from the traceback don't use any syntax for plurals and in fact seem unrelated to each other (sometimes they're the same place, like for catalan and portuguese, but for other languages they point to completely different places).
Needless to say I did not modify the package after installing it, and all this is running in a clean Docker container that other colleagues have been using for ages, except I'm on Windows (but the container isn't). Any clue why this isn't working for me?
The text was updated successfully, but these errors were encountered: