Fails on my Windows because of encoding. Below are the logs, but let me also share what my agent told me:
The root cause is a Windows text-encoding mismatch during UI startup.
The startup log (logs/api/start_small.js/latest:10) shows the model loaded successfully in 23 seconds, using 9.10 GiB of GPU memory. Startup then failed with:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1391
At gradio_ui.py:22 (app/gradio_ui.py:22), the app reads studio_content.json without specifying an encoding. Python selected Windows cp1252, but the file contains UTF-8 emoji. I verified that the file decodes correctly as UTF-8 and parses as valid JSON.
Next fix: add PYTHONUTF8: "1" to the existing env blocks in start_small.js (start_small.js:8) and start.js (start.js:8), then restart through Pinokio. This enables Python’s UTF-8 mode (https://docs.python.org/3.10/library/os.html#python-utf-8-mode) and covers the other UI files read without explicit encodings.
No files were changed. The app is currently offline; the proposed fix still needs a startup check.
App: Drama 3 Offload Studio (drama3-offload-studio.git)
Repo: https://github.com/ThomasEricB/drama3-offload-studio.git
Generated: 2026-10-18T18:34:44.290Z
Pinokio: 8.2.2
Platform: win32 x64
Node: v22.21.1
Summary
System
{
"pinokio": {
"version": "8.2.2",
"node": "v22.21.1",
"platform": "win32",
"arch": "x64"
},
"hardware": {
"gpu": "nvidia",
"gpu_model": "nvidia rtx a4500",
"ram_gb": 28,
"vram_gb": 19,
"gpu_driver": "596.86",
"gpu_target": "sm_86"
},
"os": {
"platform": "Windows",
"distro": "Microsoft Windows 11 Home",
"release": "10.0.26200",
"codename": "25H2",
"kernel": "10.0.26200",
"arch": "x64",
"build": "26200",
"servicepack": "0.0",
"uefi": true
},
"system": {
"manufacturer": "Blade",
"model": "Shadow Computer",
"version": "2.0",
"virtual": false
},
"cpu": {
"manufacturer": "AMD",
"brand": "EPYC 7543P 32-Core Processor",
"vendor": "AuthenticAMD",
"family": "25",
"model": "1",
"stepping": "1",
"revision": "257",
"speed": 2.8,
"speedMin": 2.8,
"speedMax": 2.8,
"cores": 8,
"physicalCores": 4,
"processors": 1,
"performanceCores": 8,
"efficiencyCores": 0,
"virtualization": true,
"cache": {
"l1d": 0,
"l1i": 0,
"l2": 2097152,
"l3": 33554432
}
},
"memory": {
"total": 30044250112,
"free": 23229751296,
"used": 6814498816,
"active": 6814498816,
"available": 23229751296,
"buffers": 0,
"cached": 0,
"slab": 0,
"buffcache": 0,
"swaptotal": 15101591552,
"swapused": 0,
"swapfree": 15101591552
},
"gpus": [
{
"model": "red hat qxl controller"
},
{
"model": "nvidia rtx a4500"
}
],
"graphics": {
"controllers": [
{
"vendor": "Red Hat, Inc.",
"model": "Red Hat QXL controller",
"bus": "PCI",
"vram": 0,
"vramDynamic": true
},
{
"vendor": "NVIDIA",
"model": "NVIDIA RTX A4500",
"bus": "PCI",
"vram": 19190,
"vramDynamic": false,
"driverVersion": "596.86"
}
],
"displays": [
{
"model": "Mac",
"main": true,
"builtin": false,
"connection": "DP",
"currentResX": 2560,
"currentResY": 1440,
"resolutionX": 2560,
"resolutionY": 1440,
"pixelDepth": 32,
"currentRefreshRate": 59
}
]
},
"diagnostics": {
"platform": "win32",
"arch": "x64",
"running": {
"C:\\Users\\Shadow\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\codex-auto\\pinokio.js?cwd=C:\\pinokio\\api\\drama3-offload-studio.git": true
},
"home": "C:\\pinokio",
"vars": {
"pip": {
"install": {
"torch": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
}
}
},
"memory": {
"local": {},
"global": {},
"rpc": {
"C:\\pinokio\\api\\drama3-offload-studio.git\\install_small.js": {
"method": "hf.download",
"params": {
"_": [
"pentacoxian-dev/drama3-small-GGUF",
"drama3-small-IQ3_XXS.gguf",
"silence_codes.json",
"LICENSE",
"NOTICE"
],
"revision": "4a3078e885344bb9b24d511cec389d2726854d15",
"local-dir": "models/drama3-small"
}
},
"C:\\pinokio\\api\\drama3-offload-studio.git\\setup.js": {
"method": "hf.download",
"params": {
"_": [
"pentacoxian-dev/drama3-small-GGUF",
"silence_codes.json",
"LICENSE",
"NOTICE"
],
"revision": "4a3078e885344bb9b24d511cec389d2726854d15",
"local-dir": "models/pause-fix"
}
},
"C:\\pinokio\\api\\drama3-offload-studio.git\\start_small.js": {
"method": "shell.run",
"params": {
"venv": "env",
"env": {
"WHISPER_DIR": "{{path.resolve(cwd, 'cache/whisper')}}",
"WHISPER_CPU_THREADS": "{{Math.max(2, Math.min(8, os.cpus().length))}}",
"DRAMA3_GGUF": "{{path.resolve(cwd, 'models/drama3-small/drama3-small-IQ3_XXS.gguf')}}",
"DRAMA3_SILENCE_CODES": "{{path.resolve(cwd, 'models/drama3-small/silence_codes.json')}}",
"DRAMA3_MAX_PAUSE_FRAMES": "10",
"DRAMA3_STALL_GUARD": "1",
"DRAMA3_COMPILE": "{{platform === 'win32' ? '0' : '1'}}",
"DRAMA3_REF_UNLOCKED": "0",
"DRAMA3_LONG_RETAKE": "0",
"DRAMA3_LOOKAHEAD": "1",
"DRAMA3_INFILL": "1"
},
"path": "app",
"message": [
"python ../offload/serve.py {{port}}"
],
"on": [
{
"event": "/(http:\\/\\/[0-9.:]+)/",
"done": true
}
]
}
},
"C:\\Users\\Shadow\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\codex-auto\\pinokio.js?cwd=C:\\pinokio\\api\\drama3-offload-studio.git": {
"when": "{{platform === 'win32'}}",
"id": "run",
"method": "shell.run",
"params": {
"shell": "{{kernel.path('bin/miniforge/Library/bin/bash.exe')}}",
"conda": {
"skip": true
},
"message": {
"_": [
"npx",
"-y",
"@openai/codex@latest",
"--yolo",
"-c",
"projects={ {{JSON.stringify(args.cwd)}}={trust_level=\"trusted\"} }",
"{{args.prompt || undefined}}"
]
},
"path": "{{args.cwd}}",
"input": true
},
"current": 0,
"total": 2
},
"C:\\Users\\Shadow\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\codex-auto\\pinokio.js": {
"current": 0,
"total": 2
}
},
"input": {
"C:\\pinokio\\api\\drama3-offload-studio.git\\install_small.js": {
"id": "8bfed658-cedd-41d3-a2de-2d49c6786b8f",
"response": "Microsoft Windows [Version 10.0.26200.9711]\r\n(c) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\pinokio\\api\\drama3-offload-studio.git>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base && hf download pentacoxian-dev/drama3-small-GGUF silence_codes.json LICENSE NOTICE --revision 4a3078e885344bb9b24d511cec389d2726854d15 --local-dir models/pause-fix && dir\r\nFetching 3 files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 7.97it/s]\r\nDownload complete: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.1k/22.1k [00:00<00:00, 5.46kB/s]✓ Downloaded\r\n path: C:\\pinokio\\api\\drama3-offload-studio.git\\models\\pause-fix\r\nDownload complete: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.1k/22.1k [00:00<00:00, 55.3kB/s]\r\n Volume in drive C has no label.\r\n Volume Serial Number is 9003-D0E0\r\n\r\n Directory of C:\\pinokio\\api\\drama3-offload-studio.git\r\n\r\n10/18/2026 11:28 AM <DIR> .\r\n10/18/2026 11:24 AM <DIR> ..\r\n10/18/2026 11:24 AM 42,763 .clinerules\r\n10/18/2026 11:24 AM 42,763 .cursorrules\r\n10/18/2026 11:24 AM 58 .geminiignore\r\n10/18/2026 11:24 AM 241 .gitignore\r\n10/18/2026 11:24 AM 42,763 .windsurfrules\r\n10/18/2026 11:24 AM 42,763 AGENTS.md\r\n10/18/2026 11:26 AM <DIR> app\r\n10/18/2026 11:25 AM <DIR> cache\r\n10/18/2026 11:24 AM 42,763 CLAUDE.md\r\n10/18/2026 11:24 AM 3,850 ENVIRONMENT\r\n10/18/2026 11:24 AM 42,763 GEMINI.md\r\n10/18/2026 11:24 AM 14,472 icon.png\r\n10/18/2026 11:24 AM 2,261 install.js\r\n10/18/2026 11:24 AM 3,110 install_mlx.js\r\n10/18/2026 11:24 AM 1,324 install_small.js\r\n10/18/2026 11:25 AM <DIR> logs\r\n10/18/2026 11:28 AM <DIR> models\r\n10/18/2026 11:24 AM <DIR> offload\r\n10/18/2026 11:24 AM 5,325 pinokio.js\r\n10/18/2026 11:24 AM 416 pinokio.json\r\n10/18/2026 11:24 AM 42,763 QWEN.md\r\n10/18/2026 11:24 AM 31,723 README.md\r\n10/18/2026 11:24 AM 103 reset.js\r\n10/18/2026 11:24 AM 3,054 setup.js\r\n10/18/2026 11:24 AM 3,765 start.js\r\n10/18/2026 11:24 AM 2,558 start_small.js\r\n10/18/2026 11:24 AM 1,187 update.js\r\n 22 File(s) 372,788 bytes\r\n 7 Dir(s) 9,601,695,744 bytes free\r\n\r\n(base) C:\\pinokio\\api\\drama3-offload-studio.git>",
"stdout": "Microsoft Windows [Version 10.0.26200.9711]\r\n(c) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\pinokio\\api\\drama3-offload-studio.git>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base && hf download pentacoxian-dev/drama3-small-GGUF silence_codes.json LICENSE NOTICE --revision 4a3078e885344bb9b24d511cec389d2726854d15 --local-dir models/pause-fix && dir\r\nFetching 3 files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 7.97it/s]\r\nDownload complete: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.1k/22.1k [00:00<00:00, 5.46kB/s]✓ Downloaded\r\n path: C:\\pinokio\\api\\drama3-offload-studio.git\\models\\pause-fix\r\nDownload complete: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.1k/22.1k [00:00<00:00, 55.3kB/s]\r\n Volume in drive C has no label.\r\n Volume Serial Number is 9003-D0E0\r\n\r\n Directory of C:\\pinokio\\api\\drama3-offload-studio.git\r\n\r\n10/18/2026 11:28 AM <DIR> .\r\n10/18/2026 11:24 AM <DIR> ..\r\n10/18/2026 11:24 AM 42,763 .clinerules\r\n10/18/2026 11:24 AM 42,763 .cursorrules\r\n10/18/2026 11:24 AM 58 .geminiignore\r\n10/18/2026 11:24 AM 241 .gitignore\r\n10/18/2026 11:24 AM 42,763 .windsurfrules\r\n10/18/2026 11:24 AM 42,763 AGENTS.md\r\n10/18/2026 11:26 AM <DIR> app\r\n10/18/2026 11:25 AM <DIR> cache\r\n10/18/2026 11:24 AM 42,763 CLAUDE.md\r\n10/18/2026 11:24 AM 3,850 ENVIRONMENT\r\n10/18/2026 11:24 AM 42,763 GEMINI.md\r\n10/18/2026 11:24 AM 14,472 icon.png\r\n10/18/2026 11:24 AM 2,261 install.js\r\n10/18/2026 11:24 AM 3,110 install_mlx.js\r\n10/18/2026 11:24 AM 1,324 install_small.js\r\n10/18/2026 11:25 AM <DIR> logs\r\n10/18/2026 11:28 AM <DIR> models\r\n10/18/2026 11:24 AM <DIR> offload\r\n10/18/2026 11:24 AM 5,325 pinokio.js\r\n10/18/2026 11:24 AM 416 pinokio.json\r\n10/18/2026 11:24 AM 42,763 QWEN.md\r\n10/18/2026 11:24 AM 31,723 README.md\r\n10/18/2026 11:24 AM 103 reset.js\r\n10/18/2026 11:24 AM 3,054 setup.js\r\n10/18/2026 11:24 AM 3,765 start.js\r\n10/18/2026 11:24 AM 2,558 start_small.js\r\n10/18/2026 11:24 AM 1,187 update.js\r\n 22 File(s) 372,788 bytes\r\n 7 Dir(s) 9,601,695,744 bytes free\r\n\r\n(base) C:\\pinokio\\api\\drama3-offload-studio.git>"
},
"C:\\pinokio\\api\\drama3-offload-studio.git\\setup.js": null,
"C:\\pinokio\\api\\drama3-offload-studio.git\\start_small.js": {},
"C:\\Users\\Shadow\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\codex-auto\\pinokio.js?cwd=C:\\pinokio\\api\\drama3-offload-studio.git": {
"cwd": "C:\\pinokio\\api\\drama3-offload-studio.git",
"ask_ai": "1",
"prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
}
},
"args": {
"C:\\pinokio\\api\\drama3-offload-studio.git\\install_small.js": {},
"C:\\pinokio\\api\\drama3-offload-studio.git\\setup.js": {},
"C:\\pinokio\\api\\drama3-offload-studio.git\\start_small.js": {},
"C:\\Users\\Shadow\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\codex-auto\\pinokio.js?cwd=C:\\pinokio\\api\\drama3-offload-studio.git": {
"cwd": "C:\\pinokio\\api\\drama3-offload-studio.git",
"ask_ai": "1",
"prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
}
}
},
"procs": {},
"gpu": "nvidia",
"gpus": [
{
"name": "red hat, inc.",
"model": "red hat qxl controller",
"driver": null
},
{
"name": "nvidia",
"model": "nvidia rtx a4500",
"driver": "596.86"
}
],
"gpu_model": "nvidia rtx a4500",
"gpu_driver": "596.86",
"gpu_target": "sm_86",
"ram": 28,
"vram": 19,
"version": "8.2.2",
"audio": [
{
"id": "HDAUDIO\\FUNC_01&VEN_10DE&DEV_009A&SUBSYS_10DE163C&REV_1001\\5&1ED91D0A&0&0001",
"name": "NVIDIA High Definition Audio",
"manufacturer": "NVIDIA",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "Sound Driver",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "ROOT\\MEDIA\\0000",
"name": "Shadow Virtual Audio Device",
"manufacturer": "ShadowVirtualAudio",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "ROOT\\MEDIA\\0001",
"name": "Virtual Audio Device (WDM) - ShadowVirtualSpeaker",
"manufacturer": "TODO-Set-Manufacturer",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "Speaker",
"in": null,
"out": null,
"status": "enabled"
}
],
"mem": {
"total": 30044250112,
"free": 23229751296,
"used": 6814498816,
"active": 6814498816,
"available": 23229751296,
"buffers": 0,
"cached": 0,
"slab": 0,
"buffcache": 0,
"reclaimable": 0,
"swaptotal": 15101591552,
"swapused": 0,
"swapfree": 15101591552,
"writeback": null,
"dirty": null
},
"osInfo": {
"platform": "Windows",
"distro": "Microsoft Windows 11 Home",
"release": "10.0.26200",
"codename": "25H2",
"kernel": "10.0.26200",
"arch": "x64",
"hostname": "SHADOW-ITM93OSO",
"fqdn": "SHADOW-ITM93OSO",
"codepage": "437",
"logofile": "windows",
"serial": "00326-10873-75006-AA152",
"build": "26200",
"servicepack": "0.0",
"uefi": true,
"hypervisor": true,
"remoteSession": false
},
"cpu": {
"manufacturer": "AMD",
"brand": "EPYC 7543P 32-Core Processor",
"vendor": "AuthenticAMD",
"family": "25",
"model": "1",
"stepping": "1",
"revision": "257",
"voltage": "",
"speed": 2.8,
"speedMin": 2.8,
"speedMax": 2.8,
"governor": "",
"cores": 8,
"physicalCores": 4,
"performanceCores": 8,
"efficiencyCores": 0,
"processors": 1,
"socket": "Other",
"flags": "de pse tsc sep mtrr mca cmov psn clfsh ds mmx fxsr sse sse2 ss htt tm ia64 pbe",
"virtualization": true,
"cache": {
"l1d": 0,
"l1i": 0,
"l2": 2097152,
"l3": 33554432
}
},
"shell": "CMD",
"system": {
"manufacturer": "Blade",
"model": "Shadow Computer",
"version": "2.0",
"serial": "CI0HG1K",
"uuid": "00000000-0000-0000-0000-000000000000",
"sku": "SEWA",
"virtual": false
},
"graphics": {
"controllers": [
{
"vendor": "Red Hat, Inc.",
"model": "Red Hat QXL controller",
"bus": "PCI",
"vram": 0,
"vramDynamic": true,
"subDeviceId": "11001AF4"
},
{
"vendor": "NVIDIA",
"model": "NVIDIA RTX A4500",
"bus": "PCI",
"vram": 19190,
"vramDynamic": false,
"subDeviceId": "0x163C10DE",
"driverVersion": "596.86",
"name": "NVIDIA RTX A4500",
"pciBus": "00000000:01:00.0",
"memoryTotal": 19190,
"memoryUsed": 641,
"memoryFree": 18345,
"utilizationGpu": 11,
"utilizationMemory": 14,
"temperatureGpu": 33,
"powerDraw": 15.57,
"powerLimit": 200,
"clockCore": 300,
"clockMemory": 405
}
],
"displays": [
{
"vendor": "BLD",
"model": "Mac",
"serial": "4444",
"productionYear": 2019,
"displayId": "display\\bld0101\\5&36546074&0&uid4352_0",
"deviceName": "\\\\.\\DISPLAY1",
"main": true,
"builtin": false,
"connection": "DP",
"resolutionX": 2560,
"resolutionY": 1440,
"sizeX": 60,
"sizeY": 34,
"pixelDepth": 32,
"currentResX": 2560,
"currentResY": 1440,
"positionX": 0,
"positionY": 0,
"currentRefreshRate": 59
}
]
}
}
}
Logs
logs/api/start_small.js/1792348213787
Source: api / start_small.js
Lines: 26 total, last 26 included
[api shell.run]
Microsoft Windows [Version 10.0.26200.9711]
(c) Microsoft Corporation. All rights reserved.
C:\pinokio\api\drama3-offload-studio.git\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\pinokio\api\drama3-offload-studio.git\app\env\Scripts\activate C:\pinokio\api\drama3-offload-studio.git\app\env && python ../offload/serve.py 42012
[pause] pause fix on: 143 silence codes, 10 frames
[space] loading Drama 3
C:\pinokio\api\drama3-offload-studio.git\app\env\lib\site-packages\torch\nn\utils\weight_norm.py:144: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
[small] drama3-small loaded from GGUF in 23s: 9.10 GiB on cuda:0
Traceback (most recent call last):
File "C:\pinokio\api\drama3-offload-studio.git\offload\serve.py", line 152, in <module>
from app import app # noqa: E402 (loads Drama 3, then builds the UI)
File "C:\pinokio\api\drama3-offload-studio.git\app\app.py", line 24, in <module>
import server
File "C:\pinokio\api\drama3-offload-studio.git\app\server.py", line 1110, in <module>
from gradio_ui import mount_apps
File "C:\pinokio\api\drama3-offload-studio.git\app\gradio_ui.py", line 22, in <module>
CONTENT = json.loads((ROOT / "studio_content.json").read_text())
File "C:\pinokio\api\drama3-offload-studio.git\offload\branding.py", line 77, in patched_read_text
text = read_text(self, *args, **kwargs)
File "C:\pinokio\bin\miniforge\lib\pathlib.py", line 1135, in read_text
return f.read()
File "C:\pinokio\bin\miniforge\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1391: character maps to <undefined>
Fails on my Windows because of encoding. Below are the logs, but let me also share what my agent told me:
App: Drama 3 Offload Studio (drama3-offload-studio.git)
Repo: https://github.com/ThomasEricB/drama3-offload-studio.git
Generated: 2026-10-18T18:34:44.290Z
Pinokio: 8.2.2
Platform: win32 x64
Node: v22.21.1
Summary
System
Logs
logs/api/start_small.js/1792348213787
Source: api / start_small.js
Lines: 26 total, last 26 included