clj-python / clj-python/libpython-clj

namespace 'libpython-clj2.metadata' not found on Arm32 with v2.00-beta-10

Open
#151 31 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
1.2k
Forks
74
PR merge metrics
No merged PRs in 30d

Description

libpython-clj

project.clj:
(defproject pycloj "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-la
ter WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/l\
egal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10
.2"]
[clj-python/libpython-clj
"2.00-beta-10"]
]
:repl-options {:init-ns pycloj.core})

core.clj:

(ns pycloj.core
(:require
[libpython-clj2.python :as py]
[libpython-clj2.require :refer [require-python]]))

Syntax error compiling at (libpython_clj2/require.clj:1:1).
namespace 'libpython-clj2.metadata' not found

Running on Samsung A10 32bit termux terminal session

java --version
openjdk 14.0.2 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.2+12)
OpenJDK Server VM AdoptOpenJDK (build 14.0.2+12, mixed mode, sharing)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with project.clj and core.clj to reproduce the require failure on the reported Arm32 Termux environment. Inspect libpython_clj2/require.clj and the missing libpython-clj2.metadata namespace, then verify that the example loads successfully on the affected runtime without the namespace error.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, java, python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.