[GeoNode-users] Errors in listing layers/maps ver. 2.4b22

Annalisa Schiavon annalisa.schiavon at gmail.com
Tue Apr 14 01:37:49 PDT 2015


INSTALLED_APPS = INSTALLED_APPS + (
    'yournewapp',
) has resolved our problems! Thanks!!!

But geonode validate_templates still gives the same.

We have 2 dir:
1. /usr/lib/python2.7/dist-packages/, with django-autocomplete-light-1.4.14

2. /usr/local/lib/python2.7/dist-packages/

Validate_templates points to local

It seems installation and/or upgrade affect both

Thanks



2015-04-13 10:23 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:

> It is indeed strange.
> Check whether that template actually exists in your
> python2.7/site-packages(or dist-packages)/autocomplete_light.
>
> Does your installed apps (in my_geonode/settings.py) looks like this?
> INSTALLED_APPS = INSTALLED_APPS + (
>     'yournewapp',
> )
>
>
> 2015-04-13 10:07 GMT+02:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>
> :
>
>> Yes, after we've tried this command but it gives "requirement alrealy
>> satisfied"
>>
>> 2015-04-10 13:42 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>
>>> Sorry it should be pip install django-autocomplete-light==1.4.14 , as
>>> per setup.py.
>>>
>>>
>>> 2015-04-10 13:35 GMT+02:00 Annalisa Schiavon <
>>> annalisa.schiavon at gmail.com>:
>>>
>>>> pip install django-autocomplete fails.
>>>>
>>>> We tried to add ad additional django app to our geonode project, so we
>>>> followed this page:
>>>>
>>>>
>>>> http://geonode.readthedocs.org/en/latest/tutorials/devel/projects/apps.html
>>>> <http://www.google.com/url?q=http%3A%2F%2Fgeonode.readthedocs.org%2Fen%2Flatest%2Ftutorials%2Fdevel%2Fprojects%2Fapps.html&sa=D&sntz=1&usg=AFQjCNF7PFjkC14ZJlrZzGgmQo94GixP9A>
>>>>
>>>> but just after editing the <my_geonode>/settings.py file and inserting
>>>> the INSTALLED_APPS part
>>>> with all that geonode + django apps, when we looked at the /layers/
>>>> page we didn't find any layers.
>>>>
>>>> We've installed geonode templates of testing version following these
>>>> instructions: https://github.com/GeoNode/geonode-project/tree/2.4
>>>>
>>>> Any ideas?
>>>>
>>>>
>>>> 2015-04-09 9:20 GMT+02:00 Annalisa Schiavon <
>>>> annalisa.schiavon at gmail.com>:
>>>>
>>>>> Well, errors are due to our development, but validate_templates still
>>>>> gives those 2 errors ... we'll investigate.
>>>>> Thanks
>>>>>
>>>>> 2015-04-08 14:13 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>
>>>>> :
>>>>>
>>>>>> Seems that you are missing a django-autocomplete templates or the app
>>>>>> itself. You can try to fix it with pip install django-autocomplete.
>>>>>>
>>>>>> 2015-04-08 14:04 GMT+02:00 Annalisa Schiavon <
>>>>>> annalisa.schiavon at gmail.com>:
>>>>>>
>>>>>>> Here it is:
>>>>>>>
>>>>>>> Internal Server Error: /admin/layers/layer/8/
>>>>>>> [Wed Apr 08 13:53:54.142311 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> Traceback (most recent call last):
>>>>>>> [Wed Apr 08 13:53:54.142370 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py",
>>>>>>> line 137, in get_response
>>>>>>> [Wed Apr 08 13:53:54.142425 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     response = response.render()
>>>>>>> [Wed Apr 08 13:53:54.142478 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line
>>>>>>> 105, in render
>>>>>>> [Wed Apr 08 13:53:54.142683 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     self.content = self.rendered_content
>>>>>>> [Wed Apr 08 13:53:54.142738 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line
>>>>>>> 82, in rendered_content
>>>>>>> [Wed Apr 08 13:53:54.142791 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     content = template.render(context)
>>>>>>> [Wed Apr 08 13:53:54.142853 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 140, in render
>>>>>>> [Wed Apr 08 13:53:54.142908 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self._render(context)
>>>>>>> [Wed Apr 08 13:53:54.142966 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 134, in _render
>>>>>>> [Wed Apr 08 13:53:54.143136 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143158 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.143179 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.143199 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.143221 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143242 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 123, in render
>>>>>>> [Wed Apr 08 13:53:54.143262 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return compiled_parent._render(context)
>>>>>>> [Wed Apr 08 13:53:54.143282 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 134, in _render
>>>>>>> [Wed Apr 08 13:53:54.143304 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143324 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.143345 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.143365 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.143387 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143407 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 123, in render
>>>>>>> [Wed Apr 08 13:53:54.143428 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return compiled_parent._render(context)
>>>>>>> [Wed Apr 08 13:53:54.143448 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 134, in _render
>>>>>>> [Wed Apr 08 13:53:54.143479 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143499 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.143519 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.143547 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.143568 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143588 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 62, in render
>>>>>>> [Wed Apr 08 13:53:54.143608 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     result = block.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143630 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.143650 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.143670 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.143691 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143712 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 62, in render
>>>>>>> [Wed Apr 08 13:53:54.143733 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     result = block.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143753 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.143773 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.143845 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.143876 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.143896 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
>>>>>>> line 203, in render
>>>>>>> [Wed Apr 08 13:53:54.143917 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     nodelist.append(node.render(context))
>>>>>>> [Wed Apr 08 13:53:54.143937 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 155, in render
>>>>>>> [Wed Apr 08 13:53:54.144074 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.render_template(self.template, context)
>>>>>>> [Wed Apr 08 13:53:54.144231 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py",
>>>>>>> line 137, in render_template
>>>>>>> [Wed Apr 08 13:53:54.144253 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     output = template.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144281 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 140, in render
>>>>>>> [Wed Apr 08 13:53:54.144302 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self._render(context)
>>>>>>> [Wed Apr 08 13:53:54.144322 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 134, in _render
>>>>>>> [Wed Apr 08 13:53:54.144343 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144365 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.144385 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.144406 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.144427 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144448 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
>>>>>>> line 203, in render
>>>>>>> [Wed Apr 08 13:53:54.144469 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     nodelist.append(node.render(context))
>>>>>>> [Wed Apr 08 13:53:54.144489 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
>>>>>>> line 203, in render
>>>>>>> [Wed Apr 08 13:53:54.144509 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     nodelist.append(node.render(context))
>>>>>>> [Wed Apr 08 13:53:54.144538 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
>>>>>>> line 305, in render
>>>>>>> [Wed Apr 08 13:53:54.144558 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144579 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.144608 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.144629 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.144661 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144687 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
>>>>>>> line 305, in render
>>>>>>> [Wed Apr 08 13:53:54.144708 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return nodelist.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144729 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 840, in render
>>>>>>> [Wed Apr 08 13:53:54.144749 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     bit = self.render_node(node, context)
>>>>>>> [Wed Apr 08 13:53:54.144821 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 854, in render_node
>>>>>>> [Wed Apr 08 13:53:54.144850 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return node.render(context)
>>>>>>> [Wed Apr 08 13:53:54.144871 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 897, in render
>>>>>>> [Wed Apr 08 13:53:54.144892 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return render_value_in_context(output, context)
>>>>>>> [Wed Apr 08 13:53:54.144912 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line
>>>>>>> 875, in render_value_in_context
>>>>>>> [Wed Apr 08 13:53:54.144934 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     value = force_text(value)
>>>>>>> [Wed Apr 08 13:53:54.144954 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/utils/encoding.py", line
>>>>>>> 100, in force_text
>>>>>>> [Wed Apr 08 13:53:54.144975 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     s = s.__unicode__()
>>>>>>> [Wed Apr 08 13:53:54.144995 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 425,
>>>>>>> in __str__
>>>>>>> [Wed Apr 08 13:53:54.145017 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return self.as_widget()
>>>>>>> [Wed Apr 08 13:53:54.145037 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 475,
>>>>>>> in as_widget
>>>>>>> [Wed Apr 08 13:53:54.145058 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return widget.render(name, self.value(), attrs=attrs)
>>>>>>> [Wed Apr 08 13:53:54.145078 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/contrib/admin/widgets.py",
>>>>>>> line 254, in render
>>>>>>> [Wed Apr 08 13:53:54.145100 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     output = [self.widget.render(name, value, *args, **kwargs)]
>>>>>>> [Wed Apr 08 13:53:54.145120 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/autocomplete_light/widgets.py",
>>>>>>> line 133, in render
>>>>>>> [Wed Apr 08 13:53:54.145141 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     return safestring.mark_safe(render_to_string(templates, context))
>>>>>>> [Wed Apr 08 13:53:54.145161 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line
>>>>>>> 160, in render_to_string
>>>>>>> [Wed Apr 08 13:53:54.145183 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     t = select_template(template_name)
>>>>>>> [Wed Apr 08 13:53:54.145203 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>   File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line
>>>>>>> 186, in select_template
>>>>>>> [Wed Apr 08 13:53:54.145223 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>>     raise TemplateDoesNotExist(', '.join(not_found))
>>>>>>> [Wed Apr 08 13:53:54.145244 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> TemplateDoesNotExist: autocomplete_light/type/widget.html,
>>>>>>> autocomplete_light//widget.html, autocomplete_light/widget.html
>>>>>>> [Wed Apr 08 13:53:54.148382 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575] mod_wsgi (pid=1056): Exception
>>>>>>> occurred processing WSGI script
>>>>>>> '/home/nirweb_progetto/nirweb/nirweb/wsgi.py'.
>>>>>>> [Wed Apr 08 13:53:54.148460 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575] Traceback (most recent call last):
>>>>>>> [Wed Apr 08 13:53:54.148499 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 206,
>>>>>>> in __call__
>>>>>>> [Wed Apr 08 13:53:54.148554 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     response =
>>>>>>> self.get_response(request)
>>>>>>> [Wed Apr 08 13:53:54.148588 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 194,
>>>>>>> in get_response
>>>>>>> [Wed Apr 08 13:53:54.148634 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     response =
>>>>>>> self.handle_uncaught_exception(request, resolver, sys.exc_info())
>>>>>>> [Wed Apr 08 13:53:54.148666 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 236,
>>>>>>> in handle_uncaught_exception
>>>>>>> [Wed Apr 08 13:53:54.148797 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     return callback(request,
>>>>>>> **param_dict)
>>>>>>> [Wed Apr 08 13:53:54.148830 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in
>>>>>>> _wrapped_view
>>>>>>> [Wed Apr 08 13:53:54.148877 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     response = view_func(request,
>>>>>>> *args, **kwargs)
>>>>>>> [Wed Apr 08 13:53:54.148908 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 43, in
>>>>>>> server_error
>>>>>>> [Wed Apr 08 13:53:54.148958 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     template =
>>>>>>> loader.get_template(template_name)
>>>>>>> [Wed Apr 08 13:53:54.148989 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 138, in
>>>>>>> get_template
>>>>>>> [Wed Apr 08 13:53:54.149036 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     template, origin =
>>>>>>> find_template(template_name)
>>>>>>> [Wed Apr 08 13:53:54.149067 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 127, in
>>>>>>> find_template
>>>>>>> [Wed Apr 08 13:53:54.149113 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     source, display_name =
>>>>>>> loader(name, dirs)
>>>>>>> [Wed Apr 08 13:53:54.149144 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 43, in
>>>>>>> __call__
>>>>>>> [Wed Apr 08 13:53:54.149181 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     return
>>>>>>> self.load_template(template_name, template_dirs)
>>>>>>> [Wed Apr 08 13:53:54.149220 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 49, in
>>>>>>> load_template
>>>>>>> [Wed Apr 08 13:53:54.149257 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     template =
>>>>>>> get_template_from_string(source, origin, template_name)
>>>>>>> [Wed Apr 08 13:53:54.149290 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 149, in
>>>>>>> get_template_from_string
>>>>>>> [Wed Apr 08 13:53:54.149327 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     return Template(source, origin,
>>>>>>> name)
>>>>>>> [Wed Apr 08 13:53:54.149367 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 125, in
>>>>>>> __init__
>>>>>>> [Wed Apr 08 13:53:54.149406 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     self.nodelist =
>>>>>>> compile_string(template_string, origin)
>>>>>>> [Wed Apr 08 13:53:54.149443 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 153, in
>>>>>>> compile_string
>>>>>>> [Wed Apr 08 13:53:54.149484 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     return parser.parse()
>>>>>>> [Wed Apr 08 13:53:54.149524 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/base.py", line 278, in
>>>>>>> parse
>>>>>>> [Wed Apr 08 13:53:54.149561 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     compiled_result =
>>>>>>> compile_func(self, token)
>>>>>>> [Wed Apr 08 13:53:54.149593 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]   File
>>>>>>> "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
>>>>>>> 1084, in load
>>>>>>> [Wed Apr 08 13:53:54.149644 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575]     (taglib, e))
>>>>>>> [Wed Apr 08 13:53:54.149700 2015] [:error] [pid 1056:tid 2950515520]
>>>>>>> [remote 192.168.225.19:27575] TemplateSyntaxError:
>>>>>>> 'announcements_tags' is not a valid tag library: Template library
>>>>>>> announcements_tags not found, tried
>>>>>>> django.templatetags.announcements_tags,django.contrib.admin.templatetags.announcements_tags,django.contrib.staticfiles.templatetags.announcements_tags,django.contrib.humanize.templatetags.announcements_tags,avatar.templatetags.announcements_tags,geonode.base.templatetags.announcements_tags,geonode.social.templatetags.announcements_tags,geonode.upload.templatetags.announcements_tags
>>>>>>>
>>>>>>>
>>>>>>> I've launched geonode validate_templates and give me 2 errors:
>>>>>>>
>>>>>>> /usr/local/lib/python2.7/dist-packages/geonode/templates/relationships/_profile_
>>>>>>>                follow.html: TemplateSyntaxError Invalid block tag:
>>>>>>> 'if_relationship'
>>>>>>> /usr/local/lib/python2.7/dist-packages/geonode/templates/relationships/relations
>>>>>>>                hip_list.html: TemplateSyntaxError 'relationship_tags' is
>>>>>>> not a valid tag librar                y: Template library relationship_tags
>>>>>>> not found, tried django.templatetags.relat
>>>>>>>  ionship_tags,django.contrib.admin.templatetags.relationship_tags,django.contrib.
>>>>>>>
>>>>>>>  staticfiles.templatetags.relationship_tags,django.contrib.humanize.templatetags.
>>>>>>>
>>>>>>>  relationship_tags,pagination.templatetags.relationship_tags,friendlytagloader.te
>>>>>>>
>>>>>>>  mplatetags.relationship_tags,leaflet.templatetags.relationship_tags,django_exten
>>>>>>>
>>>>>>>  sions.templatetags.relationship_tags,autocomplete_light.templatetags.relationshi
>>>>>>>
>>>>>>>  p_tags,mptt.templatetags.relationship_tags,django_forms_bootstrap.templatetags.r
>>>>>>>
>>>>>>>  elationship_tags,account.templatetags.relationship_tags,avatar.templatetags.rela
>>>>>>>
>>>>>>>  tionship_tags,dialogos.templatetags.relationship_tags,agon_ratings.templatetags.
>>>>>>>
>>>>>>>  relationship_tags,announcements.templatetags.relationship_tags,actstream.templat
>>>>>>>
>>>>>>>  etags.relationship_tags,user_messages.templatetags.relationship_tags,polymorphic
>>>>>>>
>>>>>>>  .templatetags.relationship_tags,guardian.templatetags.relationship_tags,geonode.
>>>>>>>
>>>>>>>  base.templatetags.relationship_tags,geonode.social.templatetags.relationship_tag
>>>>>>>                s,geonode.upload.templatetags.relationship_tags
>>>>>>>
>>>>>>>
>>>>>>> Maybe I've to update something ....
>>>>>>>
>>>>>>> 2015-04-08 13:02 GMT+02:00 Simone Dalmasso <
>>>>>>> simone.dalmasso at gmail.com>:
>>>>>>>
>>>>>>>> Hi Annalisa, that is a generic Apache error. You can get more
>>>>>>>> information with tail -f /var/log/apache2/error.log.
>>>>>>>>
>>>>>>>> You can post here the stacktrace.
>>>>>>>>
>>>>>>>> 2015-04-08 12:23 GMT+02:00 Annalisa Schiavon <
>>>>>>>> annalisa.schiavon at gmail.com>:
>>>>>>>>
>>>>>>>>> Hi list,
>>>>>>>>> today, after a few days, I open my testing geonode but I don't
>>>>>>>>> find any layer ...
>>>>>>>>> Under admin panel there are my 8 layer, but when I select one
>>>>>>>>> receive Internal server error -> mod_wsgi (pid=1056): Exception occurred
>>>>>>>>> processing WSGI script '/home/nirweb_progetto/nirweb/nirweb/wsgi.py'
>>>>>>>>>
>>>>>>>>> That wsgi.py is of our template.
>>>>>>>>> Any ideas?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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/20150414/9ce4d531/attachment-0001.html>


More information about the geonode-users mailing list