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

Opened 4 years ago

Closed 4 years ago

BUG: Web client - 500 error - group-user menu

Reported by: rkferguson Owned by: wmoore
Priority: blocker Milestone: Unscheduled
Component: Web Version: 5.1.0-m1
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Logged into http://trout.openmicroscopy.org/merge/webclient/active_group/?experimenter=10 as user-3 in read-annotate-1.

Selected user-2 from read-only-1 group.

Crashed with following error message:

Traceback (most recent call last):

  File "/opt/hudson/workspace/OMERO-5.1-merge-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-merge-deploy/src/dist/lib/python/omeroweb/decorators.py", line 452, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 265, in change_active_group
    switch_active_group(request)

  File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 276, in switch_active_group
    active_group = int(active_group)

TypeError: int() argument must be a string or a number, not 'NoneType'


<WSGIRequest
path:/merge/webclient/active_group/,
GET:<QueryDict: {u'experimenter': [u'10']}>,
POST:<QueryDict: {}>,
COOKIES:{'_ga': 'GA1.2.766626352.1413448784',
 'csrftoken': '9MuY0QjG2t50EwhfR0omj6rvgb3QAbQ6',
 'phpbb3_a9mfv_k': '',
 'phpbb3_a9mfv_sid': 'b806789ecb23b7f80568cac7bd356468',
 'phpbb3_a9mfv_u': '1',
 'sessionid': 'twbtuh9i9fujnktpingqk7yjrx28ywfx',
 'style_cookie': 'null'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'9MuY0QjG2t50EwhfR0omj6rvgb3QAbQ6',
 'HTTPS': '',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=9MuY0QjG2t50EwhfR0omj6rvgb3QAbQ6; sessionid=twbtuh9i9fujnktpingqk7yjrx28ywfx; _ga=GA1.2.766626352.1413448784; phpbb3_a9mfv_k=; phpbb3_a9mfv_sid=b806789ecb23b7f80568cac7bd356468; phpbb3_a9mfv_u=1; style_cookie=null',
 'HTTP_HOST': 'trout.openmicroscopy.org',
 'HTTP_REFERER': 'http://trout.openmicroscopy.org/merge/webclient/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18',
 'PATH_INFO': u'/webclient/active_group/',
 'QUERY_STRING': 'experimenter=10',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_INFO': '/merge',
 'SCRIPT_NAME': u'/merge',
 'SERVER_NAME': 'ome-c6100-3',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x61181d0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x6118290>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (2)

comment:1 Changed 4 years ago by pwalczysko

  • Priority changed from critical to blocker

Happens on any user. Obviously a blocker.

comment:2 Changed 4 years ago by wmoore

  • 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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.77899 sec.)

We're Hiring!