[tor-bugs] #11986 [Ooni]: ooni crashes if no collector option is used with several decks

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 13 14:35:49 UTC 2014


#11986: ooni crashes if no collector option is used with several decks
-----------------------------+---------------------
     Reporter:  cypherpunks  |      Owner:  hellais
         Type:  defect       |     Status:  closed
     Priority:  normal       |  Milestone:
    Component:  Ooni         |    Version:
   Resolution:  duplicate    |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------
Changes (by hellais):

 * status:  new => closed
 * resolution:   => duplicate


Old description:

> This issue was automatically migrated from github issue
> https://github.com/TheTorProject/ooni-probe/issues/274.
>
> Also fails with data/decks/fast_no_root.deck.
>
> When ooni-probe is run without a bouncer (-n), decks that depend upon
> learning about test helpers should either fail gracefully with a message.
> Optionally, we could skip such tests and run the remaining tests that do
> not need test helpers.
> ```ooniprobe -n -i data/decks/complete_no_root.deck
> Log opened.
> [D] Tor is not running. Skipping IP lookup via Tor.
> [D] Cannot determine the probe IP address with a traceroute, becase of
> insufficient priviledges
> Looking up your IP address via torproject
> Not reporting using a collector
> [D] Checking if backend is present
> [!] Missing required option: "backend"
> Traceback (most recent call last):
>   File "bin/ooniprobe", line 17, in <module>
>     runWithDirector()
>   File "/home/ooni/ooni-probe/ooni/oonicli.py", line 161, in
> runWithDirector
>     print net_test_loader.usageOptions().getUsage()
> UnboundLocalError: local variable 'net_test_loader' referenced before
> assignment```

New description:

 This issue was automatically migrated from github issue
 https://github.com/TheTorProject/ooni-probe/issues/274.

 Also fails with data/decks/fast_no_root.deck.

 When ooni-probe is run without a bouncer (-n), decks that depend upon
 learning about test helpers should either fail gracefully with a message.
 Optionally, we could skip such tests and run the remaining tests that do
 not need test helpers.
 ```ooniprobe -n -i data/decks/complete_no_root.deck
 Log opened.
 [D] Tor is not running. Skipping IP lookup via Tor.
 [D] Cannot determine the probe IP address with a traceroute, becase of
 insufficient priviledges
 Looking up your IP address via torproject
 Not reporting using a collector
 [D] Checking if backend is present
 [!] Missing required option: "backend"
 Traceback (most recent call last):
   File "bin/ooniprobe", line 17, in <module>
     runWithDirector()
   File "/home/ooni/ooni-probe/ooni/oonicli.py", line 161, in
 runWithDirector
     print net_test_loader.usageOptions().getUsage()
 UnboundLocalError: local variable 'net_test_loader' referenced before
 assignment```

--

Comment:

 This has already been migrated and is hence a duplicate.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11986#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list