[tor-bugs] #6708 [Onionoo]: Pyonionoo returns code 500 for a few parameters
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Sep 24 02:20:09 UTC 2012
#6708: Pyonionoo returns code 500 for a few parameters
---------------------+------------------------------------------------------
Reporter: karsten | Owner: gsathya
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Onionoo | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
Comment(by gsathya):
Replying to [comment:8 karsten]:
> Replying to [comment:7 karsten]:
> > Replying to [comment:5 gsathya]:
> > > Please review my
[https://github.com/gsathya/pyonionoo/compare/bug_6708_revised
bug_6708_revised] branch. Thanks!
>
> Looks good! Merged.
Thanks!
> Please review the three commits in my
[https://gitweb.torproject.org/user/karsten/pyonionoo.git/shortlog/refs/heads/bug_6708_revised
bug_6708_revised branch]. If you like them, I'll merge them, too.
There's a problem with f503b794a, the database schema looks for a integer
consensus_weight and gets a "None" when values[9] == '??'. We should
probably set them to a default value(onionoo sets it to '-1L') since this
is a required parameter(I think None breaks the sql query as well).
The rest look good!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6708#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list