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 #12813 (new)

Opened 5 years ago

Last modified 5 years ago

BUG: Thumbnail Figure empty Dataset

Reported by: pwalczysko Owned by: wmoore
Priority: major Milestone: Unscheduled
Component: Web Version: 5.1.0-m1
Keywords: n.a. Cc: ux@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by pwalczysko)

When Thumbnail Figure (Publication script, right-hand pane) is executed on an empty Dataset in Web, then Error occurs.

Traceback (most recent call last):

  File "/opt/hudson/workspace/OMERO-5.1-latest-deploy/src/dist/lib/python/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/opt/hudson/workspace/OMERO-5.1-latest-deploy/src/dist/lib/python/omeroweb/decorators.py", line 469, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/OMERO-5.1-latest-deploy/src/dist/lib/python/omeroweb/decorators.py", line 519, in wrapper
    context = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/OMERO-5.1-latest-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 3007, in figure_script
    imageTags, ts = loadImageTags(imgIds)

  File "/opt/hudson/workspace/OMERO-5.1-latest-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 2992, in loadImageTags
    linkMap[l.getParent().id].append(c)

KeyError: 20979L


<WSGIRequest
path:/latest/webclient/figure_script/Thumbnail/,
GET:<QueryDict: {u'Dataset': [u'73']}>,
POST:<QueryDict: {}>,
COOKIES:{'_ga': 'GA1.2.483423307.1416590819',
 'csrftoken': 'CFDjgGaVwzFkmVwBxRDBt0OMRe1ClEx4',
 'phpbb3_a9mfv_k': '2f8aa36e26085c64',
 'phpbb3_a9mfv_sid': '180f97b3939f93209fdabf86fddc457e',
 'phpbb3_a9mfv_u': '2759',
 'sessionid_OMERO-5.1-latest-deploy': 'w5w9ufglyspxp75dq2uemddcbyhg82vz',
 'sessionid_OMERO-5.1-merge-deploy': 's9nnxr9qz803fsxl5gazo6d0084jf434',
 'style_cookie': 'null'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'CFDjgGaVwzFkmVwBxRDBt0OMRe1ClEx4',
 'HTTPS': 'on',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-GB,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'phpbb3_a9mfv_u=2759; phpbb3_a9mfv_k=2f8aa36e26085c64; phpbb3_a9mfv_sid=180f97b3939f93209fdabf86fddc457e; style_cookie=null; csrftoken=CFDjgGaVwzFkmVwBxRDBt0OMRe1ClEx4; _ga=GA1.2.483423307.1416590819; sessionid_OMERO-5.1-latest-deploy=w5w9ufglyspxp75dq2uemddcbyhg82vz; sessionid_OMERO-5.1-merge-deploy=s9nnxr9qz803fsxl5gazo6d0084jf434',
 'HTTP_HOST': 'trout.openmicroscopy.org',
 'HTTP_REFERER': 'https://trout.o...y.org/latest/webclient/search/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:33.0) Gecko/20100101 Firefox/33.0',
 'PATH_INFO': u'/webclient/figure_script/Thumbnail/',
 'QUERY_STRING': 'Dataset=73',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_INFO': '/latest',
 'SCRIPT_NAME': u'/latest',
 'SERVER_NAME': 'ome-c6100-3',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x5002e50>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x4f27350>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>

Example:
user-7 on trout/latest in private-1, Dataset ID 73. (RC2 was installed on trout/latest at the time of this ticket filing)

Change History (2)

comment:1 Changed 5 years ago by pwalczysko

  • Description modified (diff)

comment:2 Changed 5 years ago by wmoore

  • Milestone changed from 5.1.1 to Unscheduled
  • Priority changed from critical to major
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.156154 sec.)

We're Hiring!