Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » Feature Discussions » bug in the sending email template part

==========================================================================
Environment:

Request Method: POST
Request URL: http://www.abc.com/ggum/community/accounts/register/
Django Version: 0.97-pre-SVN-7199
Python Version: 2.4.4
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'home',
'sphene.community',
'sphene.sphboard',
'sphene.sphblog',
'sphene.sphwiki']
Installed Middleware:
('sphene.community.middleware.ThreadLocals',
'sphene.community.middleware.GroupMiddleware',
'sphene.community.middleware.LastModified',
'sphene.community.middleware.PermissionDeniedMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')


Template error:
In template /data/lib/communitytools/sphenecoll/sphene/community/templates/sphene/community/accounts/account_verification_email.txt, error at line 2
Caught an exception while rendering: u'group.get_name'
1 : {% load i18n %}


2 : {% blocktrans %} You have requested to register with the email address:


3 : {{ email }}


4 : on the {{ group.get_name }} website.{% endblocktrans %}


5 : {% blocktrans %}


6 : To continue registration visit the following link:


7 : http://{{ baseurl }}/accounts/register/{{ validationcode }}/{% endblocktrans %}


8 :


9 :


10 : {% blocktrans %}


11 : Thanks for your interest,


12 : Your {{ group.get_name }} Team.


Traceback:
File "/data/lib/django_trunk/django/template/debug.py" in render_node
71. result = node.render(context)
File "/data/lib/django_trunk/django/templatetags/i18n.py" in render
82. data = dict([(v, force_unicode(contextv)) for v in vars])
File "/data/lib/django_trunk/django/template/context.py" in __getitem__
43. raise KeyError(key)

Exception Type: KeyError at /ggum/community/accounts/register/
Exception Value: u'group.get_name'
==========================================================================
fixed the problem, update from subversion and it should work again
(sorry, i haven't tested all the translation strings extensively .. it seems those made problems ..)
Hey, we have Signatures !!! Great, isn't it ? ;)

Please login to post a reply.



Powered by Sphene Community Tools