Package: pootle
Version: 2.0.0-1
Severity: important
Upgrade to Pootle 2.0.0 failed. Here are what I could grab from the
console output:
Sætter pootle (2.0.0-1) op...
Installerer ny version af konfigurationsfil /etc/init.d/pootle...
Moving /var/lib/pootle/ikiwiki to /var/lib/pootle/po/ikiwiki
Creating table django_session
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_site
Creating table django_admin_log
Creating table pootle_app_directory
Creating table pootle_app_language
Creating table pootle_app_project
Creating table pootle_app_pootleprofile
Creating table pootle_app_permissionset
Creating table pootle_app_permissionsetcache
Creating table pootle_app_translationproject
Creating table pootle_app_suggestion
Creating table pootle_app_submission
Creating table pootle_store_store
Creating table pootle_notifications_notice
Creating table registration_registrationprofile
Creating table siteconfig_siteconfiguration
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for pootle_app.Directory model
Installing index for pootle_app.PermissionSet model
Installing index for pootle_app.PermissionSetCache model
Installing index for pootle_app.TranslationProject model
Installing index for pootle_app.Suggestion model
Installing index for pootle_app.Submission model
Installing index for pootle_store.Store model
Installing index for pootle_notifications.Notice model
Installing index for siteconfig.SiteConfiguration model
2009-12-14 01:57:39,585 INFO Already found a language named el.
Data for this language are not imported.
2009-12-14 01:57:39,586 INFO Already found a language named en.
Data for this language are not imported.
2009-12-14 01:57:39,588 INFO Already found a language named af.
Data for this language are not imported.
2009-12-14 01:57:39,589 INFO Already found a language named vi.
Data for this language are not imported.
2009-12-14 01:57:39,591 INFO Already found a language named ca.
Data for this language are not imported.
2009-12-14 01:57:39,592 INFO Already found a language named it.
Data for this language are not imported.
2009-12-14 01:57:39,593 INFO Already found a language named eu.
Data for this language are not imported.
2009-12-14 01:57:39,595 INFO Already found a language named ar.
Data for this language are not imported.
2009-12-14 01:57:39,596 INFO Already found a language named ga.
Data for this language are not imported.
2009-12-14 01:57:39,597 INFO Already found a language named cs.
Data for this language are not imported.
2009-12-14 01:57:39,598 INFO Already found a language named et.
Data for this language are not imported.
2009-12-14 01:57:39,600 INFO Already found a language named gl.
Data for this language are not imported.
2009-12-14 01:57:39,601 INFO Already found a language named id.
Data for this language are not imported.
2009-12-14 01:57:39,602 INFO Already found a language named es.
Data for this language are not imported.
2009-12-14 01:57:39,603 INFO Already found a language named nap.
Data for this language are not imported.
2009-12-14 01:57:39,605 INFO Already found a language named pap.
Data for this language are not imported.
2009-12-14 01:57:39,606 INFO Already found a language named ru.
Data for this language are not imported.
2009-12-14 01:57:39,607 INFO Already found a language named nl.
Data for this language are not imported.
2009-12-14 01:57:39,609 INFO Already found a language named pt.
Data for this language are not imported.
2009-12-14 01:57:39,610 INFO Already found a language named ln.
Data for this language are not imported.
2009-12-14 01:57:39,611 INFO Already found a language named nb.
Data for this language are not imported.
2009-12-14 01:57:39,612 INFO Already found a language named tr.
Data for this language are not imported.
2009-12-14 01:57:39,614 INFO Already found a language named lt.
Data for this language are not imported.
2009-12-14 01:57:39,615 INFO Already found a language named lv.
Data for this language are not imported.
2009-12-14 01:57:39,648 INFO Already found a language named ro.
Data for this language are not imported.
2009-12-14 01:57:39,649 INFO Already found a language named is.
Data for this language are not imported.
2009-12-14 01:57:39,650 INFO Already found a language named pl.
Data for this language are not imported.
2009-12-14 01:57:39,651 INFO Already found a language named templates.
Data for this language are not imported.
2009-12-14 01:57:39,653 INFO Already found a language named fr.
Data for this language are not imported.
2009-12-14 01:57:39,654 INFO Already found a language named de.
Data for this language are not imported.
2009-12-14 01:57:39,655 INFO Already found a language named uk.
Data for this language are not imported.
2009-12-14 01:57:39,656 INFO Already found a language named pt_BR.
Data for this language are not imported.
2009-12-14 01:57:39,658 INFO Already found a language named wo.
Data for this language are not imported.
2009-12-14 01:57:39,659 INFO Already found a language named zh_TW.
Data for this language are not imported.
2009-12-14 01:57:39,660 INFO Already found a language named da.
Data for this language are not imported.
2009-12-14 01:57:39,661 INFO Already found a language named fa.
Data for this language are not imported.
2009-12-14 01:57:39,663 INFO Already found a language named fi.
Data for this language are not imported.
2009-12-14 01:57:39,664 INFO Already found a language named hu.
Data for this language are not imported.
2009-12-14 01:57:39,665 INFO Already found a language named ja.
Data for this language are not imported.
2009-12-14 01:57:39,667 INFO Already found a language named ml.
Data for this language are not imported.
2009-12-14 01:57:39,668 INFO Already found a language named ka.
Data for this language are not imported.
2009-12-14 01:57:39,669 INFO Already found a language named te.
Data for this language are not imported.
2009-12-14 01:57:39,670 INFO Already found a language named fur.
Data for this language are not imported.
2009-12-14 01:57:39,672 INFO Already found a language named nn.
Data for this language are not imported.
2009-12-14 01:57:39,673 INFO Already found a language named zh_CN.
Data for this language are not imported.
2009-12-14 01:57:39,674 INFO Already found a language named sr.
Data for this language are not imported.
2009-12-14 01:57:39,676 INFO Already found a language named sq.
Data for this language are not imported.
2009-12-14 01:57:39,677 INFO Already found a language named ko.
Data for this language are not imported.
2009-12-14 01:57:39,678 INFO Already found a language named sv.
Data for this language are not imported.
2009-12-14 01:57:39,679 INFO Already found a language named en_ZA.
Data for this language are not imported.
2009-12-14 01:57:39,681 INFO Already found a language named st.
Data for this language are not imported.
2009-12-14 01:57:39,682 INFO Already found a language named sk.
Data for this language are not imported.
2009-12-14 01:57:39,683 INFO Already found a language named mt.
Data for this language are not imported.
2009-12-14 01:57:39,684 INFO Already found a language named ku.
Data for this language are not imported.
2009-12-14 01:57:39,686 INFO Already found a language named sl.
Data for this language are not imported.
2009-12-14 01:57:39,687 INFO Already found a language named ky.
Data for this language are not imported.
2009-12-14 01:57:39,804 INFO Already found a project named pootle.
Data for this project are not imported.
2009-12-14 01:57:39,805 INFO Already found a project named terminology.
Data for this project are not imported.
2009-12-14 01:57:39,813 INFO Created a user object for jonas
2009-12-14 01:57:39,817 INFO Created a profile object for jonas
2009-12-14 01:57:39,820 INFO Adding language da for user jonas
2009-12-14 01:57:39,823 INFO Adding language en for user jonas
2009-12-14 01:57:39,826 INFO Adding language templates for user jonas
2009-12-14 01:57:39,832 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,845 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,857 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,870 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,883 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,900 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:39,912 INFO Already found a user named jonas
Going to skip importing his data, but will import his language and project
preferences.
2009-12-14 01:57:44,235 INFO Updating stats for Pootle [Templates]
2009-12-14 01:57:44,979 INFO Updating stats for Tutorial [Templates]
2009-12-14 01:57:46,605 INFO Updating stats for Pootle [Afrikaans]
2009-12-14 01:57:48,655 INFO Updating stats for Pootle [Akan]
2009-12-14 01:57:50,803 INFO Updating stats for Pootle [Haitian; Haitian Creole]
2009-12-14 01:57:52,564 INFO Updating stats for Pootle [Northern Sotho]
2009-12-14 01:57:54,527 INFO Updating stats for Pootle [Venda]
2009-12-14 01:57:56,275 INFO Updating stats for Pootle [Wolof]
2009-12-14 01:57:58,108 INFO Updating stats for Pootle [Chinese (China)]
2009-12-14 01:58:00,680 INFO Updating stats for Terminology [Chinese (China)]
2009-12-14 01:58:03,121 INFO Updating stats for Pootle [Chinese (Hong Kong)]
2009-12-14 01:58:05,638 INFO Updating stats for Terminology [Chinese (Hong
Kong)]
2009-12-14 01:58:07,757 INFO Updating stats for Pootle [Chinese (Taiwan)]
2009-12-14 01:58:10,319 INFO Updating stats for Terminology [Chinese (Taiwan)]
2009-12-14 01:58:12,626 INFO Updating stats for Pootle [Catalan (Valencia)]
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/pymodules/python2.5/django/core/management/__init__.py", line
353, in execute_from_command_line
utility.execute()
File "/usr/lib/pymodules/python2.5/django/core/management/__init__.py", line
303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
222, in execute
output = self.handle(*args, **options)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
351, in handle
return self.handle_noargs(**options)
File
"/usr/lib/python2.5/site-packages/pootle_app/management/commands/refresh_stats.py",
line 73, in handle_noargs
translation_project.getcompletestats()
File "/usr/lib/python2.5/site-packages/pootle_misc/util.py", line 31, in
_getfromcache
result = function(instance, *args, **kwargs)
File
"/usr/lib/python2.5/site-packages/pootle_app/models/translation_project.py",
line 159, in getcompletestats
return self.directory.getcompletestats(self.checker)
File
"/usr/lib/python2.5/site-packages/pootle_app/models/translation_project.py",
line 122, in _get_checker
languagecode=self.language.code)
File "/usr/lib/python2.5/site-packages/translate/filters/checks.py", line
407, in __init__
checker.config.updatetargetlanguage(languagecode)
File "/usr/lib/python2.5/site-packages/translate/filters/checks.py", line
218, in updatetargetlanguage
self.lang = factory.getlanguage(langcode)
File "/usr/lib/python2.5/site-packages/translate/lang/factory.py", line 48,
in getlanguage
exec("from translate.lang import %s%s" % (prefix, code))
File "<string>", line 1
from translate.lang import code...@valencia
^
SyntaxError: invalid syntax
dpkg: fejl under behandling af pootle (--configure):
underproces installed post-installation script returnerede afslutningsstatus 1
After that, the following attempt to install gives this:
Sætter pootle (2.0.0-1) op...
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/pymodules/python2.5/django/core/management/__init__.py", line
353, in execute_from_command_line
utility.execute()
File "/usr/lib/pymodules/python2.5/django/core/management/__init__.py", line
303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
222, in execute
output = self.handle(*args, **options)
File "/usr/lib/pymodules/python2.5/django/core/management/base.py", line
351, in handle
return self.handle_noargs(**options)
File
"/usr/lib/python2.5/site-packages/pootle_app/management/commands/initdb.py",
line 31, in handle_noargs
create_default_db()
File
"/usr/lib/python2.5/site-packages/pootle_app/management/commands/initdb.py",
line 43, in create_default_db
create_default_projects()
File
"/usr/lib/python2.5/site-packages/pootle_app/management/commands/initdb.py",
line 69, in create_default_projects
pootle.save()
File "/usr/lib/pymodules/python2.5/django/db/models/base.py", line 410, in
save
self.save_base(force_insert=force_insert, force_update=force_update)
File "/usr/lib/pymodules/python2.5/django/db/models/base.py", line 495, in
save_base
result = manager._insert(values, return_id=update_pk)
File "/usr/lib/pymodules/python2.5/django/db/models/manager.py", line 177,
in _insert
return insert_query(self.model, values, **kwargs)
File "/usr/lib/pymodules/python2.5/django/db/models/query.py", line 1087, in
insert_query
return query.execute_sql(return_id)
File "/usr/lib/pymodules/python2.5/django/db/models/sql/subqueries.py", line
320, in execute_sql
cursor = super(InsertQuery, self).execute_sql(None)
File "/usr/lib/pymodules/python2.5/django/db/models/sql/query.py", line
2369, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.5/django/db/backends/sqlite3/base.py", line
193, in execute
return Database.Cursor.execute(self, query, params)
pysqlite2.dbapi2.IntegrityError: column code is not unique
dpkg: fejl under behandling af pootle (--configure):
underproces installed post-installation script returnerede afslutningsstatus 1
Der opstod fejl under behandlingen:
pootle
Kind regards,
- Jonas
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pootle depends on:
ii adduser 3.111 add and remove users and groups
ii libjs-jquery 1.3.3-2 JavaScript library for dynamic web
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.14+nmu2 register and build utility for Pyt
ii python-django 1.1.1-2 High-level Python web development
ii python-lxml 2.2.2-2 pythonic binding for the libxml2 a
ii translate-toolkit 1.5.1-1 Toolkit assisting in the localizat
Versions of packages pootle recommends:
ii iso-codes 3.12-1 ISO language, territory, currency,
ii python-levenshtein 0.10.1-1 extension for computing string sim
ii python-xapian 1.0.17-1 Xapian search engine interface for
ii zip 3.0-1 Archiver for .zip files
pootle suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]