HelloZeroNet / HelloZeroNet/ZeroNet

Greenlet failing on OSX and Windows

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

説明

```
[2017-10-16 14:50:09,571] ERROR Site:... sands.git/packed-refs fileGet error: [Errno 2] No such file or directory: u'/Users/Manwe/Tools/ZeroNet/data/1RxTdD54fbEdVZs2hZCUBWirJf5bSsAUg/sands.git/packed-refs'
[2017-10-16 14:50:09,686] DEBUG Site:... Websocket send error: ConcurrentObjectUseError: This socket is already used by another greenlet: > in UiWebsocket.py line 197 > websocket.py line 349 > websocket.py line 333 > _socket2.pyo line 419 > _socket2.pyo line 355 > _socket2.pyo line 328 > _socket2.pyo line 176
[2017-10-16 14:50:09,686] DEBUG Site:... Websocket send error: ConcurrentObjectUseError: This socket is already used by another greenlet: > in UiWebsocket.py line 197 > websocket.py line 349 > websocket.py line 333 > _socket2.pyo line 419 > _socket2.pyo line 355 > _socket2.pyo line 328 > _socket2.pyo line 176
[2017-10-16 14:50:09,686] DEBUG Site:... Websocket send error: ConcurrentObjectUseError: This socket is already used by another greenlet: > in UiWebsocket.py line 197 > websocket.py line 349 > websocket.py line 333 > _socket2.pyo line 419 > _socket2.pyo line 355 > _socket2.pyo line 328 > _socket2.pyo line 176
```

...and a lot more messages. My site is trying to read many files at once, can it be related? This fails on OSX and works on Windows.

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

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

調査の方向性

Start with the logged call path through UiWebsocket.py line 197 and websocket.py lines 349 and 333, then compare the OSX and Windows behavior around concurrent file reads. Reproduce the site's many-file read scenario and determine what change would prevent the ConcurrentObjectUseError without breaking websocket sends.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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