Git Product home page Git Product logo

Comments (7)

pyrmont avatar pyrmont commented on August 17, 2024 1

The issue is definitely with Documentarian. @sogaiu was kind enough to test it with some other packages that use native libraries and found the problem there, too. I think the issue might be in how I've got the binary of Documentarian building but I'll need to take a closer look.

from documentarian.

pyrmont avatar pyrmont commented on August 17, 2024

Is this a private module?

from documentarian.

subsetpark avatar subsetpark commented on August 17, 2024

I don't know exactly what you mean, but when it's installed, it's importable with a normal (import jnj-primitives). So - no, I don't think so?

from documentarian.

pyrmont avatar pyrmont commented on August 17, 2024

Oh, I meant is the code for the module publicly available? I had a quick look using GitHub and Google but couldn't find it.

from documentarian.

subsetpark avatar subsetpark commented on August 17, 2024

ah! you can clone or browse here: https://git.sr.ht/~subsetpark/jnj

from documentarian.

pyrmont avatar pyrmont commented on August 17, 2024

Hmmm. I don't have J installed so building fails but I wonder looking at the stacktrace if the problem isn't occurring because of the difference between import and require. If you use require at the REPL does it work fine?

from documentarian.

pyrmont avatar pyrmont commented on August 17, 2024

@subsetpark I realise this took a very long time but I think Documentarian can now load native modules. I don't know if you still have a reason to use it but if you try it out, let me know if it's working for you. If you're curious, my solution was to add a custom module path that checks the build/ folder for .so objects that match the name given in the declare-native form.

from documentarian.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.