[GeoNode-users] Error Page when Accessing People Tab and Cannot Add User
Jeffy John Tomarong
jeffytoms at gmail.com
Tue Aug 11 12:00:55 PDT 2020
Here is the error:
VariableDoesNotExist at /people/
Failed lookup for key [user] in
u'<geonode.search.normalizers.OwnerNormalizer instance at
0x7f01bc094f38>'
Request Method: GET
Request URL: http://crisp.norminet.org.ph/people/
Django Version: 1.5.1
Exception Type: VariableDoesNotExist
Exception Value:
Failed lookup for key [user] in
u'<geonode.search.normalizers.OwnerNormalizer instance at
0x7f01bc094f38>'
Exception Location: /usr/lib/python2.7/dist-packages/django/template/base.py
in _resolve_lookup, line 771
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python 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',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
Server time: Wed, 12 Aug 2020 02:57:52 +0800
Error during template rendering
In template
/usr/local/lib/python2.7/dist-packages/geonode/templates/relationships/_profile_follow.html,
error at line *4*
(Could not get exception message)
1 {% load friendly_loader %}
2 {% friendly_load relationship_tags %}
3
4 {% if_relationship request.user profile.user "following" %}
5 {# they are following them, so show a "remove" url #}
6 <a href="{{ profile.user|remove_relationship_url:"following" }}"
class="btn btn-mini" type="button">Unfollow</a>
7 {% else %}
8 {# they are not following them, so show a link to start following #}
9 <a href="{{ profile.user|add_relationship_url:"following" }}" class="btn
btn-mini" type="button">Follow</a>
10 {% endif_relationship %}
11
12 {% if_relationship request.user profile.user "blocking" %}
13 {# they are blocking them, so show a "remove" url #}
14 <a href="{{ profile.user|remove_relationship_url:"blocking" }}"
class="btn btn-mini" type="button">Unblock</a>
On Tue, Aug 11, 2020 at 3:03 PM Jeffy John Tomarong <jeffytoms at gmail.com>
wrote:
> Greetings everyone!
>
> I hope each one of you are doing well these times.
>
> I am using Geonode version 2.0c1. I know it's an old one but I haven't
> updated it since the project ended back then. However, it is still running
> up to this day and it will be used again for another mapping activity.
> Everything seems to be working fine. I can upload layers and do maps. I can
> also access the admin panel. But I am really wondering about the error page
> when I click the People tab. I cannot also add new users for this mapping
> activity.
>
> I really need your help on this one.
>
> Thank you and I wish you all the best.
>
> Warm regards,
> Jeffy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20200811/bf068e3c/attachment.html>
More information about the geonode-users
mailing list