[GeoNode-users] python manage.py Error

Ariel Neri ariel.neriw at gmail.com
Tue Jul 11 07:57:31 PDT 2017


Hi, I´m running GeoNode 2.6 in ubuntu server 16.04. I´m getting the
following errors when running updatelayers:

geonode at geonode:~/my_geonode$ python manage.py updatelayers
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File
"/home/geonode/.local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 363, in execute_from_command_line
    utility.execute()
  File
"/home/geonode/.local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 337, in execute
    django.setup()
  File
"/home/geonode/.local/lib/python2.7/site-packages/django/__init__.py", line
22, in setup
    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
  File
"/home/geonode/.local/lib/python2.7/site-packages/django/utils/log.py",
line 75, in configure_logging
    logging_config_func(logging_settings)
  File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
    dictConfigClass(config).configure()
  File "/usr/lib/python2.7/logging/config.py", line 576, in configure
    '%r: %s' % (name, e))
ValueError: Unable to configure handler 'null': Cannot resolve
'django.utils.log.NullHandler': No module named NullHandler

I have connected geoserver w a Postgis database, and it worked fine when i
had only those layers. Then I loaded new layers via GeoNode web, and the
command stopped working.
 "Collectstatic" command is throwing the same error.
I did not change LOGGING in settings.py. and did not override in
local_settings.py
I did changes according to this
http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html
.
I´m not a programmer so please, take that in account on your suggestions or
answers. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170711/550c0509/attachment.html>


More information about the geonode-users mailing list