Thanks Jeff, here is a complete stacktrace[1]

The line in GeoNode that is failing is:

File "/var/www/geonode/wsgi/geonode/src/GeoNodePy/geonode/maps/models.py"
in get_wms
  556.     _wms = WebMapService(wms_url, xml=body)
File "/var/www/geonode/wsgi/geonode/src/owslib/owslib/wms.py" in __init__
  74.             self._capabilities = reader.readString(xml)
File "/var/www/geonode/wsgi/geonode/src/owslib/owslib/wms.py" in readString
  557.         return etree.fromstring(st)
File "/usr/lib/python2.6/xml/etree/ElementTree.py" in XML
  963.     parser.feed(text)
File "/usr/lib/python2.6/xml/etree/ElementTree.py" in feed
  1245.         self._parser.Parse(data, 0)


[1] http://dpaste.de/LKcHa/

On Tue, Sep 20, 2011 at 5:52 PM, Jeffrey Johnson <[email protected]> wrote:
> I've seen something similar before a few times, and iirc it was
> usually because there was a ServiceException in the middle of the wms
> GetCapabilities from GeoServer due to a misconfigured layer.
>
> Jeff
>
> On Tue, Sep 20, 2011 at 2:46 PM, Ariel Nunez <[email protected]> wrote:
>> Hello people,
>>
>> A friend of mine got the following error in GeoNode, he is using
>> master from a few months back. Has anyone else seen this error before?
>> Do you know if it is related to GeoServer or GeoNetwork?
>>
>> Unexpected error during upload: XML or text declaration not at start
>> of entity: line 4708, column 11
>>
>> Best regards,
>> Ariel.
>>
>

Reply via email to