Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

numpy CANNOT work with multi context due to TypeError: object.__init__() takes exactly one argument (the instance to initialize) (Graalpy Veresion 25.0.2) #628

Open
@xiongxoy

Description

GraalPy multiContextImport: context 2/3 failed: TypeError: object.__init__() takes exactly one argument (the instance to initialize)
org.graalvm.polyglot.PolyglotException: TypeError: object.__init__() takes exactly one argument (the instance to initialize)

The following is a spring-boot project for reproducing the bug, just create a venv and install numpy in a standalone, and point the external folder to the standalone, and visit http://localhost:8008/api/test/graalpy/simpleMultiContext?contextCount=3&isolateNativeModules=true&externalPythonPath=/codes/graalpy

graalpy-numpy-multi-context-bug-reproducer.zip

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /