[bug] video generate crashes with "undefined is not an object (evaluating 'Dispatcher.prototype.compose.call')"
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- bun, typescript
- Domaine
- backend-api-design, cli
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 475
- Forks
- 34
- Merge moyen
- 19 h 34 min
- PR mergées (30 j)
- 34
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de modelstudioai/cli
-
[bug] Local media upload is pinned to China endpoint; Singapore workspace API key fails getPolicy (401 InvalidApiKey)Peut-être pris @Uddoo l’a pris il y a 2 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 54/100
modelstudioai/cli#267 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 4/5 1-2 jours Accessibilité débutants 48/100
modelstudioai/cli#264 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
modelstudioai/cli#239 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
modelstudioai/cli#202 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
modelstudioai/cli#195 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de modelstudioai/cli
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Automattic/data-liberation-agent#953 ·
Les mainteneurs répondent en général sous 1 jour
-
README に GitHub の組織のバッジを足すOuvertedocumentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
funmary-app/funmary#399 ·
Les mainteneurs répondent en général sous 1 jour
-
area:curator enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
CassioDalla/Scrinalia#150 ·
Les mainteneurs répondent en général sous 1 jour
-
status: needs-triage v1-bug-bash
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
a2ui-project/a2ui#3533 ·
Les mainteneurs répondent en général sous 1 jour
-
backend enhancement priority:P3
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
geolens-io/geolens#3310 ·
Les mainteneurs répondent en général sous 1 jour