Task #6722 (closed)
Opened 13 years ago
Closed 13 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. |
Description
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/base.py", 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/views.py", line 169, in wrapped return f(request, *args, **kwargs) File "/home/omero/OMERO.server-4.3.2-DEV-9723e749-b2843/lib/python/omeroweb/webclient/views.py", 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/container.py", line 775, in createAnnotationsLinks for ob in self.conn.getObjects(k.lower().title(), [o.id for o in oids[k]]): File "/home/omero/OMERO.server-4.3.2-DEV-9723e749-b2843/lib/python/omero/gateway/__init__.py", 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/__init__.py", 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" <WSGIRequest 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'}, META:{'CONTENT_LENGTH': '923', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------20072377098235644401115438165', '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=e34191ff479cef1b1766349aa1669603', 'HTTP_HOST': 'gretzky.openmicroscopy.org.uk', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/metadata_details/multiaction/annotatemany/?acquisition=720&acquisition=721', '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/', 'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/metadata_details/multiaction/', 'QUERY_STRING': 'index=None', 'REMOTE_ADDR': '10.12.0.207', 'REMOTE_PORT': '65164', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/webclient/metadata_details/multiaction/?index=None', '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 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 13 years ago by Aleksandra Tarkowska <atarkowska@…>
- Remaining Time set to 0
- Resolution set to fixed
- 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.
(In [1f48f44cc549508a97a801ef54293465226836a5/ome.git] on branch develop) this fixes annotating acquisition, close #6722