← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 1171142] [NEW] [Django] ERROR (EXTERNAL IP): Internal Server Error: /events/ubuntu-michigan/2177-uhchc-ubuntu-hourcoffee-house-coders/

 

Public bug reported:

Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/loco.ubuntu.com/loco_directory/events/views.py", line 163, in team_event_detail
    context, RequestContext(request))

  File "/usr/lib/pymodules/python2.6/django/template/context.py", line 177, in __init__
    self.update(processor(request))

  File "/srv/loco.ubuntu.com/loco_directory/common/context_processors.py", line 65, in languages_menu
    return {'languages': get_languages(), 'LOCALE': to_locale(get_language())}

  File "/srv/loco.ubuntu.com/loco_directory/common/utils.py", line 110, in get_languages
    languages[language.code] = language.name

TypeError: list indices must be integers, not unicode

** Affects: loco-team-portal
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to LoCo Team Portal.
https://bugs.launchpad.net/bugs/1171142

Title:
  [Django] ERROR (EXTERNAL IP): Internal Server Error: /events/ubuntu-
  michigan/2177-uhchc-ubuntu-hourcoffee-house-coders/

Status in LoCo Team Portal:
  New

Bug description:
  Traceback (most recent call last):

    File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)

    File "/srv/loco.ubuntu.com/loco_directory/events/views.py", line 163, in team_event_detail
      context, RequestContext(request))

    File "/usr/lib/pymodules/python2.6/django/template/context.py", line 177, in __init__
      self.update(processor(request))

    File "/srv/loco.ubuntu.com/loco_directory/common/context_processors.py", line 65, in languages_menu
      return {'languages': get_languages(), 'LOCALE': to_locale(get_language())}

    File "/srv/loco.ubuntu.com/loco_directory/common/utils.py", line 110, in get_languages
      languages[language.code] = language.name

  TypeError: list indices must be integers, not unicode

To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-team-portal/+bug/1171142/+subscriptions


Follow ups

References