Package: pootle Version: 2.0.1-3 Severity: important With the new Django version Pootle breaks. When opening the homepage, the following error is thrown:
Server Error An error has occurred. Thank you for your patience. Could not import pootle_app.views.profile.view. Error was: cannot import name email_re Apparently this has been fixed upstream. Background information: - http://www.mail-archive.com/translate-poo...@lists.sourceforge.net/msg02802.html - http://skyl.org/log/post/skyl/2010/01/email-auth-in-django-email_re-moved-again/ Also a patch is attached that I applied locally to get Pootle to work. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pootle depends on: ii adduser 3.112 add and remove users and groups ii libjs-jq 1.4.2-2 JavaScript library for dynamic web ii python 2.5.4-9 An interactive high-level object-o ii python-c 0.6.14+nmu2 register and build utility for Pyt ii python-d 1.2.1-1 High-level Python web development ii python-d 0.5.10~alpha0+git201005030944-2 Re-usable components for Django pr ii python-d 0.7-2 A user-registration application fo ii python-l 2.2.6-1 pythonic binding for the libxml2 a ii translat 1.5.3-1 Toolkit assisting in the localizat Versions of packages pootle recommends: ii iso-codes 3.16-1 ISO language, territory, currency, pn python-levenshtein <none> (no description available) pn python-xapian <none> (no description available) pn zip <none> (no description available) pootle suggests no packages. -- Configuration Files: /etc/default/pootle changed [not included] /etc/pootle/localsettings.py [Errno 13] Permission denied: u'/etc/pootle/localsettings.py' /etc/pootle/pootle.prefs [Errno 13] Permission denied: u'/etc/pootle/pootle.prefs' /etc/pootle/users.prefs [Errno 13] Permission denied: u'/etc/pootle/users.prefs' -- no debconf information
--- ./local_apps/pootle_app/views/profile/view.py.old 2010-06-14 15:48:22.000000000 +0200 +++ ./local_apps/pootle_app/views/profile/view.py 2010-06-14 15:48:59.000000000 +0200 @@ -27,7 +27,7 @@ from django.shortcuts import render_to_response from django.template import RequestContext from django.contrib.auth.decorators import login_required -from django.forms.fields import email_re +from django.core.validators import email_re from django.forms.util import ErrorList from pootle_misc.baseurl import redirect