Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65603 sec.)

We're Hiring!