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

[BUG] Error while accessing the player object #63

Open
Anirudh58 opened this issue Feb 17, 2024 · 1 comment
Open

[BUG] Error while accessing the player object #63

Anirudh58 opened this issue Feb 17, 2024 · 1 comment
Assignees

Comments

@Anirudh58
Copy link

Describe the bug
Error while accessing the player object

To Reproduce
Steps to reproduce the behavior:

from espncricinfo.player import Player
p = Player('277916')

Expected behavior
Should not throw an error and get the player object correctly.

Screenshots
image

Additional context
Add any other context about the problem here.

@saahilp
Copy link

saahilp commented Feb 23, 2024

Your player class isn't updated to what currently exists in the repository. This issue has been fixed but the version that you install when you run pip3 install python-espncricinfo doesn't have the latest codebase. At least, it didn't for me. I got around this by replacing the player.py class in my local with the latest one in the repository.

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

3 participants