Posted by
Mark Hiner-2 on
Aug 14, 2014; 6:49pm
URL: http://imagej.273.s1.nabble.com/import-os-no-longer-working-in-py-files-tp5009213p5009214.html
Hi Kaitlin,
>"import os" no longer finds an os module.
We just diagnosed this problem but haven't settled on or fully tested a
resolution yet. Basically, we upgraded from a custom 2.5.2
jython-standalone jar to 2.5.3 "just jython". The standalone jar included
necessary dependencies, like the os module, but also conflicted with other
dependencies of Fiji (jruby).
You can read more and follow any discussion of fixes or workarounds here:
http://fiji.sc/bugzilla/show_bug.cgi?id=890Thank you for taking the time to report this issue. Let us know if you have
any other questions.
Thanks,
Mark
On Thu, Aug 14, 2014 at 1:08 PM, Snider, Kaitlin <
[hidden email]> wrote:
> I updated today (first time in about a week) and immediately thereafter
> realized my "batch" macros are broken. I use .py macros to extract file
> names to run a function on all of the image files in a folder, and this
> requrires "import os." "import os" no longer finds an os module. Is this
> deleted and needs replaced? If so, where can I find it and where does it
> go? Or is this a change in IJ2 that no longer allows os-module python
> macros? If that's the case, any great sample batch macros in the IJ Macro
> language that you could refer me to?
>
> Thanks very much :)
>
> Kaitlin Snider
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html