StuartLab / MiNA

MiNA (Mitochondrial Network Analysis) is a project aimed at making the analysis and characterization of mitochondrial network morphology more accurate, faster, and objective. This project currently consists of a set of Python scripts (and JAVA for the user interface) for the Fiji distribution of ImageJ.
GNU General Public License v3.0
26 stars 8 forks source link

Error when running MiNA Analyze Morphology. #15

Closed ZainP99 closed 4 years ago

ZainP99 commented 4 years ago

When trying to use the plugin, I keep getting this error:

[ERROR] Traceback (most recent call last): File "Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py", line 20, in ImportError: compiled unit contains version 37 code (38 required): C:\Users\zainh\AppData\Local\Temp\Rar$EXa11036.12434\Fiji.app\jars\Lib\eztables__init__$py.class

at org.python.core.Py.ImportError(Py.java:329)
at org.python.core.imp.readCodeData(imp.java:396)
at org.python.core.imp.createFromPyClass(imp.java:284)
at org.python.core.imp.loadFromSource(imp.java:951)
at org.python.core.imp.find_module(imp.java:769)
at org.python.core.imp.import_next(imp.java:1158)
at org.python.core.imp.import_module_level(imp.java:1350)
at org.python.core.imp.importName(imp.java:1528)
at org.python.core.ImportFunction.__call__(__builtin__.java:1285)
at org.python.core.PyObject.__call__(PyObject.java:433)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOne(imp.java:1547)
at org.python.pycode._pyx0.f$0(Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py:291)
at org.python.pycode._pyx0.call_function(Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.__builtin__.eval(__builtin__.java:497)
at org.python.core.__builtin__.eval(__builtin__.java:501)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:255)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.scijava.script.ScriptModule.run(ScriptModule.java:157)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:124)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:63)
at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:225)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

This has happened on two separate devices I've attempted to use this on. Any suggestions on how to fix this? Thanks!

OihanaT commented 4 years ago

I am also triying to run MiNA and I am getting exactly the same error as ZainP99. I tried with different versions of FIJI and I even reinstall it again but it did not work. Any suggestions? Thanks a lot!

mrthanatoss commented 4 years ago

Same issue here.

[ERROR] Traceback (most recent call last): File "Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py", line 20, in ImportError: compiled unit contains version 37 code (38 required): D:\Fiji\Fiji.app\jars\Lib\eztables__init__$py.class

RodoVJ commented 4 years ago

Hello everyone,

Did you install MiNA from GitHub or did you follow the instructions in the wiki page? At this moment, it is recommended that you follow instructions from the wiki page to install MiNA. The module eztables has been causing a lot of trouble so we are working on a version that will not depend on it and will be manually installable. We'll be uploading this here sometime in the future.

In the mean time if redownloading FIJI and/or MiNA does not help, I would suggest taking a look at these other tools:

Thank you and I hope everyone is staying safe.

igodet commented 4 years ago

Hello! We have been using this plugin successfully and it was working on 08/04 but suddenly we started getting this error on 08/05. Thank you for the other suggestions! We will keep checking this page.

ZainP99 commented 4 years ago

Hello everyone,

Did you install MiNA from GitHub or did you follow the instructions in the wiki page? At this moment, it is recommended that you follow instructions from the wiki page to install MiNA. The module eztables has been causing a lot of trouble so we are working on a version that will not depend on it and will be manually installable. We'll be uploading this here sometime in the future.

In the mean time if redownloading FIJI and/or MiNA does not help, I would suggest taking a look at these other tools:

Thank you and I hope everyone is staying safe.

Hello! I followed the installation instructions outlined on the wiki page. I retried it today but it still spits out the same error.

ulianamuso commented 4 years ago

Hello!

I was also using the plugin successfully until I tried to use it on 08/12/20 both from Mac and Windows and appeared the same error as here. I followed the instructions from the wiki page for the installation.

Thank you for the suggestions.

Hannah-JW commented 4 years ago

I am also trying to run MiNA and I am getting exactly the same error. I reinstall it again but it did not work. Any suggestions? Thanks a lot!

RodoVJ commented 4 years ago

Sorry to hear this bug is causing so much trouble. Have you tried downloading previous versions of FIJI? If this works, it might be a temporary solution to the problem while we work on releasing the new version of MiNA.

