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

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

Reverse for 'webgateway_get_rois_json'

Reported by: omero-qa Owned by: wmoore
Priority: critical Milestone: 5.0.0-rc1
Component: from QA Version: 4.4.9
Keywords: n.a. Cc: RAO.JIANGUO@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

https://www.openmicroscopy.org/qa2/qa2/qa/feedback/7669/

Comment: The OMERO5 server, I compilered is from the clone of the following date version:
Josh Moore 2013-10-10 09:23:59

other thing seems works fine but for public user, I can get the public user automatically login

Traceback (most recent call last):

  File "/opt/GudmapOMERO5one/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/export/data0/GudmapOMERO5/openmicroscopy/dist/lib/python/omeroweb/webgateway/views.py", line 1758, in test
    return HttpResponse(t.render(c))

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 123, in render
    return self._render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 757, in render_node
    return node.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/loader_tags.py", line 127, in render
    return compiled_parent._render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 757, in render_node
    return node.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/loader_tags.py", line 64, in render
    result = block.nodelist.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 757, in render_node
    return node.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/loader_tags.py", line 64, in render
    result = block.nodelist.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))

  File "/opt/GudmapOMERO5one/lib/python/django/template/base.py", line 757, in render_node
    return node.render(context)

  File "/opt/GudmapOMERO5one/lib/python/django/template/defaulttags.py", line 450, in render
    raise e

NoReverseMatch: Reverse for 'webgateway_get_rois_json' with arguments '('',)' and keyword arguments '{}' not found.


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '2f2a8e21d61cf5e0c148b96671383d39'},
META:{'DOCUMENT_ROOT': '/opt/MAWWW/Public/html/',
 '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-GB,en-US;q=0.8,en;q=0.6',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=2f2a8e21d61cf5e0c148b96671383d39',
 'HTTP_HOST': 'imagearchive.gudmap.org',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.57 Safari/537.1',
 'PATH': '/usr/sbin:/bin:/usr/bin:/sbin',
 'PATH_INFO': u'/webgateway/',
 'PATH_TRANSLATED': '/opt/MAWWW/Public/html/webgateway/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '193.63.65.174',
 'REMOTE_PORT': '40735',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/omero/webgateway/',
 'SCRIPT_FILENAME': '/opt/GudmapOMERO5one/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SCRIPT_URI': 'http://imagearchive.gudmap.org/omero/webgateway/',
 'SCRIPT_URL': '/omero/webgateway/',
 'SERVER_ADDR': '192.107.168.137',
 'SERVER_ADMIN': 'webmaster@test.omero.com',
 'SERVER_NAME': 'imagearchive.gudmap.org',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
 'SERVER_SOFTWARE': 'Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/1.0.0c DAV/2 mod_fastcgi/2.4.6 PHP/5.4.7',
 'UNIQUE_ID': 'UmjqWcBrqIkAACN4FswAAAAK',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x342c210>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x2e6b1d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (5)

comment:1 Changed 6 years ago by atarkowska

  • Milestone changed from Unscheduled to 5.0.0-beta2
  • Priority changed from minor to critical
  • Summary changed from BUG:Feedback 7669 to Reverse for 'webgateway_get_rois_json'

comment:2 Changed 6 years ago by atarkowska

  • Owner changed from atarkowska to wmoore

Seems like documentation is not very clear and take user to the unknown ends.

comment:3 Changed 6 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 6 years ago by Will Moore <will@…>

(In [295b83259063915a0c4b3be493932761aa90457a/ome.git] on branch develop) Fix reverse for webgateway_get_rois_json in /webgateway see #11579

comment:5 Changed 6 years ago by Josh Moore <josh@…>

(In [0a6cbdc3be65ac2d9be18c7fb0ec0163cbda98d8/ome.git] on branch develop) Merge pull request #1732 from will-moore/reverse_rois_json_url_11579

Fix reverse for webgateway_get_rois_json in /webgateway see #11579

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.112518 sec.)

We're Hiring!