We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On import I get an UnicodeEncodeError error.
The error is produced only on version 0.2.9, on previous versions (0.2.8 and 0.2.7 tested) works as expected.
This is the traceback:
Django Version: 1.8.6 Python Version: 2.7.6 ... Traceback: File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 110. response = view_func(request, *args, **kwargs) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 57. response = view_func(request, *args, **kwargs) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner 233. return view(request, *args, **kwargs) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/import_export/admin.py" in import_action 222. dataset = input_format.create_dataset(data) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/import_export/formats/base_formats.py" in create_dataset 90. self.get_format().import_set(data, in_stream) File "/home/pacotole/myproject/.env/local/lib/python2.7/site-packages/tablib/formats/_csv.py" in import_set 40. rows = csv.reader(StringIO(in_stream), encoding=DEFAULT_ENCODING) Exception Type: UnicodeEncodeError at /admin/products/product/import/ Exception Value: 'ascii' codec can't encode character u'\xe1' in position 148: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
FIX: importing csv UnicodeEncodeError introduced in 0.2.9 (#347)
49bf63e
Thanks for reporting @pacotole.
This should be fixed in 49bf63e. Can you please check if it works for you?
Sorry, something went wrong.
Fixed in 0.3. please reopen if needed
Now it works perfect!!
Thanks
No branches or pull requests
On import I get an UnicodeEncodeError error.
The error is produced only on version 0.2.9, on previous versions (0.2.8 and 0.2.7 tested) works as expected.
This is the traceback:
The text was updated successfully, but these errors were encountered: