[bug] video generate crashes with "undefined is not an object (evaluating 'Dispatcher.prototype.compose.call')"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 475
- フォーク
- 34
- 平均マージ
- 23時間 6分
- マージ済み PR(30日)
- 31
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelstudioai/cli のほかの issue
-
[bug] Local media upload is pinned to China endpoint; Singapore workspace API key fails getPolicy (401 InvalidApiKey)対応中かも @Uddoo が 3 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
modelstudioai/cli#267 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
modelstudioai/cli#264 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
modelstudioai/cli#202 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
modelstudioai/cli#195 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
modelstudioai/cli#190 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
modelstudioai/cli の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
source-cooperative/docs.source.coop#41 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Nimblesite/SharpLsp#468 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
solidjs-community/solid-primitives#1082 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信