jweissbock / zone-entries

Zone entry app for tracking and for management zone entries
1 stars 2 forks source link

Away game problem #7

Closed piercecunneen closed 10 years ago

piercecunneen commented 10 years ago

Currently, all of our successful games have been when the team is at home. I have twice tried to upload a game while putting "away", and both times the upload was successful, but when I went to click on the game in the database, it took me to a blank page with "Unhandled Exception" on it. Link: http://zentries.pythonanywhere.com/db/2013201420007/

http://zentries.pythonanywhere.com/db/2013201420008/

Currently, it is affecting games 20007 and 20008. 20008 was originally uploaded correctly when just the home data was uploaded, but when I uploaded the second sheet under "away", the "Unhandled exception" error appeared.

Thus, I was thinking maybe this had to do with the "away" option, since I couldn't find any error in either spreadsheet for 20007 and 20008.

Also, I by accidentally submitted game 20031 http://zentries.pythonanywhere.com/db/2013201420031/ twice, so at some point we need to get that game deleted, so I can go back and submit it once so the data is correct.

Thanks, Pierce

jweissbock commented 10 years ago

It is a bug in the code, "error2 was used before declaration." I believe it is fixed now, needs further testing and verification before closing this.