Hi all,
I just test the 2.1.3 and still have the same bug.
--
Julien
u...@host:~/test/pootle-2.1.3$ ./manage.py updatedb
2010-11-30 16:33:38,739 INFO No database upgrades required, current schema
version 21010
u...@host:~/test/pootle-2.1.3$ ./manage.py dumpdata -n > ../data.json
# change the localsettings file to use mysql instead of sqlite3
u...@host:~/test/pootle-2.1.3$ ./manage.py syncdb
Creating table django_session
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
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_suggestion
Creating table pootle_app_directory
Creating table pootle_app_permissionset_positive_permissions
Creating table pootle_app_permissionset_negative_permissions
Creating table pootle_app_permissionset
Creating table pootle_store_qualitycheck
Creating table pootle_store_suggestion
Creating table pootle_store_unit
Creating table pootle_store_store
Creating table pootle_app_language
Creating table pootle_app_project
Creating table pootle_app_translationproject
Creating table pootle_app_pootleprofile_languages
Creating table pootle_app_pootleprofile_alt_src_langs
Creating table pootle_app_pootleprofile_projects
Creating table pootle_app_pootleprofile
Creating table pootle_app_submission
Creating table pootle_notifications_notice
Creating table registration_registrationprofile
Creating table siteconfig_siteconfiguration
You just installed Django's auth system, which means you don't have any
superusers defined.
Would you like to create one now? (yes/no): no
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for pootle_app.Suggestion model
Installing index for pootle_app.Directory model
Installing index for pootle_app.PermissionSet_positive_permissions model
Installing index for pootle_app.PermissionSet_negative_permissions model
Installing index for pootle_app.PermissionSet model
Installing index for pootle_store.QualityCheck model
Installing index for pootle_store.Suggestion model
Installing index for pootle_store.Unit model
Installing index for pootle_store.Store model
Installing index for pootle_project.Project model
Installing index for pootle_translationproject.TranslationProject model
Installing index for pootle_profile.PootleProfile_languages model
Installing index for pootle_profile.PootleProfile_alt_src_langs model
Installing index for pootle_profile.PootleProfile_projects model
Installing index for pootle_statistics.Submission model
Installing index for pootle_notifications.Notice model
Installing index for siteconfig.SiteConfiguration model
No fixtures found.
u...@host:~/test/pootle-2.1.3$ ./manage.py loaddata ../data.json
Installing json fixture '../data' from absolute path.
Problem installing fixture '../data.json': Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/management/commands/loaddata.py",
line 169, in handle
obj.save(using=using)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/serializers/base.py",
line 165, in save
models.Model.save_base(self.object, using=using, raw=True)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/models/base.py",
line 528, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/models/manager.py",
line 195, in _insert
return insert_query(self.model, values, **kwargs)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/models/query.py",
line 1479, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/models/sql/compiler.py",
line 783, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/models/sql/compiler.py",
line 727, in execute_sql
cursor.execute(sql, params)
File
"/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/db/backends/mysql/base.py",
line 86, in execute
return self.cursor.execute(query, args)
File "/var/lib/python-support/python2.5/MySQLdb/cursors.py", line 166, in
execute
self.errorhandler(self, exc, value)
File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 35, in
defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry 'pootle_language-language' for key 2")
u...@host:~/test/pootle-2.1.3$
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle