lamājas, meklējot vārdu "interface"

Bug #611035 reported by Ivars Strazdiņš on 2010-07-28
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Wordy
Undecided
Unassigned

Bug Description

Nu, tātad, meklējot vārdu "interface", ar dažādiem pārlūkiem saņemu zemāk redzamo (no copy/paste loga).
OS: OS X 10.6.4, pārlūki Safari 5.0.1 un Firefox 3.6.8

TypeError at /search/0
object of type 'NoneType' has no len()

Environment:

Request Method: GET
Request URL: http://vardene.lv/search/0
Django Version: 1.1 pre-alpha
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.markup',
 'wordy.database',
 'wordy.wordy_user']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback:
File "/var/lib/python-support/python2.5/django/core/handlers/base.py" in get_response
  86. response = callback(request, *callback_args, **callback_kwargs)
File "/www/termini.linux.edu.lv/wordy/wordy_user/views.py" in search
  247. results = searchConceptsByLang(query, TagFilter(request), request.user)
File "/www/termini.linux.edu.lv/wordy/wordy_user/search.py" in searchConceptsByLang
  46. pack.results = prepareConceptSearchResults(wordsByLang[lang], user)
File "/www/termini.linux.edu.lv/wordy/wordy_user/search.py" in prepareConceptSearchResults
  94. result = getWordListData(wordList, user, False)
File "/www/termini.linux.edu.lv/wordy/wordy_user/search.py" in getWordListData
  148. return makeBindingListTranslations(bindings, user, getComments)
File "/www/termini.linux.edu.lv/wordy/wordy_user/prepareData.py" in makeBindingListTranslations
  180. conceptResults = getConceptListDataBasic(conceptList, user, getComments)
File "/www/termini.linux.edu.lv/wordy/wordy_user/prepareData.py" in getConceptListDataBasic
  278. conceptResult.description = finalizeDescription(conceptResult.concept, conceptResult.description)
File "/www/termini.linux.edu.lv/wordy/wordy_user/prepareData.py" in finalizeDescription
  362. if result.title == None or len(concept.comment) == 0:

Exception Type: TypeError at /search/0
Exception Value: object of type 'NoneType' has no len()

Tā pati kļūda meklējot vārdu "advanced".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers