174 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
78
views
GridDB Cloud client failing with "Failed to import 'org.apache'" using JPype
I’m working on a demo project to simulate an IoT device using Python and GridDB.
I’m trying to connect to GridDB Cloud from a Windows environment.
I keep running into the following error:
Failed to ...
0
votes
1
answer
49
views
Write AEM files with OREKIT
I am new to orekit and without a lot of knowledge about space physics. I am using orekit jpype to create an AEM file.
No matter what I try, I get errors of the same format, something like:
in ...
0
votes
0
answers
18
views
JPype traces do not appear in Airflow
I use Apache Airflow 2.10.5 to run a task implemented in Java. This task is implemented by a PythonOperator that calls a Java method by using JPype.
The Java method performs System.out.println.
...
0
votes
0
answers
46
views
connecting and reading from AMQ using jpype hangs some times
We are using JPype to connect to an AMQ broker and read the queue. The program works fine. However, it is frequently getting hung in the connection state. Below is the program we are using. Can ...
-2
votes
1
answer
426
views
arm mac jpype install error(Compiling with an SDK that doesn't seem to exist)
error log:
--- stderr:
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
Please check your Xcode ...
0
votes
0
answers
520
views
Im getting this error "fatal Python error: Bus error"
I have a test script for which I'm using selenium along with pytest. Sometimes I get an error saying 'fatal Python erorr: Bus error'. I'm not using sockets, threads or anything else that requires use ...
0
votes
0
answers
224
views
Connect jpype to existing JVM
I try to access an API of an java Application from python. The Application is a simulation tool. It has more sophisticated functions but the simplest functions are start, pause and reset the ...
0
votes
0
answers
231
views
jpype dbapi2 : ClassNotFoundException error on python
I want to run SQL on an IBM i database from python, with jpype and jdbc. The problem I have must be from jpype, all seems correct (the informations that I print from my program), but I have a "...
0
votes
1
answer
264
views
Suppress logging from Java VM being used in Python with jpype
Have some Python code that is interacting with a JVM via the jpype package. The code in the JVM has some overly verbose logging that is getting dumped to the console and I would like to suppress it, ...
2
votes
0
answers
200
views
JVM DLL not found on Mac ARM when running jpype
I am trying to use the python package JPype which is installed on my anaconda virtual environment.
I have installed JDK 21 but I keep getting an error when I try to use JPype. The error is:
...
1
vote
1
answer
3k
views
Trying to install JPype1 but getting errors: cl.exe' failed with exit code 2
Im trying to install JPype1
but i keep getting this:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\2022円\\BuildTools\\VC\\Tools\\MSVC\14円.38.33130\\bin\\HostX86\\x86\\cl.exe' failed ...
0
votes
0
answers
99
views
JPype and robotframework custom keywords
I'm trying to use JPype with Robotframework to be able to use java-based SUTs.
I used this (https://forum.robotframework.org/t/connecting-java-with-robot-framework/5253) forum Post to implement it (...
1
vote
1
answer
942
views
Error while building wheel for JPype1 in Python 3.12
I am trying to install JPype1 (version 1.4.1) in python 3.12 but I get the following error
jp_primitivetype.cpp
native\common\jp_primitivetype.cpp(50): error C2039: 'ob_digit': is not a member ...
1
vote
0
answers
233
views
Jpype java to python type conversions
Say I create a simple java type with jpype:
jt = jpype.java.lang.System.currentTimeMillis()
print(jt)
print(type(jt))
pt = int(jt)
print(pt)
print(type(pt))
This produces:
1693604984710
<java ...
0
votes
0
answers
363
views
failed to execute script with Jpype
I'm working sap automatization(I use anaconda) and at the end of my code I use Jpype and aspose to make my excel read only password protected file.
import jpype
import asposecells
jpype.startJVM()
...