[GeoNode-users] python manage.py Error

George Petrakis gkpetrak at gmail.com
Wed Jul 12 13:56:39 PDT 2017


I'm still using geonode 2.4 in Ubuntu 16.04 and my django's version is
1.6.11. In geonode 2.6, django's version should be 1.8.7 according to this
file: https://github.com/GeoNode/geonode/blob/2.6.x/requirements.txt#L1

George

2017-07-12 17:06 GMT+03:00 Ariel Neri <ariel.neriw at gmail.com>:

> Thanks George, I saw that before, but since i´m not  a programmer and not
> using the same version as the linked issue, i´m afraid to screw it up worse.
> But i bleieve it´s related to django version, as you said.
> Is GeoNode 2.6 using DJango 1.11.3? I want to make sure i didn´t change
> version.
> Thanks!
>
> 2017-07-12 6:04 GMT-03:00 George Petrakis <gkpetrak at gmail.com>:
>
>> Check this conversation. It could help. https://github.com/translate/p
>> ootle/issues/4537
>>
>> George
>>
>> 2017-07-11 20:21 GMT+03:00 Ariel Neri <ariel.neriw at gmail.com>:
>>
>>> I followed the quick install: http://docs.geonode.o
>>> rg/en/master/tutorials/install_and_admin/quick_install.html
>>>
>>> I also tried to install "django-debug-toolbar" according to this link:
>>> link: https://geonode.readthedocs.io/en/2.0/tutorials/admin/
>>> debugging.html
>>> but since it was throwing an internal server error, I removed the
>>> changes done in local_settings.py back to original. Maybe that was a bad
>>> move.
>>>
>>>  Django version 1.11.3   (checked w  print(django.get_version())
>>>
>>> 2017-07-11 12:59 GMT-03:00 George Petrakis <gkpetrak at gmail.com>:
>>>
>>>> Hi Ariel,
>>>> Maybe this issue is related with your Django version. Which guide did
>>>> you follow to install GeoNode ?
>>>>
>>>> George
>>>>
>>>> 2017-07-11 17:57 GMT+03:00 Ariel Neri <ariel.neriw at gmail.com>:
>>>>
>>>>> 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/e
>>>>> n/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!
>>>>>
>>>>> _______________________________________________
>>>>> geonode-users mailing list
>>>>> geonode-users at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Πετράκης Γεώργιος
>>>> Τοπογράφος Μηχανικός, Msc
>>>> Τηλ: 2810-288363
>>>> Κιν: 6984871889
>>>>
>>>
>>>
>>
>>
>> --
>> Πετράκης Γεώργιος
>> Τοπογράφος Μηχανικός, Msc
>> Τηλ: 2810-288363
>> Κιν: 6984871889
>>
>
>


-- 
Πετράκης Γεώργιος
Τοπογράφος Μηχανικός, Msc
Τηλ: 2810-288363
Κιν: 6984871889
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170712/0bdcf7f2/attachment.html>


More information about the geonode-users mailing list