[pycsw-devel] Insert service metadata

Tom Kralidis tomkralidis at hotmail.com
Wed Jun 12 18:09:15 PDT 2013


FYI in offline investigation with Daniel, we discovered that this was a multiple pycsw install versioning issue.  Cleaning up / sorting pycsw libraries fixed this issue.



Date: Tue, 4 Jun 2013 16:47:10 +0200
Subject: Re: [pycsw-devel] Insert service metadata
From: danielkuerner at googlemail.com
To: tomkralidis at hotmail.com; pycsw-devel at lists.osgeo.org

Hi Tom,

thanks for the hint. OWSLib was actually version 0.6 on our server, so I updated via easy_install to 0.7.2. 

Unfortunately, I still receive the following error on Insert. Why does the ExceptionReport refer to the MD_DataIdentification object ? To my knowledge, the property identificationInfo

of the MD_Metadata object is of type SV_ServiceIdentification when it comes to service metadata. 

"Transaction (insert) failed: record parsing failed: 'MD_DataIdentification' object has no attribute 'temporalextent_start'


Harvesting the service metadata directly is something we could have considered and also might consider briefly.

Thx again for your help, much appreciated!
kind regards

daniel


2013/5/29 Tom Kralidis <tomkralidis at hotmail.com>

Daniel: thanks for the info. Against master this works for me with no issue.

What version of OWSLib are you using in this instance? Should be 0.7.2 (as per setup.py).
Having said this, the metadata looks like a WMS record. Any reason you are not harvesting the WMS directly?


Sent from my iPhone
On 2013-05-29, at 9:17, "Daniel Kürner" <danielkuerner at googlemail.com> wrote:


Hi,

I am currently trying to insert ISO19139 compliant service metadata via the manager operation csw:Insert.

Here is a pastebin of the dataset I am trying to insert and the resulting ExceptionReport:


http://pastebin.com/7zP0tGqt

Any ideas why the action is unsuccessful ?


Since the hierarchyLevel is service, MD_DataIdentification is absent and replaced with SV_ServiceIdentification 



Thanks for any advice
Daniel

_______________________________________________
pycsw-devel mailing list
pycsw-devel at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/pycsw-devel

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20130612/89f17996/attachment.html>


More information about the pycsw-devel mailing list