We're Hiring!

Omero.figure installation

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Omero.figure installation

Postby LeroyAlex » Wed Oct 29, 2014 9:21 am

Hello,

We recently installed omero 5.0.5 in our institute and i was eager to try the omeoro.figure
omero.web application. So i followed the installation instructions gave on http://will-moore.github.io/figure/
and when i enter the command:
bin\omero config append omero.web.apps '"figure'", i get this message as an answer:
NoValueError: No JSON object could be decoded
So, i m not informatician and i have no idea of what it means, but i got it was in relation with java so i checked if there was any problem with it running a diagnostic and it says it s working.
If someone have an idea to fix my problem, let me know.

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: Omero.figure installation

Postby atarkowska » Wed Oct 29, 2014 10:12 am

Hi Alex,

I think your command should be:

Code: Select all
bin\omero config append omero.web.apps '"figure"'


the quotes are not closed correctly, basically you need:
Code: Select all
(single quote) (double quote) figure (double quote) (single quote)


Please double check documentation

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Omero.figure installation

Postby LeroyAlex » Wed Oct 29, 2014 10:55 am

Hi Ola,

Thx for your answer.
I took caution to write single quote double quote figure double single as you told me to but that was apparently not my mistake since i still get the same error message.

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: Omero.figure installation

Postby wmoore » Wed Oct 29, 2014 11:04 am

Assuming you have no other apps installed, you could try setting the whole list as described for OMERO 4.4 (still supported in OMERO 5).

Code: Select all

bin\omero config set omero.web.apps '["figure"]'



If there's really some JSON parsing issue, then you'll get the same message, but it's worth trying.

Will
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Omero.figure installation

Postby atarkowska » Wed Oct 29, 2014 11:13 am

Hi Alex,

Could you show me an output of bin\omero config get ? Please wipe all passwords before you publish on the forum

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Omero.figure installation

Postby LeroyAlex » Wed Oct 29, 2014 12:45 pm

Hi,

wmoore:
Assuming you have no other apps installed


You were right, no other apps installed, so i did as intructed and i dont get the JSON eror message.
But when i want to stop and restart omero.web, i get this error message (Invalid additional_apps JSON:" '[figure]' "; i note that the quote order is reversed, dunno why though ) and cannot connect to omero web.

Ola, i assume you only need the part concerning omero.web, if not let me know and i ll add the rest but it s a hassle since i cant copy paste from the cli.
here is the output for config get:

Code: Select all
omero.data.dir=E:\\Omero-data\\OMERO
omero.web.application_server=development
omero.web.debug=True
opmero.web.server_list=[["10.2.4.251", 4064, "prod"], ["10.2.4.251", 4064, "dev"]]


Output after the bin\omero config set omero.web.apps '["figure"]' command:

Code: Select all
omero.data.dir=E:\\Omero-data\\OMERO
omero.web.application_server=development
omero.web.apps='[figure]'
omero.web.debug=True
opmero.web.server_list=[["10.2.4.251", 4064, "prod"], ["10.2.4.251", 4064, "dev"]]


Thx for your answers,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: Omero.figure installation

Postby atarkowska » Wed Oct 29, 2014 1:04 pm

Ok, We have just noticed that you are using Windows, then your command will be:

bin\omero config append omero.web.apps "\"figure\""


On Windows please use the escape sequence \" for nesting double quotes

In your bin/omero config get you should see:

omero.web.apps=["figure"]


Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Omero.figure installation

Postby LeroyAlex » Wed Oct 29, 2014 1:26 pm

Well, it s working!
Thx you so much guys.
I'm sorry i did not precise i was on windows from the begining :oops:

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: Omero.figure installation

Postby wmoore » Wed Oct 29, 2014 2:10 pm

Great. I'll update the figure install docs to add the reminder to escape for Windows users.

Any other feedback you have on OMERO.figure is also always welcome!

Thanks,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest