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 #11290 (closed)

Opened 11 years ago

Closed 11 years ago

Bug: --id and --name flags not handled by CLI group perms command

Reported by: cblackburn Owned by:
Priority: major Milestone: OMERO-4.4.9
Component: Client Version: 4.4.8
Keywords: n.a. Cc: sbesson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

See output below. --name is also unrecognised. This was seen on OMERO 5 beta 1 but it is likely to be present on 4.4.8 so directing the ticket that way first.

ome cblackburn$ dist/bin/omero group perms --id 3 --type read-annotate
Using session a8bec717-b038-4e03-8114-19968a3ff2f2 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system
Traceback (most recent call last):
 File "dist/bin/omero", line 125, in <module>
   rv = omero.cli.argv()
 File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero/cli.py", line 1195, in argv
   cli.invoke(args[1:])
 File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero/cli.py", line 745, in invoke
   stop = self.onecmd(line, previous_args)
 ```File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero/cli.py", line 814, in onecmd
   self.execute(line, previous_args)
 File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero/cli.py", line 894, in execute
   args.func(args)
 File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero/plugins/group.py", line 172, in perms
   gid, g = self.find_group(a, args.id_or_name)
AttributeError: 'Namespace' object has no attribute 'id_or_name'

Change History (1)

comment:1 Changed 11 years ago by cblackburn

  • Resolution set to duplicate
  • Status changed from new to closed

trac seemed to create two identical tickets. Closing this one.

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.66355 sec.)

We're Hiring!