TGConvertor icon indicating copy to clipboard operation
TGConvertor copied to clipboard

'NoneType' object is not subscriptable

Open softskate opened this issue 1 year ago • 0 comments

import asyncio from TGConvertor import SessionManager

async def main(): session = await SessionManager.from_telethon_file('14744787710.session') print(await session.to_pyrogram_file('14744787710_pr2.session'))

asyncio.run(main())

While using pyrogram client I am getting this error: File "C:\Users\lador\Desktop\Projects\tg_passcode\venv\Lib\site-packages\pyrogram\storage\sqlite_storage.py", line 214, in version return self.conn.execute( "SELECT number FROM version" ).fetchone()[0] TypeError: 'NoneType' object is not subscriptable

softskate avatar Jan 24 '25 14:01 softskate