Hello Malcolm,
I try to make tests on my application, but after update of unicode 
branch (now I am synced to revision 5371), I am unable to do it due to 
some errors:

[EMAIL PROTECTED] app $./manage.py test staticpages
Creating test database...
Creating table auth_message
Creating table auth_group
Creating table auth_user
Creating table auth_permission
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table staticpages_staticpage
Creating table news_subscriber
Creating table news_new
Creating table news_tag
Creating table partners_partneruser
Creating table parameters_parameter
Creating table pressreleases_pressrelease
Traceback (most recent call last):
   File "./manage.py", line 11, in ?
     execute_manager(settings)
   File 
"/usr/local/lib/python2.4/site-packages/django/core/management.py", line 
1678, in execute_manager
     execute_from_command_line(action_mapping, argv)
   File 
"/usr/local/lib/python2.4/site-packages/django/core/management.py", line 
1592, in execute_from_command_line
     action_mapping[action](args[1:], int(options.verbosity))
   File 
"/usr/local/lib/python2.4/site-packages/django/core/management.py", line 
1309, in test
     failures = test_runner(app_list, verbosity)
   File "/usr/local/lib/python2.4/site-packages/django/test/simple.py", 
line 84, in run_tests
     create_test_db(verbosity)
   File "/usr/local/lib/python2.4/site-packages/django/test/utils.py", 
line 118, in create_test_db
     management.syncdb(verbosity, interactive=False)
   File 
"/usr/local/lib/python2.4/site-packages/django/core/management.py", line 
537, in syncdb
     _emit_post_sync_signal(created_models, verbosity, interactive)
   File 
"/usr/local/lib/python2.4/site-packages/django/core/management.py", line 
464, in _emit_post_sync_signal
     verbosity=verbosity, interactive=interactive)
   File 
"/usr/local/lib/python2.4/site-packages/django/dispatch/dispatcher.py", 
line 358, in send
     sender=sender,
   File 
"/usr/local/lib/python2.4/site-packages/django/dispatch/robustapply.py", 
line 47, in robustApply
     return receiver(*arguments, **named)
   File 
"/usr/local/lib/python2.4/site-packages/django/contrib/auth/management.py", 
line 26, in create_permissions
     ctype = ContentType.objects.get_for_model(klass)
   File 
"/usr/local/lib/python2.4/site-packages/django/contrib/contenttypes/models.py", 
line 20, in get_for_model
     model=key[1], defaults={'name': smart_unicode(opts.verbose_name_raw)})
   File 
"/usr/local/lib/python2.4/site-packages/django/db/models/options.py", 
line 105, in verbose_name_raw
     raw = unicode(self.verbose_name)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: 
ordinal not in range(128)


Regards
Michal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to