TypeError: object list can't be used in 'await' expression #1545
Unanswered
junjuiceee
asked this question in
Q&A
Replies: 2 comments 3 replies
-
are you running it on linux? i was also getting this until i remembered that before running it i need to use this command.
edit: reading your output i see you are on windows. im leaving my answer here as not only might it help other linux users but perhaps it might help you with your problem on windows, i dont know. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I even uninstalled/reinstalled python, redownloaded diff versions of the scraper. Still same issue. Anyone have any ideas? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting an issue after authentication where it starts listing profile names I'm subscribed to, then line errors and finally this error pops up. Any ideas?
It scrapes 10 names of 56, then returns this error
I'm on 7.4.1 and I tried 7.4. Both are returning errors
Traceback (most recent call last):
File "X:\OnlyFans-7.4.1\OnlyFans-7.4.1\start_ofd.py", line 60, in
loop.run_until_complete(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "X:\OnlyFans-7.4.1\OnlyFans-7.4.1\start_ofd.py", line 44, in main
api = await main_datascraper.start_datascraper(
File "X:\OnlyFans-7.4.1\OnlyFans-7.4.1\datascraper\main_datascraper.py", line 90, in start_datascraper
await module.paid_content_scraper(api, identifiers)
File "X:\OnlyFans-7.4.1\OnlyFans-7.4.1\modules\onlyfans.py", line 401, in paid_content_scraper
unrefined_set = await tqdm.gather(tasks, **settings)
File "C:\Users\XXXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\tqdm\asyncio.py", line 79, in gather
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "C:\Users\XXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\tqdm\asyncio.py", line 79, in
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\asyncio\tasks.py", line 614, in _wait_for_one
return f.result() # May raise f.exception().
File "C:\Users\XXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\tqdm\asyncio.py", line 76, in wrap_awaitable
return i, await f
TypeError: object list can't be used in 'await' expression
the above is the final error ocurring
Beta Was this translation helpful? Give feedback.
All reactions