obspy / obspy

ObsPy: A Python Toolbox for seismology/seismological observatories.
https://www.obspy.org
Other
1.15k stars 531 forks source link

Problem with Client #2551

Closed sjarrowsmith closed 4 years ago

sjarrowsmith commented 4 years ago

I've started getting an error after updating to the latest ObsPy:

from obspy.clients.fdsn import Client

DATASELECT = 'http://service.iris.edu/ph5ws/dataselect/1' client = Client('http://service.iris.edu', service_mappings={ 'dataselect': DATASELECT }, debug=True )

Installed new opener with handlers: [<obspy.clients.fdsn.client.CustomRedirectHandler object at 0x7ff572669150>] Base URL: http://service.iris.edu Custom service mappings: dataselect: 'http://service.iris.edu/ph5ws/dataselect/1' Request Headers: {'User-Agent': 'ObsPy/1.1.1 (Darwin-18.7.0-x86_64-i386-64bit, Python 3.7.6)'} Downloading http://service.iris.edu/ph5ws/dataselect/1/application.wadl with requesting gzip compression Downloading http://service.iris.edu/fdsnws/event/1/application.wadl with requesting gzip compression Downloading http://service.iris.edu/fdsnws/station/1/application.wadl with requesting gzip compression Downloading http://service.iris.edu/fdsnws/event/1/catalogs with requesting gzip compression Downloading http://service.iris.edu/fdsnws/event/1/contributors with requesting gzip compression Downloaded http://service.iris.edu/fdsnws/event/1/catalogs with HTTP code: 200 Uncompressing gzipped response for http://service.iris.edu/fdsnws/event/1/contributors Downloaded http://service.iris.edu/fdsnws/event/1/contributors with HTTP code: 200 Uncompressing gzipped response for http://service.iris.edu/fdsnws/event/1/application.wadl Downloaded http://service.iris.edu/fdsnws/event/1/application.wadl with HTTP code: 200 Downloaded http://service.iris.edu/ph5ws/dataselect/1/application.wadl with HTTP code: 200 Downloaded http://service.iris.edu/fdsnws/station/1/application.wadl with HTTP code: 200 Discovered event service File "", line 104 XMLSyntaxError: Opening and ending tag mismatch: meta line 9 and head, line 104, column 8

megies commented 4 years ago

Was this problem solved @sjarrowsmith ?

sjarrowsmith commented 4 years ago

Yes, sorry for the unnecessary post! I discovered that the Client IRIS requests were not working due to an internet proxy issue. I had just updated ObsPy and assumed the problem was with ObsPy. Keep up the great work!

From: Tobias Megies notifications@github.com Reply-To: obspy/obspy reply@reply.github.com Date: Tuesday, February 11, 2020 at 3:21 AM To: obspy/obspy obspy@noreply.github.com Cc: "Arrowsmith, Stephen" sarrowsmith@mail.smu.edu, Mention mention@noreply.github.com Subject: Re: [obspy/obspy] Problem with Client (#2551)

Was this problem solved @sjarrowsmithhttps://github.com/sjarrowsmith ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/obspy/obspy/issues/2551?email_source=notifications&email_token=ALQXO6DJ744VGKOZFOYGBFDRCJU2DA5CNFSM4KSWBN42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLWKNY#issuecomment-584541495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQXO6D4MIEGKYXYGQWWZ6LRCJU2DANCNFSM4KSWBN4Q.