Skip to content

pdf2wiki 0.2.5 — ssh keepalive for long remote converts

Choose a tag to compare

@Sevthered Sevthered released this 23 Jul 15:17

A remote-mode robustness fix found by the first full-book (354-page) remote conversion. No API
changes
; +1 test (108 → 109).

pip install --upgrade pdf2wiki    # 0.2.5

Fixed

  • Long remote conversions no longer drop the SSH control channel. During a long MinerU pass all
    converter output goes to a remote log file, so the SSH channel is silent for minutes; a NAT/idle
    timeout (common with WSL2 mirrored networking) could drop it, and batch would then mislabel a
    still-running convert as convert_failed while the remote job kept going. Every remote ssh/scp
    call now sends keepalives (ServerAliveInterval=30, ServerAliveCountMax=240 — ~2 h of tolerated
    silence, within the existing timeout Ns remote reaper). If a drop still happens, a re-run resumes
    from cached (.done) passes rather than restarting.

Docs: new troubleshooting entry
for this symptom.

Full changelog: CHANGELOG.md ·
PyPI: https://pypi.org/project/pdf2wiki/0.2.5/