profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ndjensen/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Nate Jensen ndjensen Nebraska, USA

ninia/jep 804

Embed Python in Java

ndjensen/jep 0

Embed Python in Java

ndjensen/numpy 0

Numpy main repository

ndjensen/openapi-generator 0

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

ndjensen/thrift 0

Mirror of Apache Thrift

issue commentninia/jep

JNI error immediately after running "jep" on macOS

I took out the old Apple JDK code, I left in the usr/libexec/java_home stuff for now. https://github.com/ninia/jep/commit/a4716db4cdbd385aca46c90f71cbd83a945562ab

gosha1128

comment created time in 2 days

push eventninia/jep

Nate Jensen

commit sha 4cd93b8c3335256f892a122525d4812a04022173

use invoke to redirect streams instead of exec

view details

push time in 2 days

push eventninia/jep

Nate Jensen

commit sha a4716db4cdbd385aca46c90f71cbd83a945562ab

remove dead build code that supported Apple JDK

view details

push time in 2 days

GollumEvent

issue commentninia/jep

original error was: /xxx/multiarray_umath.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyExc_ImportError

It looks like maybe numpy wasn't built correctly. Does it import ok in a regular Python interpreter?

Marmot01

comment created time in 3 days

issue commentninia/jep

Stream redirection to custom output streams

I'm committed this on the dev_4.0 branch. https://github.com/ninia/jep/commit/f67b874b637e24ac3b725f2e89a57b51cded95e1

mathbagu

comment created time in 3 days

push eventninia/jep

Nate Jensen

commit sha 68f9b727f153ee2312aa64dc329ba5064ad2d715

update copyright date to 2021 in src files

view details

push time in 3 days

push eventninia/jep

Nate Jensen

commit sha e5988a163644dcdd9abde07a2c53392e44ad63b3

update release notes, readme, contributing guide

view details

push time in 3 days

push eventninia/jep

Nate Jensen

commit sha f67b874b637e24ac3b725f2e89a57b51cded95e1

refactor redirect streams to take OutputStreams

view details

push time in 3 days

CommitCommentEvent

PR opened ndjensen/jep

Dev 4.0
+20338 -6993

0 comment

254 changed files

pr created time in 3 days

issue commentninia/jep

Sometimes got error SIGSEGV

The crash is in the multiarray library, which is part of numpy. I see you're already using SharedInterpreter which is the best advice I can give you for using numpy with Jep. Unfortunately numpy wasn't written with sub-interpreters in mind and may not work correctly even when using SharedInterpreter. There's not really much Jep can do about this.

If you're going to try and solve it, I would try to narrow down what lines of Python are causing the crash and see if you can crash it with a normal CPython interpreter (not Jep).

tank99tank

comment created time in 5 days

issue commentninia/jep

Sometimes got error SIGSEGV

Does the hs_err_pid list what library it crashed in? libjvm.so or something else? And what JRE are you using?

tank99tank

comment created time in 6 days

issue commentninia/jep

jep.JepException: <class 'ModuleNotFoundError'>: No module named 'numpy'

You possibly have more than one Python on your system and it's not picking up the one you want. You can configure the Python interpreter it uses in Pydev if you're using Pydev.

Marmot01

comment created time in 17 days

push eventndjensen/jep

Nathan Jensen

commit sha 814929743e500ab2b27c82acfa620ec0ae16bc75

Initial maven layout

view details

Nate Jensen

commit sha a381b35d4789ea968fc67a413fcbccbfbadf9e3e

Merge pull request #93 from ndjensen/maven Initial maven layout

view details

Nathan Jensen

commit sha 925efd523609901f9ac7cd2e56921a6a98b9c5b1

remove update_packages.py

view details

Nathan Jensen

commit sha 7019588fa9f3c0d8198e73b4b4363d790e5dddac

increment version to 3.8.0

view details

Nathan Jensen

commit sha 6acb4174c3ef5ed39720b07e2ef641413983d425

remove javadoc dir

view details

Ben Steffensmeier

commit sha f37429587716d1bb61c916e484e97ff90bc89ace

