Opened 5 years ago

Closed 5 years ago

#12486 closed defect (fixed)

Cannot run dns_spoof test

Reported by: anadahz Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line
577, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line
839, in _cbDeferred
    self.callback(self.resultList)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line
382, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line
490, in _startRunCallbacks   
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line
577, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/user/ooni-probe/ooni/nettests/manipulation/dns_spoof.py", line
56, in postProcessor
    test_answer = report['test_a_lookup']['answered_packets'][0][1]
exceptions.TypeError: list indices must be integers, not str

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by hellais

Resolution: fixed
Status: newclosed

A fix for this has been deployed to master. Thanks for the report!

Note: See TracTickets for help on using tickets.