[bug] video generate crashes with "undefined is not an object (evaluating 'Dispatcher.prototype.compose.call')"
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- bun, typescript
- Domínio
- backend-api-design, cli
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 364
- Forks
- 32
- Merge médio
- 1d 2h
- PRs com merge (30d)
- 33
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de modelstudioai/cli
-
Dificuldade 3/5 3-5 dias Facilidade para iniciantes 48/100
modelstudioai/cli#287 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
modelstudioai/cli#286 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 62/100
modelstudioai/cli#279 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 48/100
modelstudioai/cli#264 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
modelstudioai/cli#202 · 3 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
Todas as issues de modelstudioai/cli
Issues semelhantes
-
[Integration]: eRPCAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ava-labs/builders-hub#4826 ·
Mantenedores costumam responder em até 1 dia
-
记忆分析的默认模型显示与实际使用不一致Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
anomalyco/opencode#59886 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
-
a10y a10y-audit ai-driven-qa claude
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia