Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O Orekit Python Wrapper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Orekit Labs
  • Orekit Python Wrapper
  • Issues
  • #418

Closed
Open
Created Jan 27, 2020 by voidblack@voidblack

PyCharm & TimeScalesFactory.getUTC()

I have Orekit installed on two different machines, one windows 10 and one Ubuntu 18.04. I use Anaconda as my environment manager on both. I also have PyCharm & Spyder installed on both as an IDE, full version info below. When I execute the below lines in PyCharm on either machine, I get a crashed console and the error below (linux version). The lines run fine on Spyder for both machines using the same Conda enviroment.

Code Lines:

import orekit
orekit.initVM()

from orekit.pyhelpers import setup_orekit_curdir
setup_orekit_curdir()
orekit.pyhelpers.download_orekit_data_curdir()

from org.orekit.time import TimeScalesFactory, AbsoluteDate, DateComponents, TimeComponents

utc = TimeScalesFactory.getUTC()

Linux version of error message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f06656cbf4c, pid=15083, tid=0x00007f0666b6f700
#
# JRE version: OpenJDK Runtime Environment (8.0_152-b12) (build 1.8.0_152-release-1056-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.152-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [_orekit.cpython-37m-x86_64-linux-gnu.so+0x14d8f4c]  JCCEnv::callObjectMethod(_jobject*, _jmethodID*, ...) const+0xac
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ash/PycharmProjects/SSA/hs_err_pid15083.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

PyCharm Version Info:

PyCharm 2019.3.1 (Edu)
Build #PE-193.6015.45, built on January 21, 2020
Runtime version: 11.0.5+10-b520.30 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.0.0-37-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 24
Registry: 
Non-Bundled Plugins: 

Spyder Version Info:

Spyder 4.0.1 
Python 3.7.5 64-bit | Qt 5.9.6 | PyQt5 5.9.2 | Linux 5.0.0-37-generic 
Assignee
Assign to
Time tracking