HelloZeroNet / HelloZeroNet/ZeroNet

Can not abort "python zeronet.py siteDownload" command

オープン
#1,276 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。