Error when running mitogen: "struct.error: 'q' format requires -9223372036854775808 <= number <= 9223372036854775807" #1205
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
👋 Hey,
I was experimenting with mitogen today, and ran into the following issues in one of our devices:
This happens when gathering facts on a normal playbook. I've tested this playbook with mitogen on different hosts and it ran normally.
I suspect it's something to do with this being a musl linked python interpreter, but I can't really confirm it. I've attached strace logs (following the instructions on the website) as well as ansible logs with the verbose flags.
The logs are running on the latest git commit of mitogen (e8005ec) and the error seems to point to this line (
mitogen/mitogen/core.py
Lines 2795 to 2796 in e8005ec
I haven't run into any incompatibilities when running ansible (without mitogen) on this host otherwise.
It's installed from homebrew but I don't think they carry any patches
module_utils
loaded?No
Yes!
Host: MacOS Sonoma 14.6.1
Target: PTXDist 4.6.1 (
Linux bad 5.15.107-rt62-w04.03.06 #1 PREEMPT_RT Wed Oct 23 17:06:52 UTC 2024 armv7l GNU/Linux
)Host Python: Python 3.12.7 (Installed from homebrew)
Target Python: Python 3.13.1 (Built against musl libc)
Attached Files:
ansible-verbose.txt
ansible-config-changed.txt
strace-python.12959.12963.txt
strace-python.12959.12964.txt
strace-python.12959.12986.txt
The text was updated successfully, but these errors were encountered: