Message348961
After conversion of 2to3 , run simple-example.py and the following error will happen.
Traceback (most recent call last):
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/simple_example.py", line 15, in <module>
plays = nflgame.combine_plays(games)
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/__init__.py", line 396, in combine_plays
chain = itertools.chain(*[g.drives.plays() for g in games])
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/__init__.py", line 396, in <listcomp>
chain = itertools.chain(*[g.drives.plays() for g in games])
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 407, in __getattr__
self.__drives = _json_drives(self, self.home, self.data['drives'])
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 675, in _json_drives
d = Drive(game, i, home_team, data[str(drive_num)])
File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 516, in __init__
if self.time_end <= self.time_start \
TypeError: '<=' not supported between instances of 'GameClock' and 'GameClock' |
|
Date |
User |
Action |
Args |
2019-08-03 14:23:18 | xxm | set | recipients:
+ xxm |
2019-08-03 14:23:18 | xxm | set | messageid: <1564842198.64.0.915142421848.issue37753@roundup.psfhosted.org> |
2019-08-03 14:23:18 | xxm | link | issue37753 messages |
2019-08-03 14:23:18 | xxm | create | |
|