← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 518479] Re: "The Team was not found" after changing the team display name in launchpad

 

Confirmed. I got this mail by the LD:

Traceback (most recent call last):

  File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/var/lib/python-support/python2.5/django/contrib/auth/decorators.py", line 67, in __call__
    return self.view_func(request, *args, **kwargs)

  File "/srv/loco.ubuntu.com/loco_directory/teams/views.py", line 75, in team_edit
    request.user.message_set.create(message=_('Team details updated'))

  File "/var/lib/python-support/python2.5/django/db/models/fields/related.py", line 310, in create
    return super(RelatedManager, self).create(**kwargs)

  File "/var/lib/python-support/python2.5/django/db/models/manager.py", line 99, in create
    return self.get_query_set().create(**kwargs)

  File "/var/lib/python-support/python2.5/django/db/models/query.py", line 319, in create
    obj.save(force_insert=True)

  File "/var/lib/python-support/python2.5/django/db/models/base.py", line 311, in save
    self.save_base(force_insert=force_insert, force_update=force_update)

  File "/var/lib/python-support/python2.5/django/db/models/base.py", line 383, in save_base
    result = manager._insert(values, return_id=update_pk)

  File "/var/lib/python-support/python2.5/django/db/models/manager.py", line 138, in _insert
    return insert_query(self.model, values, **kwargs)

  File "/var/lib/python-support/python2.5/django/db/models/query.py", line 894, in insert_query
    return query.execute_sql(return_id)

  File "/var/lib/python-support/python2.5/django/db/models/sql/subqueries.py", line 309, in execute_sql
    cursor = super(InsertQuery, self).execute_sql(None)

  File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1734, in execute_sql
    cursor.execute(sql, params)

ProgrammingError: can't adapt


<ModPythonRequest
path:/teams/ubuntu-cy/edit,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'forum_url': [u'http://www.ubuntucy.org/forum'], u'city': [u''], u'wiki_url': [u'http://www.ubuntucy.org/wiki'], u'country': [u'Cyprus'], u'spr': [u''], u'irc_chan': [u'#ubuntu-cy'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntucy.org/'], u'ml_url': [u'https://lists.ubuntu.com/mailman/listinfo/ubuntu-cy'], u'email': [u'info@xxxxxxxxxxxx']}>,
COOKIES:{'sessionid': 'c792638f11fa502343c569526c4a3164'},
META:{'AUTH_TYPE': None,
 'CONTENT_LENGTH': 0L,
 'CONTENT_TYPE': None,
 '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.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.7,el;q=0.3',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_CONTENT_LENGTH': '299',
 'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'HTTP_COOKIE': 'sessionid=c792638f11fa502343c569526c4a3164',
 'HTTP_HOST': 'loco.ubuntu.com',
 'HTTP_KEEP_ALIVE': '300',
 'HTTP_REFERER': 'http://loco.ubuntu.com/teams/ubuntu-cy/edit',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.1',
 'PATH_INFO': u'/teams/ubuntu-cy/edit',
 'PATH_TRANSLATED': None,
 'QUERY_STRING': None,
 'REMOTE_ADDR': '91.148.90.127',
 'REMOTE_HOST': None,
 'REMOTE_IDENT': None,
 'REMOTE_USER': None,
 'REQUEST_METHOD': 'POST',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'loco.ubuntu.com',
 'SERVER_PORT': 0,
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'mod_python'}>


** Changed in: loco-directory
       Status: New => Confirmed

-- 
"The Team was not found" after changing the team display name in launchpad
https://bugs.launchpad.net/bugs/518479
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.

Status in LoCo Directory: Confirmed

Bug description:
I changed the display name of the team, from "Cypriot Ubuntu LoCo" to "Ubuntu Cyprus":
https://edge.launchpad.net/~ubuntu-cy

I then went to http://loco.ubuntu.com/teams/ubuntu-cy and tried to add the wiki page:
http://loco.ubuntu.com/teams/ubuntu-cy/edit

I click "Update information now!" and an error popped up saying:
"The Team was not found!
You can browse the full list of teams

Please make sure the team you are looking for is a member of The LoCo Teams group in Launchpad

If you believe the reason you are here is an bug in the LoCo Directory please Report it!"

But the information was changed correctly though.





References