<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Troubleshooting on 春江暮客</title>
		<link>https://www.bobobk.com/en/tags/troubleshooting/</link>
		<description>Recent content in Troubleshooting on 春江暮客</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Thu, 22 Oct 2026 22:31:19 +0800</lastBuildDate>
		
			<atom:link href="https://www.bobobk.com/en/tags/troubleshooting/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Fix Python CSV Field Limits: Set a Character Cap and Test Boundaries</title>
				<link>https://www.bobobk.com/en/python-csv-field-size-limit.html</link>
				<pubDate>Thu, 22 Oct 2026 22:31:19 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-csv-field-size-limit.html</guid>
				<description>Reproduce CSV field-limit errors, choose a finite character cap, and test multiline fields, broken quoting, exit codes, and restored parser settings.</description>
			</item>
			<item>
				<title>Fix Python UnicodeEncodeError in Linux Jobs: Inspect stdout and Select UTF-8</title>
				<link>https://www.bobobk.com/en/python-linux-stdio-encoding.html</link>
				<pubDate>Thu, 22 Oct 2026 13:43:51 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-linux-stdio-encoding.html</guid>
				<description>Reproduce ASCII stdout failures, fix standard streams with PYTHONIOENCODING or UTF-8 mode, and verify log bytes and file encodings.</description>
			</item>
			<item>
				<title>Fix Python BrokenPipeError with head and Verify Pipeline Exit Codes</title>
				<link>https://www.bobobk.com/en/python-broken-pipe-head.html</link>
				<pubDate>Wed, 21 Oct 2026 22:09:37 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-broken-pipe-head.html</guid>
				<description>Reproduce early pipe closure, handle stdout writes and flushing at a CLI entry point, and verify buffering, broken pipes, and real failure statuses.</description>
			</item>
			<item>
				<title>Compare CSV Snapshots by ID with Python: Added, Removed, and Changed Records</title>
				<link>https://www.bobobk.com/en/python-csv-diff-by-key.html</link>
				<pubDate>Wed, 21 Oct 2026 14:20:30 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-csv-diff-by-key.html</guid>
				<description>Compare CSV snapshots by a unique ID with the Python standard library, reject duplicate keys, and report additions, removals, and changed fields with automation-friendly exit codes.</description>
			</item>
			<item>
				<title>Split Large CSV Files with Python: Headers, Multiline Fields, and Completion Checks</title>
				<link>https://www.bobobk.com/en/python-split-csv-records.html</link>
				<pubDate>Wed, 21 Oct 2026 06:22:30 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-split-csv-records.html</guid>
				<description>Split CSV records with the Python standard library, repeat headers, preserve multiline fields, and distinguish complete output from failed partial files.</description>
			</item>
			<item>
				<title>Fix Linux Argument list too long with find and Python</title>
				<link>https://www.bobobk.com/en/linux-argument-list-too-long-python.html</link>
				<pubDate>Tue, 20 Oct 2026 20:56:06 +0800</pubDate>
				<guid>https://www.bobobk.com/en/linux-argument-list-too-long-python.html</guid>
				<description>Move filename lists into standard input or Python traversal to handle large trees, unusual names, and explicit failure exits.</description>
			</item>
			<item>
				<title>Read CSV Files Inside tar.gz with Python: Summaries Without Extraction</title>
				<link>https://www.bobobk.com/en/python-tar-gz-csv-without-extract.html</link>
				<pubDate>Tue, 20 Oct 2026 14:24:08 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-tar-gz-csv-without-extract.html</guid>
				<description>Read a CSV member directly from tar.gz, reject duplicate names, validate input, and test failure exit codes.</description>
			</item>
			<item>
				<title>Reliable File Downloads in Python: Streaming, Size Limits, and SHA-256</title>
				<link>https://www.bobobk.com/en/python-stream-download-sha256.html</link>
				<pubDate>Tue, 20 Oct 2026 06:19:26 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-stream-download-sha256.html</guid>
				<description>Stream files with the Python standard library, verify length and SHA-256, and test that failed downloads preserve previous output.</description>
			</item>
			<item>
				<title>Fix Python Module Shadowing: Inspect Import Origins and Interpreter Paths</title>
				<link>https://www.bobobk.com/en/python-import-shadowing-path.html</link>
				<pubDate>Mon, 19 Oct 2026 22:36:53 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-import-shadowing-path.html</guid>
				<description>Reproduce json.py shadowing, inspect the interpreter and import origin, compare isolated mode, and verify the fix with repeatable file and package collision tests.</description>
			</item>
			<item>
				<title>Troubleshoot Hostname Resolution with Python: getaddrinfo, IPv4/IPv6, and Wait Budgets</title>
				<link>https://www.bobobk.com/en/python-dns-getaddrinfo-check.html</link>
				<pubDate>Mon, 19 Oct 2026 13:07:31 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-dns-getaddrinfo-check.html</guid>
				<description>Inspect system hostname resolution with Python, classify resolver errors, and bound automation waits with a child process.</description>
			</item>
			<item>
				<title>Test Directory Writes with Python: Permissions, Read-Only Storage, and Path Errors</title>
				<link>https://www.bobobk.com/en/python-directory-write-probe.html</link>
				<pubDate>Mon, 19 Oct 2026 05:11:49 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-directory-write-probe.html</guid>
				<description>Probe an output directory with a tiny temporary file, report errno as JSON, and stop automation when writing fails.</description>
			</item>
			<item>
				<title>Fix Linux Script Startup Errors: Diagnose CRLF and BOM with Python</title>
				<link>https://www.bobobk.com/en/linux-script-crlf-bom-python.html</link>
				<pubDate>Sun, 18 Oct 2026 15:32:46 +0800</pubDate>
				<guid>https://www.bobobk.com/en/linux-script-crlf-bom-python.html</guid>
				<description>Reproduce Linux script startup failures, inspect CRLF and UTF-8 BOM bytes, and verify a new LF copy without changing the source or overwriting files.</description>
			</item>
			<item>
				<title>Check TLS Certificate Expiry with Python: Verification, Warnings, and Local Tests</title>
				<link>https://www.bobobk.com/en/python-tls-certificate-expiry.html</link>
				<pubDate>Sun, 18 Oct 2026 08:16:40 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-tls-certificate-expiry.html</guid>
				<description>Validate TLS certificates and check remaining validity with the Python standard library, JSON output, exit codes, and repeatable local tests.</description>
			</item>
			<item>
				<title>Probe TCP Ports with Python: Distinguish Refusal, Timeout, and System Errors</title>
				<link>https://www.bobobk.com/en/python-tcp-port-check.html</link>
				<pubDate>Sun, 18 Oct 2026 00:37:00 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-tcp-port-check.html</guid>
				<description>Probe an IPv4 TCP endpoint with JSON and exit codes, then test listening ports, refused connections, and injected timeouts locally.</description>
			</item>
			<item>
				<title>Check ZIP Backups with Python: CRC, Duplicate Members, and Missing Files</title>
				<link>https://www.bobobk.com/en/python-zip-backup-check.html</link>
				<pubDate>Sat, 17 Oct 2026 18:00:14 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-zip-backup-check.html</guid>
				<description>Validate ZIP backups without extraction, require expected files, and test corruption and failure exits.</description>
			</item>
			<item>
				<title>Validate CSV Structure with Python: Exact Headers, Column Order, and Field Counts</title>
				<link>https://www.bobobk.com/en/python-csv-schema-check.html</link>
				<pubDate>Sat, 17 Oct 2026 11:43:33 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-csv-schema-check.html</guid>
				<description>Check exact CSV headers and field counts with the Python standard library, test multiline records and failure exit codes, and stop schema drift before imports.</description>
			</item>
			<item>
				<title>Check Disk Space with Python Before Starting a Batch Job</title>
				<link>https://www.bobobk.com/en/python-disk-space-preflight.html</link>
				<pubDate>Sat, 17 Oct 2026 03:47:00 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-disk-space-preflight.html</guid>
				<description>Check free space at the output directory, combine peak demand with headroom, and stop jobs that exceed their budget.</description>
			</item>
			<item>
				<title>Find Broken Symlinks with Python: Separate Missing Targets, Permission Errors, and Loops</title>
				<link>https://www.bobobk.com/en/python-broken-symlinks.html</link>
				<pubDate>Fri, 16 Oct 2026 20:43:14 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-broken-symlinks.html</guid>
				<description>Audit symlinks without modifying files, report JSON and exit codes, and test missing targets, permission failures, and link loops.</description>
			</item>
			<item>
				<title>Fix Python SQLite database is locked: Timeouts and Short Transactions</title>
				<link>https://www.bobobk.com/en/python-sqlite-database-locked.html</link>
				<pubDate>Fri, 16 Oct 2026 11:55:49 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-sqlite-database-locked.html</guid>
				<description>Reproduce SQLite write contention with two processes, bound lock waiting, use short transactions, and verify rollback, exit codes, and final rows.</description>
			</item>
			<item>
				<title>Check Scheduled Output Freshness with Python: File Age, Empty Files, and Exit Codes</title>
				<link>https://www.bobobk.com/en/python-output-freshness-check.html</link>
				<pubDate>Fri, 16 Oct 2026 04:03:00 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-output-freshness-check.html</guid>
				<description>Check report age, empty output, and future timestamps with the Python standard library, then verify JSON results and exit codes using repeatable failure tests.</description>
			</item>
			<item>
				<title>Find Large Files with Python: Rank a Directory with os.walk and heapq</title>
				<link>https://www.bobobk.com/en/python-largest-files-heapq.html</link>
				<pubDate>Thu, 15 Oct 2026 21:24:44 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-largest-files-heapq.html</guid>
				<description>Scan regular-file metadata, keep the largest N entries, and verify size filters, symlink exclusions, and incomplete scans.</description>
			</item>
			<item>
				<title>Python Too Many Open Files: Find File Handle Leaks on Linux</title>
				<link>https://www.bobobk.com/en/python-too-many-open-files.html</link>
				<pubDate>Thu, 15 Oct 2026 05:28:42 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-too-many-open-files.html</guid>
				<description>Reproduce descriptor exhaustion, inspect process limits and open files through /proc, then verify scoped file cleanup.</description>
			</item>
			<item>
				<title>Validate JSONL with Python: Find Broken Lines and Duplicate Keys</title>
				<link>https://www.bobobk.com/en/python-jsonl-validation.html</link>
				<pubDate>Wed, 14 Oct 2026 20:57:24 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-jsonl-validation.html</guid>
				<description>Validate JSONL line by line, locate syntax and encoding errors, and gate batch jobs with reliable exit codes.</description>
			</item>
			<item>
				<title>Stream gzip Logs with Python and Detect Truncation and CRC Errors</title>
				<link>https://www.bobobk.com/en/python-gzip-log-integrity.html</link>
				<pubDate>Wed, 14 Oct 2026 04:57:00 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-gzip-log-integrity.html</guid>
				<description>Count matching lines in gzip logs and verify that damaged files never produce a successful report.</description>
			</item>
			<item>
				<title>Python Task Configuration with tomllib: Validate TOML and Resolve Paths</title>
				<link>https://www.bobobk.com/en/python-tomllib-task-config.html</link>
				<pubDate>Tue, 13 Oct 2026 20:03:45 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-tomllib-task-config.html</guid>
				<description>Load and validate TOML task settings with the Python standard library, override line limits, and verify stable paths and error exits.</description>
			</item>
			<item>
				<title>Fix Delayed Python Logs with -u, flush, and Bash pipefail</title>
				<link>https://www.bobobk.com/en/python-unbuffered-logs-pipefail.html</link>
				<pubDate>Tue, 13 Oct 2026 05:57:21 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-unbuffered-logs-pipefail.html</guid>
				<description>Reproduce Python output buffering, show progress promptly with -u or flush=True, and preserve pipeline failures with Bash pipefail.</description>
			</item>
			<item>
				<title>Python HTTP JSON Requests: Timeouts, Bounded Retries, and Local Tests</title>
				<link>https://www.bobobk.com/en/python-http-json-timeout-retry.html</link>
				<pubDate>Mon, 12 Oct 2026 22:07:11 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-http-json-timeout-retry.html</guid>
				<description>Fetch JSON with Python’s standard library, bound retries, and test 503 recovery, 404, invalid JSON, and timeouts locally.</description>
			</item>
			<item>
				<title>Troubleshoot Linux Scheduled Jobs: Python Paths, Working Directories, and Environment</title>
				<link>https://www.bobobk.com/en/linux-cron-python-path-cwd.html</link>
				<pubDate>Sun, 11 Oct 2026 14:29:04 +0800</pubDate>
				<guid>https://www.bobobk.com/en/linux-cron-python-path-cwd.html</guid>
				<description>Reproduce scheduled-job path and environment failures, validate a fixed Python entry script, and apply the method to a temporary Hugo build.</description>
			</item>
			<item>
				<title>Rotate Python Logs by Size with RotatingFileHandler</title>
				<link>https://www.bobobk.com/en/python-rotating-logs.html</link>
				<pubDate>Sun, 11 Oct 2026 07:36:35 +0800</pubDate>
				<guid>https://www.bobobk.com/en/python-rotating-logs.html</guid>
				<description>Configure size-based log rotation for a single-process Python script and verify backups, repeated runs, and failure records.</description>
			</item>
			<item>
				<title>Linux Disk Still Full After Deleting Files: Diagnose with df, du, and lsof</title>
				<link>https://www.bobobk.com/en/linux-disk-full-deleted-files.html</link>
				<pubDate>Sat, 10 Oct 2026 15:47:24 +0800</pubDate>
				<guid>https://www.bobobk.com/en/linux-disk-full-deleted-files.html</guid>
				<description>Diagnose Linux disk pressure, distinguish blocks from inodes, and release deleted log files still held open by a process.</description>
			</item>
	</channel>
</rss>
