Erster Commit: nativer Linux-Port aus macOS-Bytecode
Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/ scipy/PortAudio) kommen nativ aus Debian stretch. Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per .gitignore ausgeschlossen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf8 -*-
|
||||
|
||||
"Basic test to check issue 70: raise an exception if add_page was not called"
|
||||
|
||||
try:
|
||||
import fpdf
|
||||
# Portrait, millimeter units, A4 page size
|
||||
pdf=fpdf.FPDF("P", "mm", "A4")
|
||||
# Set font: Times, normal, size 10
|
||||
pdf.set_font('Times','', 12)
|
||||
##pdf.add_page()
|
||||
# Layout cell: 0 x 5 mm, text, no border, Left
|
||||
pdf.cell(0,5,'Input 1 : ',border=0,align="L")
|
||||
pdf.cell(0,5,'Input 2 : ', border=0,align="L")
|
||||
pdf.cell(0,5,'Recomendation : ', border=0, align="L")
|
||||
pdf.cell(0,5,'Data 1 :', border=0, align="L" )
|
||||
pdf.cell(0,5,'Data 2 :', border=0, align="L" )
|
||||
fn = 'issue70.pdf'
|
||||
pdf.output(fn,'F')
|
||||
except RuntimeError as e:
|
||||
assert e.args[0] == "FPDF error: No page open, you need to call add_page() first"
|
||||
else:
|
||||
raise RuntimeError("Exception not raised!")
|
||||
Reference in New Issue
Block a user