Created
February 12, 2011 04:32
-
-
Save mahmoud/823514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Importer.py | |
/ftp/public | |
Traceback (most recent call last): | |
File "Importer.py", line 65, in <module> | |
importer.import_path(path) | |
File "Importer.py", line 56, in import_path | |
self.import_path(os.path.join(path,entry)) | |
File "Importer.py", line 56, in import_path | |
self.import_path(os.path.join(path,entry)) | |
File "Importer.py", line 56, in import_path | |
self.import_path(os.path.join(path,entry)) | |
File "Importer.py", line 56, in import_path | |
self.import_path(os.path.join(path,entry)) | |
File "Importer.py", line 56, in import_path | |
self.import_path(os.path.join(path,entry)) | |
File "Importer.py", line 58, in import_path | |
self.import_file(path) | |
File "Importer.py", line 48, in import_file | |
file.save() | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/base.py", line 434, in save | |
self.save_base(using=using, force_insert=force_insert, force_update=force_update) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/base.py", line 527, in save_base | |
result = manager._insert(values, return_id=update_pk, using=using) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/manager.py", line 195, in _insert | |
return insert_query(self.model, values, **kwargs) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/query.py", line 1479, in insert_query | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 783, in execute_sql | |
cursor = super(SQLInsertCompiler, self).execute_sql(None) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 727, in execute_sql | |
cursor.execute(sql, params) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/backends/util.py", line 15, in execute | |
return self.cursor.execute(sql, params) | |
File "/home/makuro/.virtualenvs/gibbson/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py", line 200, in execute | |
return Database.Cursor.execute(self, query, params) | |
django.db.utils.DatabaseError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment