HelloZeroNet / HelloZeroNet/ZeroNet

Can not abort "python zeronet.py siteDownload" command

Aperta
#1,276 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Step 1: Please describe your environment

Version: 0.6.1 r3221, Python 2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)], Gevent: 1.0
OS: Linux 64 bit

### Step 2: Describe the problem:

If site does not have any peers, the "python zeronet.py siteDownload" command gets stuck and i can not abort it:

> [user@localhost ZeroNet]# python zeronet.py siteDownload addresshere
> - Starting ZeroNet...
> - OpenSSL loaded, version: 01000207F
> - Version: 0.6.1 r3221, Python 2.7.5 (default, Aug 4 2017, 00:39:18)
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)], Gevent: 1.0
> - Opening a simple connection server
> TorManager Connecting to Tor Controller 127.0.0.1:9051
> TorManager Tor controller connect error: error: [Errno 111] Connection refused in TorManager.py line 170 > socket.py line 342
> TorManager Starting self-bundled Tor, due to Tor proxy port 127.0.0.1:9050 check error: No connection
> Site:1KR7WW..hMPK Content.json not exist: data/addresshere/content.json
> Announcing...
> Downloading...
> ConnServer Internet offline
> ^CShutting down...
> - Unhandled exception
> None
> KeyboardInterrupt
> ^CShutting down...
> - Unhandled exception
> None
> KeyboardInterrupt
> exit
> ^Ad^CShutting down...
> - Unhandled exception
> None
> KeyboardInterrupt

Keyboard interrupt means i did abort command Ctrl+C in my console (Putty SSH client)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.