Closed aryannxroot closed 2 months ago
Hi, can you please install previous versions? Previous ones does not have async await. Older versions: https://pypi.org/project/torrentp/0.1.6/
Install it like: pip install torrentp==0.1.6
Sent from Proton Mail for iOS
On Tue, Mar 12, 2024 at 11:49 PM, Aryan @.***(mailto:On Tue, Mar 12, 2024 at 11:49 PM, Aryan < wrote:
Whenever I try to download using the magnet link the interpreter shows this error : Enable tracemalloc to get the object allocation traceback
Please help me here!!!!!!!!!!!!! Screenshot.2024-03-13.014729.png (view on web)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Whenever I try to download using the magnet link the interpreter shows this error : Enable tracemalloc to get the object allocation traceback
Please help me here!!!!!!!!!!!!!
its because you are not awaiting the downloader
you have defined an async function called "downloadtorrent"
then on the second last line your not awaiting it..
so above print("Completed") you need to change it from _downloadtorrent(torrentfile) TO _await downloadtorrent(torrentfile)
any time you define a function async you must await it or use it asynchronously
Whenever I try to download using the magnet link the interpreter shows this error : Enable tracemalloc to get the object allocation traceback
Please help me here!!!!!!!!!!!!!![Screenshot 2024-03-13 014729](https://github.com/iw4p/torrentp/assets/69583042/a41bd05e-6eac-4c8e-9d82-3351eef8cb45)