<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Simone, <br>
    <br>
    I've been following  the discussion about keeping ResourceBase hide.
    <span id="result_box" class="short_text" lang="en"><span class="hps">I'll
        stay</span> <span class="hps">tuned</span></span> meantime. <br>
    <br>
    Thanks!! <br>
    <br>
    Jesús<br>
    <br>
    <div class="moz-cite-prefix">On 04/16/2015 01:48 AM, Simone Dalmasso
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAHAC+ebu+AnNK9BpK6wZEd2OkU0cVi2KoSY6S3J2A7ZgkpCqQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Jesus, yes it is a small bug that we'll fix
        soon. Thanks for reporting. Anyway ResourceBase should not be
        used from the admin and we should remove it from there. It's
        children are the ones to use (layers, maps, documents and
        services)
        <div><br>
        </div>
        <div>Ciao</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-04-15 22:02 GMT+02:00 Jesus <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:gesusjl@gmail.com" target="_blank">gesusjl@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div 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>
                <h1>TypeError at /admin/base/resourcebase/1/</h1>
                <pre>int() argument must be a string or a number, not 'QuerySet'</pre>
                <table>
                  <tbody>
                    <tr>
                      <th>Request Method:</th>
                      <td>GET</td>
                    </tr>
                    <tr>
                      <th>Request URL:</th>
                      <td><a moz-do-not-send="true"
                          href="http://192.168.50.4/admin/base/resourcebase/1/"
                          target="_blank">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>
                <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 <a moz-do-not-send="true"
                        href="http://field.field.name" target="_blank">field.field.name</a>
                      %} field-{{ <a moz-do-not-send="true"
                        href="http://field.field.name" target="_blank">field.field.name</a>
                      }}{% 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>
                    <th>19</th>
                    <td> <span>{{ 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>
            </div>
            <br>
            _______________________________________________<br>
            geonode-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users"
              target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Simone </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>