fix: save fails with 'App.Document' has no attribute 'Modified'; SSE reconnect loop #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug 1: Save fails
Every Silo save prints:
Root Cause:
silo_origin.py:396doesdoc.Modified = Falsewheredocis anApp.Document. TheModifiedproperty only exists onGui.Document.App.DocumenthasisModified()(read-only method) but noModifiedattribute. The analogous code insilo_commands.py:910-912does it correctly usinggui_doc.Modified.Bug 2: SSE reconnection loop — server-side investigation needed
After the SSE URL fix (PR #85), the client connects but the server immediately closes the connection:
What the client does
GET {api_url}/eventswithAccept: text/event-stream+ auth headersurlopen()succeeds (HTTP 200) — 'SSE connected' printedWhat to check on the server
GET /api/eventsreturnContent-Type: text/event-streamand hold the connection open?proxy_buffering offandX-Accel-Buffering: noproxy_read_timeoutmust be high enoughcurl -N -H 'Accept: text/event-stream' https://silo.kindred.internal/api/eventsClient config
https://silo.kindred.internal/api/events