[GeoNode-users] GeoNode Updateip Error (No module named relationships)

Jeffy John Tomarong jeffytoms at gmail.com
Wed Jul 1 02:55:20 PDT 2015


That was really Simone! I applied everything there and it somehow started
postgres..
I also managed to finally execute the updateip command at last.

However, I got a longer error (debug=true), and an error page if I access
the site url.
So here's the error (I hope you can bear with me):


DatabaseError at /

relation "request_request" does not exist
LINE 1: INSERT INTO "request_request" ("response", "method", "path",...
                    ^

Request Method:GETRequest URL:http://localhost/Django Version:1.5.1Exception
Type:DatabaseErrorException Value:

relation "request_request" does not exist
LINE 1: INSERT INTO "request_request" ("response", "method", "path",...
                    ^

Exception Location:/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py
in execute, line 54Python Executable:/usr/bin/pythonPython Version:2.7.3Python
Path:

['/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']

Server time:Wed, 1 Jul 2015 17:16:14 +0800
Traceback Switch to copy-and-paste view <http://localhost/#>

   - /usr/lib/python2.7/dist-packages/django/core/handlers/base.py in
   get_response
   1.

                      response = middleware_method(request, response)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/local/lib/python2.7/dist-packages/request/middleware.py in
   process_response
   1.

              r.from_http_request(request, response)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/local/lib/python2.7/dist-packages/request/models.py in
   from_http_request
   1.

                  self.save()

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/local/lib/python2.7/dist-packages/request/models.py in save
   1.

              super(Request, self).save(*args, **kwargs)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/models/base.py in save
   1.

                             force_update=force_update,
update_fields=update_fields)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/models/base.py in save_base
   1.

                      result = manager._insert([self], fields=fields,
return_id=update_pk, using=using, raw=raw)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/models/manager.py in _insert
   1.

              return insert_query(self.model, objs, fields, **kwargs)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/models/query.py in
   insert_query
   1.

          return query.get_compiler(using=using).execute_sql(return_id)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py in
   execute_sql
   1.

                  cursor.execute(sql, params)

      ...
   ▶ Local vars <http://localhost/#>
   - /usr/lib/python2.7/dist-packages/django/db/backends/util.py in execute
   1.

                  return self.cursor.execute(sql, params)

      ...
   ▶ Local vars <http://localhost/#>
   -
   /usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py
    in execute
   1.

                  six.reraise(utils.DatabaseError,
utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2])

      ...
   ▶ Local vars <http://localhost/#>
   -
   /usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py
    in execute
   1.

                  return self.cursor.execute(query, args)

      ...
   ▶ Local vars <http://localhost/#>

Request informationGET

No GET data
POSTVariableValuetype

'layer'

FILES

No FILES data
COOKIESVariableValuecsrftoken

'h9otIWjzzJPpzTDjHy2TmpAwfLeBnRXT'

METAVariableValuemod_wsgi.listener_port

'80'

HTTP_COOKIE

'csrftoken=h9otIWjzzJPpzTDjHy2TmpAwfLeBnRXT'

mod_wsgi.listener_host

''

SERVER_SOFTWARE

'Apache/2.2.22 (Ubuntu)'

SCRIPT_NAME

u''

mod_wsgi.handler_script

''

SERVER_SIGNATURE

'<address>Apache/2.2.22 (Ubuntu) Server at localhost Port 80</address>\n'

REQUEST_METHOD

'GET'

PATH_INFO

u'/'

SERVER_PROTOCOL

'HTTP/1.1'

QUERY_STRING

''

HTTP_USER_AGENT

'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/35.0.1916.153 Safari/537.36'

HTTP_CONNECTION

'keep-alive'

SERVER_NAME

'localhost'

REMOTE_ADDR

'127.0.0.1'

mod_wsgi.request_handler

'wsgi-script'

wsgi.url_scheme

'http'

PATH_TRANSLATED

'/var/www/geonode/wsgi/geonode.wsgi/'

SERVER_PORT

'80'

wsgi.multiprocess

True

mod_wsgi.input_chunked

'0'

SERVER_ADDR

'127.0.0.1'

DOCUMENT_ROOT

'/etc/apache2/htdocs'

mod_wsgi.process_group

'geonode'

SCRIPT_FILENAME

'/var/www/geonode/wsgi/geonode.wsgi'

SERVER_ADMIN

'webmaster at localhost'

wsgi.input

<mod_wsgi.Input object at 0x7fa31c5ab1b0>

HTTP_HOST

'localhost'

wsgi.multithread

True

mod_wsgi.callable_object

'application'

HTTP_CACHE_CONTROL

'max-age=0'

REQUEST_URI

'/'

HTTP_ACCEPT

'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'

wsgi.version

(1, 1)

GATEWAY_INTERFACE

'CGI/1.1'

wsgi.run_once

False

wsgi.errors

<mod_wsgi.Log object at 0x7fa31d89fc30>

REMOTE_PORT

'35077'

HTTP_ACCEPT_LANGUAGE

'en-US,en;q=0.8'

mod_wsgi.version

(3, 3)

mod_wsgi.application_group

'localhost|'

mod_wsgi.script_reloading

'1'

wsgi.file_wrapper

''

CSRF_COOKIE

u'h9otIWjzzJPpzTDjHy2TmpAwfLeBnRXT'

HTTP_ACCEPT_ENCODING

'gzip,deflate,sdch'

SettingsUsing settings module geonode.settingsSettingValue
ACCOUNT_USER_DISPLAY

''

STATIC_ROOT

'/var/www/geonode/static/'

GOOGLE_API_KEY

u'********************'

USE_THOUSAND_SEPARATOR

False

CSRF_COOKIE_SECURE

False

LANGUAGE_CODE

'en'

ROOT_URLCONF

'geonode.urls'

MANAGERS

()

DB_DATASTORE_NAME

''

DEFAULT_CHARSET

'utf-8'

PYCSW

{'CONFIGURATION': {'metadata:inspire': {'conformity_service': 'notEvaluated',
                                        'contact_email': 'Email Address',
                                        'contact_name': 'Organization Name',
                                        'date': 'YYYY-MM-DD',
                                        'default_language': 'eng',
                                        'enabled': 'true',
                                        'gemet_keywords': 'Utility and
governmental services',
                                        'languages_supported': 'eng,gre',
                                        'temp_extent': 'YYYY-MM-DD/YYYY-MM-DD'},
                   'metadata:main': {'contact_address': 'Mailing Address',
                                     'contact_city': 'City',
                                     'contact_country': 'Country',
                                     'contact_email': 'Email Address',
                                     'contact_fax': '+xx-xxx-xxx-xxxx',
                                     'contact_hours': 'Hours of Service',
                                     'contact_instructions': 'During
hours of service. Off on weekends.',
                                     'contact_name': 'Lastname, Firstname',
                                     'contact_phone': '+xx-xxx-xxx-xxxx',
                                     'contact_position': 'Position Title',
                                     'contact_postalcode': 'Zip or Postal Code',
                                     'contact_role': 'pointOfContact',
                                     'contact_stateorprovince':
'Administrative Area',
                                     'contact_url': 'Contact URL',
                                     'identification_abstract':
'GeoNode is an open source platform that facilitates the creation,
sharing, and collaborative use of geospatial data',
                                     'identification_accessconstraints': 'None',
                                     'identification_fees': 'None',
                                     'identification_keywords':
'sdi,catalogue,discovery,metadata,GeoNode',
                                     'identification_keywords_type': 'theme',
                                     'identification_title': 'GeoNode
Catalogue',
                                     'provider_name': 'Organization Name',
                                     'provider_url':
'http://crisp.norminet.org.ph:8000/'}}}

DEFAULT_MAP_CENTER

(0, 0)

ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS

3

DB_DATASTORE

False

ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL

None

GEOSERVER_BASE_URL

'http://crisp.norminet.org.ph:8080/geoserver/'

REGISTRATION_OPEN

False

ALLOWED_HOSTS

['crisp.norminet.org.ph', 'localhost']

OGC_SERVER

{'default': {'BACKEND': 'geonode.geoserver',
             'BACKEND_WRITE_ENABLED': True,
             'DATASTORE': 'datastore',
             'GEOGIT_DATASTORE_DIR': '',
             'GEOGIT_ENABLED': False,
             'GEONODE_SECURITY_ENABLED': True,
             'LOCATION': 'http://crisp.norminet.org.ph:8080/geoserver/',
             'MAPFISH_PRINT_ENABLED': True,
             'PASSWORD': u'********************',
             'PRINTING_ENABLED': True,
             'PRINTNG_ENABLED': True,
             'PUBLIC_LOCATION': 'http://crisp.norminet.org.ph/geoserver/',
             'USER': 'admin',
             'WMST_ENABLED': False,
             'WPS_ENABLED': False}}

MESSAGE_STORAGE

'django.contrib.messages.storage.fallback.FallbackStorage'

DATABASE_HOST

'localhost'

EMAIL_SUBJECT_PREFIX

'[Django] '

SEND_BROKEN_LINK_EMAILS

False

STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')

SESSION_CACHE_ALIAS

'default'

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_NAME

'sessionid'

DB_DATASTORE_USER

''

CSRF_COOKIE_NAME

'csrftoken'

ADMIN_FOR

()

TIME_INPUT_FORMATS

('%H:%M:%S', '%H:%M')

DATABASES

{'datastore': {'ENGINE': 'django.contrib.gis.db.backends.postgis',
               'HOST': 'localhost',
               'NAME': 'geonode',
               'OPTIONS': {},
               'PASSWORD': u'********************',
               'PORT': '5432',
               'TEST_CHARSET': None,
               'TEST_COLLATION': None,
               'TEST_MIRROR': None,
               'TEST_NAME': None,
               'TIME_ZONE': 'Asia/Manila',
               'USER': 'geonode'},
 'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': 'localhost',
             'NAME': 'geonode',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '5432',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'Asia/Manila',
             'USER': 'geonode'}}

