HelloZeroNet / HelloZeroNet/ZeroNet

ContentDbPlugin.py - loadFilesOptional - KeyError: u'siteaddress'

Aperta
#1,932 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
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

* ZeroNet version: 3853
* Operating system: Linux
* Special configuration: Bootstrapper plugin, multiuser local plugin; Python 2.7.12

### Step 2: Describe the problem:

When i try to download any site:
python ../zeronet.py --silent siteDownload "15mQd6kBRzriaVEjdELujex2YKFfWaA8JQ"

it returns this:

```
- Unhandled exception
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
File "/root/ZeroNet-master/plugins/OptionalManager/ContentDbPlugin.py", line 97, in loadFilesOptional
site = self.sites[site_address]
KeyError: u'1GrwWFTmrKgUGQsGxrKSsRbb2dt8UJaBPN'
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
File "/root/ZeroNet-master/plugins/OptionalManager/ContentDbPlugin.py", line 97, in loadFilesOptional
site = self.sites[site_address]
KeyError: u'1GrwWFTmrKgUGQsGxrKSsRbb2dt8UJaBPN'
```

The KeyError is always about site "1GrwWFTmrKgUGQsGxrKSsRbb2dt8UJaBPN".

The memory usage rise like 100MB or more due to siteDownload command and as a result the primary zeronet that is running crash. Also i see 2 same siteDownload processes for same site at same time, which is strange, then like 30 seconds later i see 5+ same processes of siteDownload (for same site) showing like 40% RAM usage. Then the siteDownload command gets killed.

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.