Hi.

(Please CC me as I'm not subscribed to the list)

I'm not sure there's a better place for reporting bugs on
whisperback... feel free to forward in case it helps.

I've experienced a situation where I wanted to report a bug on Tails with
whisperback, but tor apparently hadn't connected me well :-/

After a while, whisperback told me it couldn't send the report, with the
"too many values to unpack" message, which ain't exactly end-user
friendly, IMHO.

Here's the output :
$ whisperback
Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/whisperBack/whisperback.py", line
208, in save_exception
    func(*args)
  File "/usr/lib/python3/dist-packages/whisperBack/mail.py", line 60, in
send_message_tls
    smtp = smtplib.SMTP(timeout=120, host=host, port=port)
  File "/usr/lib/python3.4/smtplib.py", line 242, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python3.4/smtplib.py", line 321, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python3.4/smtplib.py", line 292, in _get_socket
    self.source_address)
  File "/usr/lib/python3.4/socket.py", line 500, in create_connection
    sock.connect(sa)
  File "/usr/lib/python3/dist-packages/socks.py", line 459, in connect
    dest_addr, dest_port = dest_pair
ValueError: too many values to unpack (expected 2)

Maybe some better message like : "no network connection could be used"
could be much better, provided it's feasable to intercept the error
condition (maybe that's what is being tried, but somehow fails and leads
to an unexpected traceback ?).

Hope this helps.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

_______________________________________________
tails-support mailing list
[email protected]
https://mailman.boum.org/listinfo/tails-support
To unsubscribe from this list, send an empty email to 
[email protected].

Reply via email to