FILE_UPLOAD_PERMISSIONS

None

ACCOUNT_TIMEZONES

[('Africa/Abidjan', 'Africa/Abidjan'),
 ('Africa/Accra', 'Africa/Accra'),
 ('Africa/Addis_Ababa', 'Africa/Addis_Ababa'),
 ('Africa/Algiers', 'Africa/Algiers'),
 ('Africa/Asmara', 'Africa/Asmara'),
 ('Africa/Asmera', 'Africa/Asmera'),
 ('Africa/Bamako', 'Africa/Bamako'),
 ('Africa/Bangui', 'Africa/Bangui'),
 ('Africa/Banjul', 'Africa/Banjul'),
 ('Africa/Bissau', 'Africa/Bissau'),
 ('Africa/Blantyre', 'Africa/Blantyre'),
 ('Africa/Brazzaville', 'Africa/Brazzaville'),
 ('Africa/Bujumbura', 'Africa/Bujumbura'),
 ('Africa/Cairo', 'Africa/Cairo'),
 ('Africa/Casablanca', 'Africa/Casablanca'),
 ('Africa/Ceuta', 'Africa/Ceuta'),
 ('Africa/Conakry', 'Africa/Conakry'),
 ('Africa/Dakar', 'Africa/Dakar'),
 ('Africa/Dar_es_Salaam', 'Africa/Dar_es_Salaam'),
 ('Africa/Djibouti', 'Africa/Djibouti'),
 ('Africa/Douala', 'Africa/Douala'),
 ('Africa/El_Aaiun', 'Africa/El_Aaiun'),
 ('Africa/Freetown', 'Africa/Freetown'),
 ('Africa/Gaborone', 'Africa/Gaborone'),
 ('Africa/Harare', 'Africa/Harare'),
 ('Africa/Johannesburg', 'Africa/Johannesburg'),
 ('Africa/Kampala', 'Africa/Kampala'),
 ('Africa/Khartoum', 'Africa/Khartoum'),
 ('Africa/Kigali', 'Africa/Kigali'),
 ('Africa/Kinshasa', 'Africa/Kinshasa'),
 ('Africa/Lagos', 'Africa/Lagos'),
 ('Africa/Libreville', 'Africa/Libreville'),
 ('Africa/Lome', 'Africa/Lome'),
 ('Africa/Luanda', 'Africa/Luanda'),
 ('Africa/Lubumbashi', 'Africa/Lubumbashi'),
 ('Africa/Lusaka', 'Africa/Lusaka'),
 ('Africa/Malabo', 'Africa/Malabo'),
 ('Africa/Maputo', 'Africa/Maputo'),
 ('Africa/Maseru', 'Africa/Maseru'),
 ('Africa/Mbabane', 'Africa/Mbabane'),
 ('Africa/Mogadishu', 'Africa/Mogadishu'),
 ('Africa/Monrovia', 'Africa/Monrovia'),
 ('Africa/Nairobi', 'Africa/Nairobi'),
 ('Africa/Ndjamena', 'Africa/Ndjamena'),
 ('Africa/Niamey', 'Africa/Niamey'),
 ('Africa/Nouakchott', 'Africa/Nouakchott'),
 ('Africa/Ouagadougou', 'Africa/Ouagadougou'),
 ('Africa/Porto-Novo', 'Africa/Porto-Novo'),
 ('Africa/Sao_Tome', 'Africa/Sao_Tome'),
 ('Africa/Timbuktu', 'Africa/Timbuktu'),
 ('Africa/Tripoli', 'Africa/Tripoli'),
 ('Africa/Tunis', 'Africa/Tunis'),
 ('Africa/Windhoek', 'Africa/Windhoek'),
 ('America/Adak', 'America/Adak'),
 ('America/Anchorage', 'America/Anchorage'),
 ('America/Anguilla', 'America/Anguilla'),
 ('America/Antigua', 'America/Antigua'),
 ('America/Araguaina', 'America/Araguaina'),
 ('America/Argentina/Buenos_Aires', 'America/Argentina/Buenos_Aires'),
 ('America/Argentina/Catamarca', 'America/Argentina/Catamarca'),
 ('America/Argentina/ComodRivadavia', 'America/Argentina/ComodRivadavia'),
 ('America/Argentina/Cordoba', 'America/Argentina/Cordoba'),
 ('America/Argentina/Jujuy', 'America/Argentina/Jujuy'),
 ('America/Argentina/La_Rioja', 'America/Argentina/La_Rioja'),
 ('America/Argentina/Mendoza', 'America/Argentina/Mendoza'),
 ('America/Argentina/Rio_Gallegos', 'America/Argentina/Rio_Gallegos'),
 ('America/Argentina/Salta', 'America/Argentina/Salta'),
 ('America/Argentina/San_Juan', 'America/Argentina/San_Juan'),
 ('America/Argentina/San_Luis', 'America/Argentina/San_Luis'),
 ('America/Argentina/Tucuman', 'America/Argentina/Tucuman'),
 ('America/Argentina/Ushuaia', 'America/Argentina/Ushuaia'),
 ('America/Aruba', 'America/Aruba'),
 ('America/Asuncion', 'America/Asuncion'),
 ('America/Atikokan', 'America/Atikokan'),
 ('America/Atka', 'America/Atka'),
 ('America/Bahia', 'America/Bahia'),
 ('America/Bahia_Banderas', 'America/Bahia_Banderas'),
 ('America/Barbados', 'America/Barbados'),
 ('America/Belem', 'America/Belem'),
 ('America/Belize', 'America/Belize'),
 ('America/Blanc-Sablon', 'America/Blanc-Sablon'),
 ('America/Boa_Vista', 'America/Boa_Vista'),
 ('America/Bogota', 'America/Bogota'),
 ('America/Boise', 'America/Boise'),
 ('America/Buenos_Aires', 'America/Buenos_Aires'),
 ('America/Cambridge_Bay', 'America/Cambridge_Bay'),
 ('America/Campo_Grande', 'America/Campo_Grande'),
 ('America/Cancun', 'America/Cancun'),
 ('America/Caracas', 'America/Caracas'),
 ('America/Catamarca', 'America/Catamarca'),
 ('America/Cayenne', 'America/Cayenne'),
 ('America/Cayman', 'America/Cayman'),
 ('America/Chicago', 'America/Chicago'),
 ('America/Chihuahua', 'America/Chihuahua'),
 ('America/Coral_Harbour', 'America/Coral_Harbour'),
 ('America/Cordoba', 'America/Cordoba'),
 ('America/Costa_Rica', 'America/Costa_Rica'),
 ('America/Cuiaba', 'America/Cuiaba'),
 ('America/Curacao', 'America/Curacao'),
 ('America/Danmarkshavn', 'America/Danmarkshavn'),
 ('America/Dawson', 'America/Dawson'),
 ('America/Dawson_Creek', 'America/Dawson_Creek'),
 ('America/Denver', 'America/Denver'),
 ('America/Detroit', 'America/Detroit'),
 ('America/Dominica', 'America/Dominica'),
 ('America/Edmonton', 'America/Edmonton'),
 ('America/Eirunepe', 'America/Eirunepe'),
 ('America/El_Salvador', 'America/El_Salvador'),
 ('America/Ensenada', 'America/Ensenada'),
 ('America/Fort_Wayne', 'America/Fort_Wayne'),
 ('America/Fortaleza', 'America/Fortaleza'),
 ('America/Glace_Bay', 'America/Glace_Bay'),
 ('America/Godthab', 'America/Godthab'),
 ('America/Goose_Bay', 'America/Goose_Bay'),
 ('America/Grand_Turk', 'America/Grand_Turk'),
 ('America/Grenada', 'America/Grenada'),
 ('America/Guadeloupe', 'America/Guadeloupe'),
 ('America/Guatemala', 'America/Guatemala'),
 ('America/Guayaquil', 'America/Guayaquil'),
 ('America/Guyana', 'America/Guyana'),
 ('America/Halifax', 'America/Halifax'),
 ('America/Havana', 'America/Havana'),
 ('America/Hermosillo', 'America/Hermosillo'),
 ('America/Indiana/Indianapolis', 'America/Indiana/Indianapolis'),
 ('America/Indiana/Knox', 'America/Indiana/Knox'),
 ('America/Indiana/Marengo', 'America/Indiana/Marengo'),
 ('America/Indiana/Petersburg', 'America/Indiana/Petersburg'),
 ('America/Indiana/Tell_City', 'America/Indiana/Tell_City'),
 ('America/Indiana/Vevay', 'America/Indiana/Vevay'),
 ('America/Indiana/Vincennes', 'America/Indiana/Vincennes'),
 ('America/Indiana/Winamac', 'America/Indiana/Winamac'),
 ('America/Indianapolis', 'America/Indianapolis'),
 ('America/Inuvik', 'America/Inuvik'),
 ('America/Iqaluit', 'America/Iqaluit'),
 ('America/Jamaica', 'America/Jamaica'),
 ('America/Jujuy', 'America/Jujuy'),
 ('America/Juneau', 'America/Juneau'),
 ('America/Kentucky/Louisville', 'America/Kentucky/Louisville'),
 ('America/Kentucky/Monticello', 'America/Kentucky/Monticello'),
 ('America/Knox_IN', 'America/Knox_IN'),
 ('America/Kralendijk', 'America/Kralendijk'),
 ('America/La_Paz', 'America/La_Paz'),
 ('America/Lima', 'America/Lima'),
 ('America/Los_Angeles', 'America/Los_Angeles'),
 ('America/Louisville', 'America/Louisville'),
 ('America/Lower_Princes', 'America/Lower_Princes'),
 ('America/Maceio', 'America/Maceio'),
 ('America/Managua', 'America/Managua'),
 ('America/Manaus', 'America/Manaus'),
 ('America/Marigot', 'America/Marigot'),
 ('America/Martinique', 'America/Martinique'),
 ('America/Matamoros', 'America/Matamoros'),
 ('America/Mazatlan', 'America/Mazatlan'),
 ('America/Mendoza', 'America/Mendoza'),
 ('America/Menominee', 'America/Menominee'),
 ('America/Merida', 'America/Merida'),
 ('America/Metlakatla', 'America/Metlakatla'),
 ('America/Mexico_City', 'America/Mexico_City'),
 ('America/Miquelon', 'America/Miquelon'),
 ('America/Moncton', 'America/Moncton'),
 ('America/Monterrey', 'America/Monterrey'),
 ('America/Montevideo', 'America/Montevideo'),
 ('America/Montreal', 'America/Montreal'),
 ('America/Montserrat', 'America/Montserrat'),
 ('America/Nassau', 'America/Nassau'),
 ('America/New_York', 'America/New_York'),
 ('America/Nipigon', 'America/Nipigon'),
 ('America/Nome', 'America/Nome'),
 ('America/Noronha', 'America/Noronha'),
 ('America/North_Dakota/Beulah', 'America/North_Dakota/Beulah'),
 ('America/North_Dakota/Center', 'America/North_Dakota/Center'),
 ('America/North_Dakota/New_Salem', 'America/North_Dakota/New_Salem'),
 ('America/Ojinaga', 'America/Ojinaga'),
 ('America/Panama', 'America/Panama'),
 ('America/Pangnirtung', 'America/Pangnirtung'),
 ('America/Paramaribo', 'America/Paramaribo'),
 ('America/Phoenix', 'America/Phoenix'),
 ('America/Port-au-Prince', 'America/Port-au-Prince'),
 ('America/Port_of_Spain', 'America/Port_of_Spain'),
 ('America/Porto_Acre', 'America/Porto_Acre'),
 ('America/Porto_Velho', 'America/Porto_Velho'),
 ('America/Puerto_Rico', 'America/Puerto_Rico'),
 ('America/Rainy_River', 'America/Rainy_River'),
 ('America/Rankin_Inlet', 'America/Rankin_Inlet'),
 ('America/Recife', 'America/Recife'),
 ('America/Regina', 'America/Regina'),
 ('America/Resolute', 'America/Resolute'),
 ('America/Rio_Branco', 'America/Rio_Branco'),
 ('America/Rosario', 'America/Rosario'),
 ('America/Santa_Isabel', 'America/Santa_Isabel'),
 ('America/Santarem', 'America/Santarem'),
 ('America/Santiago', 'America/Santiago'),
 ('America/Santo_Domingo', 'America/Santo_Domingo'),
 ('America/Sao_Paulo', 'America/Sao_Paulo'),
 ('America/Scoresbysund', 'America/Scoresbysund'),
 ('America/Shiprock', 'America/Shiprock'),
 ('America/Sitka', 'America/Sitka'),
 ('America/St_Barthelemy', 'America/St_Barthelemy'),
 ('America/St_Johns', 'America/St_Johns'),
 ('America/St_Kitts', 'America/St_Kitts'),
 ('America/St_Lucia', 'America/St_Lucia'),
 ('America/St_Thomas', 'America/St_Thomas'),
 ('America/St_Vincent', 'America/St_Vincent'),
 ('America/Swift_Current', 'America/Swift_Current'),
 ('America/Tegucigalpa', 'America/Tegucigalpa'),
 ('America/Thule', 'America/Thule'),
 ('America/Thunder_Bay', 'America/Thunder_Bay'),
 ('America/Tijuana', 'America/Tijuana'),
 ('America/Toronto', 'America/Toronto'),
 ('America/Tortola', 'America/Tortola'),
 ('America/Vancouver', 'America/Vancouver'),
 ('America/Virgin', 'America/Virgin'),
 ('America/Whitehorse', 'America/Whitehorse'),
 ('America/Winnipeg', 'America/Winnipeg'),
 ('America/Yakutat', 'America/Yakutat'),
 ('America/Yellowknife', 'America/Yellowknife'),
 ('Antarctica/Casey', 'Antarctica/Casey'),
 ('Antarctica/Davis', 'Antarctica/Davis'),
 ('Antarctica/DumontDUrville', 'Antarctica/DumontDUrville'),
 ('Antarctica/Macquarie', 'Antarctica/Macquarie'),
 ('Antarctica/Mawson', 'Antarctica/Mawson'),
 ('Antarctica/McMurdo', 'Antarctica/McMurdo'),
 ('Antarctica/Palmer', 'Antarctica/Palmer'),
 ('Antarctica/Rothera', 'Antarctica/Rothera'),
 ('Antarctica/South_Pole', 'Antarctica/South_Pole'),
 ('Antarctica/Syowa', 'Antarctica/Syowa'),
 ('Antarctica/Vostok', 'Antarctica/Vostok'),
 ('Arctic/Longyearbyen', 'Arctic/Longyearbyen'),
 ('Asia/Aden', 'Asia/Aden'),
 ('Asia/Almaty', 'Asia/Almaty'),
 ('Asia/Amman', 'Asia/Amman'),
 ('Asia/Anadyr', 'Asia/Anadyr'),
 ('Asia/Aqtau', 'Asia/Aqtau'),
 ('Asia/Aqtobe', 'Asia/Aqtobe'),
 ('Asia/Ashgabat', 'Asia/Ashgabat'),
 ('Asia/Ashkhabad', 'Asia/Ashkhabad'),
 ('Asia/Baghdad', 'Asia/Baghdad'),
 ('Asia/Bahrain', 'Asia/Bahrain'),
 ('Asia/Baku', 'Asia/Baku'),
 ('Asia/Bangkok', 'Asia/Bangkok'),
 ('Asia/Beirut', 'Asia/Beirut'),
 ('Asia/Bishkek', 'Asia/Bishkek'),
 ('Asia/Brunei', 'Asia/Brunei'),
 ('Asia/Calcutta', 'Asia/Calcutta'),
 ('Asia/Choibalsan', 'Asia/Choibalsan'),
 ('Asia/Chongqing', 'Asia/Chongqing'),
 ('Asia/Chungking', 'Asia/Chungking'),
 ('Asia/Colombo', 'Asia/Colombo'),
 ('Asia/Dacca', 'Asia/Dacca'),
 ('Asia/Damascus', 'Asia/Damascus'),
 ('Asia/Dhaka', 'Asia/Dhaka'),
 ('Asia/Dili', 'Asia/Dili'),
 ('Asia/Dubai', 'Asia/Dubai'),
 ('Asia/Dushanbe', 'Asia/Dushanbe'),
 ('Asia/Gaza', 'Asia/Gaza'),
 ('Asia/Harbin', 'Asia/Harbin'),
 ('Asia/Ho_Chi_Minh', 'Asia/Ho_Chi_Minh'),
 ('Asia/Hong_Kong', 'Asia/Hong_Kong'),
 ('Asia/Hovd', 'Asia/Hovd'),
 ('Asia/Irkutsk', 'Asia/Irkutsk'),
 ('Asia/Istanbul', 'Asia/Istanbul'),
 ('Asia/Jakarta', 'Asia/Jakarta'),
 ('Asia/Jayapura', 'Asia/Jayapura'),
 ('Asia/Jerusalem', 'Asia/Jerusalem'),
 ('Asia/Kabul', 'Asia/Kabul'),
 ('Asia/Kamchatka', 'Asia/Kamchatka'),
 ('Asia/Karachi', 'Asia/Karachi'),
 ('Asia/Kashgar', 'Asia/Kashgar'),
 ('Asia/Kathmandu', 'Asia/Kathmandu'),
 ('Asia/Katmandu', 'Asia/Katmandu'),
 ('Asia/Kolkata', 'Asia/Kolkata'),
 ('Asia/Krasnoyarsk', 'Asia/Krasnoyarsk'),
 ('Asia/Kuala_Lumpur', 'Asia/Kuala_Lumpur'),
 ('Asia/Kuching', 'Asia/Kuching'),
 ('Asia/Kuwait', 'Asia/Kuwait'),
 ('Asia/Macao', 'Asia/Macao'),
 ('Asia/Macau', 'Asia/Macau'),
 ('Asia/Magadan', 'Asia/Magadan'),
 ('Asia/Makassar', 'Asia/Makassar'),
 ('Asia/Manila', 'Asia/Manila'),
 ('Asia/Muscat', 'Asia/Muscat'),
 ('Asia/Nicosia', 'Asia/Nicosia'),
 ('Asia/Novokuznetsk', 'Asia/Novokuznetsk'),
 ('Asia/Novosibirsk', 'Asia/Novosibirsk'),
 ('Asia/Omsk', 'Asia/Omsk'),
 ('Asia/Oral', 'Asia/Oral'),
 ('Asia/Phnom_Penh', 'Asia/Phnom_Penh'),
 ('Asia/Pontianak', 'Asia/Pontianak'),
 ('Asia/Pyongyang', 'Asia/Pyongyang'),
 ('Asia/Qatar', 'Asia/Qatar'),
 ('Asia/Qyzylorda', 'Asia/Qyzylorda'),
 ('Asia/Rangoon', 'Asia/Rangoon'),
 ('Asia/Riyadh', 'Asia/Riyadh'),
 ('Asia/Saigon', 'Asia/Saigon'),
 ('Asia/Sakhalin', 'Asia/Sakhalin'),
 ('Asia/Samarkand', 'Asia/Samarkand'),
 ('Asia/Seoul', 'Asia/Seoul'),
 ('Asia/Shanghai', 'Asia/Shanghai'),
 ('Asia/Singapore', 'Asia/Singapore'),
 ('Asia/Taipei', 'Asia/Taipei'),
 ('Asia/Tashkent', 'Asia/Tashkent'),
 ('Asia/Tbilisi', 'Asia/Tbilisi'),
 ('Asia/Tehran', 'Asia/Tehran'),
 ('Asia/Tel_Aviv', 'Asia/Tel_Aviv'),
 ('Asia/Thimbu', 'Asia/Thimbu'),
 ('Asia/Thimphu', 'Asia/Thimphu'),
 ('Asia/Tokyo', 'Asia/Tokyo'),
 ('Asia/Ujung_Pandang', 'Asia/Ujung_Pandang'),
 ('Asia/Ulaanbaatar', 'Asia/Ulaanbaatar'),
 ('Asia/Ulan_Bator', 'Asia/Ulan_Bator'),
 ('Asia/Urumqi', 'Asia/Urumqi'),
 ('Asia/Vientiane', 'Asia/Vientiane'),
 ('Asia/Vladivostok', 'Asia/Vladivostok'),
 ('Asia/Yakutsk', 'Asia/Yakutsk'),
 ('Asia/Yekaterinburg', 'Asia/Yekaterinburg'),
 ('Asia/Yerevan', 'Asia/Yerevan'),
 ('Atlantic/Azores', 'Atlantic/Azores'),
 ('Atlantic/Bermuda', 'Atlantic/Bermuda'),
 ('Atlantic/Canary', 'Atlantic/Canary'),
 ('Atlantic/Cape_Verde', 'Atlantic/Cape_Verde'),
 ('Atlantic/Faeroe', 'Atlantic/Faeroe'),
 ('Atlantic/Faroe', 'Atlantic/Faroe'),
 ('Atlantic/Jan_Mayen', 'Atlantic/Jan_Mayen'),
 ('Atlantic/Madeira', 'Atlantic/Madeira'),
 ('Atlantic/Reykjavik', 'Atlantic/Reykjavik'),
 ('Atlantic/South_Georgia', 'Atlantic/South_Georgia'),
 ('Atlantic/St_Helena', 'Atlantic/St_Helena'),
 ('Atlantic/Stanley', 'Atlantic/Stanley'),
 ('Australia/ACT', 'Australia/ACT'),
 ('Australia/Adelaide', 'Australia/Adelaide'),
 ('Australia/Brisbane', 'Australia/Brisbane'),
 ('Australia/Broken_Hill', 'Australia/Broken_Hill'),
 ('Australia/Canberra', 'Australia/Canberra'),
 ('Australia/Currie', 'Australia/Currie'),
 ('Australia/Darwin', 'Australia/Darwin'),
 ('Australia/Eucla', 'Australia/Eucla'),
 ('Australia/Hobart', 'Australia/Hobart'),
 ('Australia/LHI', 'Australia/LHI'),
 ('Australia/Lindeman', 'Australia/Lindeman'),
 ('Australia/Lord_Howe', 'Australia/Lord_Howe'),
 ('Australia/Melbourne', 'Australia/Melbourne'),
 ('Australia/NSW', 'Australia/NSW'),
 ('Australia/North', 'Australia/North'),
 ('Australia/Perth', 'Australia/Perth'),
 ('Australia/Queensland', 'Australia/Queensland'),
 ('Australia/South', 'Australia/South'),
 ('Australia/Sydney', 'Australia/Sydney'),
 ('Australia/Tasmania', 'Australia/Tasmania'),
 ('Australia/Victoria', 'Australia/Victoria'),
 ('Australia/West', 'Australia/West'),
 ('Australia/Yancowinna', 'Australia/Yancowinna'),
 ('Brazil/Acre', 'Brazil/Acre'),
 ('Brazil/DeNoronha', 'Brazil/DeNoronha'),
 ('Brazil/East', 'Brazil/East'),
 ('Brazil/West', 'Brazil/West'),
 ('CET', 'CET'),
 ('CST6CDT', 'CST6CDT'),
 ('Canada/Atlantic', 'Canada/Atlantic'),
 ('Canada/Central', 'Canada/Central'),
 ('Canada/East-Saskatchewan', 'Canada/East-Saskatchewan'),
 ('Canada/Eastern', 'Canada/Eastern'),
 ('Canada/Mountain', 'Canada/Mountain'),
 ('Canada/Newfoundland', 'Canada/Newfoundland'),
 ('Canada/Pacific', 'Canada/Pacific'),
 ('Canada/Saskatchewan', 'Canada/Saskatchewan'),
 ('Canada/Yukon', 'Canada/Yukon'),
 ('Chile/Continental', 'Chile/Continental'),
 ('Chile/EasterIsland', 'Chile/EasterIsland'),
 ('Cuba', 'Cuba'),
 ('EET', 'EET'),
 ('EST', 'EST'),
 ('EST5EDT', 'EST5EDT'),
 ('Egypt', 'Egypt'),
 ('Eire', 'Eire'),
 ('Etc/GMT', 'Etc/GMT'),
 ('Etc/GMT+0', 'Etc/GMT+0'),
 ('Etc/GMT+1', 'Etc/GMT+1'),
 ('Etc/GMT+10', 'Etc/GMT+10'),
 ('Etc/GMT+11', 'Etc/GMT+11'),
 ('Etc/GMT+12', 'Etc/GMT+12'),
 ('Etc/GMT+2', 'Etc/GMT+2'),
 ('Etc/GMT+3', 'Etc/GMT+3'),
 ('Etc/GMT+4', 'Etc/GMT+4'),
 ('Etc/GMT+5', 'Etc/GMT+5'),
 ('Etc/GMT+6', 'Etc/GMT+6'),
 ('Etc/GMT+7', 'Etc/GMT+7'),
 ('Etc/GMT+8', 'Etc/GMT+8'),
 ('Etc/GMT+9', 'Etc/GMT+9'),
 ('Etc/GMT-0', 'Etc/GMT-0'),
 ('Etc/GMT-1', 'Etc/GMT-1'),
 ('Etc/GMT-10', 'Etc/GMT-10'),
 ('Etc/GMT-11', 'Etc/GMT-11'),
 ('Etc/GMT-12', 'Etc/GMT-12'),
 ('Etc/GMT-13', 'Etc/GMT-13'),
 ('Etc/GMT-14', 'Etc/GMT-14'),
 ('Etc/GMT-2', 'Etc/GMT-2'),
 ('Etc/GMT-3', 'Etc/GMT-3'),
 ('Etc/GMT-4', 'Etc/GMT-4'),
 ('Etc/GMT-5', 'Etc/GMT-5'),
 ('Etc/GMT-6', 'Etc/GMT-6'),
 ('Etc/GMT-7', 'Etc/GMT-7'),
 ('Etc/GMT-8', 'Etc/GMT-8'),
 ('Etc/GMT-9', 'Etc/GMT-9'),
 ('Etc/GMT0', 'Etc/GMT0'),
 ('Etc/Greenwich', 'Etc/Greenwich'),
 ('Etc/UCT', 'Etc/UCT'),
 ('Etc/UTC', 'Etc/UTC'),
 ('Etc/Universal', 'Etc/Universal'),
 ('Etc/Zulu', 'Etc/Zulu'),
 ('Europe/Amsterdam', 'Europe/Amsterdam'),
 ('Europe/Andorra', 'Europe/Andorra'),
 ('Europe/Athens', 'Europe/Athens'),
 ('Europe/Belfast', 'Europe/Belfast'),
 ('Europe/Belgrade', 'Europe/Belgrade'),
 ('Europe/Berlin', 'Europe/Berlin'),
 ('Europe/Bratislava', 'Europe/Bratislava'),
 ('Europe/Brussels', 'Europe/Brussels'),
 ('Europe/Bucharest', 'Europe/Bucharest'),
 ('Europe/Budapest', 'Europe/Budapest'),
 ('Europe/Chisinau', 'Europe/Chisinau'),
 ('Europe/Copenhagen', 'Europe/Copenhagen'),
 ('Europe/Dublin', 'Europe/Dublin'),
 ('Europe/Gibraltar', 'Europe/Gibraltar'),
 ('Europe/Guernsey', 'Europe/Guernsey'),
 ('Europe/Helsinki', 'Europe/Helsinki'),
 ('Europe/Isle_of_Man', 'Europe/Isle_of_Man'),
 ('Europe/Istanbul', 'Europe/Istanbul'),
 ('Europe/Jersey', 'Europe/Jersey'),
 ('Europe/Kaliningrad', 'Europe/Kaliningrad'),
 ('Europe/Kiev', 'Europe/Kiev'),
 ('Europe/Lisbon', 'Europe/Lisbon'),
 ('Europe/Ljubljana', 'Europe/Ljubljana'),
 ('Europe/London', 'Europe/London'),
 ('Europe/Luxembourg', 'Europe/Luxembourg'),
 ('Europe/Madrid', 'Europe/Madrid'),
 ('Europe/Malta', 'Europe/Malta'),
 ('Europe/Mariehamn', 'Europe/Mariehamn'),
 ('Europe/Minsk', 'Europe/Minsk'),
 ('Europe/Monaco', 'Europe/Monaco'),
 ('Europe/Moscow', 'Europe/Moscow'),
 ('Europe/Nicosia', 'Europe/Nicosia'),
 ('Europe/Oslo', 'Europe/Oslo'),
 ('Europe/Paris', 'Europe/Paris'),
 ('Europe/Podgorica', 'Europe/Podgorica'),
 ('Europe/Prague', 'Europe/Prague'),
 ('Europe/Riga', 'Europe/Riga'),
 ('Europe/Rome', 'Europe/Rome'),
 ('Europe/Samara', 'Europe/Samara'),
 ('Europe/San_Marino', 'Europe/San_Marino'),
 ('Europe/Sarajevo', 'Europe/Sarajevo'),
 ('Europe/Simferopol', 'Europe/Simferopol'),
 ('Europe/Skopje', 'Europe/Skopje'),
 ('Europe/Sofia', 'Europe/Sofia'),
 ('Europe/Stockholm', 'Europe/Stockholm'),
 ('Europe/Tallinn', 'Europe/Tallinn'),
 ('Europe/Tirane', 'Europe/Tirane'),
 ('Europe/Tiraspol', 'Europe/Tiraspol'),
 ('Europe/Uzhgorod', 'Europe/Uzhgorod'),
 ('Europe/Vaduz', 'Europe/Vaduz'),
 ('Europe/Vatican', 'Europe/Vatican'),
 ('Europe/Vienna', 'Europe/Vienna'),
 ('Europe/Vilnius', 'Europe/Vilnius'),
 ('Europe/Volgograd', 'Europe/Volgograd'),
 ('Europe/Warsaw', 'Europe/Warsaw'),
 ('Europe/Zagreb', 'Europe/Zagreb'),
 ('Europe/Zaporozhye', 'Europe/Zaporozhye'),
 ('Europe/Zurich', 'Europe/Zurich'),
 ('GB', 'GB'),
 ('GB-Eire', 'GB-Eire'),
 ('GMT', 'GMT'),
 ('GMT+0', 'GMT+0'),
 ('GMT-0', 'GMT-0'),
 ('GMT0', 'GMT0'),
 ('Greenwich', 'Greenwich'),
 ('HST', 'HST'),
 ('Hongkong', 'Hongkong'),
 ('Iceland', 'Iceland'),
 ('Indian/Antananarivo', 'Indian/Antananarivo'),
 ('Indian/Chagos', 'Indian/Chagos'),
 ('Indian/Christmas', 'Indian/Christmas'),
 ('Indian/Cocos', 'Indian/Cocos'),
 ('Indian/Comoro', 'Indian/Comoro'),
 ('Indian/Kerguelen', 'Indian/Kerguelen'),
 ('Indian/Mahe', 'Indian/Mahe'),
 ('Indian/Maldives', 'Indian/Maldives'),
 ('Indian/Mauritius', 'Indian/Mauritius'),
 ('Indian/Mayotte', 'Indian/Mayotte'),
 ('Indian/Reunion', 'Indian/Reunion'),
 ('Iran', 'Iran'),
 ('Israel', 'Israel'),
 ('Jamaica', 'Jamaica'),
 ('Japan', 'Japan'),
 ('Kwajalein', 'Kwajalein'),
 ('Libya', 'Libya'),
 ('MET', 'MET'),
 ('MST', 'MST'),
 ('MST7MDT', 'MST7MDT'),
 ('Mexico/BajaNorte', 'Mexico/BajaNorte'),
 ('Mexico/BajaSur', 'Mexico/BajaSur'),
 ('Mexico/General', 'Mexico/General'),
 ('NZ', 'NZ'),
 ('NZ-CHAT', 'NZ-CHAT'),
 ('Navajo', 'Navajo'),
 ('PRC', 'PRC'),
 ('PST8PDT', 'PST8PDT'),
 ('Pacific/Apia', 'Pacific/Apia'),
 ('Pacific/Auckland', 'Pacific/Auckland'),
 ('Pacific/Chatham', 'Pacific/Chatham'),
 ('Pacific/Chuuk', 'Pacific/Chuuk'),
 ('Pacific/Easter', 'Pacific/Easter'),
 ('Pacific/Efate', 'Pacific/Efate'),
 ('Pacific/Enderbury', 'Pacific/Enderbury'),
 ('Pacific/Fakaofo', 'Pacific/Fakaofo'),
 ('Pacific/Fiji', 'Pacific/Fiji'),
 ('Pacific/Funafuti', 'Pacific/Funafuti'),
 ('Pacific/Galapagos', 'Pacific/Galapagos'),
 ('Pacific/Gambier', 'Pacific/Gambier'),
 ('Pacific/Guadalcanal', 'Pacific/Guadalcanal'),
 ('Pacific/Guam', 'Pacific/Guam'),
 ('Pacific/Honolulu', 'Pacific/Honolulu'),
 ('Pacific/Johnston', 'Pacific/Johnston'),
 ('Pacific/Kiritimati', 'Pacific/Kiritimati'),
 ('Pacific/Kosrae', 'Pacific/Kosrae'),
 ('Pacific/Kwajalein', 'Pacific/Kwajalein'),
 ('Pacific/Majuro', 'Pacific/Majuro'),
 ('Pacific/Marquesas', 'Pacific/Marquesas'),
 ('Pacific/Midway', 'Pacific/Midway'),
 ('Pacific/Nauru', 'Pacific/Nauru'),
 ('Pacific/Niue', 'Pacific/Niue'),
 ('Pacific/Norfolk', 'Pacific/Norfolk'),
 ('Pacific/Noumea', 'Pacific/Noumea'),
 ('Pacific/Pago_Pago', 'Pacific/Pago_Pago'),
 ('Pacific/Palau', 'Pacific/Palau'),
 ('Pacific/Pitcairn', 'Pacific/Pitcairn'),
 ('Pacific/Pohnpei', 'Pacific/Pohnpei'),
 ('Pacific/Ponape', 'Pacific/Ponape'),
 ('Pacific/Port_Moresby', 'Pacific/Port_Moresby'),
 ('Pacific/Rarotonga', 'Pacific/Rarotonga'),
 ('Pacific/Saipan', 'Pacific/Saipan'),
 ('Pacific/Samoa', 'Pacific/Samoa'),
 ('Pacific/Tahiti', 'Pacific/Tahiti'),
 ('Pacific/Tarawa', 'Pacific/Tarawa'),
 ('Pacific/Tongatapu', 'Pacific/Tongatapu'),
 ('Pacific/Truk', 'Pacific/Truk'),
 ('Pacific/Wake', 'Pacific/Wake'),
 ('Pacific/Wallis', 'Pacific/Wallis'),
 ('Pacific/Yap', 'Pacific/Yap'),
 ('Poland', 'Poland'),
 ('Portugal', 'Portugal'),
 ('ROC', 'ROC'),
 ('ROK', 'ROK'),
 ('Singapore', 'Singapore'),
 ('Turkey', 'Turkey'),
 ('UCT', 'UCT'),
 ('US/Alaska', 'US/Alaska'),
 ('US/Aleutian', 'US/Aleutian'),
 ('US/Arizona', 'US/Arizona'),
 ('US/Central', 'US/Central'),
 ('US/East-Indiana', 'US/East-Indiana'),
 ('US/Eastern', 'US/Eastern'),
 ('US/Hawaii', 'US/Hawaii'),
 ('US/Indiana-Starke', 'US/Indiana-Starke'),
 ('US/Michigan', 'US/Michigan'),
 ('US/Mountain', 'US/Mountain'),
 ('US/Pacific', 'US/Pacific'),
 ('US/Pacific-New', 'US/Pacific-New'),
 ('US/Samoa', 'US/Samoa'),
 ('UTC', 'UTC'),
 ('Universal', 'Universal'),
 ('W-SU', 'W-SU'),
 ('WET', 'WET'),
 ('Zulu', 'Zulu')]

FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')

DEFAULT_CONTENT_TYPE

'text/html'

LEAFLET_CONFIG

{'TILES_URL': 'http://{s}.tile2.opencyclemap.org/transport/{z}/{x}/{y}.png
<http://tile2.opencyclemap.org/transport/%7Bz%7D/%7Bx%7D/%7By%7D.png>'}

DEBUG_STATIC

True

TEST_RUNNER

'django_nose.NoseTestSuiteRunner'

APPEND_SLASH

True

FIRST_DAY_OF_WEEK

0

DATABASE_ROUTERS

[]

DEFAULT_MAP_ZOOM

0

YEAR_MONTH_FORMAT

'F Y'

STATICFILES_STORAGE

'django.contrib.staticfiles.storage.StaticFilesStorage'

CACHES

{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}

SERVER_EMAIL

'root at localhost'

SESSION_COOKIE_PATH

'/'

USE_X_FORWARDED_HOST

False

ACCOUNT_OPEN_SIGNUP

True

CATALOGUE

{'default': {'ENGINE': 'geonode.catalogue.backends.pycsw_local',
             'URL': 'http://crisp.norminet.org.ph/catalogue/csw'}}

FILE_UPLOAD_TEMP_DIR

None

MIDDLEWARE_CLASSES

('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'request.middleware.RequestMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'pagination.middleware.PaginationMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

USE_I18N

True

THOUSAND_SEPARATOR

','

SECRET_KEY

u'********************'

DB_DATASTORE_PORT

''

LANGUAGE_COOKIE_NAME

'django_language'

ACCOUNT_REMEMBER_ME_EXPIRY

315360000

ACCOUNT_PASSWORD_CHANGE_REDIRECT_URL

u'********************'

ACCOUNT_EMAIL_UNIQUE

True

TRANSACTIONS_MANAGED

False

LOGGING_CONFIG

'django.utils.log.dictConfig'

TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')

FORCE_SCRIPT_NAME

None

WSGI_APPLICATION

None

TEMPLATE_DEBUG

True

X_FRAME_OPTIONS

'SAMEORIGIN'

AUTHENTICATION_BACKENDS

('geonode.security.auth.GranularBackend',)

ACCOUNT_EMAIL_CONFIRMATION_EMAIL

True

ACCOUNT_LOGIN_REDIRECT_URL

'/'

SIGNING_BACKEND

'django.core.signing.TimestampSigner'

SESSION_COOKIE_SECURE

False

ACCOUNT_LOGIN_URL

'account_login'

CSRF_COOKIE_DOMAIN

None

FILE_CHARSET

'utf-8'

DEBUG

True

SESSION_FILE_PATH

None

DEFAULT_FILE_STORAGE

'django.core.files.storage.FileSystemStorage'

INSTALLED_APPS

('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',
 'pagination',
 'taggit',
 'taggit_templatetags',
 'south',
 'friendlytagloader',
 'geoexplorer',
 'request',
 'pinax_theme_bootstrap_account',
 'pinax_theme_bootstrap',
 'django_forms_bootstrap',
 'account',
 'avatar',
 'dialogos',
 'agon_ratings',
 'notification',
 'announcements',
 'actstream',
 'relationships',
 'user_messages',
 'geonode.people',
 'geonode.base',
 'geonode.layers',
 'geonode.upload',
 'geonode.maps',
 'geonode.proxy',
 'geonode.security',
 'geonode.search',
 'geonode.catalogue',
 'geonode.documents')

LANGUAGES_BIDI

('he', 'ar', 'fa')

USE_L10N

False

DATABASE_ENGINE

'postgresql_psycopg2'

DB_DATASTORE_PASSWORD

u'********************'

DATABASE_NAME

'geonode'

PREPEND_WWW

False

SECURE_PROXY_SSL_HEADER

None

PASSWORD_RESET_TIMEOUT_DAYS

u'********************'

ACCOUNT_PASSWORD_RESET_REDIRECT_URL

u'********************'

SESSION_COOKIE_HTTPONLY

True

DATABASE_PORT

'5432'

DEBUG_PROPAGATE_EXCEPTIONS

False

MEDIA_URL

'/uploaded/'

MONTH_DAY_FORMAT

'F j'

ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL

'account_login'

LOGIN_URL

'/account/login/'

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

SOUTH_TESTS_MIGRATE

False

SESSION_SAVE_EVERY_REQUEST

False

TIME_FORMAT

'P'

AUTH_USER_MODEL

'auth.User'

DATE_INPUT_FORMATS

('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')

ACCOUNT_LOGOUT_REDIRECT_URL

'/'

DOCUMENTS_APP

True

EMAIL_HOST_PASSWORD

u'********************'

AUTH_PROFILE_MODULE

'people.Profile'

CACHE_MIDDLEWARE_ALIAS

'default'

DB_DATASTORE_HOST

''

NUMBER_GROUPING

0

SHORT_DATETIME_FORMAT

'm/d/Y P'

GEOSERVER_CREDENTIALS

('admin', 'geoserver')

SESSION_ENGINE

'django.contrib.sessions.backends.db'

ACCOUNT_DELETION_MARK_CALLBACK

''

CSRF_COOKIE_PATH

'/'

LOGIN_REDIRECT_URL

'/'

ABSOLUTE_URL_OVERRIDES

{'auth.user': <function get_user_url at 0x7fa31c7ab5f0>}

PROJECT_ROOT

'/usr/local/lib/python2.7/dist-packages/geonode'

ACCOUNT_DELETION_EXPUNGE_HOURS

48

GEONODE_ROOT

'/usr/local/lib/python2.7/dist-packages/geonode'

DECIMAL_SEPARATOR

'.'

CSRF_FAILURE_VIEW

'django.views.csrf.csrf_failure'

CACHE_MIDDLEWARE_KEY_PREFIX

u'********************'

NOSE_ARGS

['--nocapture', '--detailed-errors']

LOCALE_PATHS

('/usr/local/lib/python2.7/dist-packages/geonode/locale',)

TEMPLATE_STRING_IF_INVALID

''

COMMENTS_ALLOW_PROFANITIES

False

LOGOUT_URL

'/account/logout/'

MAP_BASELAYERS

[{'source': {'ptype': 'gxp_wmscsource',
             'restUrl': '/gs/rest',
             'url': 'http://crisp.norminet.org.ph/geoserver/wms'}},
 {'args': ['No background'],
  'fixed': True,
  'group': 'background',
  'source': {'ptype': 'gxp_olsource'},
  'type': 'OpenLayers.Layer',
  'visibility': False},
 {'args': ['OpenStreetMap'],
  'fixed': True,
  'group': 'background',
  'source': {'ptype': 'gxp_olsource'},
  'type': 'OpenLayers.Layer.OSM',
  'visibility': False},
 {'group': 'background',
  'name': 'osm',
  'source': {'ptype': 'gxp_mapquestsource'},
  'visibility': True},
 {'group': 'background',
  'name': 'naip',
  'source': {'ptype': 'gxp_mapquestsource'},
  'visibility': False},
 {'fixed': True,
  'group': 'background',
  'name': 'AerialWithLabels',
  'source': {'ptype': 'gxp_bingsource'},
  'visibility': False},
 {'source': {'ptype': 'gxp_mapboxsource'}}]

EMAIL_USE_TLS

True

ACCOUNT_LANGUAGES

[('en', u'English'),
 ('es', u'espa\xf1ol'),
 ('it', u'italiano'),
 ('fr', u'fran\xe7ais'),
 ('de', u'Deutsch'),
 ('el', u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'),
 ('id', u'Bahasa Indonesia'),
 ('ja', u'\u65e5\u672c\u8a9e')]

FIXTURE_DIRS

()

EMAIL_HOST

'smtp.gmail.com'

DATE_FORMAT

'N j, Y'

ACCOUNT_NOTIFY_ON_PASSWORD_CHANGE

u'********************'

MEDIA_ROOT

'/var/www/geonode/uploaded'

AGON_RATINGS_CATEGORY_CHOICES

{'layers.Layer': {'layer': 'How good is this layer?'},
 'maps.Map': {'map': 'How good is this map?'}}

DEFAULT_EXCEPTION_REPORTER_FILTER

'django.views.debug.SafeExceptionReporterFilter'

ADMINS

(('Jeff', 'jeffytoms at gmail.com'),)

FORMAT_MODULE_PATH

None

DEFAULT_FROM_EMAIL

'webmaster at localhost'

STATICFILES_DIRS

['/etc/geonode/media', '/usr/local/lib/python2.7/dist-packages/geonode/static']

GEOSERVER_URL

'http://crisp.norminet.org.ph/geoserver/'

DATETIME_FORMAT

'N j, Y, P'

TEMPLATE_DIRS

('/etc/geonode/templates',
 '/usr/local/lib/python2.7/dist-packages/geonode/templates')

ALLOWED_DOCUMENT_TYPES

['doc',
 'docx',
 'xls',
 'xslx',
 'pdf',
 'zip',
 'jpg',
 'jpeg',
 'tif',
 'tiff',
 'png',
 'gif',
 'txt']

ACCOUNT_DELETION_EXPUNGE_CALLBACK

''

SITE_ID

1

DISALLOWED_USER_AGENTS

()

ALLOWED_INCLUDE_ROOTS

()

ACCOUNT_SETTINGS_REDIRECT_URL

'account_settings'

SITEURL

'http://crisp.norminet.org.ph/'

LOGGING

{'disable_existing_loggers': True,
 'filters': {'require_debug_false': {'()':
'django.utils.log.RequireDebugFalse'}},
 'formatters': {'simple': {'format': '%(message)s'},
                'verbose': {'format': '%(levelname)s %(asctime)s
%(module)s %(process)d %(thread)d %(message)s'}},
 'handlers': {'console': {'class': 'logging.StreamHandler',
                          'formatter': 'simple',
                          'level': 'ERROR'},
              'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'},
              'null': {'class': 'django.utils.log.NullHandler',
                       'level': 'ERROR'}},
 'loggers': {'django': {'handlers': ['console'], 'level': 'ERROR'},
             'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True},
             'geonode': {'handlers': ['console'], 'level': 'ERROR'},
             'gsconfig.catalog': {'handlers': ['console'], 'level': 'ERROR'},
             'owslib': {'handlers': ['console'], 'level': 'ERROR'},
             'pycsw': {'handlers': ['console'], 'level': 'ERROR'},
             'south': {'handlers': ['console'], 'level': 'ERROR'}},
 'version': 1}

SHORT_DATE_FORMAT

'm/d/Y'

DATABASE_USER

'geonode'

DB_DATASTORE_DATABASE

''

ACCOUNT_SIGNUP_REDIRECT_URL

'/'

SITENAME

'GeoNode'

IGNORABLE_404_URLS

()

TIME_ZONE

'Asia/Manila'

SOUTH_MIGRATION_MODULES

{'avatar': 'geonode.migrations.avatar'}

FILE_UPLOAD_MAX_MEMORY_SIZE

2621440

DB_DATASTORE_TYPE

''

EMAIL_BACKEND

'django.core.mail.backends.smtp.EmailBackend'

DEFAULT_TABLESPACE

''

TEMPLATE_CONTEXT_PROCESSORS

('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.debug',
 'django.core.context_processors.i18n',
 'django.core.context_processors.tz',
 'django.core.context_processors.media',
 'django.core.context_processors.static',
 'django.core.context_processors.request',
 'django.contrib.messages.context_processors.messages',
 'account.context_processors.account',
 'geonode.context_processors.resource_urls')

SESSION_COOKIE_AGE

1209600

SETTINGS_MODULE

'geonode.settings'

USE_ETAGS

False

LANGUAGES

(('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'),
 ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe4\xba\xba'))

DEFAULT_INDEX_TABLESPACE

''

INTERNAL_IPS

()

STATIC_URL

'/static/'

EMAIL_PORT

587

DEFAULT_TOPICCATEGORY

'location'

USE_TZ

False

DEFAULT_SEARCH_SIZE

10

PASSWORD_HASHERS

u'********************'

ACTSTREAM_SETTINGS

{'FETCH_RELATIONS': True,
 'GFK_FETCH_DEPTH': 1,
 'MODELS': ('auth.user', 'layers.layer', 'maps.map'),
 'USE_JSONFIELD': True,
 'USE_PREFETCH': True}

CACHE_MIDDLEWARE_SECONDS

600

ACCOUNT_CREATE_ON_SAVE

True

DATETIME_INPUT_FORMATS

('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M:%S.%f',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')

ACCOUNT_EMAIL_CONFIRMATION_REQUIRED

False

DATABASE_PASSWORD

u'********************'

PROFANITIES_LIST

u'********************'

EMAIL_HOST_USER

'jeffytoms at gmail.com'

MAX_DOCUMENT_SIZE

10

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 500
page.

On Wed, Jul 1, 2015 at 4:50 PM, Jeffy John Tomarong <jeffytoms at gmail.com>
 wrote:

>  Restarting PostgreSQL 9.1 database server
>     * The PostgreSQL server failed to start. Please check the log output:
> 2015-07-01 16:49:11 PHT LOG:  database system was interrupted; last known
> up at 2015-05-27 23:25:59 PHT
> 2015-07-01 16:49:11 PHT FATAL:  could not open file
> "/etc/ssl/certs/ssl-cert-snakeoil.pem": Permission denied
> 2015-07-01 16:49:11 PHT LOG:  startup process (PID 5730) exited with exit
> code 1
> 2015-07-01 16:49:11 PHT LOG:  aborting startup due to startup process
> failure
>
>  [fail]
>
>
> On Wed, Jul 1, 2015 at 3:40 PM, Jeffy John Tomarong <jeffytoms at gmail.com>
>  wrote:
>
>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>> logging handler: adding implicit debug-false-only filter. See
>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>   DeprecationWarning)
>>
>> OperationalError: could not connect to server: Connection refused
>> Is the server running on host "localhost" (127.0.0.1) and accepting
>> TCP/IP connections on port 5432?
>>
>>
>> On Wed, Jul 1, 2015 at 3:15 PM, Jeffy John Tomarong <jeffytoms at gmail.com>
>>  wrote:
>>
>>> Replacing SITEURL in /etc/geonode/local_settings.py
>>> Adding entry for local ip in
>>> /usr/share/geoserver/data//printing/config.yaml
>>>   IP was already added to the printing whitelist.
>>> Replacing ALLOWED_HOSTS in /etc/geonode/local_settings.py
>>>  * Restarting web server apache2
>>>        apache2: Could not reliably determine the server's fully qualified
>>> domain name, using 127.0.1.1 for ServerName
>>>  ... waiting .apache2: Could not reliably determine the server's fully
>>> qualified domain name, using 127.0.1.1 for ServerName
>>>
>>>  [ OK ]
>>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>>> logging handler: adding implicit debug-false-only filter. See
>>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>>   DeprecationWarning)
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/bin/django-admin", line 5, in <module>
>>>     management.execute_from_command_line()
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 453, in execute_from_command_line
>>>     utility.execute()
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 392, in execute
>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 272, in fetch_command
>>>     klass = load_command_class(app_name, subcommand)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 77, in load_command_class
>>>     module = import_module('%s.management.commands.%s' % (app_name,
>>> name))
>>>   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py",
>>> line 35, in import_module
>>>     __import__(name)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/management/commands/updatelayers.py",
>>> line 23, in <module>
>>>     from geonode.geoserver.helpers import gs_slurp
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line
>>> 31, in <module>
>>>     from geonode.utils import _user, _password, ogc_server_settings
>>>   File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py", line
>>> 36, in <module>
>>>     from geonode.security.enumerations import AUTHENTICATED_USERS,
>>> ANONYMOUS_USERS, INVALID_PERMISSION_MESSAGE
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/security/enumerations.py",
>>> line 28, in <module>
>>>     ANONYMOUS_USERS: _('Anonymous Users'),
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py",
>>> line 71, in ugettext
>>>     return _trans.ugettext(message)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 276, in ugettext
>>>     return do_translate(message, 'ugettext')
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 258, in do_translate
>>>     _default = translation(settings.LANGUAGE_CODE)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 172, in translation
>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 154, in _fetch
>>>     app = import_module(appname)
>>>   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py",
>>> line 35, in import_module
>>>     __import__(name)
>>> ImportError: No module named relationships
>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo pico
>>> local_settings.py
>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo pico
>>> settings.py
>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo pip
>>> install -e.
>>> [sudo] password for jjqt:
>>> --editable=. should be formatted with svn+URL, git+URL, hg+URL or bzr+URL
>>> Storing complete log in /home/jjqt/.pip/pip.log
>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo
>>> geonode-updateip crisp.norminet.org.ph
>>> Replacing SITEURL in /etc/geonode/local_settings.py
>>> Adding entry for local ip in
>>> /usr/share/geoserver/data//printing/config.yaml
>>>   IP was already added to the printing whitelist.
>>> Replacing ALLOWED_HOSTS in /etc/geonode/local_settings.py
>>>  * Restarting web server apache2
>>>        apache2: Could not reliably determine the server's fully qualified
>>> domain name, using 127.0.1.1 for ServerName
>>>  ... waiting .apache2: Could not reliably determine the server's fully
>>> qualified domain name, using 127.0.1.1 for ServerName
>>>
>>>  [ OK ]
>>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>>> logging handler: adding implicit debug-false-only filter. See
>>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>>   DeprecationWarning)
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/bin/django-admin", line 5, in <module>
>>>     management.execute_from_command_line()
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 453, in execute_from_command_line
>>>     utility.execute()
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 392, in execute
>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 272, in fetch_command
>>>     klass = load_command_class(app_name, subcommand)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>> 77, in load_command_class
>>>     module = import_module('%s.management.commands.%s' % (app_name,
>>> name))
>>>   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py",
>>> line 35, in import_module
>>>     __import__(name)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/management/commands/updatelayers.py",
>>> line 23, in <module>
>>>     from geonode.geoserver.helpers import gs_slurp
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line
>>> 31, in <module>
>>>     from geonode.utils import _user, _password, ogc_server_settings
>>>   File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py", line
>>> 36, in <module>
>>>     from geonode.security.enumerations import AUTHENTICATED_USERS,
>>> ANONYMOUS_USERS, INVALID_PERMISSION_MESSAGE
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/geonode/security/enumerations.py",
>>> line 28, in <module>
>>>     ANONYMOUS_USERS: _('Anonymous Users'),
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py",
>>> line 71, in ugettext
>>>     return _trans.ugettext(message)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 276, in ugettext
>>>     return do_translate(message, 'ugettext')
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 258, in do_translate
>>>     _default = translation(settings.LANGUAGE_CODE)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 172, in translation
>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>   File
>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>> line 154, in _fetch
>>>     app = import_module(appname)
>>>   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py",
>>> line 35, in import_module
>>>     __import__(name)
>>> ImportError: No module named relationships
>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ pip
>>> install relationships
>>> Downloading/unpacking relationships
>>> Exception:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126,
>>> in main
>>>     self.run(options, args)
>>>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
>>> 223, in run
>>>     requirement_set.prepare_files(finder,
>>> force_root_egg_info=self.bundle, bundle=self.bundle)
>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 942, in
>>> prepare_files
>>>     location = req_to_install.build_location(self.build_dir, not
>>> self.is_download)
>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 144, in
>>> build_location
>>>     _make_build_dir(build_dir)
>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1185, in
>>> _make_build_dir
>>>     os.makedirs(build_dir)
>>>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>>>     mkdir(name, mode)
>>> OSError: [Errno 13] Permission denied:
>>> '/usr/local/lib/python2.7/dist-packages/geonode/build'
>>>
>>> Storing complete log in /home/jjqt/.pip/pip.log
>>> Traceback (most recent call last):
>>>   File "/usr/bin/pip", line 9, in <module>
>>>     load_entry_point('pip==1.0', 'console_scripts', 'pip')()
>>>   File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 116, in
>>> main
>>>     return command.main(initial_args, args[1:], options)
>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 147,
>>> in main
>>>     log_fp = open_logfile(log_fn, 'w')
>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 176,
>>> in open_logfile
>>>     log_fp = open(filename, mode)
>>> IOError: [Errno 13] Permission denied: '/home/jjqt/.pip/pip.log'
>>>
>>>
>>
>


On Wed, Jul 1, 2015 at 4:55 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Take a look at this thread if it helps
> https://wiki.postgresql.org/wiki/May_2015_Fsync_Permissions_Bug
>
> 2015-07-01 10:52 GMT+02:00 Jeffy John Tomarong <jeffytoms at gmail.com>:
>
>> Hi Simone,
>>
>> I got this error when I restarted postgresql and it's quite persistent:
>>
>>  Restarting PostgreSQL 9.1 database server
>>       * The PostgreSQL server failed to start. Please check the log output:
>> 2015-07-01 16:49:11 PHT LOG:  database system was interrupted; last known
>> up at 2015-05-27 23:25:59 PHT
>> 2015-07-01 16:49:11 PHT FATAL:  could not open file
>> "/etc/ssl/certs/ssl-cert-snakeoil.pem": Permission denied
>> 2015-07-01 16:49:11 PHT LOG:  startup process (PID 5730) exited with exit
>> code 1
>> 2015-07-01 16:49:11 PHT LOG:  aborting startup due to startup process
>> failure
>>
>>  [fail]
>>
>> On Wed, Jul 1, 2015 at 4:11 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> There's no way to restore, but you can add back your db configuration.
>>> Check whether the local_settings.py file contains the correct db connection
>>> parameters and that postgres is up and running.
>>>
>>> 2015-07-01 10:08 GMT+02:00 Jeffy John Tomarong <jeffytoms at gmail.com>:
>>>
>>>> Nope we dont have a custom configuration. After I installed geonode,
>>>> all I editted were on the ipaddress part or the site url. I did not touch
>>>> the DB config in the local_settings.py ..
>>>>
>>>> Or is there a way to restore back the local_settings.py, say restore it
>>>> back to two days ago? Because I'm afraid I might have overwritten the
>>>> local_settings.py with the old backup file of local_settings.py the moment
>>>> it got the internal server error..
>>>>
>>>> Thank you Simone!
>>>>
>>>> On Wed, Jul 1, 2015 at 3:54 PM, Simone Dalmasso <
>>>> simone.dalmasso at gmail.com> wrote:
>>>>
>>>>> That is because it can't connect to postgresql. Do you have some kind
>>>>> of custom configuration?
>>>>> That command uses /etc/geonode/local_settings.py to get the db
>>>>> configuration
>>>>>
>>>>> 2015-07-01 9:43 GMT+02:00 Jeffy John Tomarong <jeffytoms at gmail.com>:
>>>>>
>>>>>> Hi Simone,
>>>>>>
>>>>>> It did help! Thank you very much for your quick response.. I also did
>>>>>> pip install django-request after that.
>>>>>>
>>>>>> However, when I issued updateip again, I got this:
>>>>>>
>>>>>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>>>>>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>>>>>> logging handler: adding implicit debug-false-only filter. See
>>>>>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>>>>>   DeprecationWarning)
>>>>>>
>>>>>> OperationalError: could not connect to server: Connection refused
>>>>>> Is the server running on host "localhost" (127.0.0.1) and accepting
>>>>>> TCP/IP connections on port 5432?
>>>>>>
>>>>>> Hmm.. ??
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 1, 2015 at 3:31 PM, Simone Dalmasso <
>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>
>>>>>>> Hi, I see you are using geonode 2.0
>>>>>>>
>>>>>>> the missing package should be django-relationships and since your
>>>>>>> geonode is installed systemwide you have to use sudo so:
>>>>>>> $ sudo pip install  django-relationships
>>>>>>>
>>>>>>> Hope this helps
>>>>>>>
>>>>>>> 2015-07-01 9:23 GMT+02:00 Jeffy John Tomarong <jeffytoms at gmail.com>:
>>>>>>>
>>>>>>>> Hi Good Fellas!
>>>>>>>>
>>>>>>>> Our GeoNode instance was running well in the previous months. But
>>>>>>>> now, it got Internal Server Error 500.
>>>>>>>> What I did was to update the IP of geonode (which is just the same
>>>>>>>> anyway), and it caused me this error:I also tried "pip install
>>>>>>>> relationship" since it displayed there "Error: No Module named
>>>>>>>> relationships". But it caused another set of error. GeoNode has been
>>>>>>>> running well in the last months, I do not know what happened.
>>>>>>>>
>>>>>>>> I need your help guys on this. I'm at the end of my wits.
>>>>>>>>
>>>>>>>> Will be very much appreciated. Thank you!
>>>>>>>>
>>>>>>>> Here's the error message:
>>>>>>>>
>>>>>>>> Replacing SITEURL in /etc/geonode/local_settings.py
>>>>>>>> Adding entry for local ip in
>>>>>>>> /usr/share/geoserver/data//printing/config.yaml
>>>>>>>>   IP was already added to the printing whitelist.
>>>>>>>> Replacing ALLOWED_HOSTS in /etc/geonode/local_settings.py
>>>>>>>>  * Restarting web server apache2
>>>>>>>>              apache2: Could not reliably determine the server's fully
>>>>>>>> qualified domain name, using 127.0.1.1 for ServerName
>>>>>>>>  ... waiting .apache2: Could not reliably determine the server's
>>>>>>>> fully qualified domain name, using 127.0.1.1 for ServerName
>>>>>>>>
>>>>>>>>      [ OK ]
>>>>>>>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>>>>>>>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>>>>>>>> logging handler: adding implicit debug-false-only filter. See
>>>>>>>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>>>>>>>   DeprecationWarning)
>>>>>>>>
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/bin/django-admin", line 5, in <module>
>>>>>>>>     management.execute_from_command_line()
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 453, in execute_from_command_line
>>>>>>>>     utility.execute()
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 392, in execute
>>>>>>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 272, in fetch_command
>>>>>>>>     klass = load_command_class(app_name, subcommand)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 77, in load_command_class
>>>>>>>>     module = import_module('%s.management.commands.%s' % (app_name,
>>>>>>>> name))
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
>>>>>>>> import_module
>>>>>>>>     __import__(name)
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/management/commands/updatelayers.py",
>>>>>>>> line 23, in <module>
>>>>>>>>     from geonode.geoserver.helpers import gs_slurp
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line
>>>>>>>> 31, in <module>
>>>>>>>>     from geonode.utils import _user, _password, ogc_server_settings
>>>>>>>>   File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py",
>>>>>>>> line 36, in <module>
>>>>>>>>     from geonode.security.enumerations import AUTHENTICATED_USERS,
>>>>>>>> ANONYMOUS_USERS, INVALID_PERMISSION_MESSAGE
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/security/enumerations.py",
>>>>>>>> line 28, in <module>
>>>>>>>>     ANONYMOUS_USERS: _('Anonymous Users'),
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py",
>>>>>>>> line 71, in ugettext
>>>>>>>>     return _trans.ugettext(message)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 276, in ugettext
>>>>>>>>     return do_translate(message, 'ugettext')
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 258, in do_translate
>>>>>>>>     _default = translation(settings.LANGUAGE_CODE)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 172, in translation
>>>>>>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 154, in _fetch
>>>>>>>>     app = import_module(appname)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
>>>>>>>> import_module
>>>>>>>>     __import__(name)
>>>>>>>> ImportError: No module named relationships
>>>>>>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo
>>>>>>>> pico local_settings.py
>>>>>>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo
>>>>>>>> pico settings.py
>>>>>>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo
>>>>>>>> pip install -e.
>>>>>>>> [sudo] password for jjqt:
>>>>>>>> --editable=. should be formatted with svn+URL, git+URL, hg+URL or
>>>>>>>> bzr+URL
>>>>>>>> Storing complete log in /home/jjqt/.pip/pip.log
>>>>>>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ sudo
>>>>>>>> geonode-updateipcrisp.norminet.org.ph
>>>>>>>> Replacing SITEURL in /etc/geonode/local_settings.py
>>>>>>>> Adding entry for local ip in
>>>>>>>> /usr/share/geoserver/data//printing/config.yaml
>>>>>>>>   IP was already added to the printing whitelist.
>>>>>>>> Replacing ALLOWED_HOSTS in /etc/geonode/local_settings.py
>>>>>>>>  * Restarting web server apache2
>>>>>>>>              apache2: Could not reliably determine the server's fully
>>>>>>>> qualified domain name, using 127.0.1.1 for ServerName
>>>>>>>>  ... waiting .apache2: Could not reliably determine the server's
>>>>>>>> fully qualified domain name, using 127.0.1.1 for ServerName
>>>>>>>>
>>>>>>>>      [ OK ]
>>>>>>>> /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221:
>>>>>>>> DeprecationWarning: You have no filters defined on the 'mail_admins'
>>>>>>>> logging handler: adding implicit debug-false-only filter. See
>>>>>>>> http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged
>>>>>>>>   DeprecationWarning)
>>>>>>>>
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/bin/django-admin", line 5, in <module>
>>>>>>>>     management.execute_from_command_line()
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 453, in execute_from_command_line
>>>>>>>>     utility.execute()
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 392, in execute
>>>>>>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 272, in fetch_command
>>>>>>>>     klass = load_command_class(app_name, subcommand)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
>>>>>>>> 77, in load_command_class
>>>>>>>>     module = import_module('%s.management.commands.%s' % (app_name,
>>>>>>>> name))
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
>>>>>>>> import_module
>>>>>>>>     __import__(name)
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/management/commands/updatelayers.py",
>>>>>>>> line 23, in <module>
>>>>>>>>     from geonode.geoserver.helpers import gs_slurp
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line
>>>>>>>> 31, in <module>
>>>>>>>>     from geonode.utils import _user, _password, ogc_server_settings
>>>>>>>>   File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py",
>>>>>>>> line 36, in <module>
>>>>>>>>     from geonode.security.enumerations import AUTHENTICATED_USERS,
>>>>>>>> ANONYMOUS_USERS, INVALID_PERMISSION_MESSAGE
>>>>>>>>   File
>>>>>>>> "/usr/local/lib/python2.7/dist-packages/geonode/security/enumerations.py",
>>>>>>>> line 28, in <module>
>>>>>>>>     ANONYMOUS_USERS: _('Anonymous Users'),
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py",
>>>>>>>> line 71, in ugettext
>>>>>>>>     return _trans.ugettext(message)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 276, in ugettext
>>>>>>>>     return do_translate(message, 'ugettext')
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 258, in do_translate
>>>>>>>>     _default = translation(settings.LANGUAGE_CODE)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 172, in translation
>>>>>>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>>>>> line 154, in _fetch
>>>>>>>>     app = import_module(appname)
>>>>>>>>   File
>>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
>>>>>>>> import_module
>>>>>>>>     __import__(name)
>>>>>>>> ImportError: No module named relationships
>>>>>>>> jjqt at GeoNode:/usr/local/lib/python2.7/dist-packages/geonode$ pip
>>>>>>>> install relationships
>>>>>>>> Downloading/unpacking relationships
>>>>>>>> Exception:
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
>>>>>>>> 126, in main
>>>>>>>>     self.run(options, args)
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py",
>>>>>>>> line 223, in run
>>>>>>>>     requirement_set.prepare_files(finder,
>>>>>>>> force_root_egg_info=self.bundle, bundle=self.bundle)
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 942, in
>>>>>>>> prepare_files
>>>>>>>>     location = req_to_install.build_location(self.build_dir, not
>>>>>>>> self.is_download)
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 144, in
>>>>>>>> build_location
>>>>>>>>     _make_build_dir(build_dir)
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1185, in
>>>>>>>> _make_build_dir
>>>>>>>>     os.makedirs(build_dir)
>>>>>>>>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>>>>>>>>     mkdir(name, mode)
>>>>>>>> OSError: [Errno 13] Permission denied:
>>>>>>>> '/usr/local/lib/python2.7/dist-packages/geonode/build'
>>>>>>>>
>>>>>>>> Storing complete log in /home/jjqt/.pip/pip.log
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/bin/pip", line 9, in <module>
>>>>>>>>     load_entry_point('pip==1.0', 'console_scripts', 'pip')()
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line
>>>>>>>> 116, in main
>>>>>>>>     return command.main(initial_args, args[1:], options)
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
>>>>>>>> 147, in main
>>>>>>>>     log_fp = open_logfile(log_fn, 'w')
>>>>>>>>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
>>>>>>>> 176, in open_logfile
>>>>>>>>     log_fp = open(filename, mode)
>>>>>>>> IOError: [Errno 13] Permission denied: '/home/jjqt/.pip/pip.log'
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> geonode-users mailing list
>>>>>>>> geonode-users at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Simone
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>
>
> --
> Simone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150701/0e377e67/attachment-0001.html>


More information about the geonode-users mailing list