Skip to content
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

Connection Error: Mismatched tag: line 57, column 3 #68

Closed
lmenard opened this issue Nov 4, 2014 · 8 comments
Closed

Connection Error: Mismatched tag: line 57, column 3 #68

lmenard opened this issue Nov 4, 2014 · 8 comments

Comments

@lmenard
Copy link

lmenard commented Nov 4, 2014

Hi,
I've installed MetaSearch on a QGIS 2.6.0 Brighton on Mac OS 10.9.5.
I've been able to display some results (not for all) from default catalog collection.
I've tried to include mine with the URL as follow:
http://geocatalog.webservice-energy.org/geonetwork/srv/eng/csw

Though I can get successfully get the Information on the Service as well as the GetCapabilities response when I try to search for resources with or without keywords I get a pop-up window with the error as listed in the title of the email (see screenshot).

I did not see any reference to this error message in the GitHub.

Thanks for your help.

Cheers,

Lionel
capture d ecran 2014-11-04 a 12 45 49

@tomkralidis
Copy link
Member

@lmenard thanks for the report. I am able to reproduce the error. MetaSearch uses OWSLib 0.8.8. There was an OWSLib bug that has since been fixed since OWSLib 0.8.10 (see geopython/OWSLib@4e5e248). So the OWSLib depedency in QGIS needs to be updated. I'll make this fix in QGIS by cutting a new MetaSearch release. So options are:

  • update your OWSLib in QGIS to 0.8.10 this will solve the issue until QGIS 2.6.1 is released
  • update your MetaSearch in QGIS to 0.3.2 once it is released (I will do this week)
  • wait for QGIS 2.6.1

@lmenard
Copy link
Author

lmenard commented Nov 4, 2014

Hi Tom,
thanks a lot for the extra fast reply.
I think I will go for the simplest (at least for me) and wait for the next MetaSearch release.
Will I be notify of the new release in this thread or elsewhere ?

Thanks again.

Lionel

@tomkralidis
Copy link
Member

@lmenard we usually tweet this. I'll also ping this thread.

tomkralidis added a commit that referenced this issue Nov 4, 2014
@tomkralidis
Copy link
Member

@lmenard 0.3.2 is now at http://plugins.qgis.org/plugins/MetaSearch/. Can you try it out?

@lmenard
Copy link
Author

lmenard commented Nov 4, 2014

I updated the plugin successfully (see screencast) did a stop start but the bug is still there...
capture d ecran 2014-11-04 a 14 57 01

@tomkralidis
Copy link
Member

This might be due to Python path settings where perhaps QGIS is picking up the OWSLib in 2.6 (0.8.8), not 0.8.10. Can you try going into your QGIS and rename python/owslib to something like python/owslib-old? This worked for me, and forced MetaSearch to use the OWSLib version bundled with MetaSearch instead.

@lmenard
Copy link
Author

lmenard commented Nov 4, 2014

Done. Works fine (see screenshot). Any potential drawbacks due to this name changes ?

Thanks a lot and "Bravo".

Lionel
capture d ecran 2014-11-04 a 15 10 34

@tomkralidis
Copy link
Member

@lmenard thanks! The renaming is a temporary workaround. Once QGIS 2.6.1 / 2.8.0 is released this will be fully fixed. For now the issue seems to be bound to a small edge case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants