Traceback (most recent call last):
File "/home/user1/MuskEmpireBot/main.py", line 13, in
asyncio.run(main())
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/home/user1/MuskEmpireBot/main.py", line 8, in main
await launcher.start()
File "/home/user1/MuskEmpireBot/bot/launcher.py", line 123, in start
session_data = await get_tg_clients()
File "/home/user1/MuskEmpireBot/bot/launcher.py", line 69, in get_tg_clients
session_profiles = get_session_profiles(session_names)
File "/home/user1/MuskEmpireBot/bot/utils.py", line 32, in get_session_profiles
json.dump(session_profiles, file, ensure_ascii=False, indent=4)
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/json/init.py", line 180, in dump
fp.write(chunk)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd1' in position 2: surrogates not allowed
Traceback (most recent call last): File "/home/user1/MuskEmpireBot/main.py", line 13, in
asyncio.run(main())
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/home/user1/MuskEmpireBot/main.py", line 8, in main
await launcher.start()
File "/home/user1/MuskEmpireBot/bot/launcher.py", line 123, in start
session_data = await get_tg_clients()
File "/home/user1/MuskEmpireBot/bot/launcher.py", line 69, in get_tg_clients
session_profiles = get_session_profiles(session_names)
File "/home/user1/MuskEmpireBot/bot/utils.py", line 32, in get_session_profiles
json.dump(session_profiles, file, ensure_ascii=False, indent=4)
File "/home/user1/.pyenv/versions/3.10.0/lib/python3.10/json/init.py", line 180, in dump
fp.write(chunk)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd1' in position 2: surrogates not allowed