Advertisement
davicustodio

ErrorMigrationGeonode2.0toGeonode2.4

Sep 15th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1.  
  2. ValueError at /
  3.  
  4. invalid literal for int() with base 10: 'None'
  5.  
  6. Request Method: GET
  7. Request URL: http://192.168.157.153/
  8. Django Version: 1.6.1
  9. Exception Type: ValueError
  10. Exception Value:
  11.  
  12. invalid literal for int() with base 10: 'None'
  13.  
  14. Exception Location: /usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py in get_prep_value, line 613
  15. Python Executable: /usr/bin/python
  16. Python Version: 2.7.6
  17. Python Path:
  18.  
  19. ['/usr/lib/python2.7',
  20. '/usr/lib/python2.7/plat-x86_64-linux-gnu',
  21. '/usr/lib/python2.7/lib-tk',
  22. '/usr/lib/python2.7/lib-old',
  23. '/usr/lib/python2.7/lib-dynload',
  24. '/usr/local/lib/python2.7/dist-packages',
  25. '/usr/lib/python2.7/dist-packages',
  26. '/usr/lib/python2.7/dist-packages/PILcompat',
  27. '/usr/lib/pymodules/python2.7',
  28. '/var/www']
  29.  
  30. Server time: Ter, 15 Set 2015 06:54:33 -0500
  31. Error during template rendering
  32.  
  33. In template /usr/local/lib/python2.7/dist-packages/geonode/templates/index.html, error at line 27
  34. invalid literal for int() with base 10: 'None'
  35. 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>
  36. 18 <span>{% trans 'Need help?' %} <a href="http://docs.geonode.org/en/latest/tutorials/users/quickstart/index.html">{% trans 'Getting Started' %}</a></span>
  37. 19 </div>
  38. 20 </div>
  39. 21 {% endblock %}
  40. 22
  41. 23 {% block mainbody %}
  42. 24 <div class="container">
  43. 25 <div class="row home-facets">
  44. 26 {% with facet_type='home' %}
  45. 27 {% facets as facets %}
  46. 28 <div class="col-md-4">
  47. 29 <p><a href="{% url "layer_browse" %}"><i class="fa fa-square-o fa-5x rotate-45"></i></a></p>
  48. 30 <h2><a href="{% url "layer_browse" %}">{{ facets.layer|default:_("No") }} {% blocktrans count counter=facets.layer %}Layer{% plural %}Layers{% endblocktrans %}</a></h2>
  49. 31 <p>{% trans "Click to search for geospatial data published by other users, organizations and public sources. Download data in standard formats." %}</p>
  50. 32 {% if user.is_authenticated %}
  51. 33 <p class="text-center"><a class="btn btn-default" href="{% url "layer_upload" %}" role="button">{% trans "Add layers" %} &raquo;</a></p>
  52. 34 {% else %}
  53. 35 <p class="text-center"><a class="btn btn-default" href="{% url "layer_browse" %}" role="button">{% trans "Explore layers" %} &raquo;</a></p>
  54. 36 {% endif %}
  55. 37 </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement