Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #9041 (closed)

Opened 12 years ago

Closed 12 years ago

BUG:acquisition metadata while in share F4447

Reported by: omero-qa Owned by: atarkowska
Priority: blocker Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: web-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-06-19 (17)

Description

http://qa.openmicroscopy.org.uk/qa/feedback/4447/

Comment: acquisition metadata while in share

Traceback (most recent call last):

  File "/Users/ola/Dev/omero/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py", line 321, in wrapped
    retval = f(request, *args, **kwargs)

  File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py", line 355, in wrapper
    context = f(request, *args, **kwargs)

  File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py", line 830, in load_metadata_acquisition
    lightPath = logicalChannel.getLightPath()

  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 5040, in getLightPath
    self.__loadedHotSwap__()

  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 5036, in __loadedHotSwap__
    self._obj = self._conn.getMetadataService().loadChannelAcquisitionData([self._obj.id.val],{'omero.group': '-1'})[0]

IndexError: list index out of range


<WSGIRequest
GET:<QueryDict: {u'index': [u'0']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '946f0290c57400d65e777881da6c814e'},
META:{'Apple_PubSub_Socket_Render': '/tmp/launch-kKMJZM/Render',
 'COMMAND_MODE': 'unix2003',
 'CONTENT_LENGTH': '',
 'CONTENT_TYPE': 'text/plain',
 'DISPLAY': '/tmp/launch-encOGp/org.x:0',
 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',
 'DYLD_LIBRARY_PATH': ':/opt/Ice-3.3.1/lib',
 'EDITOR': 'mate_wait',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'GIT_PAGER': 'less -r',
 'HOME': '/Users/ola',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=946f0290c57400d65e777881da6c814e',
 'HTTP_HOST': 'localhost:8080',
 'HTTP_REFERER': 'http://localhost:8080/webclient/public/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'LANG': 'en_GB.UTF-8',
 'LESSEDIT': 'mate -l %lm %f',
 'LOGNAME': 'ola',
 'OLDPWD': '/Users/ola/Dev/omero',
 'OMERO_HOME': '/Users/ola/Dev/omero/dist',
 'PATH': '/Users/ola/Dev/omero/dist/bin/:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/munki:/usr/X11/bin:/Library/PostgreSQL/8.4/bin/',
 'PATH_INFO': u'/webclient/metadata_acquisition/image/115/3774/',
 'PWD': '/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb',
 'PYTHONPATH': ':/Users/ola/Dev/omero/dist/lib/python',
 'QUERY_STRING': 'index=0',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_HOST': '',
 'REQUEST_METHOD': 'GET',
 'RUN_MAIN': 'true',
 'SCRIPT_NAME': u'',
 'SERVER_NAME': 'misio.local',
 'SERVER_PORT': '8080',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.6',
 'SHELL': '/bin/bash',
 'SHLVL': '1',
 'SSH_AUTH_SOCK': '/tmp/launch-fJHv0p/Listeners',
 'TERM': 'xterm-color',
 'TERM_PROGRAM': 'Apple_Terminal',
 'TERM_PROGRAM_VERSION': '273.1',
 'TMPDIR': '/var/folders/BB/BBlvA+6zFryAb0SLqKHJ9k+++TI/-Tmp-/',
 'TZ': 'Europe/London',
 'USER': 'ola',
 '_': '/opt/local/bin/python',
 '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',
 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x1002601e0>,
 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
 'wsgi.input': <socket._fileobject object at 0x104b39750>,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (8)

comment:1 Changed 12 years ago by atarkowska

  • Component changed from from QA to Web
  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Priority changed from minor to blocker
  • Sprint set to 2012-06-05 (16)

comment:2 Changed 12 years ago by atarkowska

There are still various methods in omero.gateway where omero.group is hardcoded. Code like:

self._conn.getMetadataService().loadChannelAcquisitionData([self._obj.id.val],{'omero.group': '-1'})[0]

will be relaced by

ctx = self._conn.CONFIG['SERVICE_OPTS'] and self._conn.CONFIG['SERVICE_OPTS'].copy() or {}
ctx['omero.group'] = str(self.getDetails().getGroup().getId())

comment:3 Changed 12 years ago by jburel

  • Sprint changed from 2012-06-05 (16) to 2012-06-19 (17)

Moved from sprint 2012-06-05 (16)

comment:4 Changed 12 years ago by atarkowska

Referring to the discussion about #9041 there is a need to have object wrapping class for BlitzGateway? SERVICE_OPTS dictionary, see #9115 and #9116

Last edited 12 years ago by atarkowska (previous) (diff)

comment:5 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:6 Changed 12 years ago by atarkowska

  • Remaining Time set to 2

comment:7 Changed 12 years ago by atarkowska

  • Remaining Time changed from 2 to 0.2

comment:8 Changed 12 years ago by atarkowska

  • Remaining Time changed from 0.2 to 0
  • Status changed from accepted to closed
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.64782 sec.)

We're Hiring!