HelloZeroNet / HelloZeroNet/ZeroNet

Invalid argument in ThreadPool

Open
#2,489 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: v0.7.1 (r4469)
* Operating system: Ubuntu
* Web browser: Firefox
* Tor status: available
* Opened port: yes
* Special configuration: none

### Step 2: Describe the problem:

#### Steps to reproduce:

1. No idea, will check if it can be reproduced later.

#### Observed Results:

Lots of errors like the following one appear at startup:

```
[08:05:15] - Unhandled exception: OSError: [Errno 22] Invalid argument in threadpool.py line 137
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/gevent/threadpool.py", line 137, in __run_task
thread_result.set(func(*args, **kwargs))
OSError: [Errno 22] Invalid argument
```

#### Expected Results:

No exception.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the startup errors on Ubuntu with ZeroNet v0.7.1 and inspect gevent/threadpool.py around line 137. Identify which startup task raises OSError 22 and confirm whether the exception is reproducible; done means startup completes without these unhandled exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.