Initial pom.xml

view details

Nathan Jensen

commit sha 49df6122fb08a161fa9dd947295c20e2cfabfbd4

update project description

view details

Ben Steffensmeier

commit sha 346adcb5a17f0e7e013b34015e701b12299e5bd0

Fix javadoc warnings.

view details

Ben Steffensmeier

commit sha b8aa57ff14747f0ab5403ce2145430ade43b468c

Use macro table to consolidate definition of java classes available in c.

view details

Nathan Jensen

commit sha 0d7d91189da4b41226fb1ffb7b2827369f21e900

rewrite invoke() to support kwargs

view details

Nate Jensen

commit sha ba79f15c2fd0f4f74361cf4401fb8c4d772ac237

Merge pull request #94 from ndjensen/dev_3.8 rewrite invoke() to support kwargs

view details

Ben Steffensmeier

commit sha c778b6513aac62f5e7ecb80da03093a07d4f13f9

Fix rare bug in threading test.

view details

Nathan Jensen

commit sha 6f963ab1e649e564354822dcbc264f4693bf2274

initial 3.8 release notes

view details

Nathan Jensen

commit sha dd94345ed7a3e75d27ef37f716c6422496d56886

use ExceptionCheck instead of ExceptionOccurred

view details

Nathan Jensen

commit sha add34fe73c3bebcae61bca7a4f76970a8087d568

clean up release note wording

view details

Ben Steffensmeier

commit sha 506c50afe0b331b5dd4fdc62a3063cd5a2289abc

Move more access to java methods through java_access.

view details

Ben Steffensmeier

commit sha 64994439fef4473baeb6366c99098ec2f3516b7a

Fix classpath for test command to reflect new layout

view details

Nathan Jensen

commit sha 298c1bb9054cb1e73b91133ecfdbc1b190b7bf7f

remove leftover java 6 code

view details

Ben Steffensmeier

commit sha b8f0d2a28fe2706468d796871195169e8a674f13

Avoid crash on some python installs when LD_PRELOAD isn't set.

view details

Nathan Jensen

commit sha 2ba4bbd8905e9f486ddc6e91f07c21bb6b2a27fd

separate out Jep.TopInterpreter to MainInterpreter

view details

push time in 19 days

issue commentninia/jep

A fatal error has been detected by the Java Runtime Environment after Running Sklearn Classifier via Jep

Can you provide the full hs_err_pid log file?

shabir1

comment created time in 20 days

issue commentninia/jep

A fatal error has been detected by the Java Runtime Environment after Running Sklearn Classifier via Jep

Are you using SharedInterpreter or SubInterpreter? If you are using SubInterpreter, are you using the shared modules capabililty? sklearn looks like a CPython extension. It probably wasn't written with sub-interpreters in mind, so you probably need to either use SharedInterpreter or add sklearn as a shared module to the JepConfig provided to a SubInterpreter.

See https://github.com/ninia/jep/wiki/Workarounds-for-CPython-Extensions

shabir1

comment created time in 20 days

issue commentninia/jep

Symbol not found: _libintl_setlocale on macOS

I'm not familiar with Pyenv but it looks like @geekadalovelace was also using it. Please doublecheck that the Python that built Jep is the same Python you're running with. I don't have any other ideas.

geekadalovelace

comment created time in 21 days

issue commentninia/jep

Symbol not found: _libintl_setlocale on macOS

How did you install Python? Was it with conda or homebrew or from the python website or something else?

geekadalovelace

comment created time in 21 days

issue commentninia/jep

java 使用 JEP调用python算法 执行一次可以,第二次立马报错

Your crash is in numpy. Try using SharedInterpreter instead of SubInterpreter or use shared modules such as JepConfig.addSharedModules("numpy").

L-JiaHui

comment created time in a month

issue commentninia/jep

is jep works with jdk 1.6.0.45?

It's on the README in the dependencies section. Jep 3.9 requires Java 1.7. If you want to use Java 1.6, you will need to use Jep 3.6 or earlier.

Mrliuzh

comment created time in 3 months