New apps 2026-10-10: Grocy and LubeLogger on the website; Monica stopped
gates / gates (push) Failing after 11m41s
gates / gates (push) Failing after 11m41s
The catalogue side is app-catalog-felhom.eu b7f0f7c. Here: the evidence, the website, the register and the operator's view. Website - Two cards in the Otthon & Eletmod / Home & Lifestyle section of BOTH apps pages, with assets: grocy-logo.svg is grocy's own icon with its single fill made white like the other logos, lubelogger-logo.png is the app's own icon with its dark background dropped and the mark made white (the rule SparkyFitness's PNG follows), and six screenshots of each app's own UI with a household's own data, taken headless on the bench from the published template. - The app count moved 56 -> 58 in 15 places per language set, both languages, and the open-source tile 49 -> 51. Checked by asking the same patterns for the new number afterwards. marketing/facebook/COPY.md still says 56 and is NOT changed: the post it carries is already scheduled. Evidence - documentation/audits/new-apps-2026-10-10/ — FIT.md (checklist group 0 for all three, with the Hungarian-UI column), the bench and box transcripts, the memory samples, the screenshots and the gate runs. Register: 137 -> 139 rows, 2 opened, 0 closed. - R-926 after a remove-keeping-backups and restore, nobody has checked what the app page shows for an after_install app's generated password. Measured here: LubeLogger is safe (its login is derived from the environment at every start, the new password signs in, the data is back); grocy's install password still signs in from the restored database but the deployed environment no longer carries ADMIN_PASSWORD at all. Seven apps are in the class. - R-927 Monica, stopped at checklist 0.2 with the measurements, waiting on the operator. Gate scripts: the same console trap in nineteen of them and in repo_gates.py itself, where it ABORTED THE WHOLE RUNNER at the first gate — printing a non-ASCII character on this workstation's cp1250 console raised UnicodeEncodeError before the gate had decided anything, and reuse_refs_check.py died while printing a NOTE. All now reconfigure their own streams. Red-proof that the remaining script-test failures are not mine: test_due_checks_gate.py fails the same 5 of 42 with the change reverted.
This commit is contained in:
@@ -30,6 +30,18 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
DEFAULT = os.path.join(ROOT, "documentation", "architecture", "where-felhom-stands.yaml")
|
||||
REGISTER = os.path.join(ROOT, "documentation", "backlog", "OPEN-ITEMS.md")
|
||||
|
||||
@@ -66,6 +66,18 @@ import sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import register_table # noqa: E402 — the shared row reader (2026-10-03)
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
CLOSED = os.path.join(ROOT, "documentation", "backlog", "CLOSED-ITEMS.md")
|
||||
OPEN = os.path.join(ROOT, "documentation", "backlog", "OPEN-ITEMS.md")
|
||||
|
||||
@@ -29,6 +29,18 @@ import io
|
||||
import os
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
# ── EXEMPTIONS — each carries its row and one line saying why it is not covered YET ─────────────
|
||||
# Dated 2026-09-01. This list is DEBT, not a settled state: R-426 owns it and names every entry.
|
||||
EXEMPT = {
|
||||
|
||||
@@ -60,6 +60,18 @@ import re
|
||||
import sys
|
||||
from datetime import date, datetime, timezone
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
DEFAULT_REGISTER = os.path.join(ROOT, "documentation", "backlog", "OPEN-ITEMS.md")
|
||||
|
||||
|
||||
@@ -121,6 +121,18 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
# The controller clone sits beside this one. The same sibling assumption reuse_refs_check.py and
|
||||
# instructions_gate.py already make — an absent sibling is INCONCLUSIVE, never a silent pass.
|
||||
|
||||
@@ -26,6 +26,18 @@ Gates (all must pass; non-zero exit on any failure):
|
||||
"""
|
||||
import io, os, re, sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
SCRIPT = os.path.join(ROOT, "scripts", "felhom-host-install.sh")
|
||||
HUB_CONFIGS = os.path.join(ROOT, "hub", "internal", "web", "configs.go")
|
||||
|
||||
@@ -9,6 +9,18 @@ Exit 1 if any native confirm(/prompt( call remains in hub templates.
|
||||
"""
|
||||
import io, os, re, sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.join("hub", "internal", "web", "templates")
|
||||
|
||||
# A bare confirm(/prompt( CALL with an argument: not preceded by an identifier character, so felhomConfirm(
|
||||
|
||||
@@ -46,6 +46,17 @@ sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
from customer_copy_vocab import ( # noqa: E402
|
||||
RETIRED_NAMES, RETRIEVAL_STEMS, RETRIEVAL_STEMS_EN)
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
_HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
_REPO = os.path.dirname(_HERE)
|
||||
_HUB = os.path.join(_REPO, "hub")
|
||||
|
||||
@@ -90,6 +90,18 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
MAX_LINES = 200
|
||||
|
||||
# The auto-memory index. Limits are the store's own, not this project's taste: content past them is
|
||||
|
||||
@@ -37,6 +37,18 @@ import sys
|
||||
import tempfile
|
||||
import uuid
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
ISO = os.path.join(ROOT, "scripts", "iso")
|
||||
IMAGE = "felhom-iso-assistant:trixie"
|
||||
|
||||
@@ -15,6 +15,18 @@ secret files — would silently un-track a gate with "secret" in its filename.)
|
||||
"""
|
||||
import io, os, re, sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = "manifests"
|
||||
|
||||
# 64 hex chars with no hex/word neighbors (so longer blobs and sha256-of-file hexes embedded in
|
||||
|
||||
@@ -71,6 +71,18 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
# `## 10. Observations — recorded, not acted on`, `### Observations`, `## Observations:` …
|
||||
|
||||
@@ -41,6 +41,18 @@ import sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import register_table # noqa: E402
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
ROADMAP = os.path.join(ROOT, "documentation", "backlog", "ROADMAP.md")
|
||||
REGISTER = os.path.join(ROOT, "documentation", "backlog", "OPEN-ITEMS.md")
|
||||
|
||||
@@ -32,6 +32,18 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
DEFAULT_ROOT = os.path.dirname(HERE)
|
||||
ARCH = os.path.join("documentation", "architecture")
|
||||
|
||||
@@ -70,6 +70,18 @@ from pathlib import Path
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import register_table # noqa: E402 — the shared row reader (2026-10-03)
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
# The eleven categories (operator request 2026-10-03; the reviewer's default, operator may reverse).
|
||||
# The same list, in the same order, heads OPEN-ITEMS.md's "How a row is filed" section.
|
||||
CATEGORIES = (
|
||||
|
||||
@@ -107,6 +107,17 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
# The runner's own console must not decide whether the gates run. It streams each gate's bytes back
|
||||
# out, decoded with errors="replace"; on a Windows console (cp1250 here) printing the replacement
|
||||
# character raised UnicodeEncodeError and **aborted the whole runner at the first gate**, so no gate
|
||||
# after it ran at all. Found 2026-10-10; same trap class as check-onboarding.py's and
|
||||
# poster_facts_gate.py's. A gate that cannot print is still a gate that must report.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
SCRIPTS = os.path.join(ROOT, "scripts")
|
||||
|
||||
|
||||
@@ -37,6 +37,18 @@ scripts/test_reuse_refs_check.py: a citation that exists nowhere still FAILS.
|
||||
"""
|
||||
import io, os, re, sys
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
# path-looking tokens ending in a checked extension; globs (*) are conventions, not refs.
|
||||
# R-422: `.md` joined the list — a rotted document citation was invisible (measured 2026-09-01:
|
||||
# `documentation/architecture/99-does-not-exist.md` passed). The false-positive walk across all four
|
||||
|
||||
@@ -21,6 +21,18 @@ import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
MARK = "FELHOM_SCRIPT_TESTS_GATE"
|
||||
TIMEOUT_S = 300
|
||||
SKIP_DIRS = {"__pycache__", ".git", "node_modules"}
|
||||
|
||||
@@ -34,6 +34,18 @@ Gates (all must pass; non-zero exit on any failure):
|
||||
"""
|
||||
import html as _html, io, json, os, re, sys, unicodedata
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
W = os.path.join(ROOT, "website")
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
@@ -65,6 +65,18 @@ import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
# A gate's own console must not decide its verdict. These scripts quote back Hungarian copy, file
|
||||
# paths and arrow characters; a Windows console here is cp1250, and printing one of them raised
|
||||
# UnicodeEncodeError *before the gate had decided anything* — reuse_refs_check.py died while printing
|
||||
# a NOTE, which the runner then reported as a failure (2026-10-10). Same trap class as
|
||||
# poster_facts_gate.py's, which was found by its own red-proof.
|
||||
for _stream in (sys.stdout, sys.stderr):
|
||||
try:
|
||||
_stream.reconfigure(encoding="utf-8", errors="replace")
|
||||
except (AttributeError, ValueError, OSError): # pragma: no cover - old Python, or a pipe
|
||||
pass
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
WORKSPACE = os.path.dirname(ROOT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user