From: HiPhish <HiPhish@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] `mitmproxy` fails to start due to ZSTD error
Date: Sun, 07 Apr 2024 13:31:47 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49743@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2825 bytes --]
New issue by HiPhish on void-packages repository
https://github.com/void-linux/void-packages/issues/49743
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.25_1 x86_64 AuthenticAMD uptodate rrmFFFF
### Package(s) Affected
mitmproxy-9.0.1_2
### 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 crashes
```
$ mitmproxy -p 8080 -M '/^http:/https:'
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.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.12/site-packages/mitmproxy/tools/main.py", line 10, in <module>
from mitmproxy import exceptions, master
File "/usr/lib/python3.12/site-packages/mitmproxy/master.py", line 8, in <module>
from mitmproxy import eventsequence
File "/usr/lib/python3.12/site-packages/mitmproxy/eventsequence.py", line 6, in <module>
from mitmproxy import http
File "/usr/lib/python3.12/site-packages/mitmproxy/http.py", line 26, in <module>
from mitmproxy.net import encoding
File "/usr/lib/python3.12/site-packages/mitmproxy/net/encoding.py", line 13, in <module>
import zstandard as zstd
File "/usr/lib/python3.12/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 (10506 returned by the lib, 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
```
### Steps to reproduce
1. Install mitmproxy
2. Run it
This might be a repeat of #44257.
next reply other threads:[~2024-04-07 11:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-07 11:31 HiPhish [this message]
2024-04-07 11:38 ` classabbyamp
2024-04-07 11:38 ` classabbyamp
2024-04-07 15:55 ` tornaria
-- strict thread matches above, loose matches on Subject: below --
2023-06-04 13:29 [ISSUE] Mitmproxy " TeddyDD
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49743@inbox.vuxu.org \
--to=hiphish@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).