Opened 12 days ago

Last modified 6 days ago

#32897 new defect

Python Crash

Reported by: tom Owned by:
Priority: Medium Milestone:
Component: Core Tor/sbws Version:
Severity: Normal Keywords:
Cc: juga Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Dec 20 23:48:39 INFO MainThread heartbeat.py:62 - print_heartbeat_message - 47 relays still not measured.
Dec 20 23:48:39 WARNING MainThread heartbeat.py:67 - print_heartbeat_message - There is no progress measuring new unique relays.
Dec 20 23:48:39 DEBUG MainThread scanner.py:548 - main_loop - Attempted to measure 308 relays in 6.859645199775696 minutes
Dec 20 23:48:39 CRITICAL MainThread scanner.py:707 - run_speedtest - Something went wrong.
Please create a ticket in https://trac.torproject.org with this traceback.
Dec 20 23:48:39 ERROR MainThread scanner.py:708 - run_speedtest -
Traceback (most recent call last):
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/sbws/core/scanner.py", line 700, in run_speedtest
    max_pending_results, pool)
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/sbws/core/scanner.py", line 550, in main_loop
    if controller.get_conf('TestingTorNetwork') == '1':
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py", line 2170, in get_conf
    entries = self.get_conf_map(param, default, multiple)
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py", line 2254, in get_conf_map
    response = self.msg('GETCONF %s' % ' '.join(lookup_params))
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py", line 651, in msg
    self._socket.send(message)
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/socket.py", line 450, in send
    self._send(message, lambda s, sf, msg: send_message(sf, msg))
  File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/socket.py", line 247, in _send
    raise stem.SocketClosed()
stem.SocketClosed
Dec 20 23:48:39 DEBUG MainThread scanner.py:51 - stop_threads - Stopping sbws.

Child Tickets

Change History (5)

comment:1 Changed 12 days ago by juga

Because of the line

`if controller.get_conf('TestingTorNetwork') == '1':

seems like you have in your configuration TestingTorNetwork =1. Could you check that?.
That should only be use for the integration tests.

comment:2 Changed 12 days ago by tom

I don't have that line :) (Sent via email)

comment:3 Changed 12 days ago by juga

Thanks, will try to get time in the next days to see what else can cause that

comment:4 Changed 12 days ago by juga

Ah, did you installed the current version from git master branch?.
If you feel like and have Debian, you can try in the meanwhile with the Debian package, to see if it could be some bug in a more recent version.

comment:5 Changed 6 days ago by tom

From inside the venv I did tor --version Tor version 0.3.5.8. and stem.version = '1.7.1'

Note: See TracTickets for help on using tickets.