Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading plugin #1

Open
dschippe opened this issue Jan 28, 2021 · 6 comments
Open

Error loading plugin #1

dschippe opened this issue Jan 28, 2021 · 6 comments

Comments

@dschippe
Copy link

Hi,

I went ahead and put the plugin into the imageJ plugin folder and when I try to run it I get the error below. Any idea what I am doing wrong?

Thanks,
David

SyntaxError: ("mismatched input ',' expecting COLON", ('', 309, 73, " with open(full_table_path, 'a') as full_table_file, open(path_to_multiple_Tables, 'r') as current_table:\n"))

@ariel-waisman
Copy link
Owner

ariel-waisman commented Jan 28, 2021

Hi David! Thanks a lot for your interest in the project.
The problem seems to be that you are using an older version of Jython. Is it possible for you to update your FIJI/ImageJ version and try again?

Cheers,
Ari

@gunjan-sh
Copy link

Hi,
I am having a similar issue. Not able to load the plugin. I followed the steps and also updated the ImageJ app with latest version on Mac but I see the following error:

SyntaxError: ("mismatched input ',' expecting COLON", ('', 311, 73, " with open(full_table_path, 'a') as full_table_file, open(path_to_multiple_Tables, 'r') as current_table:\n"))

Any pointers on how I can fix this ?

Thanks.
Gunjan

@ariel-waisman
Copy link
Owner

Hi Gunjan,
Are you using Fiji or ImageJ? That error appears specific to ImageJ users, but should not occur in FIJI, so maybe you could try that.

Similar issue here:
#3

Hope that helps!
Best
Ariel

@gunjan-sh
Copy link

Hi Ariel,
Thanks for your reply and suggestions. I was using Basic ImageJ earlier. I installed the plugin now with FIJI and its loading.
After loading the plugin, I followed the next steps from your https://labelstorois.github.io/ page to generate ROIs from Labeled images, using some original and labeled tif images after choosing Single Image option but I am getting following Error :

Reading IFDs
Populating metadata
Populating OME metadata

Exception in thread "AWT-EventQueue-0" Traceback (most recent call last):
File "Labels_To_Rois.py", line 495, in f2_clic_next
AttributeError: 'NoneType' object has no attribute 'show'

Is there anything I am missing ? Or doing wrong ?

@dapsoc
Copy link

dapsoc commented Jan 26, 2023

Hi,

After loading the images in the plugin/image j, I also have the error:
Reading IFDs
Populating metadata
Populating OME metadata

Exception in thread "AWT-EventQueue-0" Traceback (most recent call last):
File "Labels_To_Rois.py", line 495, in f2_clic_next
AttributeError: 'NoneType' object has no attribute 'show'

Is there any way to solve this?

Thanks in advance!

@ariel-waisman
Copy link
Owner

Hi!

Are you using an "original image" that is actually a multichannel TIFF file? As it is right now, the plugin for Single Image only works with single-channel images as original images, or else you'll get that error. I'll try to fix it in the future. In the meantime, you can always reload the generated ROIs in the multichannel image after tuning the ROIs. Hope that helps, good luck!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants