Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Error on version 2.0.1 #289

Closed
JustGuardian opened this issue Jul 20, 2022 · 2 comments
Closed

New Error on version 2.0.1 #289

JustGuardian opened this issue Jul 20, 2022 · 2 comments

Comments

@JustGuardian
Copy link

Just updated to version 2.0.1 and I got this, I already have done pip install -r requirements.txt

Traceback (most recent call last):
  File "C:\Users\user\telegram_media_downloader-2.0.1\media_downloader.py", line 375, in <module>
    main()
  File "C:\Users\user\telegram_media_downloader-2.0.1\media_downloader.py", line 359, in main
    updated_config = asyncio.get_event_loop().run_until_complete(
  File "C:\Program Files\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
    return future.result()
  File "C:\Users\user\telegram_media_downloader-2.0.1\media_downloader.py", line 312, in begin_import
    messages_iter = client.get_chat_history(
  File "C:\Users\user\AppData\Roaming\Python\Python39\site-packages\pyrogram\sync.py", line 53, in async_to_sync_wrap
    coroutine = function(*args, **kwargs)
TypeError: get_chat_history() got an unexpected keyword argument 'reverse'
@Dineshkarthik
Copy link
Owner

Can you try uninstalling pyrogam and then reinstall?

pip uninstall Pyrogram
pip install -r requirements.txt

@JustGuardian
Copy link
Author

Working now, thanks another time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants