Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ValueError at /
- invalid literal for int() with base 10: 'None'
- Request Method: GET
- Request URL: http://192.168.157.153/
- Django Version: 1.6.1
- Exception Type: ValueError
- Exception Value:
- invalid literal for int() with base 10: 'None'
- Exception Location: /usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py in get_prep_value, line 613
- Python Executable: /usr/bin/python
- Python Version: 2.7.6
- Python Path:
- ['/usr/lib/python2.7',
- '/usr/lib/python2.7/plat-x86_64-linux-gnu',
- '/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/PILcompat',
- '/usr/lib/pymodules/python2.7',
- '/var/www']
- Server time: Ter, 15 Set 2015 06:54:33 -0500
- Error during template rendering
- In template /usr/local/lib/python2.7/dist-packages/geonode/templates/index.html, error at line 27
- invalid literal for int() with base 10: 'None'
- 17 <p>{% blocktrans %}If you have any questions about the software or service, join our <a href="https://groups.google.com/d/forum/geonode-users">mailing list</a>.{% endblocktrans %}</p>
- 18 <span>{% trans 'Need help?' %} <a href="http://docs.geonode.org/en/latest/tutorials/users/quickstart/index.html">{% trans 'Getting Started' %}</a></span>
- 19 </div>
- 20 </div>
- 21 {% endblock %}
- 22
- 23 {% block mainbody %}
- 24 <div class="container">
- 25 <div class="row home-facets">
- 26 {% with facet_type='home' %}
- 27 {% facets as facets %}
- 28 <div class="col-md-4">
- 29 <p><a href="{% url "layer_browse" %}"><i class="fa fa-square-o fa-5x rotate-45"></i></a></p>
- 30 <h2><a href="{% url "layer_browse" %}">{{ facets.layer|default:_("No") }} {% blocktrans count counter=facets.layer %}Layer{% plural %}Layers{% endblocktrans %}</a></h2>
- 31 <p>{% trans "Click to search for geospatial data published by other users, organizations and public sources. Download data in standard formats." %}</p>
- 32 {% if user.is_authenticated %}
- 33 <p class="text-center"><a class="btn btn-default" href="{% url "layer_upload" %}" role="button">{% trans "Add layers" %} »</a></p>
- 34 {% else %}
- 35 <p class="text-center"><a class="btn btn-default" href="{% url "layer_browse" %}" role="button">{% trans "Explore layers" %} »</a></p>
- 36 {% endif %}
- 37 </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement