Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Fetch error while loading external packages #2229

Closed
morgan9e opened this issue Jun 6, 2024 · 0 comments
Closed

Python: Fetch error while loading external packages #2229

morgan9e opened this issue Jun 6, 2024 · 0 comments

Comments

@morgan9e
Copy link
Contributor

morgan9e commented Jun 6, 2024

While running workerd with Python external packages, it omits error below.
(Build: main@3596152)

Loading fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
RR
Error in makeHandler
TypeError: response.body.arrayBuffer is not a function
    at loadBundle (pyodide-internal:loadPackage:37:29)
    at async Promise.all (index 6)
    at async loadPackages (pyodide-internal:loadPackage:81:19)
    at async pyodide:python-entrypoint-helper:87:5
    at async setupPackages (pyodide:python-entrypoint-helper:85:10)
    at async pyodide:python-entrypoint-helper:113:7
    at async preparePython (pyodide:python-entrypoint-helper:129:22)
    at async pyodide:python-entrypoint-helper:139:21
    at async Object.fetch (pyodide:python-entrypoint-helper:137:26)

Isn't it should be response.arrayBuffer()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant