Package: dicoweb
Version: 2.0-7

Coin,

The following works perfectly:
# dict dict://dico.duckcorp.org/d:house:fd-eng-hun

but in the web interface it crashes:
Request URL: http://dico.duckcorp.org/?q=house&db=fd-eng-hun&define=1
Django Version: 1.1.1
Python Version: 2.5.5
Installed Applications:
['django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'dicoweb']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.gzip.GZipMiddleware')
Traceback:
File "/usr/lib/pymodules/python2.5/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/dicoweb/views.py" in index
  132.                     result = dc.define (database, q)
File "/usr/lib/pymodules/python2.5/dicoclient.py" in define
  308.                 term, db, db_fullname = rx.search (i[0]).groups ()
Exception Type: AttributeError at /
Exception Value: 'NoneType' object has no attribute 'groups'

Regards.

--
Marc Dequènes (Duck)

Attachment: pgpSTayN4teYF.pgp
Description: PGP Digital Signature

Reply via email to