mongodb/mongo-perf

TypeError: sequence item 2: expected string or Unicode, tuple found

monotv opened this issue · 1 comments

python server.py
Bottle v0.12.7 server starting up (using AutoServer())...
Listening on http://0.0.0.0:8181/
Hit Ctrl-C to quit.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 862, in _handle
return route.call(*_args)
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 1729, in wrapper
rv = callback(_a, **ka)
File "server.py", line 221, in results_page
result['date'])),
TypeError: sequence item 2: expected string or Unicode, tuple found

Please give it another try after pulling from master. I've found some behavior differences in the datetime package depending on version and platform.