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

ValueError: could not convert string to float: 'Rate' in all popular chart cases #497

Open
emremrah opened this issue Dec 25, 2023 · 0 comments

Comments

@emremrah
Copy link

emremrah commented Dec 25, 2023

Issue description

I get ValueError: could not convert string to float: 'Rate' in "popular related" operations and every test in tests/test_http_chart_popular_movies.py

Version of Cinemagoer, Python and OS

  • Python: Python 3.10.13
  • Cinemagoer: 2023.10.22
  • OS: uname_result(system='Linux', release='6.2.0-37-generic', version='22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2', machine='x86_64')

Steps to reproduce the issue

Run pytest tests/test_http_chart_popular_movies.py in bash.

What's the expected result?

The list of most popular 100 movies.

What's the actual result?

ValueError: could not convert string to float: 'Rate'

Additional details

The error occurs currently when fetching the movie "The Color Purple" in the most popular 100 movies chart.

I'm guessing that the issue is related that when a movie is out, and is rateable, but doesn't have any ratings. It looks like it released today.

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

1 participant