-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
FAQ questions / points that need better explanation #27
Comments
Non-unicode characters in the uploading file cause an internal server error traceback: Traceback (most recent call last): File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view File "/webapps/medcodes/medcodes/apps/codesdb/views.py", line 268, in upload_codelist File "/webapps/medcodes/medcodes/apps/codesdb/io.py", line 153, in codelist_to_db File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/models/base.py", line 546, in save File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/models/base.py", line 650, in save_base File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/models/manager.py", line 215, in _insert File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/models/query.py", line 1675, in insert_query File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 943, in execute_sql File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 58, in execute File "/webapps/envs/medcodes/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 54, in execute DatabaseError: invalid byte sequence for encoding "UTF8": 0x92 |
On downloading:
Usually means that you are uploading a csv but there are also commas in the body of the text (typically in the description column). Try doing find/replace in excel to replace commas with semi-colons.
The text was updated successfully, but these errors were encountered: