divideprojects/Alita_Robot

Getting KeyError: 'en-US'

rsoorajs opened this issue · 7 comments

Can you solve this error ?
i setup everything,including redis and postgres ,bot is just sending its start msg

Bot started on Pyrogram v1.0.7 (Layer - 117)

Loaded Plugins:
['admin', 'approve', 'blacklist', 'covid', 'fun', 'language', 'locks', 'notes', 'purges', 'reporting', 'rules', 'translate', 'utils', 'wikipedia']
Redis Keys Loaded:
[b'SUPPORT_STAFF', b'ADMINDICT', b'BOT_ID']

after that bot suddenly stopping.

the log screenshot is attaching below

IMG_20201029_215933_790

Reproduce the steps you did

i just put my own redis and postgres database url..

and i just ran threw sudo docker-compose up after filling out the env file

i didnt touched /alita/sample_config.py this file nor changed to config.py

since i am using docker i filled details in alita.env by changing sample.env to alita.env

Could you show your alita.env file without the app id, hash and token?

when the workers was 8 i still got the same error

when the workers was 8 i still got the same error

It's not an issue with workers.

I think maybe your alita.env isn't set correctly because when I run the bot, it works.

let me check