#3407·clawhub

x-search skill (@jaaneek/x-search v1.0.0) crashes on Windows — signal.SIGPIPE not available

Author: whysecoderCreated Aug 5, 2026Updated Sep 19, 2026
LabelsP2issue-rating: 🦪 silver shellfishimpact:other

The x-search skill's scripts/search.py crashes immediately on Windows with:

AttributeError: module 'signal' has no attribute 'SIGPIPE'

This happens at startup:

signal.signal(signal.SIGPIPE, signal.SIG_DFL)

SIGPIPE is Unix-only and doesn't exist in Python's signal module on Windows. This breaks the skill entirely for any Windows-based OpenClaw install.

Fix: guard the call, e.g.

if hasattr(signal, "SIGPIPE"):
    signal.signal(signal.SIGPIPE, signal.SIG_DFL)

Tested locally with this one-line fix and confirmed the skill works correctly afterward.

cc @jaaneek (skill author)