[GeoNode-devel] Object of type Map is not JSON serializable

Alessio Fabiani alessio.fabiani at geo-solutions.it
Thu Feb 14 07:35:28 PST 2019


Paolo could give it another try?

Il giorno gio 14 feb 2019 alle ore 13:27 Alessio Fabiani <
alessio.fabiani at geo-solutions.it> ha scritto:

> It looks like the issue was introduced by a recent PR.
>
> Fix available here
>
> https://github.com/GeoNode/geonode/pull/4228
>
> I will merge it and push the Docker image again in a few.
>
>
>
> Il giorno gio 14 feb 2019 alle ore 10:57 Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> ha scritto:
>
>> Weird... from the stack trace this piece of code seems to be failing
>>
>>         map_obj = Map(owner=request.user, zoom=0,
>>                       center_x=0, center_y=0)
>>         map_obj.save()
>>
>> Which is very strange, since it does nothing except creating a new map
>> object!!
>>
>> Will try to give it a look as soon as I have some free time slots.
>>
>>
>>
>> Il giorno gio 14 feb 2019 alle ore 10:44 Paolo Pasquali <
>> paolo.pasquali at gmail.com> ha scritto:
>>
>>> Dear all,
>>>
>>> Making a fresh installation using GeoNode Project with Docker I get an
>>> error when I try to save a Map (full error below).
>>>
>>> Your help would be much appreciated.
>>>
>>> Bye,
>>>
>>>
>>> Paolo
>>>
>>>
>>> EncodeError at /maps/new/data Object of type Map is not JSON
>>> serializable Request Method: POST Request URL:
>>> http://localhost/maps/new/data Django Version: 1.11.20 Python
>>> Executable: /usr/local/bin/uwsgi Python Version: 2.7.14 Python Path: ['.',
>>> '', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7',
>>> '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk',
>>> '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload',
>>> '/usr/local/lib/python2.7/site-packages', '/usr/src/geonode',
>>> '/usr/src/teragrop', '/usr/src/teragrop', '/usr/src/teragrop'] Server time:
>>> Thu, 14 Feb 2019 09:36:36 +0000 Installed Applications:
>>> ('modeltranslation', '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',
>>> 'dj_pagination', 'taggit', 'treebeard', 'geoexplorer', 'leaflet',
>>> 'bootstrap3_datetime', 'django_filters', 'django_extensions',
>>> 'django_basic_auth', 'autocomplete_light', 'mptt', 'storages',
>>> 'floppyforms', 'pinax_theme_bootstrap', 'django_forms_bootstrap', 'avatar',
>>> 'dialogos', 'agon_ratings', 'announcements', 'actstream', 'user_messages',
>>> 'tastypie', 'polymorphic', 'guardian', 'oauth2_provider', 'corsheaders',
>>> 'invitations', 'allauth', 'allauth.account', 'allauth.socialaccount',
>>> 'rest_framework', 'geonode', 'geonode.api', 'geonode.base',
>>> 'geonode.layers', 'geonode.maps', 'geonode.documents', 'geonode.security',
>>> 'geonode.catalogue', 'geonode.people', 'geonode.client', 'geonode.themes',
>>> 'geonode.proxy', 'geonode.social', 'geonode.groups', 'geonode.services',
>>> 'geonode.geoserver', 'geonode.upload', 'geonode.tasks',
>>> 'geonode.messaging', 'geonode.contrib.metadataxsl',
>>> 'geonode.contrib.api_basemaps', 'geonode.contrib.ows_api', 'haystack',
>>> 'pinax.notifications', 'teragrop', , ) Installed Middleware:
>>> ('corsheaders.middleware.CorsMiddleware',
>>> 'django.middleware.common.CommonMiddleware',
>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>> 'django.contrib.messages.middleware.MessageMiddleware',
>>> 'dj_pagination.middleware.PaginationMiddleware',
>>> 'django.middleware.locale.LocaleMiddleware',
>>> 'django.middleware.csrf.CsrfViewMiddleware',
>>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>>> 'django.middleware.security.SecurityMiddleware',
>>> 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
>>> 'oauth2_provider.middleware.OAuth2TokenMiddleware',
>>> 'django.middleware.security.SecurityMiddleware') Traceback: File
>>> "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py"
>>> in inner 41. response = get_response(request) File
>>> "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in
>>> _legacy_get_response 249. response = self._get_response(request) File
>>> "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in
>>> _get_response 187. response = self.process_exception_by_middleware(e,
>>> request) File
>>> "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in
>>> _get_response 185. response = wrapped_callback(request, *callback_args,
>>> **callback_kwargs) File "/usr/src/geonode/geonode/maps/views.py" in
>>> new_map_json 699. map_obj.save() File
>>> "/usr/local/lib/python2.7/site-packages/polymorphic/models.py" in save 82.
>>> return super(PolymorphicModel, self).save(*args, **kwargs) File
>>> "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in save
>>> 808. force_update=force_update, update_fields=update_fields) File
>>> "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in
>>> save_base 848. update_fields=update_fields, raw=raw, using=using, File
>>> "/usr/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py" in
>>> send 193. for receiver in self._live_receivers(sender) File
>>> "/usr/src/geonode/geonode/geoserver/signals.py" in geoserver_post_save_map
>>> 647. thumbnail_task.delay(instance, overwrite=False, check_bbox=True) File
>>> "/usr/local/lib/python2.7/site-packages/celery/app/task.py" in delay 408.
>>> return self.apply_async(args, kwargs) File
>>> "/usr/local/lib/python2.7/site-packages/celery/app/task.py" in apply_async
>>> 535. **options File
>>> "/usr/local/lib/python2.7/site-packages/celery/app/base.py" in send_task
>>> 745. amqp.send_task_message(P, name, message, **options) File
>>> "/usr/local/lib/python2.7/site-packages/celery/app/amqp.py" in
>>> send_task_message 552. **properties File
>>> "/usr/local/lib/python2.7/site-packages/kombu/messaging.py" in publish 169.
>>> compression, headers) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/messaging.py" in _prepare
>>> 252. body) = dumps(body, serializer=serializer) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/serialization.py" in dumps
>>> 221. payload = encoder(data) File "/usr/local/lib/python2.7/contextlib.py"
>>> in __exit__ 35. self.gen.throw(type, value, traceback) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/serialization.py" in
>>> _reraise_errors 54. reraise(wrapper, wrapper(exc), sys.exc_info()[2]) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/serialization.py" in
>>> _reraise_errors 50. yield File
>>> "/usr/local/lib/python2.7/site-packages/kombu/serialization.py" in dumps
>>> 221. payload = encoder(data) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/utils/json.py" in dumps 69.
>>> **dict(default_kwargs, **kwargs)) File
>>> "/usr/local/lib/python2.7/site-packages/simplejson/__init__.py" in dumps
>>> 399. **kw).encode(obj) File
>>> "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in encode
>>> 291. chunks = self.iterencode(o, _one_shot=True) File
>>> "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in
>>> iterencode 373. return _iterencode(o, 0) File
>>> "/usr/local/lib/python2.7/site-packages/kombu/utils/json.py" in default 59.
>>> return super(JSONEncoder, self).default(o) File
>>> "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in default
>>> 268. o.__class__.__name__) Exception Type: EncodeError at /maps/new/data
>>> Exception Value: Object of type Map is not JSON serializable Request
>>> information: USER: admin GET: No GET data POST: No POST data FILES: No
>>> FILES data COOKIES: csrftoken =
>>> 'QtM1RexfZH4GYfQdUr1VO7chVB3y322ootQsUTJUzCIBZ3EigjzgQlYexEBWBw1V'
>>> sessionid = 'i2u4nl7rld8vh2a1yim0la288hx867y7' _ga =
>>> 'GA1.1.1916883627.1537191418' META: CONTENT_LENGTH = '2815' CONTENT_TYPE =
>>> 'text/plain;charset=UTF-8' CSRF_COOKIE =
>>> 'QtM1RexfZH4GYfQdUr1VO7chVB3y322ootQsUTJUzCIBZ3EigjzgQlYexEBWBw1V'
>>> DOCUMENT_ROOT = '/mnt/volumes/statics' HTTP_ACCEPT = '*/*'
>>> HTTP_ACCEPT_ENCODING = 'gzip, deflate' HTTP_ACCEPT_LANGUAGE = 'en-us'
>>> HTTP_CONNECTION = 'keep-alive' HTTP_CONTENT_LENGTH = '2815'
>>> HTTP_CONTENT_TYPE = 'text/plain;charset=UTF-8' HTTP_COOKIE =
>>> 'csrftoken=QtM1RexfZH4GYfQdUr1VO7chVB3y322ootQsUTJUzCIBZ3EigjzgQlYexEBWBw1V;
>>> sessionid=i2u4nl7rld8vh2a1yim0la288hx867y7;
>>> _ga=GA1.1.1916883627.1537191418' HTTP_HOST = 'localhost' HTTP_ORIGIN = '
>>> http://localhost' HTTP_REFERER = 'http://localhost/maps/new'
>>> HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3)
>>> AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15'
>>> HTTP_X_CSRFTOKEN =
>>> 'BQzdse6XXgZubUsl1ofraXq7VAWV3r4V9QDEvTiCxbDpcIgqngNMcbc4xDujBV3s'
>>> HTTP_X_REQUESTED_WITH = 'XMLHttpRequest' PATH_INFO = u'/maps/new/data'
>>> QUERY_STRING = '' REMOTE_ADDR = '172.21.0.1' REMOTE_PORT = '43366'
>>> REQUEST_METHOD = 'POST' REQUEST_SCHEME = 'http' REQUEST_URI =
>>> '/maps/new/data' SCRIPT_NAME = u'' SERVER_NAME = '' SERVER_PORT = '80'
>>> SERVER_PROTOCOL = 'HTTP/1.1' uwsgi.core = 1 uwsgi.node = '139ee53da262'
>>> uwsgi.version = '2.0.17' wsgi.errors = wsgi.file_wrapper = '' wsgi.input =
>>> wsgi.multiprocess = True wsgi.multithread = True wsgi.run_once = False
>>> wsgi.url_scheme = 'http' wsgi.version = u'(1, 0)' Settings: Using settings
>>> module teragrop.settings ABSOLUTE_URL_OVERRIDES = {}
>>> ACCESS_TOKEN_EXPIRE_SECONDS = u'********************' ACCOUNT_ADAPTER =
>>> 'geonode.people.adapters.LocalAccountAdapter' ACCOUNT_APPROVAL_REQUIRED = 0
>>> ACCOUNT_CONFIRM_EMAIL_ON_GET = True ACCOUNT_EMAIL_REQUIRED = True
>>> ACCOUNT_EMAIL_VERIFICATION = 'optional' ACCOUNT_LOGIN_REDIRECT_URL = '
>>> http://localhost/' ACCOUNT_LOGOUT_REDIRECT_URL = 'http://localhost/'
>>> ACCOUNT_NOTIFY_ON_PASSWORD_CHANGE = u'********************'
>>> ACCOUNT_OPEN_SIGNUP = True ACTSTREAM_SETTINGS = {'GFK_FETCH_DEPTH': 1,
>>> 'USE_JSONFIELD': True, 'FETCH_RELATIONS': True, 'USE_PREFETCH': False}
>>> ADMINS = [] ADMIN_MODERATE_UPLOADS = False AGON_RATINGS_CATEGORY_CHOICES =
>>> {'maps.Map': {'map': 'How good is this map?'}, 'layers.Layer': {'layer':
>>> 'How good is this layer?'}, 'documents.Document': {'document': 'How good is
>>> this document?'}} ALLOWED_DOCUMENT_TYPES = ['doc', 'docx', 'gif', 'jpg',
>>> 'jpeg', 'ods', 'odt', 'odp', 'pdf', 'png', 'ppt', 'pptx', 'rar', 'sld',
>>> 'tif', 'tiff', 'txt', 'xls', 'xlsx', 'xml', 'zip', 'gz', 'qml']
>>> ALLOWED_HOSTS = ['localhost', 'localhost', 'localhost:80', 'geonode',
>>> 'django'] ALT_OSM_BASEMAPS = False ANONYMOUS_USER_ID = '-1'
>>> API_INCLUDE_REGIONS_COUNT = u'********************' API_LIMIT_PER_PAGE =
>>> u'********************' APPEND_SLASH = True ASYNC_SIGNALS = True
>>> AUTHENTICATION_BACKENDS = u"('oauth2_provider.backends.OAuth2Backend',
>>> 'django.contrib.auth.backends.ModelBackend',
>>> 'guardian.backends.ObjectPermissionBackend',
>>> 'allauth.account.auth_backends.AuthenticationBackend')" AUTH_EXEMPT_URLS =
>>> u"('^/?$', '/gs/*', '/static/*', '/o/*', '/api/o/*', '/api/roles',
>>> '/api/adminRole', '/api/users', '/api/layers')" AUTH_IP_WHITELIST = []
>>> AUTH_PASSWORD_VALIDATORS = u'********************' AUTH_USER_MODEL =
>>> 'people.Profile' AUTO_GENERATE_AVATAR_SIZES = u'(20, 30, 32, 40, 50, 65,
>>> 70, 80, 100, 140, 200, 240)' AWS_ACCESS_KEY_ID = u'********************'
>>> AWS_BUCKET_NAME = '' AWS_QUERYSTRING_AUTH = False AWS_S3_BUCKET_DOMAIN = '.
>>> s3.amazonaws.com' AWS_SECRET_ACCESS_KEY = u'********************'
>>> AWS_STORAGE_BUCKET_NAME = '' BING_API_KEY = u'********************'
>>> BROKER_HEARTBEAT = 0 BROKER_TRANSPORT_OPTIONS = {'fanout_prefix': True,
>>> 'fanout_patterns': True, 'visibility_timeout': 86400, 'socket_timeout': 60}
>>> CACHES = {'default': {'BACKEND':
>>> 'django.core.cache.backends.dummy.DummyCache'}} CACHE_MIDDLEWARE_ALIAS =
>>> u'default' CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
>>> CACHE_MIDDLEWARE_SECONDS = 600 CACHE_TIME = 0 CARTODB_BASEMAPS = False
>>> CASCADE_WORKSPACE = 'geonode' CATALOGUE = {'default': {'ENGINE':
>>> 'geonode.catalogue.backends.pycsw_local', 'URL': '
>>> http://localhost/catalogue/csw'}} CELERYD_POOL_RESTARTS = True
>>> CELERY_ACCEPT_CONTENT = ['json'] CELERY_ACKS_LATE = True
>>> CELERY_BEAT_SCHEDULE = {'delayed-security-sync-task': {'task':
>>> 'geonode.security.tasks.synch_guardian', 'schedule': datetime.timedelta(0,
>>> 60)}} CELERY_BROKER_URL = 'amqp://guest:guest@rabbitmq:5672'
>>> CELERY_DISABLE_RATE_LIMITS = False CELERY_ENABLE_UTC = True
>>> CELERY_MAX_CACHED_RESULTS = 32768 CELERY_MESSAGE_COMPRESSION = 'gzip'
>>> CELERY_RESULT_BACKEND = 'amqp://guest:guest@rabbitmq:5672'
>>> CELERY_RESULT_PERSISTENT = False CELERY_RESULT_SERIALIZER = 'json'
>>> CELERY_SEND_TASK_EVENTS = True CELERY_SEND_TASK_SENT_EVENT = True
>>> CELERY_TASK_ALWAYS_EAGER = False CELERY_TASK_CREATE_MISSING_QUEUES = True
>>> CELERY_TASK_IGNORE_RESULT = True CELERY_TASK_QUEUES = u'( -> default>, ->
>>> geonode>, -> update>, -> cleanup>, -> email>, -> #>, -> email>, ->
>>> geoserver.#>, -> geoserver.catalog>, -> geoserver.catalog>, ->
>>> geonode.geoserver>, -> notifications>, -> geonode.viewer>)'
>>> CELERY_TASK_RESULT_EXPIRES = 43200 CELERY_TASK_SERIALIZER = 'json'
>>> CELERY_TIMEZONE = 'UTC' CELERY_TRACK_STARTED = True
>>> CELERY_WORKER_DISABLE_RATE_LIMITS = False CELERY_WORKER_SEND_TASK_EVENTS =
>>> True CKAN_ORIGINS = [{'url': '
>>> https://data.hdx.rwlabs.org/dataset/new?title={name}&dataset_date={date}¬es={abstract}&caveats={caveats}',
>>> 'css_class': 'hdx', 'label': 'Humanitarian Data Exchange (HDX)'}]
>>> CLIENT_RESULTS_LIMIT = 20 CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN =
>>> None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = u'csrftoken'
>>> CSRF_COOKIE_PATH = u'/' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW =
>>> u'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = u'HTTP_X_CSRFTOKEN'
>>> CSRF_TRUSTED_ORIGINS = [] CSRF_USE_SESSIONS = False DATABASES = {'default':
>>> {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'AUTOCOMMIT': True,
>>> 'ATOMIC_REQUESTS': False, 'NAME': 'geonode', 'CONN_MAX_AGE': 600,
>>> 'TIME_ZONE': None, 'PORT': 5432, 'HOST': 'db', 'USER': 'geonode', 'TEST':
>>> {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None},
>>> 'PASSWORD': u'********************', 'OPTIONS': {}}, 'datastore':
>>> {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'AUTOCOMMIT': True,
>>> 'ATOMIC_REQUESTS': False, 'NAME': 'geonode_data', 'CONN_MAX_AGE': 600,
>>> 'TIME_ZONE': None, 'PORT': 5432, 'HOST': 'db', 'USER': 'geonode_data',
>>> 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None},
>>> 'PASSWORD': u'********************', 'OPTIONS': {}}} DATABASE_ROUTERS = []
>>> DATABASE_URL = 'postgres://geonode:geonode@db:5432/geonode'
>>> DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS =
>>> 100000 DATETIME_FORMAT = u'N j, Y, P' DATETIME_INPUT_FORMATS = [u'%Y-%m-%d
>>> %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d',
>>> u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M',
>>> u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y
>>> %H:%M', u'%m/%d/%y', '%Y-%m-%d %H:%M:%S.%f %Z', '%Y-%m-%dT%H:%M:%S.%f',
>>> '%Y-%m-%dT%H:%M:%S%Z'] DATE_FORMAT = u'N j, Y' DATE_INPUT_FORMATS =
>>> [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b
>>> %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y']
>>> DEBUG = 1 DEBUG_PROPAGATE_EXCEPTIONS = False DEBUG_STATIC = 0
>>> DECIMAL_SEPARATOR = u'.' DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION = 1
>>> DEFAULT_ANONYMOUS_VIEW_PERMISSION = 1 DEFAULT_CHARSET = u'utf-8'
>>> DEFAULT_CONTENT_TYPE = u'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER =
>>> u'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE =
>>> u'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL =
>>> u'webmaster at localhost' DEFAULT_INDEX_TABLESPACE = u''
>>> DEFAULT_LAYER_FORMAT = 'image/png' DEFAULT_MAP_CENTER = u'(0, 0)'
>>> DEFAULT_MAP_CRS = 'EPSG:3857' DEFAULT_MAP_ZOOM = 0 DEFAULT_SEARCH_SIZE = 10
>>> DEFAULT_TABLESPACE = u'' DEFAULT_WORKSPACE = 'geonode'
>>> DELAYED_SECURITY_SIGNALS = False DISALLOWED_USER_AGENTS = []
>>> DISPLAY_COMMENTS = 1 DISPLAY_RATINGS = 1 DISPLAY_SOCIAL = 1
>>> DISPLAY_WMS_LINKS = 1 DOWNLOAD_FORMATS_METADATA = ['Atom', 'DIF', 'Dublin
>>> Core', 'ebRIM', 'FGDC', 'ISO', 'ISO with XSL'] DOWNLOAD_FORMATS_RASTER =
>>> ['JPEG', 'PDF', 'PNG', 'ArcGrid', 'GeoTIFF', 'Gtopo30', 'ImageMosaic',
>>> 'KML', 'View in Google Earth', 'Tiles', 'GML', 'GZIP', 'QGIS layer file
>>> (.qlr)', 'QGIS project file (.qgs)', 'Zipped All Files']
>>> DOWNLOAD_FORMATS_VECTOR = ['JPEG', 'PDF', 'PNG', 'Zipped Shapefile', 'GML
>>> 2.0', 'GML 3.1.1', 'CSV', 'Excel', 'GeoJSON', 'KML', 'View in Google
>>> Earth', 'Tiles', 'QGIS layer file (.qlr)', 'QGIS project file (.qgs)']
>>> EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
>>> EMAIL_ENABLE = 0 EMAIL_HOST = u'localhost' EMAIL_HOST_PASSWORD =
>>> u'********************' EMAIL_HOST_USER = u'' EMAIL_PORT = 25
>>> EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = u'********************'
>>> EMAIL_SUBJECT_PREFIX = u'[Django] ' EMAIL_TIMEOUT = None
>>> EMAIL_USE_LOCALTIME = False EMAIL_USE_SSL = False EMAIL_USE_TLS = False
>>> EXIF_ENABLED = False EXTRA_LANG_INFO = {'tl': {'code': 'tl', 'name':
>>> 'Tagalog', 'bidi': False, 'name_local': 'tagalog'}, 'am': {'code': 'am',
>>> 'name': 'Amharic', 'bidi': False, 'name_local': 'Amharic'}, 'si': {'code':
>>> 'si', 'name': 'Sinhala', 'bidi': False, 'name_local': 'sinhala'}, 'ta':
>>> {'code': 'ta', 'name': 'Tamil', 'bidi': False, 'name_local': u'tamil'}}
>>> FILE_CHARSET = u'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
>>> FILE_UPLOAD_HANDLERS =
>>> [u'django.core.files.uploadhandler.MemoryFileUploadHandler',
>>> u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
>>> FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 FILE_UPLOAD_PERMISSIONS = None
>>> FILE_UPLOAD_TEMP_DIR = None FIRST_DAY_OF_WEEK = 0 FIXTURE_DIRS = []
>>> FORCE_SCRIPT_NAME = None FORMAT_MODULE_PATH = None FORM_RENDERER =
>>> u'django.forms.renderers.DjangoTemplates' FREETEXT_KEYWORDS_READONLY =
>>> u'********************' GEODATABASE_URL =
>>> 'postgis://geonode_data:geonode_data@db:5432/geonode_data'
>>> GEOFENCE_SECURITY_ENABLED = True GEOIP_PATH =
>>> '/usr/src/geonode/geonode/GeoIPCities.dat' GEONODE_APPS = u"('geonode.api',
>>> 'geonode.base', 'geonode.layers', 'geonode.maps', 'geonode.documents',
>>> 'geonode.security', 'geonode.catalogue', 'geonode.people',
>>> 'geonode.client', 'geonode.themes', 'geonode.proxy', 'geonode.social',
>>> 'geonode.groups', 'geonode.services', 'geonode.geoserver',
>>> 'geonode.upload', 'geonode.tasks', 'geonode.messaging',
>>> 'geonode.contrib.metadataxsl', 'geonode.contrib.api_basemaps',
>>> 'geonode.contrib.ows_api')" GEONODE_CLIENT_HOOKSET =
>>> GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'geoext' GEONODE_CONTRIB_APPS =
>>> u"('geonode.contrib.metadataxsl', 'geonode.contrib.api_basemaps',
>>> 'geonode.contrib.ows_api')" GEONODE_CORE_APPS = u"('geonode.api',
>>> 'geonode.base', 'geonode.layers', 'geonode.maps', 'geonode.documents',
>>> 'geonode.security', 'geonode.catalogue')" GEONODE_EXCHANGE =
>>> GEONODE_INTERNAL_APPS = u"('geonode.people', 'geonode.client',
>>> 'geonode.themes', 'geonode.proxy', 'geonode.social', 'geonode.groups',
>>> 'geonode.services', 'geonode.geoserver', 'geonode.upload', 'geonode.tasks',
>>> 'geonode.messaging')" GEOSERVER_EXCHANGE = GEOSERVER_LOCATION = '
>>> http://geoserver:8080/geoserver/' GEOSERVER_PUBLIC_LOCATION = '
>>> http://localhost/gs/' GEOSERVER_WEB_UI_LOCATION = '
>>> http://localhost/geoserver/' GEOTIFF_IO_BASE_URL = '
>>> https://app.geotiff.io' GEOTIFF_IO_ENABLED = 0 GOOGLE_API_KEY =
>>> u'********************' GROUP_MANDATORY_RESOURCES = False
>>> GROUP_PRIVATE_RESOURCES = False GUARDIAN_GET_INIT_ANONYMOUS_USER =
>>> 'geonode.people.models.get_anonymous_user_instance' HAYSTACK_CONNECTIONS =
>>> {'default': {'ENGINE':
>>> 'haystack.backends.elasticsearch2_backend.Elasticsearch2SearchEngine',
>>> 'URL': 'http://elasticsearch:9200/', 'INDEX_NAME': 'haystack'}}
>>> HAYSTACK_FACET_COUNTS = 1 HAYSTACK_SEARCH = 1
>>> HAYSTACK_SEARCH_RESULTS_PER_PAGE = 200 HAYSTACK_SIGNAL_PROCESSOR =
>>> 'haystack.signals.RealtimeSignalProcessor' HOSTNAME = 'localhost'
>>> IGNORABLE_404_URLS = [] INSTALLED_APPS = u"('modeltranslation',
>>> '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',
>>> 'dj_pagination', 'taggit', 'treebeard', 'geoexplorer', 'leaflet',
>>> 'bootstrap3_datetime', 'django_filters', 'django_extensions',
>>> 'django_basic_auth', 'autocomplete_light', 'mptt', 'storages',
>>> 'floppyforms', 'pinax_theme_bootstrap', 'django_forms_bootstrap', 'avatar',
>>> 'dialogos', 'agon_ratings', 'announcements', 'actstream', 'user_messages',
>>> 'tastypie', 'polymorphic', 'guardian', 'oauth2_provider', 'corsheaders',
>>> 'invitations', 'allauth', 'allauth.account', 'allauth.socialaccount',
>>> 'rest_framework', 'geonode', 'geonode.api', 'geonode.base',
>>> 'geonode.layers', 'geonode.maps', 'geonode.documents', 'geonode.security',
>>> 'geonode.catalogue', 'geonode.people', 'geonode.client', 'geonode.themes',
>>> 'geonode.proxy', 'geonode.social', 'geonode.groups', 'geonode.services',
>>> 'geonode.geoserver', 'geonode.upload', 'geonode.tasks',
>>> 'geonode.messaging', 'geonode.contrib.metadataxsl',
>>> 'geonode.contrib.api_basemaps', 'geonode.contrib.ows_api', 'haystack',
>>> 'pinax.notifications', 'teragrop', , )" INTEGRATION = False INTERNAL_IPS =
>>> [] INVITATIONS_ADAPTER = 'geonode.people.adapters.LocalAccountAdapter'
>>> LANGUAGES = u"(('en', 'English'), ('es', 'Espa\\xc3\\xb1ol'), ('it',
>>> 'Italiano'), ('fr', 'Fran\\xc3\\xa7ais'), ('de', 'Deutsch'), ('el',
>>> '\\xce\\x95\\xce\\xbb\\xce\\xbb\\xce\\xb7\\xce\\xbd\\xce\\xb9\\xce\\xba\\xce\\xac'),
>>> ('id', 'Bahasa Indonesia'), ('zh-cn', '\\xe4\\xb8\\xad\\xe6\\x96\\x87'),
>>> ('ja', '\\xe6\\x97\\xa5\\xe6\\x9c\\xac\\xe8\\xaa\\x9e'), ('fa', 'Persian'),
>>> ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'),
>>> ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('pt-br',
>>> 'Portuguese (Brazil)'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko',
>>> '\\xed\\x95\\x9c\\xea\\xb5\\xad\\xec\\x96\\xb4'), ('am', 'Amharic'), ('km',
>>> 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th',
>>> '\\xe0\\xb9\\x84\\xe0\\xb8\\x97\\xe0\\xb8\\xa2'), ('uk', 'Ukranian'),
>>> ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog'))" LANGUAGES_BIDI =
>>> [u'he', u'ar', u'fa', u'ur'] LANGUAGE_CODE = 'en' LANGUAGE_COOKIE_AGE =
>>> None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME =
>>> u'django_language' LANGUAGE_COOKIE_PATH = u'/' LEAFLET_CONFIG = {'SRID':
>>> 3857, 'RESET_VIEW': False, 'TILES': [('Watercolor', 'http://{s}.
>>> tile.stamen.com/watercolor/{z}/{x}/{y}.png
>>> <http://tile.stamen.com/watercolor/%7Bz%7D/%7Bx%7D/%7By%7D.png>', 'Map
>>> tiles by Stamen Design, CC BY 3.0 — Map data © OpenStreetMap contributors,
>>> CC-BY-SA'), ('Toner Lite', 'http://{s}.
>>> tile.stamen.com/toner-lite/{z}/{x}/{y}.png
>>> <http://tile.stamen.com/toner-lite/%7Bz%7D/%7Bx%7D/%7By%7D.png>', 'Map
>>> tiles by Stamen Design, CC BY 3.0 — Map data © OpenStreetMap contributors,
>>> CC-BY-SA')], 'PLUGINS': {u'forms': {u'css': , u'auto-include': False,
>>> u'js': }, u'__default__': {u'css': , u'js': }, u'ALL': {u'css': , u'js': },
>>> 'leaflet-plugins': {'css': , 'auto-include': True, 'js': },
>>> u'__is_normalized__': True}} LICENSES = {'ENABLED': True, 'DETAIL':
>>> 'above', 'METADATA': 'verbose'} LOCALE_PATHS =
>>> u"('/usr/src/teragrop/teragrop/locale', '/usr/src/geonode/geonode/locale')"
>>> LOCAL_GEOSERVER = {'source': {'url': '/gs/ows', 'restUrl': '/gs/rest',
>>> 'attribution': '© http://localhost/', 'ptype': 'gxp_wmscsource',
>>> 'title': 'GeoServer - Private Layers'}} LOCAL_GXP_PTYPE = 'gxp_wmscsource'
>>> LOCAL_MEDIA_URL = '/uploaded/' LOCAL_ROOT = '/usr/src/teragrop/teragrop'
>>> LOCAL_SIGNALS_BROKER_URL = 'memory://' LOCKDOWN_GEONODE = 0 LOGGING =
>>> {'loggers': {'geonode.qgis_server': {'handlers': ['console'], 'level':
>>> 'ERROR'}, 'geonode': {'handlers': ['console'], 'level': 'INFO'}, 'pycsw':
>>> {'handlers': ['console'], 'level': 'ERROR'}, 'owslib': {'handlers':
>>> ['console'], 'level': 'ERROR'}, 'gsconfig.catalog': {'handlers':
>>> ['console'], 'level': 'ERROR'}, 'celery': {'handlers': ['console'],
>>> 'level': 'ERROR'}, 'django': {'handlers': ['console'], 'level': 'ERROR'}},
>>> 'disable_existing_loggers': True, 'handlers': {'console': {'formatter':
>>> 'simple', 'class': 'logging.StreamHandler', 'level': 'INFO'},
>>> 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters':
>>> ['require_debug_false'], 'level': 'ERROR'}}, 'formatters': {'simple':
>>> {'format': '%(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s
>>> %(module)s %(process)d %(thread)d %(message)s'}}, 'version': 1, 'filters':
>>> {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}}
>>> LOGGING_CONFIG = u'logging.config.dictConfig' LOGIN_REDIRECT_URL =
>>> u'/accounts/profile/' LOGIN_URL = 'http://localhost/account/login/'
>>> LOGOUT_REDIRECT_URL = None LOGOUT_URL = '
>>> http://localhost/account/logout/' MANAGERS = [] MAPBOX_ACCESS_TOKEN =
>>> u'********************' MAP_BASELAYERS = [{'source': {'url': '
>>> http://localhost/gs/ows', 'restUrl': '/gs/rest', 'attribution': '©
>>> http://localhost/', 'ptype': 'gxp_wmscsource', 'title': 'GeoServer -
>>> Public Layers'}}, {'group': 'background', 'name': 'background', 'args':
>>> ['No background'], 'visibility': False, 'source': {'ptype':
>>> 'gxp_olsource'}, 'fixed': True, 'type': 'OpenLayers.Layer'}, {'group':
>>> 'background', 'name': 'mapnik', 'visibility': True, 'source': {'ptype':
>>> 'gxp_osmsource'}, 'fixed': True, 'type': 'OpenLayers.Layer.OSM'}]
>>> MAP_CLIENT_USE_CROSS_ORIGIN_CREDENTIALS = 0 MAX_DOCUMENT_SIZE = 2
>>> MEDIA_ROOT = '/mnt/volumes/statics/uploaded/' MEDIA_URL = '/uploaded/'
>>> MESSAGE_STORAGE =
>>> u'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE =
>>> None MIDDLEWARE_CLASSES = u"('corsheaders.middleware.CorsMiddleware',
>>> 'django.middleware.common.CommonMiddleware',
>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>> 'django.contrib.messages.middleware.MessageMiddleware',
>>> 'dj_pagination.middleware.PaginationMiddleware',
>>> 'django.middleware.locale.LocaleMiddleware',
>>> 'django.middleware.csrf.CsrfViewMiddleware',
>>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>>> 'django.middleware.security.SecurityMiddleware',
>>> 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
>>> 'oauth2_provider.middleware.OAuth2TokenMiddleware',
>>> 'django.middleware.security.SecurityMiddleware')" MIGRATION_MODULES = {}
>>> MISSING_THUMBNAIL = 'geonode/img/missing_thumb.png'
>>> MODELTRANSLATION_DEFAULT_LANGUAGE = 'en'
>>> MODELTRANSLATION_FALLBACK_LANGUAGES = u"('en',)" MODELTRANSLATION_LANGUAGES
>>> = ['en'] MODIFY_TOPICCATEGORY = 0 MONITORING_DATA_TTL =
>>> datetime.timedelta(7) MONITORING_DISABLE_CSRF = False MONITORING_ENABLED =
>>> False MONITORING_HOST_NAME = 'localhost' MONITORING_SERVICE_NAME =
>>> 'geonode' MONTH_DAY_FORMAT = u'F j' NLP_ENABLED = False NLP_LIBRARY_PATH =
>>> '/opt/MITIE/mitielib' NLP_LOCATION_THRESHOLD = 1.0 NLP_MODEL_PATH =
>>> '/opt/MITIE/MITIE-models/english/ner_model.dat' NOSE_ARGS = ['--nocapture',
>>> '--detailed-errors'] NOTIFICATIONS_MODULE = 'pinax.notifications'
>>> NOTIFICATION_ENABLED = True NUMBER_GROUPING = 0 OAUTH2_PROVIDER =
>>> {'SCOPES': {'read': 'Read scope', 'openid': 'Default to OpenID', 'write':
>>> 'Write scope', 'groups': 'Access to your groups'}, 'OIDC_RSA_PRIVATE_KEY':
>>> u'********************', 'CLIENT_ID_GENERATOR_CLASS':
>>> 'oauth2_provider.generators.ClientIdGenerator'} OGC_SERVER = {'default':
>>> {'WEB_UI_LOCATION': 'http://localhost/geoserver/', 'PUBLIC_LOCATION': '
>>> http://localhost/gs/', 'USER': 'admin', 'TIMEOUT': 300, 'GEOFENCE_URL':
>>> 'internal:/', 'PASSWORD': u'********************',
>>> 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True,
>>> 'BACKEND_WRITE_ENABLED': True, 'LOCATION': '
>>> http://geoserver:8080/geoserver/', 'WMST_ENABLED': False,
>>> 'GEOGIG_DATASTORE_DIR': '', 'PG_GEOGIG': False, 'LOGOUT_ENDPOINT':
>>> 'j_spring_oauth2_geonode_logout', 'LOG_FILE':
>>> '/usr/src/geonode/geoserver/data/logs/geoserver.log', 'WPS_ENABLED': False,
>>> 'LOGIN_ENDPOINT': 'j_spring_oauth2_geonode_login', 'MAPFISH_PRINT_ENABLED':
>>> True, 'GEOFENCE_SECURITY_ENABLED': True, 'DATASTORE': 'datastore',
>>> 'GEOGIG_ENABLED': False, 'BACKEND': 'geonode.geoserver'}}
>>> OGC_SERVER_DEFAULT_PASSWORD = u'********************'
>>> OGC_SERVER_DEFAULT_USER = 'admin' OGP_URL = '
>>> http://geodata.tufts.edu/solr/select' OPENGRAPH_ENABLED = 1
>>> PASSWORD_HASHERS = u'********************' PASSWORD_RESET_TIMEOUT_DAYS =
>>> u'********************' PINAX_NOTIFICATIONS_BACKENDS = {(0, 'email'): }
>>> PINAX_NOTIFICATIONS_GET_LANGUAGE_MODEL = at 0x7ff36c7eec08>
>>> PINAX_NOTIFICATIONS_HOOKSET = PINAX_NOTIFICATIONS_LANGUAGE_MODEL = None
>>> PINAX_NOTIFICATIONS_LOCK_WAIT_TIMEOUT = -1 PINAX_NOTIFICATIONS_QUEUE_ALL =
>>> False PREPEND_WWW = False PROJECT_NAME = 'teragrop' PROJECT_ROOT =
>>> '/usr/src/geonode/geonode' PROXY_ALLOWED_HOSTS = u'()' PROXY_URL =
>>> '/proxy/?url=' PUBLIC_GEOSERVER = {'source': {'url': '
>>> http://localhost/gs/ows', 'restUrl': '/gs/rest', 'attribution': '©
>>> http://localhost/', 'ptype': 'gxp_wmscsource', 'title': 'GeoServer -
>>> Public Layers'}} PYCSW = {'CONFIGURATION': {'manager': {'allowed_ips': '*',
>>> 'transactions': 'false'}, 'server': {'language': 'en', 'encoding': 'UTF-8',
>>> 'url': 'http://localhost/catalogue/csw', 'pretty_print': 'true',
>>> 'domaincounts': 'true', 'profiles': 'apiso,ebrim', 'maxrecords': '20',
>>> 'home': '.'}, 'metadata:main': {'identification_fees': 'None',
>>> 'provider_url': 'http://localhost/', 'identification_keywords':
>>> u'********************', 'contact_address': 'Mailing Address',
>>> 'identification_accessconstraints': 'None', 'contact_name': 'Lastname,
>>> Firstname', 'contact_stateorprovince': 'Administrative Area',
>>> 'contact_country': 'Country', 'contact_url': 'Contact URL',
>>> 'provider_name': 'Organization Name', 'contact_phone': '+xx-xxx-xxx-xxxx',
>>> 'contact_hours': 'Hours of Service', 'contact_role': 'pointOfContact',
>>> 'contact_email': 'Email Address', 'identification_title': 'GeoNode
>>> Catalogue', 'contact_postalcode': 'Zip or Postal Code', 'contact_city':
>>> 'City', 'identification_keywords_type': u'********************',
>>> 'identification_abstract': 'GeoNode is an open source platform that
>>> facilitates the creation, sharing, and collaborative use of geospatial
>>> data', 'contact_fax': '+xx-xxx-xxx-xxxx', 'contact_instructions': 'During
>>> hours of service. Off on weekends.', 'contact_position': 'Position Title'},
>>> 'metadata:inspire': {'languages_supported': 'eng,gre', 'default_language':
>>> 'eng', 'temp_extent': 'YYYY-MM-DD/YYYY-MM-DD', 'conformity_service':
>>> 'notEvaluated', 'contact_email': 'Email Address', 'date': 'YYYY-MM-DD',
>>> 'contact_name': 'Organization Name', 'gemet_keywords':
>>> u'********************', 'enabled': 'true'}}} RABBITMQ_SIGNALS_BROKER_URL =
>>> 'amqp://localhost:5672' REDIS_SIGNALS_BROKER_URL =
>>> 'redis://localhost:6379/0' RESOURCE_PUBLISHING = False REST_FRAMEWORK =
>>> {'DEFAULT_PERMISSION_CLASSES':
>>> ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly']} RISKS
>>> = {'PDF_GENERATOR': {'BIN': '/usr/bin/wkhtml2pdf', 'ARGS': [], 'NAME':
>>> 'wkhtml2pdf'}, 'DEFAULT_LOCATION': None} ROOT_URLCONF = 'teragrop.urls'
>>> S3_MEDIA_ENABLED = False S3_STATIC_ENABLED = False SEARCH_FILTERS =
>>> {'REGION_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True,
>>> 'KEYWORDS_ENABLED': u'********************', 'CATEGORIES_ENABLED': True,
>>> 'TYPE_ENABLED': True, 'T_KEYWORDS_ENABLED': u'********************',
>>> 'OWNERS_ENABLED': True, 'H_KEYWORDS_ENABLED': u'********************',
>>> 'TEXT_ENABLED': True} SECRET_KEY = u'********************'
>>> SECURE_BROWSER_XSS_FILTER = True SECURE_CONTENT_TYPE_NOSNIFF = True
>>> SECURE_HSTS_INCLUDE_SUBDOMAINS = True SECURE_HSTS_PRELOAD = False
>>> SECURE_HSTS_SECONDS = 3600 SECURE_PROXY_SSL_HEADER = None
>>> SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT =
>>> False SERVER_EMAIL = u'root at localhost' SERVICE_UPDATE_INTERVAL = 0
>>> SESSION_CACHE_ALIAS = u'default' SESSION_COOKIE_AGE = 1209600
>>> SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True
>>> SESSION_COOKIE_NAME = u'sessionid' SESSION_COOKIE_PATH = u'/'
>>> SESSION_COOKIE_SECURE = False SESSION_ENGINE =
>>> u'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE =
>>> False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False
>>> SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
>>> SETTINGS_MODULE = 'teragrop.settings' SHORT_DATETIME_FORMAT = u'm/d/Y P'
>>> SHORT_DATE_FORMAT = u'm/d/Y' SHOW_PROFILE_EMAIL = False SIGNING_BACKEND =
>>> u'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS =
>>> ['1_8.W001', 'fields.W340', 'auth.W004', 'urls.W002'] SITENAME = 'teragrop'
>>> SITEURL = 'http://localhost/' SITE_ID = 1 SKIP_PERMS_FILTER = 0
>>> SLACK_ENABLED = False SLACK_WEBHOOK_URLS = ['
>>> https://hooks.slack.com/services/T000/B000/XX'] SOCIALACCOUNT_ADAPTER =
>>> 'geonode.people.adapters.SocialAccountAdapter' SOCIALACCOUNT_AUTO_SIGNUP =
>>> False SOCIALACCOUNT_PROFILE_EXTRACTORS = {'linkedin_oauth2':
>>> 'geonode.people.profileextractors.LinkedInExtractor', 'facebook':
>>> 'geonode.people.profileextractors.FacebookExtractor'}
>>> SOCIALACCOUNT_PROVIDERS = {'linkedin_oauth2': {'SCOPE': ['r_emailaddress',
>>> 'r_basicprofile'], 'PROFILE_FIELDS': ['emailAddress', 'firstName',
>>> 'headline', 'id', 'industry', 'lastName', 'pictureUrl', 'positions',
>>> 'publicProfileUrl', 'location', 'specialties', 'summary']}, 'facebook':
>>> {'SCOPE': ['email', 'public_profile'], 'METHOD': 'oauth2', 'FIELDS': ['id',
>>> 'email', 'name', 'first_name', 'last_name', 'verified', 'locale',
>>> 'timezone', 'link', 'gender']}} SOCIAL_ORIGINS = [{'url': 'mailto:?subject={name}&body={url}',
>>> 'css_class': 'email', 'label': 'Email'}, {'url': '
>>> http://www.facebook.com/sharer.php?u={url}', 'css_class': 'fb',
>>> 'label': 'Facebook'}, {'url': '
>>> https://twitter.com/share?url={url}&hashtags={hashtags}', 'css_class':
>>> 'tw', 'label': 'Twitter'}, {'url': '
>>> https://plus.google.com/share?url={url}', 'css_class': 'gp', 'label':
>>> 'Google +'}] SRID = {'DETAIL': 'never'} STAMEN_BASEMAPS = False
>>> STATICFILES_DIRS = ['/usr/src/geonode/geonode/static',
>>> '/usr/src/teragrop/teragrop/static'] STATICFILES_FINDERS =
>>> u"('django.contrib.staticfiles.finders.FileSystemFinder',
>>> 'django.contrib.staticfiles.finders.AppDirectoriesFinder')"
>>> STATICFILES_STORAGE =
>>> u'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT =
>>> '/mnt/volumes/statics/static/' STATIC_URL = '/static/'
>>> TASTYPIE_DEFAULT_FORMATS = ['json'] TEMPLATES = [{'DIRS':
>>> ['/usr/src/teragrop/teragrop/templates',
>>> '/usr/src/geonode/geonode/templates'], 'OPTIONS': {'debug': 1,
>>> 'context_processors': ['django.template.context_processors.debug',
>>> 'django.template.context_processors.i18n', '
>>> django.template.context_processors.tz',
>>> 'django.template.context_processors.request',
>>> 'django.template.context_processors.media',
>>> 'django.template.context_processors.static',
>>> 'django.contrib.auth.context_processors.auth',
>>> 'django.contrib.messages.context_processors.messages',
>>> 'django.contrib.auth.context_processors.auth',
>>> 'geonode.context_processors.resource_urls',
>>> 'geonode.geoserver.context_processors.geoserver_urls',
>>> 'geonode.themes.context_processors.custom_theme'], 'loaders':
>>> ['django.template.loaders.filesystem.Loader',
>>> 'django.template.loaders.app_directories.Loader']}, 'NAME': 'GeoNode
>>> Project Templates', 'BACKEND':
>>> 'django.template.backends.django.DjangoTemplates'}] TEST = False
>>> TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER =
>>> 'geonode.tests.suite.runner.GeoNodeBaseSuiteDiscoverRunner'
>>> TEST_RUNNER_KEEPDB = 0 TEST_RUNNER_PARALLEL = 1 THEME_ACCOUNT_CONTACT_EMAIL
>>> = 'admin at example.com' THESAURI = [] THOUSAND_SEPARATOR = u','
>>> THUMBNAIL_GENERATOR = 'geonode.layers.utils.create_gs_thumbnail_geonode'
>>> THUMBNAIL_GENERATOR_DEFAULT_BG = '
>>> http://a.tile.openstreetmap.org/{z}/{x}/{y}.png' THUNDERFOREST_BASEMAPS
>>> = False TIME_FORMAT = u'P' TIME_INPUT_FORMATS = [u'%H:%M:%S',
>>> u'%H:%M:%S.%f', u'%H:%M'] TIME_ZONE = 'UTC' TWITTER_CARD = 1
>>> TWITTER_HASHTAGS = ['geonode'] TWITTER_SITE = '@GeoNode' UNOCONV_ENABLE = 1
>>> UNOCONV_EXECUTABLE = '/usr/bin/unoconv' UNOCONV_TIMEOUT = 30 UPLOADER =
>>> {'SUPPORTED_CRS': ['EPSG:4326', 'EPSG:3785', 'EPSG:3857', 'EPSG:32647',
>>> 'EPSG:32736'], 'BACKEND': 'geonode.importer', 'OPTIONS': {'TIME_ENABLED':
>>> 1, 'MOSAIC_ENABLED': 0, 'GEOGIG_ENABLED': 0}, 'SUPPORTED_EXT': ['.shp',
>>> '.csv', '.kml', '.kmz', '.json', '.geojson', '.tif', '.tiff', '.geotiff',
>>> '.gml', '.xml']} USER_MESSAGES_ALLOW_MULTIPLE_RECIPIENTS = False USE_ETAGS
>>> = False USE_GEOSERVER = True USE_I18N = 1 USE_L10N = 1
>>> USE_THOUSAND_SEPARATOR = False USE_TZ = True USE_WORLDMAP = 0
>>> USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False VERSION =
>>> '2.10rc4' WSGI_APPLICATION = 'teragrop.wsgi.application' X_FRAME_OPTIONS =
>>> 'DENY' YEAR_MONTH_FORMAT = u'F Y' You're seeing this error because you have
>>> DEBUG = True in your Django settings file. Change that to False, and Django
>>> will display a standard page generated by the handler for this status code.
>>> _______________________________________________
>>> geonode-devel mailing list
>>> geonode-devel at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>
>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>> mob:   +39 331 6233686
>>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>


-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190214/b54e1d92/attachment-0001.html>


More information about the geonode-devel mailing list