Hello, I installed Pootle on my local workstation and am planning to customize it. However, I was first verifying the functionality of Pootle and encountered the error listed below when I tried to edit a translation. Do you know why I am receiving a multistring ValueError whenever I try to submit/suggest a translation for a phrase?
Thank you, Nick Environment: Request Method: POST Request URL: http://localhost:8080/es/terminology/translate.html Django Version: 1.2.1 Python Version: 2.6.2 Installed Applications: ['django.contrib.sessions', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.admin', 'pootle_app', 'pootle_misc', 'pootle_store', 'pootle_language', 'pootle_project', 'pootle_translationproject', 'pootle_profile', 'pootle_statistics', 'pootle_notifications', 'pootle_autonotices', 'pootle_terminology', 'registration', 'profiles', 'djblets.siteconfig', 'djblets.util', 'contact_form_i18n', 'uni_form', 'wt_languages', 'wt_articles', 'wt_managing'] Installed Middleware: ('pootle_misc.middleware.baseurl.BaseUrlMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'pootle_misc.middleware.siteconfig.SiteConfigMiddleware', 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.gzip.GZipMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'pootle.middleware.setlocale.SetLocale', 'pootle_misc.middleware.errorpages.ErrorPagesMiddleware', 'django.middleware.common.CommonMiddleware', 'pootle.middleware.check_cookies.CheckCookieMiddleware', 'pootle.middleware.captcha.CaptchaMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware') Traceback: File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/home/nick/toolkits/translate/Pootle/local_apps/pootle_app/views/language/view.py" in decorated_f 58. return f(request, translation_project, *args, **kwargs) File "/home/nick/toolkits/translate/Pootle/local_apps/pootle_app/views/language/view.py" in decorated_f 68. return f(request, translation_project, *args, **kwargs) File "/home/nick/toolkits/translate/Pootle/local_apps/pootle_translationproject/views.py" in translate 582. return translate_page(request, units_queryset) File "/home/nick/toolkits/translate/Pootle/local_apps/pootle_store/views.py" in translate_page 335. if form.is_valid(): File "/usr/local/lib/python2.6/dist-packages/django/forms/forms.py" in is_valid 121. return self.is_bound and not bool(self.errors) File "/usr/local/lib/python2.6/dist-packages/django/forms/forms.py" in _get_errors 112. self.full_clean() File "/usr/local/lib/python2.6/dist-packages/django/forms/forms.py" in full_clean 269. self._post_clean() File "/usr/local/lib/python2.6/dist-packages/django/forms/models.py" in _post_clean 333. self.instance.clean_fields(exclude=exclude) File "/usr/local/lib/python2.6/dist-packages/django/db/models/base.py" in clean_fields 902. setattr(self, f.attname, f.clean(raw_value, self)) File "/usr/local/lib/python2.6/dist-packages/django/db/models/fields/__init__.py" in clean 194. self.validate(value, model_instance) File "/usr/local/lib/python2.6/dist-packages/django/db/models/fields/__init__.py" in validate 184. if not self.blank and value in validators.EMPTY_VALUES: File "/usr/local/lib/python2.6/dist-packages/translate/misc/multistring.py" in __eq__ 66. return self.__cmp__(otherstring) == 0 File "/usr/local/lib/python2.6/dist-packages/translate/misc/multistring.py" in __cmp__ 58. return cmp(self, multistring(otherstring)) File "/usr/local/lib/python2.6/dist-packages/translate/misc/multistring.py" in __new__ 30. raise ValueError("multistring must contain at least one string") Exception Type: ValueError at /es/terminology/translate.html Exception Value: multistring must contain at least one string ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
