[bug] video generate crashes with "undefined is not an object (evaluating 'Dispatcher.prototype.compose.call')"
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- bun, typescript
- Bereich
- backend-api-design, cli
Rechercherichtung
Start from the CLI's video generate command and trace the POST to the video synthesis endpoint, then inspect how the Bun-compiled executable bundles or invokes undici. Reproduce the crash with the provided command and compare it with the successful plain HTTPS request. Done means video generation submits and polls successfully in the compiled CLI without the Dispatcher compose error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Environment
- CLI: bl 2.3.1 (Bun-compiled single-file exe at
%LOCALAPPDATA%\bailian-cli\bin\bl.exe) - Skill: bailian-protocol / bailian-gen 2.3.1
- Node: v22.23.2 (not used by the compiled exe)
- OS: Windows 11 Home 10.0.26300 (Git Bash)
- Region: intl (Token Plan profile, base_url
https://token-plan.ap-southeast-1.maas.aliyuncs.com)
Reproduce
bl video generate --prompt "A cute orange cartoon cat runs to the right, jumps, then walks and turns around..." \
--duration 10 --resolution 720P --ratio 16:9 --watermark false --download cat_walk_cycle.mp4 --verbose
--verbose prints:
> POST https://token-plan.ap-southeast-1.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis
> Auth: [REDACTED]
> x-dashscope-source-config: {"channel":"bailian-cli","tags":{"t1":"public","t2":"bl","t3":"2.3.1"}}
Error: undefined is not an object (evaluating 'Dispatcher.prototype.compose.call')
Expected
Async task submitted, polled until SUCCEEDED, video downloaded to cat_walk_cycle.mp4.
Actual
Immediate crash (exit 1) with a JavaScriptCore-style internal error mentioning Dispatcher.prototype.compose.call (undici internals). No HTTP status, no request id, no BailianError.
Already tried
- bl 2.3.1 == skill 2.3.1 == npm latest 2.3.1 (no version skew)
bl auth statushealthy (API key present);bl model list(public GET path) works fine- Retried with simplified prompt and
--verbose— identical crash - Same request via plain HTTPS POST works: identical body/headers sent with
curl/fetchto the same endpoint returned HTTP 200 withoutput.task_id(PENDING) — i.e. the API is fine, onlyblfails. Successful request ids for log tracing:a99f738b-2712-4c5b-9d02-3612a40b6622(task217d2397-…),915004b5-5b88-4f21-ba7f-e1ded07811c8(taske2c31ae1-4310-4deb-a53c-79bce17467da, SUCCEEDED) - No proxy env vars set
- Error message matches the known signature of a bundled-undici bug (calling a native method's
.calloff the prototype fails under JSC)
Notes
- Frequency: always (2/2 attempts, both with and without
--negative-prompt) - Invoked via: agent (Claude Code, non-TTY bash)
- Other POST-based commands (e.g.
bl text chat) not tested for this bug
- Vorherrschende Sprache
- TypeScript
- Sterne
- 475
- Forks
- 34
- Ø Merge
- 19 Std. 34 Min.
- Gemergte PRs (30 T.)
- 34
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus modelstudioai/cli
-
[bug] Local media upload is pinned to China endpoint; Singapore workspace API key fails getPolicy (401 InvalidApiKey)Evtl. vergeben @Uddoo hat das vor 1 Tag übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 54/100
modelstudioai/cli#267 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 48/100
modelstudioai/cli#264 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
modelstudioai/cli#239 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
modelstudioai/cli#202 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
modelstudioai/cli#195 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in modelstudioai/cli
Ähnliche Issues
-
ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
xavxyz/bei-shan-lin-shui#57 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] rag: sentence content can cross the reported sentence boundariesEvtl. vergeben @LJK-ikun hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
platformatic/mcp#361 ·
Maintainer antworten meist innerhalb von 1 Tag
-
最近文档这个弹窗,左右宽度没有最小宽度限制Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
siyuan-note/siyuan#20799 · 7 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag