Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant