From: Duncaen <Duncaen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Mitmproxy fails to start due to ZSTD error
Date: Sun, 04 Jun 2023 18:36:14 +0200 [thread overview]
Message-ID: <20230604163614.CQk42I-UaoPEmz8H1r1g86i7m9__9l2-w80fSn5N634@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44257@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2904 bytes --]
Closed issue by TeddyDD on void-packages repository
https://github.com/void-linux/void-packages/issues/44257
Description:
### Is this a new report?
Yes
### System Info
Void 6.1.25_1 x86_64 AuthenticAMD uptodate rrrmFFFFFFFFFFFFFFFFFFFFFFFFFFF
### Package(s) Affected
mitmproxy-9.0.1_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
Program starts
### Actual behaviour
Program crashers
```
mitmproxy 11s
Traceback (most recent call last):
File "/usr/bin/mitmproxy", line 33, in <module>
sys.exit(load_entry_point('mitmproxy==9.0.1', 'console_scripts', 'mitmproxy')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/mitmproxy", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/mitmproxy/tools/main.py", line 10, in <module>
from mitmproxy import exceptions, master
File "/usr/lib/python3.11/site-packages/mitmproxy/master.py", line 8, in <module>
from mitmproxy import eventsequence
File "/usr/lib/python3.11/site-packages/mitmproxy/eventsequence.py", line 6, in <module>
from mitmproxy import http
File "/usr/lib/python3.11/site-packages/mitmproxy/http.py", line 26, in <module>
from mitmproxy.net import encoding
File "/usr/lib/python3.11/site-packages/mitmproxy/net/encoding.py", line 13, in <module>
import zstandard as zstd
File "/usr/lib/python3.11/site-packages/zstandard/__init__.py", line 39, in <module>
from .backend_c import * # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: zstd C API versions mismatch; Python bindings were not compiled/linked against expected zstd version (10505 returned by the lib, 10502 hardcoded in zstd headers, 10502 hardcoded in the cext)
```
### Steps to reproduce
1. Install mitmproxy
2. Run it
prev parent reply other threads:[~2023-06-04 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-04 13:29 [ISSUE] " TeddyDD
2023-06-04 16:36 ` Duncaen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230604163614.CQk42I-UaoPEmz8H1r1g86i7m9__9l2-w80fSn5N634@z \
--to=duncaen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).