Error: A GXpy instance has already been created for current thread
ArtemGorbunov
Posts: 10
in GX Developer
I'm trying to run a Python script within Oasis Montaj. The Python GX has been configured (the GX was downloaded, and the Python folder was chosen) according to the Installation guide. Python instance has been successfully verified. When I try to run the "Hello world" file (Python -> Configure Python -> Hello world) and/or some external Python script, I'm constantly getting the error saying "Error: A GXpy instance has already been created for current thread". Does anybody have an idea how it can be resolved?
Tagged:
0
Best Answer
-
use gxc = gxpy.gx.gx() instead of gxc = gxpy.gx.GXpy() it worked for me. This is suggested on their git hub page
0
Answers
-
I have the same issue. @TomPopowski could you please help ? Thanks
0
Categories
- All Categories
- 287 Community
- 3 Get Started
- 16 Latest Releases
- 16 Member Spotlight
- 42 Learning
- 1.1K Products
- 563 Geology
- 536 Leapfrog
- 1 Volsung
- 26 Visible Geology
- 36 Data Management & Collaboration
- 14 MX Deposit
- 13 Central
- 9 Imago
- 136 Geotechnical
- 136 GeoStudio
- 332 Geophysics
- 321 Oasis montaj
- 1 Workbench
- SPIA
- 10 Res2DInv & Res3DInv
- 3 Evo
- 27 GX Developer
