HelloZeroNet / HelloZeroNet/ZeroNet
python update.py or python2.update.py should have more verbose output
- 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: 0.6.1 r3229
* Operating system: Debian buster
* Web browser: 52.6.0
* Tor status: always
* Opened port: yes
* Special configuration: None
### Step 2: Describe the problem:
When I run python update.py at times I have to wait for a very long time to know why the update failed and sometimes even then don't really get the result which is just wastage of time.
#### Steps to reproduce:
1. Download the relevant .tar.gz version of zeronet
2. extract it in some directory, for e.g. I did it in games/Zeronet-master
3. go to the directory and do -
```
/home/shirish/games/ZeroNet-master> python update.py
Update site path: data/1UPDatEDxnvHDo7TXvq6AEBARfNkyfxsp, bad_files: 0
```
Both python and python2 are linked to Python 2.7.14+
The only way to get the new release is to get the newest tarball and extract it, no other way.
I also tried -
`python -v update.py` but it gets stuck at -
```
# /usr/lib/python2.7/Queue.pyc matches /usr/lib/python2.7/Queue.py
import Queue # precompiled from /usr/lib/python2.7/Queue.pyc
```
#### Observed Results:
* shared above.
#### Expected Results:
* I expected either of the two results -
result 1 - the software is updated
result 2 - an error shows up telling me what is wrong or at least gives me some inkling what is needed to be fixed but got no output so nothing to parse/understand.
Couple of links might be useful which I looked into -
https://stackoverflow.com/questions/14097061/easier-way-to-enable-verbose-logging
https://stackoverflow.com/questions/5980042/how-to-implement-the-verbose-or-v-option-into-a-script
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.