Fix: img.cache gehört ins Repo (Control-Panel-Bitmaps) + EQ-Koordinatenpfad
img.cache (~378 MB) sind die vor-gerenderten Button-/Status-Bitmaps der Control-Panels und NICHT regenerierbar (keine PNG-Quellen). Ohne sie bricht das Panel mit "Failed to get image ..." (z.B. cs_in3_off). Waren versehentlich per .gitignore ausgeschlossen -> zurück ins Repo. Zusätzlich: VA_SVG_WINPATH deckt jetzt auch diagram.py ab, damit der EQ nicht auf negatives Y (außerhalb des Panels) positioniert wird. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
# Generierte Skin-Bitmap-Caches (werden aus den SVGs neu erzeugt, ~378 MB)
|
||||
**/img.cache
|
||||
**/img.cache.zip
|
||||
# HINWEIS: img.cache (~378 MB) MUSS ins Repo - es sind die vor-gerenderten
|
||||
# Button-/Status-Bitmaps der Control-Panels. Es gibt KEINE PNG-Quellen, aus denen
|
||||
# sie regeneriert werden koennten. Ohne sie: "Failed to get image ...".
|
||||
|
||||
# GIMP-Editing-Quellen (nicht Laufzeit)
|
||||
**/*.xcf
|
||||
|
||||
@@ -77,8 +77,9 @@ Kompatibilitäts-Fixes, weil die App Linux (`os.name='posix'`) wie einen **Mac**
|
||||
Koordinatenpfad; Linux nimmt fälschlich den Mac-Pfad (Y gespiegelt/versetzt). **Experimentell:**
|
||||
mit `VA_SVG_WINPATH=1 ./run.sh` erzwingt man den Windows-Pfad. Siehe `STATUS.md`.
|
||||
- **RTA-Messung (Mikrofon)** braucht Audio-Durchreichung (ALSA/Pulse) in den Container.
|
||||
- **`img.cache`** (vor-gerenderte Skin-Bitmaps) ist **nicht** im Repo — die App rendert aus den
|
||||
vorhandenen SVGs und baut den Cache bei Bedarf neu (siehe `.gitignore`).
|
||||
- **`img.cache`** (vor-gerenderte Button-/Status-Bitmaps der Control-Panels, ~378 MB) ist
|
||||
**notwendige Laufzeitdaten** und im Repo enthalten — es gibt keine PNG-Quellen, aus denen sie
|
||||
regeneriert werden könnten. Fehlen sie, meldet die App `Failed to get image …`.
|
||||
|
||||
## Aufbau
|
||||
|
||||
|
||||
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
+12
-3
@@ -51,12 +51,21 @@ except Exception:
|
||||
# Windows-Pfad, indem mac_names so gesetzt wird, dass os.name='posix' NICHT enthalten ist.
|
||||
# Aktivieren mit VA_SVG_WINPATH=1.
|
||||
if os.environ.get('VA_SVG_WINPATH') == '1':
|
||||
# GUI-Module, deren `mac_names`-Zweige reine Koordinaten/Rendering-Logik sind
|
||||
# (Mac-Pfad = Y gespiegelt/versetzt -> auf Linux falsch: Fader nicht greifbar,
|
||||
# EQ-Diagramm auf negatives Y = ausserhalb des Panels). Bewusst NUR GUI-Module -
|
||||
# die Protokoll-Module (d_protocol, d_keepalive) nutzen mac_names fuer Zeilenenden/
|
||||
# Serial und werden NICHT angefasst.
|
||||
_gui_mods = ['svg_panel', 'diagram']
|
||||
_done = []
|
||||
for _m in _gui_mods:
|
||||
try:
|
||||
import svg_panel as _sp
|
||||
_sp.mac_names = '__winpath__'
|
||||
sys.stderr.write('[launch] VA_SVG_WINPATH=1 -> svg_panel nutzt Windows-Koordinatenpfad\n')
|
||||
__import__(_m)
|
||||
sys.modules[_m].mac_names = '__winpath__'
|
||||
_done.append(_m)
|
||||
except Exception:
|
||||
pass
|
||||
sys.stderr.write('[launch] VA_SVG_WINPATH=1 -> Windows-Koordinatenpfad fuer: %s\n' % ', '.join(_done))
|
||||
|
||||
if __name__ == '__main__':
|
||||
frame = one_unit.main_application(sys.argv)
|
||||
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user