Hannah-JW commented 4 years ago

Dear Rodrigo,

Thank you for your reply. I have tried the newest version and previous version of FIJI on both Mac and window with MiNA. None of them works.

Best,

Jingwen

On Aug 20, 2020, at 11:00 AM, Rodrigo Vega <notifications@github.com mailto:notifications@github.com> wrote:

Sorry to hear this bug is causing so much trouble. Have you tried downloading previous versions of FIJI https://downloads.imagej.net/fiji/archive/? If this works, it might be a temporary solution to the problem while we work on releasing the new version of MiNA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/StuartLab/MiNA/issues/15#issuecomment-677718605, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVNAWFFJITXE4AFJJQEIRTSBU3AJANCNFSM4PX5YCXQ.

RodoVJ commented 4 years ago

I'm currently trying to replicate this buy downloading the current version of FIJI. I also plan to download older versions of it. I would recommend going 5 versions back and see it if that works.

Hannah-JW commented 4 years ago

Hi Rodrigo,

Thank you for your help. I got one previous MiNA for my friends and install in the newest version of FIJI. It works well. It seems that something is wrong with the MiNA.

Best, Jingwen

On Aug 20, 2020, at 11:24 AM, Rodrigo Vega <notifications@github.com mailto:notifications@github.com> wrote:

I'm currently trying to replicate this buy downloading the current version of FIJI. I also plan to download older versions of it. I would recommend going 5 versions back and see it if that works.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/StuartLab/MiNA/issues/15#issuecomment-677732989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVNAWFF3KYW5KDJRTCT6FTSBU54RANCNFSM4PX5YCXQ.

RodoVJ commented 4 years ago

I'm glad you got a working copy of MiNA @Hannah-JW. We ask of you to be patient while we test and continue to develop the newer version of MiNA and would suggest trying out the tools listed above. Here they are again:

Try reading their description and see if one of them appeals to your needs.

Thank you

ZainP99 commented 4 years ago

Hi Rodrigo, Thank you for your help. I got one previous MiNA for my friends and install in the newest version of FIJI. It works well. It seems that something is wrong with the MiNA. Best, Jingwen On Aug 20, 2020, at 11:24 AM, Rodrigo Vega @. @.>> wrote: I'm currently trying to replicate this buy downloading the current version of FIJI. I also plan to download older versions of it. I would recommend going 5 versions back and see it if that works. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#15 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVNAWFF3KYW5KDJRTCT6FTSBU54RANCNFSM4PX5YCXQ.

Hi Jingwen,

How were you able to access a previous version of MiNA? I would like to try that myself!

Hannah-JW commented 4 years ago

Hi ZainP99,

Hope the attached link will help you. https://github.com/StuartLab/MiNA/releases https://github.com/StuartLab/MiNA/releases

Hannah

On Aug 24, 2020, at 2:04 PM, ZainP99 notifications@github.com wrote:

Hi Rodrigo, Thank you for your help. I got one previous MiNA for my friends and install in the newest version of FIJI. It works well. It seems that something is wrong with the MiNA. Best, Jingwen … <x-msg://16/#> On Aug 20, 2020, at 11:24 AM, Rodrigo Vega @. @.>> wrote: I'm currently trying to replicate this buy downloading the current version of FIJI. I also plan to download older versions of it. I would recommend going 5 versions back and see it if that works. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#15 (comment) https://github.com/StuartLab/MiNA/issues/15#issuecomment-677732989>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVNAWFF3KYW5KDJRTCT6FTSBU54RANCNFSM4PX5YCXQ https://github.com/notifications/unsubscribe-auth/AQVNAWFF3KYW5KDJRTCT6FTSBU54RANCNFSM4PX5YCXQ.

Hi Jingwen,

How were you able to access a previous version of MiNA? I would like to try that myself!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StuartLab/MiNA/issues/15#issuecomment-679280704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVNAWAR44BRRBFRA7MBXRTSCKTTNANCNFSM4PX5YCXQ.

RodoVJ commented 4 years ago

Hello everyone,

The new version of MiNA has now been uploaded. Please read the README of this repository for installation instructions. This has to be manually installed and cannot be obtained through Fiji's update site. Thank you for your patience and please report any bugs you may encounter.

All the best, Rodrigo