semenovsd / telethon-to-pyrogram Goto Github PK
View Code? Open in Web Editor NEWScript for convert telethon session file to pyrogram session file
License: MIT License
Script for convert telethon session file to pyrogram session file
License: MIT License
Hello sir, i got error when i converting the session file, pls help to fix. thank you very much.
Try convert session file: C:\Users\danny\Desktop\Telethon-To-Pyrogram\Telethon\1.session
Traceback (most recent call last):
File "C:\Users\danny\Desktop\Telethon-To-Pyrogram\convertor.py", line 23, in pack_to_string
bytes_result: bytes = struct.pack(
struct.error: pack expected 6 items for packing (got 5)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\danny\Desktop\Telethon-To-Pyrogram\convertor.py", line 174, in
asyncio.run(start(args))
File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\danny\Desktop\Telethon-To-Pyrogram\convertor.py", line 165, in start
await convert(params)
File "C:\Users\danny\Desktop\Telethon-To-Pyrogram\convertor.py", line 91, in convert
session_string = pack_to_string(session_data, user_data)
File "C:\Users\danny\Desktop\Telethon-To-Pyrogram\convertor.py", line 33, in pack_to_string
Storage.SESSION_STRING_FORMAT_64,
AttributeError: type object 'Storage' has no attribute 'SESSION_STRING_FORMAT_64'. Did you mean: 'SESSION_STRING_FORMAT'?
help
Traceback (most recent call last):
File "C:\Code\PythonProjects\TELEGRAM\Telethon-To-Pyrogram-master\Telethon-To-Pyrogram-master\convertor.py", line 18, in
from utils.args import parse_args
ModuleNotFoundError: No module named 'utils.args'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.