Create New Project Error

54 views
Skip to first unread message

Urgent Pro

unread,
Oct 13, 2012, 1:10:21 AM10/13/12
to scrum...@googlegroups.com
I am having problems creating a new project. Below is the stack trace

Notes: During the installation, pip could not find a django version 1.1.1. When using the latest django version 1.4 and running the syncdb, it gave an error about  XML module not found. I then tried django 1.2, but that gave a new project creation error similar to the one below but with a different name. Below is the 1.1.1 error. I believe it is about the character set for the token field in the project_project table.

Environment:

Request Method: POST
Django Version: 1.1.1
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.humanize',
 'django.contrib.markup',
 'django.contrib.admin',
 'pinax.templatetags',
 'django_openid',
 'emailconfirmation',
 'mailer',
 'announcements',
 'pagination',
 'timezones',
 'avatar',
 'threadedcomments',
 'ajax_validation',
 'tagging',
 'uni_form',
 'wiki',
 'django_sorting',
 'attachments',
 'django_markup',
 'django_filters',
 'staticfiles',
 'notification',
 'basic_profiles',
 'account',
 'signup_codes',
 'about',
 'tag_app',
 'tagging_utils',
 'threadedcomments_extras',
 'groups',
 'projects',
 'organizations',
 'topics',
 'activities',
 'django_extensions',
 'django_evolution',
 'extras',
 'activities',
 'tutorial',
 'api',
 'developer',
 'haystack',
 'favorites',
 'scrum_log']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django_openid.consumer.SessionConsumer',
 'account.middleware.LocaleMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'pagination.middleware.PaginationMiddleware',
 'django_sorting.middleware.SortingMiddleware',
 'pinax.middleware.security.HideSensistiveFieldsMiddleware',
 'django.middleware.transaction.TransactionMiddleware')


Traceback:
  92.                 response = callback(request, *callback_args, **callback_kwargs)
  78.             return self.view_func(request, *args, **kwargs)
File "/home/urgent/public/scrum.urgepro.com/scrumdo-web/apps/projects/views.py" in create
  380.             project.save()
  410.         self.save_base(force_insert=force_insert, force_update=force_update)
  495.                     result = manager._insert(values, return_id=update_pk)
  177.         return insert_query(self.model, values, **kwargs)
  1087.     return query.execute_sql(return_id)
  320.         cursor = super(InsertQuery, self).execute_sql(None)
  2369.         cursor.execute(sql, params)
  22.             sql = self.db.ops.last_executed_query(self.cursor, sql, params)
  213.             u_params = tuple([to_unicode(val) for val in params])
  211.         to_unicode = lambda s: force_unicode(s, strings_only=True)
  92.         raise DjangoUnicodeDecodeError(s, *e.args)

Exception Type: DjangoUnicodeDecodeError at /projects/create/
Exception Value: 'utf8' codec can't decode byte 0xeb in position 2: invalid continuation byte. You passed in 'zg\xeb\xf4\xdf8\xfa' (<type 'str'>)
Reply all
Reply to author
Forward
0 new messages