SilentSys / orhelper

orhelper is a module which aims to facilitate interacting and scripting with OpenRocket from Python
GNU General Public License v2.0
16 stars 18 forks source link

Strange attribute error #12

Open david314 opened 1 year ago

david314 commented 1 year ago

When trying to run the lazy example under Ubuntu, I got a strange attribute rror:

python3 lazy.py Traceback (most recent call last): File "/home/david/orhelper/examples/lazy.py", line 10, in <module> with orhelper.OpenRocketInstance() as instance: File "/home/david/.local/lib/python3.10/site-packages/orhelper/_orhelper.py", line 53, in __enter__ self.openrocket = jpype.JPackage("net").sf.openrocket AttributeError: Java package 'net' is not valid

david314 commented 1 year ago

I found the error, the CLASSPATH was not pointing correctly to the OpenRocket-15.03.jar!