You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason when I use python telegram in the script where pandas is imported, tdlib crashes
Reproduced like this:
python repro.py
importpandasaspdfromtelegram.clientimportTelegramtg=Telegram(
api_id='ID_HERE',
api_hash='HASH_HERE'phone='PHONE_HERE',
library_path='PATH_TO_THE_LIBRARY', # I use the nix installed version, so manually declare this pathdatabase_encryption_key='pswd',
files_directory='./',
)
tg.login()
tg.stop()
Throws:
'python repro.py' terminated by signal SIGSEGV (Address boundary error)
And
# import pandas as pdfromtelegram.clientimportTelegramtg=Telegram(
api_id='ID_HERE',
api_hash='HASH_HERE'phone='PHONE_HERE',
library_path='PATH_TO_THE_LIBRARY', # I use the nix installed version, so manually declare this pathdatabase_encryption_key='pswd',
files_directory='./',
)
tg.login()
tg.stop()
Works fine:
[ 2][t 4][1705185016.129917144][AuthDataShared.cpp:117][#1][!Td] DcId{2} [auth_key_id:*****][state:OK][created_at:1705181175][last_used:1705298175]
[ 2][t 4][1705185016.130964040][Session.cpp:271][#1][!SessionProxy:2:main] Generate new session_id ******** for auth key ****** for main DC2
[ 2][t 4][1705185016.132322072][Td.cpp:3569][#1][!Td] Close Td in state 1
Environment details:
tdlib version: 1.8.23 (installed with nix on macos)
pandas: 2.1.3
haven't tried it with the dockerized version, but I doubt the tdlib install is at fault here (but open to try)
The text was updated successfully, but these errors were encountered:
For some reason when I use python telegram in the script where pandas is imported, tdlib crashes
Reproduced like this:
python repro.py
Throws:
And
Works fine:
Environment details:
1.8.23
(installed with nix on macos)2.1.3
The text was updated successfully, but these errors were encountered: