Skip to content
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

running into an issue with django translation #857

Open
martinalee94 opened this issue Feb 14, 2025 · 0 comments
Open

running into an issue with django translation #857

martinalee94 opened this issue Feb 14, 2025 · 0 comments

Comments

@martinalee94
Copy link

Hello! I'm running into this issue with django translation.
When I build .po files, this is the error message I got.

xgettext: Non-ASCII string at ./dist/export/python/virtualenvs/pyright/3.11.10/lib/python3.11/site-packages/Crypto/Util/asn1.py:409.
          Please specify the source encoding through --from-code.
def encode(self):
        """Return the DER BOOLEAN, fully encoded as a binary string."""

        self.payload = b'\xFF' if self.value else b'\x00'   # line 409 here?
        return DerObject.encode(self)

I see that # -*- coding: ascii -*- is defined in line 1, and this could be the source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant