* [ISSUE] `mitmproxy` fails to start due to ZSTD error
@ 2024-04-07 11:31 HiPhish
2024-04-07 11:38 ` classabbyamp
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: HiPhish @ 2024-04-07 11:31 UTC (permalink / raw)
To: ml
[-- 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: `mitmproxy` fails to start due to ZSTD error
2024-04-07 11:31 [ISSUE] `mitmproxy` fails to start due to ZSTD error HiPhish
@ 2024-04-07 11:38 ` classabbyamp
2024-04-07 11:38 ` classabbyamp
2024-04-07 15:55 ` tornaria
2 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-04-07 11:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/49743#issuecomment-2041440248
Comment:
would be fixed by upsetting python3-zstandard: https://github.com/void-linux/void-packages/pull/49606
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: `mitmproxy` fails to start due to ZSTD error
2024-04-07 11:31 [ISSUE] `mitmproxy` fails to start due to ZSTD error HiPhish
2024-04-07 11:38 ` classabbyamp
@ 2024-04-07 11:38 ` classabbyamp
2024-04-07 15:55 ` tornaria
2 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-04-07 11:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/49743#issuecomment-2041440248
Comment:
would be fixed by updating python3-zstandard: https://github.com/void-linux/void-packages/pull/49606
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: `mitmproxy` fails to start due to ZSTD error
2024-04-07 11:31 [ISSUE] `mitmproxy` fails to start due to ZSTD error HiPhish
2024-04-07 11:38 ` classabbyamp
2024-04-07 11:38 ` classabbyamp
@ 2024-04-07 15:55 ` tornaria
2 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2024-04-07 15:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/issues/49743#issuecomment-2041513238
Comment:
Note that #49606 is nacked because it fixes the issue by using a vendored zstd. I suggested a patch to keep using the system zstd but the PR hasn't been updated. There's also #49348 which includes the update to python3-zstandard using system zstd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ISSUE] Mitmproxy fails to start due to ZSTD error
@ 2023-06-04 13:29 TeddyDD
0 siblings, 0 replies; 5+ messages in thread
From: TeddyDD @ 2023-06-04 13:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]
New 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 notuptodate 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-07 15:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-07 11:31 [ISSUE] `mitmproxy` fails to start due to ZSTD error HiPhish
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
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).