0

Maestro installs in Pinokio, but Open Web UI is blank and Python environment setup is incomplete

@cinemazverevposted 7/12/2026, 4:57:05 AM·0 replies

NVIDIA GeForce RTX 3080 Ti Laptop GPU (16GB VRAM), 32GB RAM, Intel 12th Gen Core i9
Pinokio 8.0.8.

Just installed and got "Installation complete" with this LOG,

E:\__AI_APPs\pinokio\api\Maestro.git\ui>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base && npm run build

> ui@0.0.0 build
> tsc -b && vite build

vite v7.3.2 building client environment for production...
✓ 1798 modules transformed.
dist/index.html                   1.49 kB │ gzip:   0.77 kB
dist/assets/index-CcKRZe0V.css   70.06 kB │ gzip:  11.91 kB
dist/assets/index-B17Rab9m.js   769.64 kB │ gzip: 199.30 kB

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 3.07s

(base) E:\__AI_APPs\pinokio\api\Maestro.git\ui>

But couldn't start with Open Web UI - empty screen with this unresolved template:

ENOENT: no such file or directory, stat '[my disk] ...\pinokio\api\Maestro.git\{{input.event[1]}}'

LOG:

E:\__AI_APPs\pinokio\api\Maestro.git\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & E:\__AI_APPs\pinokio\api\Maestro.git\app\env\Scripts\activate E:\__AI_APPs\pinokio\api\Maestro.git\app\env && python launch.py 
"E:\__AI_APPs\pinokio\api\Maestro.git\app\env\Scripts\activate" **is not an internal or external
command, executable by a program, or a batch file**

(base) E:\__AI_APPs\pinokio\api\Maestro.git\app>

██ Terminated Shell 50abd397-a0f9-4240-8f1e-69067d5b8645
████


===================================================
# local variables
{
  "url": "{{input.event[1]}}"
}
===================================================

The first decisions:

In start.js for Maestro, the local.set uses url: "{{input.event[1]}}", but input.event[1] never gets populated from the on event.
It looks like the {{input.event[1]}} template is not being resolved to an actual folder name, so Node tries to stat the literal string.
The server URL is already known from kernel.port() and launch.py, so local.set could use http://127.0.0.1:${port} instead of the unresolved template.

BUT
It seemed that env installation was incomplete:
"...env\Scripts\activate" is not an internal or external command, executable by a program, or a batch file"

and yes:
cmd in app folder cleared:

set SERVER_PORT=42003
env\Scripts\python.exe launch.py

Traceback (most recent call last):
  File "E:\__AI_APPs\pinokio\api\Maestro.git\app\launch.py", line 18, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'

I tried Update, but reply was "Already up to date — no new commits pulled. Skipped dependency install and UI rebuild."

So, i had to install Pytorch and many of other and other modules to Env..
(and Why Installation via Pinokio didn't do this - have no idea)

env\Scripts\python.exe -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

etc, etc, etc.. 

env\Scripts\python.exe -m pip install -r requirements.txt - installed and updated other modules and dependencies 

and finally
env\Scripts\python.exe launch.py
started server and it works in browser

BUT
again, Pinokio started with empty screen and

ENOENT: no such file or directory, stat 'E:__AI_APPs\pinokio\api\Maestro.git{{input.event[1]}}'

So, i edited start.js

module.exports = async (kernel) => {
  const port = await kernel.port()

  return {
    requires: {
      bundle: "ai",
    },
    daemon: true,
    run: [
      {
        method: "shell.run",
        params: {
          venv: "env",
          env: {
            SERVER_PORT: port,
          },
          path: "app",
          message: [
            "python launch.py {{args.compile ? '--compile' : ''}}",
          ],
          on: [
            {
              event: "/(http:\/\/[0-9.:]+)/",
              done: true,
            },
          ],
        },
      },
      {
        method: "local.set",
        params: {
          url: `http://127.0.0.1:${port}`,
        },
      },
    ],
  }
}

Notification disappeared, but still empty screen.
One more try:

                // waiting  for the start, still no URL
          event: "Uvicorn running on",
          done: true,
        },
      ],
    },
  },
  {
    method: "local.set",
    params: {
      // working URL
      url: `http://127.0.0.1:${port}/`,

Server started, URL correct, but
TypeError: Cannot read properties of null (reading '2')at Shell.ondata (C:\Users\User\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\shells.js:567:38) at Shell.start (C:\Users\User\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\shell.js:525:10)

and finally:

module.exports = async (kernel) => {
  const port = await kernel.port()

  return {
    requires: {
      bundle: "ai",
    },
    daemon: true,
    run: [
      {
        method: "shell.run",
        params: {
          path: "app",
          env: {
            SERVER_PORT: port,
          },
          message: [
            "env\\Scripts\\python.exe launch.py {{args.compile ? '--compile' : ''}}",
          ],
          on: [
            {
              // for Pinokio  match
              event: "/(http:\\/\\/[0-9.:]+)\\/(.*)/",
              done: true,
            },
          ],
        },
      },
      {
        method: "local.set",
        params: {
          // still fixed URL 
          url: `http://127.0.0.1:${port}/`,
        },
      },
    ],
  }
}

And Web UI finally started.. offf..

Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
Maestro installs in Pinokio, but Open Web UI is blank and Python environment setup is incomplete · Pinokio