<div dir="ltr">Hi dear devs in the last days my computer with ubuntu 14.04 has been updating<div>frecuently. I have two 2.4 geonode instance in development mode, since yesterday</div><div>I cannot upload a shapefile because a unicodeEncode error.</div><div><br></div><div><span style="color:rgb(138,109,59);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(252,248,227)">UnicodeEncodeError at /layers/upload 'ascii' codec can't encode character u'\xf3' in position 22: ordinal not in range(128) Request Method: POST Request URL: <a href="http://localhost:8000/layers/upload">http://localhost:8000/layers/upload</a> Django Version: 1.6.10 Python Executable: /home/israel/.virtualenvs/adesur24/bin/python Python Version: 2.7.6 Python Path: ['/home/israel/PycharmProjects/adesur24/adesur', '/home/israel/.virtualenvs/adesur24/local/lib/python2.7/site-packages/GDAL-1.11.0-py2.7-linux-x86_64.egg', '/home/israel/.virtualenvs/adesur24/lib/python2.7', '/home/israel/.virtualenvs/adesur24/lib/python2.7/plat-x86_64-linux-gnu', '/home/israel/.virtualenvs/adesur24/lib/python2.7/lib-tk', '/home/israel/.virtualenvs/adesur24/lib/python2.7/lib-old', '/home/israel/.virtualenvs/adesur24/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/israel/.virtualenvs/adesur24/local/lib/python2.7/site-packages', '/usr/lib', '/usr/include/gdal', '/home/israel/PycharmProjects/adesur24/adesur'] Server time: Mié, 20 Jul 2016 21:39:30 -0500 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'django.contrib.humanize', 'django.contrib.gis', 'django.contrib.comments', 'django_node', 'ckeditor', 'pagination', 'taggit', 'friendlytagloader', 'geoexplorer', 'leaflet', 'django_extensions', 'autocomplete_light', 'mptt', 'modeltranslation', 'djcelery', 'pinax_theme_bootstrap_account', 'pinax_theme_bootstrap', 'django_forms_bootstrap', 'account', 'avatar', 'dialogos', 'agon_ratings', 'notification', 'announcements', 'actstream', 'user_messages', 'tastypie', 'polymorphic', 'guardian', 'geonode.people', 'geonode.base', 'geonode.layers', 'geonode.maps', 'geonode.proxy', 'geonode.security', 'geonode.social', 'geonode.catalogue', 'geonode.documents', 'geonode.api', 'geonode.groups', 'geonode.services', 'project', 'map_interface', 'geonode.interactive', 'geonode.contrib.datatables', 'research_network', 'research_network.narratives', 'research_network.institutions', 'research_network.products', 'research_network.slopes', 'comments_to_comments', 'comments_rows', 'geonode.geoserver', 'geonode.upload', 'geonode.tasks') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'pagination.middleware.PaginationMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') Traceback: File "/home/israel/.virtualenvs/adesur24/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 112. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/israel/.virtualenvs/adesur24/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 22. return view_func(request, *args, **kwargs) File "/home/israel/PycharmProjects/adesur24/adesur/geonode/layers/views.py" in layer_upload 175. out['errors'] = str(error) Exception Type: UnicodeEncodeError at /layers/upload Exception Value: 'ascii' codec can't encode character u'\xf3' in position 22: ordinal not in range(128) Request information: GET: No GET data POST: charset = u'ISO-8859-1' permissions = u'{"users":{"AnonymousUser":["view_resourcebase","download_resourcebase"]},"groups":{}}' FILES: base_file = </span>shx_file = dbf_file = prj_file = COOKIES: csrftoken = 'r4lO5ScgWrjRgcTd2FxZql1nWEGugDvQ' sessionid = 'fyarq1p8czmw0krvub85m9339p1s1km9' _ga = 'GA1.1.1244576168.1468979805' META: RUN_MAIN = 'true' HTTP_REFERER = '<a href="http://localhost:8000/layers/upload">http://localhost:8000/layers/upload</a>' XDG_GREETER_DATA_DIR = '/var/lib/lightdm-data/israel' QT4_IM_MODULE = 'xim' SERVER_SOFTWARE = 'WSGIServer/0.1 Python/2.7.6' SCRIPT_NAME = u'' </div><div><br></div><div>In both I get the same error, I found that the trouble was at uploading to postgis database.</div><div><br></div><div>My system change the postgis version from 2.1 to 2.2, and I believe that the gdal was</div><div>modified too, also there is broken packages in the system... It's a mess....</div><div><br></div><div>I don't really know if the versions are the real problem, so which versions should I have??</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;background-color:rgb(255,255,255)">Thanks in advance</span></div></div>