-
Notifications
You must be signed in to change notification settings - Fork 231
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
internationalization.py line 38 #90
Comments
More specifically, when this happens? |
when i was trying to run it on my PC |
same issue here
|
did you follow the instructions in the readme, specifically about compiling the translation files? |
Yes |
This error usually happens if you're missing a I suggest you ensure you're not missing any commits from this repos
|
compile.sh didn't work for me, made it with the full command... problem fixed! Wasn't executing the command inside the locales folder. |
Same issue in compiling |
It didn't work the compile.sh |
I'm not having any issue following the instructions. |
it gives error of this type:
\mau_mau_bot-master\internationalization.py", line 38, in
open(gettext.find(
TypeError: expected str, bytes or os.PathLike object, not NoneType
the code is:
def init(self):
self.translators = {
locale: gettext.GNUTranslations(
open(gettext.find(
GETTEXT_DOMAIN, GETTEXT_DIR, languages=[locale]
), 'rb')
)
for locale
in available_locales.keys()
if locale != 'en_US' # No translation file for en_US
}
self.locale_stack = list()
The text was updated successfully, but these errors were encountered: