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

Opened 3 years ago

Last modified 3 years ago

BUG:Feedback 17450: LDAP exception on root login

Reported by: omero-qa Owned by: jamoore
Priority: minor Milestone: Unscheduled
Component: from QA Version: OMERO-5.2.0
Keywords: n.a. Cc: B.Broughton@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

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

Comment: this seems to happen sometimes, not always

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/var/omero/OMERO.server-5.2.6-ice36-b35/lib/python/omeroweb/decorators.py", line 497, in wrapped
    retval = f(request, *args, **kwargs)

  File "/var/omero/OMERO.server-5.2.6-ice36-b35/lib/python/omeroweb/figure/views.py", line 122, in index
    return render(request, "figure/index.html", context)

  File "/usr/lib/python2.7/site-packages/django/shortcuts.py", line 67, in render
    template_name, context, request=request, using=using)

  File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 98, in render_to_string
    template = get_template(template_name, using=using)

  File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 46, in get_template
    raise TemplateDoesNotExist(template_name)

TemplateDoesNotExist: figure/index.html


<WSGIRequest
path:/figure/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': 'oQMFTikJBMhFqdS0Stz8V5ULCtv2k6mx',
 'sessionid': 'wxewu9eiyej2xy40caigr7v58250gtxa'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',
 'CONTEXT_PREFIX': '',
 u'CSRF_COOKIE': u'oQMFTikJBMhFqdS0Stz8V5ULCtv2k6mx',
 'DOCUMENT_ROOT': '/var/www/html',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=oQMFTikJBMhFqdS0Stz8V5ULCtv2k6mx; sessionid=wxewu9eiyej2xy40caigr7v58250gtxa',
 'HTTP_HOST': 'omero.lifesci.susx.ac.uk',
 'HTTP_REFERER': 'http://omero.lifesci.susx.ac.uk/webclient/',
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
 'PATH_INFO': u'/figure/',
 'PATH_TRANSLATED': '/var/omero/OMERO.server-5.2.6-ice36-b35/lib/python/omeroweb/wsgi.py/figure/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '139.184.135.151',
 'REMOTE_PORT': '64496',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'http',
 'REQUEST_URI': '/figure/',
 'SCRIPT_FILENAME': '/var/omero/OMERO.server-5.2.6-ice36-b35/lib/python/omeroweb/wsgi.py',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '139.184.161.67',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'omero.lifesci.susx.ac.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5',
 'UNIQUE_ID': 'WDxDIlOY64Hzrffp7ZxzhQAAAAY',
 'mod_wsgi.application_group': '',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.enable_sendfile': '0',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '80',
 'mod_wsgi.process_group': 'omeroweb',
 'mod_wsgi.queue_start': '1480344354457409',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 4),
 'wsgi.errors': <mod_wsgi.Log object at 0x7f5efcf67a30>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f5efcfda4e0>,
 'wsgi.input': <mod_wsgi.Input object at 0x7f5efc8c2770>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (1)

comment:1 Changed 3 years ago by atarkowska

I am wondering if this is due to the fact that code supports Django 1.6 and 1.8. Lets see https://github.com/openmicroscopy/openmicroscopy/pull/4991 as we cached similar error occasionally on integration: TemplateDoesNotExist?: webclient/login.html

Last edited 3 years ago by atarkowska (previous) (diff)
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.71897 sec.)

We're Hiring!