Task #6539 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: Batch Annotate in Web
| Reported by: | jrswedlow | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-Beta4.3.2 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-09-15 (5) |
Description (last modified by atarkowska)
Batch Annotation:
- Multi-select images in middle pane.
- Tag with with existing tag
- Get following error:
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 1322, in manage_annotation_multi
manager.createAnnotationsLinks('tag', tags, oids)
File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omeroweb/webclient/controller/container.py", line 775, in createAnnotationsLinks
for ob in self.conn.getObjects(k.lower().title(), oids[k]):
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 2363, in buildQuery
params.map["ids"] = rlist([rlong(a) for a in ids])
File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omero/rtypes.py", line 207, in rlong
return RLongI(val)
File "/home/omero/OMERO.server-4.3.2-DEV-e9e58218-b2743/lib/python/omero/rtypes.py", line 530, in __init__
omero.RLong.__init__(self, long(value))
TypeError: long() argument must be a string or a number, not 'ImageWrapper'
<WSGIRequest
GET:<QueryDict: {u'index': [u'None']}>,
POST:<QueryDict: {u'description': [u''], u'tags': [u'579'], u'image': [u'5152', u'5153', u'5154', u'5157', u'5158', u'5159', u'5162', u'5163', u'5164'], u'content': [u''], u'tag': [u''], u'annotation_file': [u'']}>,
COOKIES:{'sessionid': 'bf0afadfba9b25b5caae0c0e6b896cd0'},
META:{'CONTENT_LENGTH': '1439',
'CONTENT_TYPE': 'multipart/form-data; boundary=----WebKitFormBoundaryp4nh4EsAFWPJGrSE',
'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.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=bf0afadfba9b25b5caae0c0e6b896cd0',
'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
'HTTP_ORIGIN': 'http://gretzky.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/metadata_details/multiaction/annotatemany/?image=5152&image=5153&image=5154&image=5157&image=5158&image=5159&image=5162&image=5163&image=5164',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1',
'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': '89.241.141.24',
'REMOTE_PORT': '56929',
'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 0x3667b50>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x3667f10>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (5)
comment:1 Changed 8 years ago by jrswedlow
- Component changed from General to Web
comment:2 Changed 8 years ago by atarkowska
- Sprint changed from 2011-09-01 (4) 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 atarkowska
- Description modified (diff)
comment:5 Changed 8 years ago by atarkowska
- Remaining Time changed from 0.5 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.
fixed in #6652