Task #13200 (closed)
Opened 8 years ago
Closed 8 years ago
RFE: CLI doesn't give great group help for import
Reported by: | mtbcarroll | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | n.a. |
Component: | Import | Version: | OMERO-5.2.0 |
Keywords: | n.a. | Cc: | ux@…, cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
bin/omero import -h
tells me,
-g GROUP, --group GROUP OMERO server default group
Given that I'm used to giving an ID for options like -d I naively tried giving the group ID to -g but got an unhelpful,
InternalException: Failed to connect: exception ::Glacier2::CannotCreateSessionException { reason = No info in database for user-2 }
back. I don't know if the usage could be made clearer or more flexible, but at the least it would be great if the error message could be improved.
Incidentally, how do I get bin/omero group to tell me who's in read-only-1? I ended up constructing a SQL JOIN for it instead. (Naturally, the error message had me wondering if user-2 was in the group at all.)
Change History (1)
comment:1 Changed 8 years ago by jburel
- Resolution set to duplicate
- Status changed from new to closed
existing card https://trello.com/c/4iU1tdca/551-cli-allow-group-id-in-login-argument