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

Opened 9 years ago

Closed 9 years ago

Bug: batch annotate add attachment

Reported by: saloynton Owned by: atarkowska
Priority: major 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: n.a.


This was obtained in a batch annotate add attachment - the attachment was an protocol file.

Traceback (most recent call last):

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

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

  File "/home/omero/OMERO.server-4.3.2-DEV-9723e749-b2843/lib/python/omeroweb/webclient/", line 1327, in manage_annotation_multi
    manager.createAnnotationsLinks('file', files, oids)

  File "/home/omero/OMERO.server-4.3.2-DEV-9723e749-b2843/lib/python/omeroweb/webclient/controller/", line 775, in createAnnotationsLinks
    for ob in self.conn.getObjects(k.lower().title(), [ for o in oids[k]]):

  File "/home/omero/OMERO.server-4.3.2-DEV-9723e749-b2843/lib/python/omero/gateway/", line 2310, in getObjects
    query, params, wrapper = self.buildQuery(obj_type, ids, params, attributes)

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

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

GET:<QueryDict: {u'index': [u'None']}>,
POST:<QueryDict: {u'files': [u'9928'], u'description': [u''], u'content': [u''], u'tag': [u''], u'annotation_file': [u''], u'acquisition': [u'720', u'721']}>,
COOKIES:{'sessionid': 'e34191ff479cef1b1766349aa1669603'},
 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------20072377098235644401115438165',
 'DOCUMENT_ROOT': '/var/www',
 '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=e34191ff479cef1b1766349aa1669603',
 'HTTP_HOST': '',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20100401 Firefox/3.6.3',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webclient/metadata_details/multiaction/',
 'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/metadata_details/multiaction/',
 'QUERY_STRING': 'index=None',
 'REMOTE_PORT': '65164',
 'REQUEST_URI': '/webclient/metadata_details/multiaction/?index=None',
 'SCRIPT_FILENAME': '/var/www/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADMIN': 'webmaster@localhost',
 'SERVER_PORT': '80',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x2cbef90>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x2e2ec50>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (1)

comment:1 Changed 9 years ago by Aleksandra Tarkowska <atarkowska@…>

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

(In [1f48f44cc549508a97a801ef54293465226836a5/ome.git] on branch develop) this fixes annotating acquisition, close #6722

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

We're Hiring!