We're Hiring!

Omero webtagging invalid URL

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 webtagging invalid URL

Postby borja8 » Fri May 11, 2018 9:25 am

Hi!

I have installed Omero webtagging without errors following steps here: https://www-legacy.openmicroscopy.org/s ... webtagging

When clicking on new top menu button "Tag Search", it goes to .../omero_webtagging_tagsearch relative to current url. For example: http://omero.local/webclient/omero_webtagging_tagsearch which is a URL that does not exist. Not sure if it has to exist....

But i test URL http://omero.local/omero_webtagging_tagsearch and is working. So i think this top menu button should go there. Am i right?

Thanks
borja8
 
Posts: 7
Joined: Mon Apr 09, 2018 8:44 am

Re: Omero webtagging invalid URL

Postby kennethgillen » Fri May 11, 2018 9:36 am

Hi borja8,

Could you please show us the output of your OMERO.web's config via

Code: Select all
bin/omero config get


Editing out any sensitive details you may not wish shared.

Many thanks,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: Omero webtagging invalid URL

Postby borja8 » Fri May 11, 2018 10:01 am

kennethgillen wrote:Hi borja8,

Could you please show us the output of your OMERO.web's config via

Code: Select all
bin/omero config get


Editing out any sensitive details you may not wish shared.

Many thanks,

Kenny


bin/omero config get
omero.web.application_server=wsgi-tcp
omero.web.application_server.max_requests=500
omero.web.apps=["omero_figure", "omero_webtagging_autotag", "omero_webtagging_tagsearch"]
omero.web.middleware=[{"index": 1, "class": "django.middleware.common.BrokenLinkEmailsMiddleware"}, {"index": 2, "class": "django.middleware.common.CommonMiddleware"}, {"index": 3, "class": "django.contrib.sessions.middleware.SessionMiddleware"}, {"index": 4, "class": "django.middleware.csrf.CsrfViewMiddleware"}, {"index": 5, "class": "django.contrib.messages.middleware.MessageMiddleware"}, {"index": 0, "class": "whitenoise.middleware.WhiteNoiseMiddleware"}]
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.center_plugins=[["Auto Tag", "omero_webtagging_autotag/auto_tag_init.js.html", "auto_tag_panel"]]
omero.web.ui.top.links=[["Figure", "figure_index", {"target": "_blank", "title": "Open Figure in new tab"}]]
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Tag Search", "omero_webtagging_tagsearch"]]
omero.web.wsgi_workers=5
borja8
 
Posts: 7
Joined: Mon Apr 09, 2018 8:44 am

Re: Omero webtagging invalid URL

Postby kennethgillen » Fri May 11, 2018 10:32 am

Hello again borja8,

I notice a discrepancy between the instructions on our "tagsearch" page at openmicroscopy.org, and the newer set of instructions at PyPi. i.e.

Try the following in your omero.web.ui.top_links instead:
Code: Select all
["Tag Search", "tagsearch"]


If that's the fix, I'll submit a PR to update that on our website. Apologies if that's been the cause of your troubles.

Best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: Omero webtagging invalid URL

Postby borja8 » Fri May 11, 2018 11:21 am

kennethgillen wrote:Hello again borja8,

I notice a discrepancy between the instructions on our "tagsearch" page at openmicroscopy.org, and the newer set of instructions at PyPi. i.e.

Try the following in your omero.web.ui.top_links instead:
Code: Select all
["Tag Search", "tagsearch"]


If that's the fix, I'll submit a PR to update that on our website. Apologies if that's been the cause of your troubles.

Best,

Kenny


No problem :D
Whats the command for replace?
borja8
 
Posts: 7
Joined: Mon Apr 09, 2018 8:44 am

Re: Omero webtagging invalid URL

Postby kennethgillen » Fri May 11, 2018 1:04 pm

You can use
Code: Select all
bin/omero config set
to replace the whole value of omero.web.ui.top_links with the new updated value.

There's also
Code: Select all
bin/omero config edit
which will give you a text editor to make the changes in place, too. For a small change like this, if you aren't loading your OMERO config from a separate file[s], then this is probably the easiest way to make the change.

And you'll need to restart OMERO.web for the changes to become effective.

See https://docs.openmicroscopy.org/omero/5 ... g.html#id2 for the specifics.
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest

cron