OMERO.figure for 5.6.3

Following up @mellertd’s question, is OMERO.figure available for 5.6.3? Does it have to be added to the omero-web config right?

I have installed it on the virtual environment for OMERO.web and added it to the omero web config:

omero.web.application_server=wsgi-tcp
omero.web.application_server.max_requests=0
omero.web.apps=["omero_figure"]
omero.web.open_with=[["Image viewer", "webgateway", {"supported_objects": ["image"], "script_url": "webclient/javascript/ome.openwith_viewer.js"}], ["omero_figure", "new_figure", {"supported_objects": ["images"], "target": "_blank", "label": "OMERO.figure"}]]
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "https://help.openmicroscopy.org/", {"title": "Open OMERO user guide in a new tab", "target": "new"}], ["Figure", "figure_index", {"title": "Open Figure in new tab", "target": "_blank"}]]
omero.web.wsgi_worker_class=gevent
omero.web.wsgi_worker_connections=1000
omero.web.wsgi_workers=17

After restarting omero-web it doesn’t seem to show up on the links or the open menu.

Any other steps needed to add it?

Kind regards.

Hi,
OMERO.figure should certainly work with OMERO.web 5.6.3.

Can you confirm whether the URL {your-server}/figure/ is working or 404?

Do you see any errors in the browser dev-tools console?

Thanks,

Will.

Hello @will-moore,

Thanks for the reply. I see no errors in the console. It returns a 404.

# pwd -P
/opt/omero/web/venv3
# bin/pip freeze
Django==1.11.29
django-pipeline==1.6.14
future==0.18.2
gevent==1.4.0
greenlet==0.4.15
gunicorn==20.0.4
numpy==1.18.2
omero-figure==4.2.0
omero-marshal==0.7.0
omero-py==5.6.2
omero-web==5.6.3
Pillow==7.0.0
pytz==2019.3
zeroc-ice==3.6.5

I can see figure at:

/opt/omero/web/omero-web/var/static

Thank you.

Hi,

With the omero_figure in your installed apps, the restart of OMERO.web should fail if there is a problem with omero-figure or if it isn’t installed.
Can you check that OMERO.web is fully stopped and restarted? What’s your install running on? e.g. https://docs.openmicroscopy.org/omero/5.6.1/sysadmins/unix/install-web/walkthrough/omeroweb-install-centos7-ice3.6.html?
Do you see anything in the web logs.

$ tail -f $OMERODIR/var/log/OMEROweb.log

One option you could try is to run in the foreground in development mode:

$ omero config set omero.web.application_server development
$ omero config set omero.web.debug True
$ omero web start
INFO:__main__:Application Starting...
...
Django version 1.11.27, using settings 'omeroweb.settings'
Starting development server at http://127.0.0.1:4080/
Quit the server with CONTROL-C.

This will run on localhost:4080 and show all logging in the console.

Regards,
Will