Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] EASE & Jython: using os module fails

Hi Christian,

Yes os should be part of Jython. Thanks in advance, let me know if you come up with anything. 

For tracking I've filed it as this github issue https://github.com/eclipse-ease-addons/jython/issues/1

Tracy

On Mon, Feb 8, 2016 at 7:37 PM, Christian Pontesegger <christian.pontesegger@xxxxxx> wrote:
Hi Tracy,

not sure about the external libs. 'os' sounds like it should be supported by jython, but as I am not using it actively, I have to take a closer look. Will put it on my schedule for friday and report back to you.

You may also file a bug, but as it is not related to eclipse code (jython is hosted on github), you will have to file it on the github project.

regards
Christian


Am 05.02.2016 um 13:37 schrieb Tracy Miranda:
Hi,

I am using EASE with the Jython engine. 

I can't seem to use some modules in my Jython script, most notably the os one (using timer one works). 

For instance, if I run this code (in a *.py file using Run>Run as EASE):

import os 
os.listdir("c:\\Results\\")

I get this error:
Traceback (most recent call last):
  File "(none)", line 2, in <module>
TypeError: 'javapackage' object is not callable

Any set up things I'm missing or should I file a bug?

Regards,
Tracy



_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top