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

I'm also having trouble parsing Pokerstars hand history. #44

Open
Johnpc123 opened this issue Jun 13, 2020 · 0 comments
Open

I'm also having trouble parsing Pokerstars hand history. #44

Johnpc123 opened this issue Jun 13, 2020 · 0 comments

Comments

@Johnpc123
Copy link

I'm also having trouble parsing Pokerstars hand history.

I used the setup from https://poker.readthedocs.io/en/latest/handhistory.html

Raw data is loaded, but the error below is thrown by match.group("ident") in pokerstars.py. ..and there is this comment there...

        self.ident = match.group("ident")

        # We cannot use the knowledege of the game type to pick between the blind
        # and cash blind captures because a cash game play money blind looks exactly
        # like a tournament blind
/home/johnpc/card-parser/py/bin/python3 /home/johnpc/card-parser/py/parse.py
Traceback (most recent call last):
  File "/home/johnpc/card-parser/py/parse.py", line 3, in <module>
    hh.parse()
  File "/home/johnpc/card-parser/py/lib/python3.6/site-packages/poker/room/pokerstars.py", line 174, in parse
    self.parse_header()
  File "/home/johnpc/card-parser/py/lib/python3.6/site-packages/poker/room/pokerstars.py", line 129, in parse_header
    self.ident = match.group("ident")
AttributeError: 'NoneType' object has no attribute 'group'

Originally posted by @Johnpc123 in #37 (comment)

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