Hey, I'm one of the creators of HamPanda. Just released a new update today for an RPG-like leveling system. I'm probably working on achievements next or King of The Hill where the person who scores the most number of pandas in that hour gets some sweet bonuses.
Traceback (most recent call last):
File "/root/routes/game.py", line 395, in get
audio_filepath = audioSubmission['filepath']
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/tornado/web.py", line 1467, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/root/routes/game.py", line 445, in get
user=self.get_current_user().decode('utf-8'),
AttributeError: 'NoneType' object has no attribute 'decode'
Without seeing the actual code base, `audio_filepath = audioSubmission['filepath']` smells like a security vulnerability. Also calling `decode` on a user object seems wrong...
11 comments
[ 4.0 ms ] story [ 13.9 ms ] threadThe magic is mostly brought out by drshrey, I'll have to get him in here.
We're working on the problem now. Everyone churned through audio faster than expected. New hams coming up.