HelloZeroNet / HelloZeroNet/ZeroNet
greenlet.py, worker.py - UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 13: ordinal not in range(128)
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Step 1: Please describe your environment
* ZeroNet version: 3853
* Operating system: W10
* Web browser: FF
* Tor status: available
### Step 2: Describe the problem:
The merger site is not loading content from hubs, so i taken a look into debug.log and found some errors that MAY be related:
```
[2019-03-19 05:12:43,224] DEBUG WorkerManager:site..addresshere New task: galleries/something2: here/content.json, peer lock: None, priority: 1, optional_hash_id: None, tasks started: 16
[2019-03-19 05:12:43,272] DEBUG WorkerManager:site..addresshere Timeout, Skipping: {'optional_hash_id': None, 'site': , 'done': False, 'size': 0, 'inner_path': u'galleries/some: name/content.json', 'peers': None, 'time_started': 1552988370.636, 'time_action': None, 'priority': 1, 'failed': [peershere], 'workers_num': 669, 'time_added': 1552988307.413, 'evt': }
[2019-03-19 05:12:43,272] DEBUG WorkerManager:site..addresshere iphere:port: Force skipping
[2019-03-19 05:12:43,272] DEBUG WorkerManager:site..addresshere iphere:port: Force skipping
[2019-03-19 05:12:43,273] DEBUG - Gevent block detected: 3.71600008011
[2019-03-19 05:12:43,681] DEBUG WorkerManager:site..addresshere iphere:port: Verify correct: galleries/something1: here/content.json
[2019-03-19 05:12:43,683] ERROR - Unhandled exception
Traceback (most recent call last):
File "site-packages\gevent\greenlet.py", line 536, in run
File "C:\ZeroNet\core\src\Worker\Worker.py", line 108, in downloader
self.manager.log.error("%s: Error writing: %s (%s)" % (self.key, task["inner_path"], err))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 13: ordinal not in range(128)
[2019-03-19 05:12:43,940] DEBUG WorkerManager:site..addresshere iphere:port: Verify correct: galleries/something2: here/content.json
[2019-03-19 05:12:43,940] ERROR - Unhandled exception
```
There is also other error that is for that particular content i want to open:
`... manifest.json fileGet error: [Errno 22] invalid mode ('rb') or filename: u' ...`
Rebuilding database of the merger site & zeronet restart does not help. And on the hub (that seem to me having issue), it do not show anything in the site's zero menu - corner button)
How this can be fixed and where?
https://duckduckgo.com/?q="UnicodeDecodeError%3A+'ascii'+codec+can't+decode+byte"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.