ome / omero-web

Django-based OMERO.web client
https://www.openmicroscopy.org/omero
16 stars 29 forks source link

An error occurred where omero config append #525

Closed busing closed 6 months ago

busing commented 6 months ago

I'm sorry, I deployed OMERO according to the document, but an error occurred at this step. The error is as follows. I am using Windows.

` omero config append omero.web.server_list '["192.168.31.54", 4064, "demo"]

ERROR : usage: C:\Users\taiyu.conda\envs\omeroweb\Scripts\omero config append [-h] [--report] [--set] KEY VALUE C:\Users\taiyu.conda\envs\omeroweb\Scripts\omero config append: error: unrecognized arguments: 4064, demo]

`

will-moore commented 6 months ago

It looks like you're missing a ' at the end of what you've pasted above?

There should be a closing single quote after the last square bracket:

omero config append omero.web.server_list '["192.168.31.54", 4064, "demo"]'
busing commented 6 months ago

Sorry , I made a mistake in writing.

Still the same mistake image

joshmoore commented 6 months ago

Hi @busing. Quote characters work quite differently on Windows (and we're not experts). You can examples under, e.g., https://stackoverflow.com/questions/7760545/escape-double-quotes-in-parameter

I think you will need something like:

omero config append omero.web.server_list "[\"192.168.31.54\", 4064, \"demo\"]"
busing commented 6 months ago

It has worked, thank you~~