| <type 'exceptions.ValueError'> | Python 2.6.6: /usr/bin/python2.6 Sat May 25 06:26:23 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/travis/www/ffdgc/cgi-bin/ffdgc-tags.py in |
| 93 |
| 94 for p in sorted_players: |
| 95 ranked_players[int(p["tag"].text)] = p |
| 96 |
| 97 # Fill in the HTML |
| ranked_players = {5: {'emailaddress': <gdata.spreadsheet.Custom object>, 'firstname': <gdata.spreadsheet.Custom object>, 'lastname': <gdata.spreadsheet.Custom object>, 'notes': <gdata.spreadsheet.Custom object>, 'tag': <gdata.spreadsheet.Custom object>, 'timestamp': <gdata.spreadsheet.Custom object>}, 33: {'emailaddress': <gdata.spreadsheet.Custom object>, 'firstname': <gdata.spreadsheet.Custom object>, 'lastname': <gdata.spreadsheet.Custom object>, 'notes': <gdata.spreadsheet.Custom object>, 'tag': <gdata.spreadsheet.Custom object>, 'timestamp': <gdata.spreadsheet.Custom object>}}, builtin int = <type 'int'>, p = {'emailaddress': <gdata.spreadsheet.Custom object>, 'firstname': <gdata.spreadsheet.Custom object>, 'lastname': <gdata.spreadsheet.Custom object>, 'notes': <gdata.spreadsheet.Custom object>, 'tag': <gdata.spreadsheet.Custom object>, 'timestamp': <gdata.spreadsheet.Custom object>}, ].text undefined |
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: '#3'
args =
("invalid literal for int() with base 10: '#3'",)
message =
"invalid literal for int() with base 10: '#3'"