libpython-clj icon indicating copy to clipboard operation
libpython-clj copied to clipboard

JVM crashes when requiring `libpython-clj2.require` on 64bit Raspberry Pi 4

Open Ramblurr opened this issue 2 years ago • 1 comments

I'm just trying to get setup with the project, but am getting crashes.

I can require [libpython-clj2.python :as py] and call (py/initialize!) but when I eval (require '[libpython-clj2.require :as pyreq]) the jvm crashes. The log is attached.

H3T-.log

Ramblurr avatar Dec 08 '23 10:12 Ramblurr

I think you need to break this down a bit. We don't know which module import is causing the crash so the first question is can you import any modules.

My advice is to use only libpython-clj2.python namespace and see if you can import any modules first. Then go from there. the python require namespace does a significant amount of work to determine all of the exported symbols of a python module in a robust way and somewhere along the line this module metadata generation system is failing. So we need to know where it is failing.

If you can't import any modules that is one issue. If you can't import a specific module the metadata system wants that is another issue.

cnuernber avatar Dec 09 '23 15:12 cnuernber