Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Advanced Scripting Environment (EASE) » Py4J: import instead of loadModule
Py4J: import instead of loadModule [message #1794113] Thu, 23 August 2018 20:00 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
Should this work already in the nightly (installed today into Oxygen.3A)? I get the following in the Py4J script shell:

from eclipse.System.Resources import getWorkspace
	 None
getWorkspace()
	 Traceback (most recent call last):
	  File "<console>", line 1, in <module>
	  File "<string>", line 118, in getWorkspace
	NameError: global name '__EASE_MOD_org_eclipse_ease_modules_EnvironmentModule' is not defined

I tried for a couple of methods from various modules with the same error.
Re: Py4J: import instead of loadModule [message #1794195 is a reply to message #1794113] Mon, 27 August 2018 10:25 Go to previous messageGo to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Not yet, but we are working on it!
Re: Py4J: import instead of loadModule [message #1794199 is a reply to message #1794113] Mon, 27 August 2018 12:17 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
While some parts (eg constants) are not working yet, your example should already work with the nightlies:

from eclipse.System.Resources import getWorkspace
	 None
getWorkspace()
	 R/


works in the shell
Previous Topic:Javascript File Read Tutorial/Snippets
Next Topic:Release Schedule?
Goto Forum:
  


Current Time: Sat Mar 30 04:59:22 GMT 2024

Powered by FUDForum. Page generated in 0.03848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top