-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix WMS harvest issue #514
Comments
Hi @minhd A PR would be welcome, thanks in advance. I'll also check to see if there might be other references to this function elsewhere in the code. |
@minhd thanks for the report. I echo @ricardogsilva's suggestion. Looks like we also need to make a fix in https://github.com/geopython/pycsw/blob/master/pycsw/plugins/repository/odc/odc.py#L61. Thanks in advance! |
I've issued a PR #518 |
* upstream/master: removed python 2.6 from the tox settings fix ref (geopython#514) Fixed harvesting WMS. calling undefined function (geopython#518) Issue 508 read pycsw config from env (geopython#509)
* master: Do not silence exceptions on custom plugins (geopython#487) (geopython#527) decouple requirements files in lieu of assembling via tox config (geopython#521) (geopython#497) from mock import Mock as MagicMock codecov integration (geopython#525) fixed code review issues version is now stored on a single file, VERSION.txt removed python 2.6 from the tox settings fix ref (geopython#514) Fixed harvesting WMS. calling undefined function (geopython#518)
Description
The creation of service record from a WMS server fail when setting the
pycsw:AnyText
. The error returns isUpon closer inspection, the line that causes the error calls
set(context, serviceobj, 'pycsw:AnyText', util.get_anytext(md.getServiceXML()))
of whichutil.get_anytext
is undefined.A possible replacement of that would be
I have prepared a commit for it minhd@aa5d377 and can issue a PR anytime
Environment
Steps to Reproduce
Issue a harvest request with the following payload
The text was updated successfully, but these errors were encountered: