[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #4127 [Torflow]: get_search_urls_for_filetype(self, filetype, number) does not return a tuple



#4127: get_search_urls_for_filetype(self, filetype, number) does not return a
tuple
---------------------+------------------------------------------------------
 Reporter:  aagbsn   |          Owner:  mikeperry
     Type:  defect   |         Status:  new      
 Priority:  normal   |      Milestone:           
Component:  Torflow  |        Version:           
 Keywords:           |         Parent:           
   Points:           |   Actualpoints:           
---------------------+------------------------------------------------------

Comment(by aagbsn):

 Here's an example of the error this causes:
 {{{
 INFO[Fri Sep 23 06:52:52 2011]:HTTPTest decided to fetch 1 urls of types:
 [u't']
 INFO[Fri Sep 23 06:52:52 2011]:[(u'h', u't')]
 INFO[Fri Sep 23 06:52:52 2011]:Conducting an http test with destination h
 DEBUG[Fri Sep 23 06:52:52 2011]:Starting request for: h
 Traceback (most recent call last):
   File "soat.py", line 379, in http_request
     reply = opener.open(request)
   File "/usr/lib/python2.6/urllib2.py", line 383, in open
     protocol = req.get_type()
   File "/usr/lib/python2.6/urllib2.py", line 244, in get_type
     raise ValueError, "unknown url type: %s" % self.__original
 ValueError: unknown url type: h
 INFO[Fri Sep 23 06:52:52 2011]:Completed HTTP Reqest for: h
 DEBUG[Fri Sep 23 06:52:52 2011]:Got last exit of
 E7C49248095E77968BA4390DA2BBAC9D7E4560F3
 NOTICE[Fri Sep 23 06:52:52 2011]:$E7C49248095E77968BA4390DA2BBAC9D7E4560F3
 had error -15.0 fetching content for h
 DEBUG[Fri Sep 23 06:52:52 2011]:Starting request for: h
 Traceback (most recent call last):
   File "soat.py", line 379, in http_request
     reply = opener.open(request)
   File "/usr/lib/python2.6/urllib2.py", line 383, in open
     protocol = req.get_type()
   File "/usr/lib/python2.6/urllib2.py", line 244, in get_type
     raise ValueError, "unknown url type: %s" % self.__original
 ValueError: unknown url type: h
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4127#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs