<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
Pastebin is down (see below).. I'm having a TypeError when clicking
over a ID link in admin interface on section Resource bases<br>
<br>
Any suggestion? Could be a bug? Something related with the template
rendering.<br>
<br>
Thank you<br>
<br>
Jesús<br>
<div id="summary">
<h1>TypeError at /admin/base/resourcebase/1/</h1>
<pre class="exception_value">int() argument must be a string or a number, not 'QuerySet'</pre>
<table class="meta">
<tbody>
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td><a class="moz-txt-link-freetext" href="http://192.168.50.4/admin/base/resourcebase/1/">http://192.168.50.4/admin/base/resourcebase/1/</a></td>
</tr>
<tr>
<th>Django Version:</th>
<td>1.6.10</td>
</tr>
<tr>
<th>Exception Type:</th>
<td>TypeError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td>
<pre>int() argument must be a string or a number, not 'QuerySet'</pre>
</td>
</tr>
<tr>
<th>Exception Location:</th>
<td>/home/vagrant/.venvs/geonode/lib/python2.7/site-packages/django/db/models/fields/__init__.py
in get_prep_value, line 613</td>
</tr>
<tr>
<th>Python Executable:</th>
<td>/usr/bin/python</td>
</tr>
<tr>
<th>Python Version:</th>
<td>2.7.3</td>
</tr>
<tr>
<th>Python Path:</th>
<td>
<pre>['/home/vagrant/geonode',
'/home/vagrant/cdfgeonode',
'/home/vagrant/.venvs/geonode/lib/python2.7/site-packages',
'/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',
'/var/www']</pre>
</td>
</tr>
<tr>
<th>Server time:</th>
<td>Wed, 15 Apr 2015 14:53:34 -0500</td>
</tr>
</tbody>
</table>
</div>
<h2>Error during template rendering</h2>
<p>In template <code>/home/vagrant/.venvs/geonode/lib/python2.7/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html</code>,
error at line <strong>19</strong></p>
<h3>int() argument must be a string or a number, not 'QuerySet'</h3>
<table class="source cut-top cut-bottom">
<tbody>
<tr>
<th>9</th>
<td> {% for field in line %}
</td>
</tr>
<tr>
<th>10</th>
<td> <div{% if not line.fields|length_is:'1' %}
class="field-box{% if field.field.name %} field-{{
field.field.name }}{% endif %}{% if not field.is_readonly
and field.errors %} errors{% endif %}"{% elif
field.is_checkbox %} class="checkbox-row"{% endif %}>
</td>
</tr>
<tr>
<th>11</th>
<td> {% if not line.fields|length_is:'1' and not
field.is_readonly %}{{ field.errors }}{% endif %}
</td>
</tr>
<tr>
<th>12</th>
<td> {% if field.is_checkbox %}
</td>
</tr>
<tr>
<th>13</th>
<td> {{ field.field }}{{ field.label_tag }}
</td>
</tr>
<tr>
<th>14</th>
<td> {% else %}
</td>
</tr>
<tr>
<th>15</th>
<td> {{ field.label_tag }}
</td>
</tr>
<tr>
<th>16</th>
<td> {% if field.is_readonly %}
</td>
</tr>
<tr>
<th>17</th>
<td> <p>{{ field.contents|linebreaksbr }}</p>
</td>
</tr>
<tr>
<th>18</th>
<td> {% else %}
</td>
</tr>
<tr class="error">
<th>19</th>
<td> <span class="specific">{{ field.field }}</span>
</td>
</tr>
<tr>
<th>20</th>
<td> {% endif %}
</td>
</tr>
<tr>
<th>21</th>
<td> {% endif %}
</td>
</tr>
<tr>
<th>22</th>
<td> {% if field.field.help_text %}
</td>
</tr>
<tr>
<th>23</th>
<td> <p class="help">{{ field.field.help_text|safe
}}</p>
</td>
</tr>
<tr>
<th>24</th>
<td> {% endif %}
</td>
</tr>
<tr>
<th>25</th>
<td> </div>
</td>
</tr>
<tr>
<th>26</th>
<td> {% endfor %}
</td>
</tr>
<tr>
<th>27</th>
<td> </div>
</td>
</tr>
<tr>
<th>28</th>
<td> {% endfor %}
</td>
</tr>
<tr>
<th>29</th>
<td></fieldset></td>
</tr>
</tbody>
</table>
<br>
<div><br>
</div>
</body>
</html>