'<' not supported between instances of 'float' and 'str' and --throttled-rate error after update?
See original GitHub issueChecklist
- I’m reporting a bug unrelated to a specific site
- I’ve verified that I’m running yt-dlp version 2022.03.08.1. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
Description
After update I get error
‘<’ not supported between instances of ‘float’ and ‘str’
I found out that it is somewhat related to --throttled-rate setting? When I remove it I can download from YT no issues If I leave it, I get the following message
[download] 0.0% of 714.94MiB at 499.98KiB/s ETA 24:24ERROR: ‘<’ not supported between instances of ‘float’ and ‘str’
Verbose log
Microsoft Windows [Version 6.1.7601]
>yt-dlp https://www.youtube.com/watch?v=XUp9pe1T-UE --throttled-rate 999k
[youtube] XUp9pe1T-UE: Downloading webpage
[youtube] XUp9pe1T-UE: Downloading android player API JSON
[info] XUp9pe1T-UE: Downloading 1 format(s): 571+251
WARNING: Requested formats are incompatible for merge and will be merged into mkv
[download] Destination: 8k VIDEOS _ Beauty of Nature 8K (60 FPS) HDR UltraHD _ Sony Demo [XUp9pe1T-UE].f571.mp4
[download] 0.0% of 505.86MiB at 90.90KiB/s ETA 01:34:58ERROR: '<' not supported between instances of 'float' and 'str'
yt>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
TypeError > not supported between instances of float and str
The Python "TypeError: '>' not supported between instances of 'float' and 'str'" occurs when we use a comparison operator between values of type ......
Read more >TypeError: '<' not supported between instances of 'str' and ...
The error is indicating that there are strings in the dataframe. I'm not clear on why you're getting that error, since the elements...
Read more >Getting "TypeError: '>' not supported between instances of 'str ...
Getting “TypeError: '>' not supported between instances of 'str' and 'float'” ... I am getting the following error for this particular code:.
Read more >' not supported between instances of 'str' and 'int' - Java2Blog
Python throws a TypeError when an operation is carried out on an incorrect/unsupported object type. For example, using the < (less than) operator...
Read more >Syntax Error on Ray RAY TUNE['<' not supported between ...
I got this error : TypeError: '<' not supported between instances of 'Float' and 'float' It's raised by config[“lr”] in “o…
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s a typo in d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7. You can roll back to https://github.com/yt-dlp/yt-dlp/releases/tag/2022.03.08 for the time-being as a workaround. The 2 releases are almost identical, so it shouldn’t be an issue
@madindehead I think you can rollback with following command