Coder Social home page Coder Social logo

telethon-to-pyrogram's People

Contributors

semenovsd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

telethon-to-pyrogram's Issues

struct.error: pack expected 6 items for packing (got 5)

Hello sir, i got error when i converting the session file, pls help to fix. thank you very much.

========
\convertor.py", line 32, in pack_to_string
bytes_result: bytes = struct.pack(
struct.error: pack expected 6 items for packing (got 5)

AttributeError: type object 'Storage' has no attribute 'SESSION_STRING_FORMAT_64'. Did you mean: 'SESSION_STRING_FORMAT'?

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'?

error = from utils.args import parse_args

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.