pucauto icon indicating copy to clipboard operation
pucauto copied to clipboard

member_points is occasionally None in build_trades_dict

Open tomreece opened this issue 8 years ago • 3 comments

This crash occurs every so often. Not sure what would be causing this to be None.

Traceback (most recent call last):
  File "pucauto.py", line 397, in <module>
    find_trades()
  File "pucauto.py", line 366, in find_trades
    trades = build_trades_dict(soup)
  File "pucauto.py", line 268, in build_trades_dict
    member_points = int(row.find("td", class_="points").text)
AttributeError: 'NoneType' object has no attribute 'text'

tomreece avatar May 11 '16 04:05 tomreece

I am occasionally receiving this error as well.

xeroiv avatar May 27 '16 14:05 xeroiv

I still get this error. It appears to crash every night sometime between 12:30 AM and 3 AM since I have upgraded to 0.4.9

xeroiv avatar Aug 04 '16 12:08 xeroiv

This is an almost constant problem. I am lucky if it does not crash overnight due to this issue. Has been for a while

lmjamie avatar Aug 05 '16 18:08 lmjamie