HelloZeroNet / HelloZeroNet/ZeroNet

Traceback on long-running py3 versoin

Open
#2,008 0 comments 0 reactions 0 assignees View on GitHub
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: latest master on `py3`
* Operating system: Debian Linux
* Web browser: Firefox
* Tor status: disabled
* Opened port: no
* Special configuration: PeerMessage plugin installed at `py3` branch

### Step 2: Describe the problem:

I received the following traceback just while ZeroNet was open in the background. I don't believe I was browsing ZeroNet at the time.

```
[11:58:41] - Unhandled exception: [(, AttributeError("'NoneType' object has no attribute 'server'"), )]
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
File "/home/user/code/zeronet/src/File/FileServer.py", line 296, in cleanupSites
connected_num = site.needConnections(check_site_on_reconnect=True)
File "/home/user/code/zeronet/src/Site/Site.py", line 829, in needConnections
peer.pex() # Initiate peer exchange
File "/home/user/code/zeronet/src/Peer/Peer.py", line 277, in pex
if "peers_ipv6" in res and "ipv6" not in self.connection.server.supported_ip_types:
AttributeError: 'NoneType' object has no attribute 'server'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.