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

Opened 8 years ago

Closed 8 years ago

Bug: web HCS batch annotate

Reported by: saloynton Owned by: atarkowska
Priority: minor Milestone: OMERO-Beta4.3.2
Component: Web Version: n.a.
Keywords: n.a. Cc: saloynton
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-09-15 (5)

Description (last modified by saloynton)

I was just running through the HCS web scenario I had been creating and found this when submitting a batch annotation.

Traceback (most recent call last):

  File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omeroweb/webclient/views.py", line 169, in wrapped
    return f(request, *args, **kwargs)

  File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omeroweb/webclient/views.py", line 1290, in manage_annotation_multi
    plates = len(request.REQUEST.getlist('plate')) > 0 and list(conn.getObjects("Plates", request.REQUEST.getlist('plate'))) or list()

  File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omero/gateway/__init__.py", line 2323, in getObjects
    query, params, wrapper = self.buildQuery(obj_type, ids, params, attributes)

  File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omero/gateway/__init__.py", line 2346, in buildQuery
    raise KeyError("obj_type of %s not supported by getOjbects(). E.g. use 'Image' etc" % obj_type)

KeyError: "obj_type of Plates not supported by getOjbects(). E.g. use 'Image' etc"


<WSGIRequest
GET:<QueryDict: {u'plate': [u'103', u'104']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': 'd665ff339e8c9627dff1c53e0d54e6d6'},
META:{'DOCUMENT_ROOT': '/var/www',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=d665ff339e8c9627dff1c53e0d54e6d6',
 'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/userdata/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webclient/metadata_details/multiaction/annotatemany/',
 'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/metadata_details/multiaction/annotatemany/',
 'QUERY_STRING': 'plate=103&plate=104',
 'REMOTE_ADDR': '10.12.2.26',
 'REMOTE_PORT': '51928',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/webclient/metadata_details/multiaction/annotatemany/?plate=103&plate=104',
 'SCRIPT_FILENAME': '/var/www/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '134.36.65.227',
 'SERVER_ADMIN': 'webmaster@localhost',
 'SERVER_NAME': 'gretzky.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7ff064695290>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7ff06431b310>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (4)

comment:1 Changed 8 years ago by saloynton

  • Description modified (diff)

comment:2 Changed 8 years ago by atarkowska

  • Sprint set to 2011-09-15 (5)

comment:3 Changed 8 years ago by atarkowska

  • Remaining Time set to 0.5

comment:4 Changed 8 years ago by Aleksandra Tarkowska <atarkowska@…>

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [1791914ad4fbbf0796a17553f3b3feb164fe6138/ome.git] on branch develop) this correct spelling mistake, close #6548

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

We're Hiring!