#86928 Report by node travis-ci covering 1817 tests from 45 modules resulted into 31 errors

Report

ObsPy Version
1.0.3.post0+1605.gad6d1b9fe6
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/274282892
GitHub Pull Request
https://github.com/obspy/obspy/pull/1779
Report File
XML Document
Total Runtime
1111.1 sec
Report Date/Time
2017-09-11 13:21:15

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 4.4.7 20120313 (Red Hat 4.4.7-1)
Python Implementation
CPython
Python Version
3.3.5
Release
4.11.6-041106-generic
System
Linux
Version
#201706170517 SMP Sat Jun 17 09:18:46 UTC 2017

Dependencies

cartopy
---
decorator
4.0.2
flake8
---
future
0.15.0
geographiclib
1.48
lxml.etree
3.4.4
m2crypto
---
matplotlib
1.4.3
mock
1.3.0
mpl_toolkits.basemap
1.0.7
numpy
1.9.2
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
---
requests
2.9.1
scipy
0.16.0
setuptools
20.1.1
sqlalchemy
1.0.8

Modules (45)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 31 31

Tracebacks (31)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 666, in get_routing_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 785, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing_bulk
Failed example:
frm = client.get_routing_bulk(bulk="* ANTO * * * *",
includeoverlaps = "true")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing_bulk[1]>", line 2, in <module>
includeoverlaps = "true")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 787, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing_bulk
Failed example:
for f in frm:
print(f) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing_bulk[2]>", line 1, in <module>
for f in frm:
NameError: name 'frm' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1330, in FederatedRoutingManager
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1342, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager
Failed example:
r = requests.get(url + "query", params=params, verify=False)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager[3]>", line 1, in <module>
r = requests.get(url + "query", params=params, verify=False)
NameError: name 'requests' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1343, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager
Failed example:
frm = FederatedRoutingManager(r.text)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager[4]>", line 1, in <module>
frm = FederatedRoutingManager(r.text)
NameError: name 'r' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1344, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager
Failed example:
print(frm)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedRoutingManager[5]>", line 1, in <module>
print(frm)
NameError: name 'frm' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1160, in get_stations
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1179, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[1]>", line 1, in <module>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
NameError: name 'requests' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1181, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
INV = fclient.get_stations(network="A?", station="OK*",
channel="?HZ", level="station",
endtime="2016-12-31")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[3]>", line 3, in <module>
endtime="2016-12-31")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1184, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[4]>", line 1, in <module>
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'INV' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1203, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
INV2 = fclient.get_stations(network="I?", station="A*",
starttime="2013-01-01", level="network")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[7]>", line 2, in <module>
starttime="2013-01-01", level="network")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1205, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
print(INV2) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[8]>", line 1, in <module>
print(INV2) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'INV2' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1220, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
INV = fclient.get_stations(network="A?", station="OK*",
channel="?HZ", level="station",
endtime="2016-12-31")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[10]>", line 3, in <module>
endtime="2016-12-31")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1223, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[11]>", line 1, in <module>
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'INV' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1240, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
INV2 = fclient.get_stations(network="I?", station="AN*",
channel="?HZ", level="network",
includeoverlaps="true")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[12]>", line 3, in <module>
includeoverlaps="true")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1243, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations
Failed example:
print(INV2) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations[13]>", line 1, in <module>
print(INV2) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'INV2' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 968, in get_waveforms_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 990, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms_bulk
Failed example:
tr = client.get_waveforms_bulk(bulk=bulkreq)
#doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms_bulk[2]>", line 1, in <module>
tr = client.get_waveforms_bulk(bulk=bulkreq)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1007, in get_waveforms_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 992, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms_bulk
Failed example:
print(tr) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms_bulk[3]>", line 1, in <module>
print(tr) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'tr' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 304, in test_fedstations_reroute
self.assertEqual(frm.routes[0].provider_id, 'ETH',
IndexError: list index out of range
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 240, in test_fedstations_param
inv = self.fed_client.get_stations(**params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 285, in test_fedstations_use_existing
"got %s" % len(frm)))
AssertionError: 0 != 2 : Expected to retrieve 2 routes, got 0
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 194, in test_fedstations_bulk_simple_many
inv = self.fed_client.get_stations_bulk(bulktext)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 162, in test_fedstations_bulk_simple
inv = self.fed_client.get_stations_bulk(bulktext)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 385, in test_example_queries_station
maxradius=15, station="*")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 502, in test_authentication
got = client.get_waveforms(*query)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 172, in test_fedstations_parallel
inv = fed_client.get_stations_bulk(bulktext, includeoverlaps=True)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 218, in test_fedstations_bulk_with_separate_param
inv = self.fed_client.get_stations_bulk(bulktext, level="channel")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 228, in test_fedstations_bulk_with_embeded_param
inv = self.fed_client.get_stations_bulk("level=channel\n" + bulktext)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 207, in test_fedstations_bulk_stringio
inv = self.fed_client.get_stations_bulk(file_thing)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 246, in test_fedwaveforms_bulk
data = self.fed_client.get_waveforms_bulk(bulktext)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1007, in get_waveforms_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 258, in test_fedwaveforms
data = self.fed_client.get_waveforms(**params)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 514, in test_get_waveform_attach_response
st = client.get_waveforms_bulk(bulk, attach_response=True)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1007, in get_waveforms_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 342, in test_fedwaveforms_reroute
self.assertEqual(frm.routes[0].provider_id, 'ETH')
IndexError: list index out of range
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/__init__.py", line 162, in obspy.clients.fdsn.__init__
Failed example:
st = client.get_waveforms("GE", "APE", "", "LHZ", t, t + 60 * 60)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[20]>", line 1, in <module>
st = client.get_waveforms("GE", "APE", "", "LHZ", t, t + 60 * 60)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/__init__.py", line 179, in obspy.clients.fdsn.__init__
Failed example:
inventory = client.get_stations(network="GE", station="A*",
channel="?HZ", level="station",
endtime="2016-12-31")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.__init__[22]>", line 3, in <module>
endtime="2016-12-31")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/__init__.py", line 182, in obspy.clients.fdsn.__init__
Failed example:
print(inventory) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Expected:
Inventory created at 2...Z
Sending institution: SeisComP3 (GFZ)
Contains:
Networks (1):
GE
Stations (4):
GE.APE (GEOFON Station Apirathos, Naxos)
GE.APE (NOA/GEOFON Station Apeiranthos,Naxos, Greece)
GE.APEZ (GEOFON Station Moni Apezanon, Greece)
GE.ARPR (GEOFON/MedNet/KOERI Station Arapgir, Turkey)
Channels (0):
<BLANKLINE>
Got:
Inventory created at 2017-09-11T18:02:02.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.27
		 http://service.iris.edu/fdsnws/station/1/query?endtime=2002-01-02T0...
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (1):
			IU
		Stations (3):
			IU.ADK (Adak, Aleutian Islands, Alaska)
			IU.AFI (Afiamalu, Samoa)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (0):
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/tests/test_federatedclient.py", line 470, in test_iris_example_queries_dataselect
got = client.get_waveforms(*query)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 200, in FedcatalogProviders
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 208, in obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders
Failed example:
print(prov.pretty('IRISDMC')) #doctest: +ELLIPSIS
Expected:
IRISDMC:The IRIS Data Management Center...M
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/__init__.py", line 40, in obspy.clients.fdsn.routers.__init__
Failed example:
inv = client.get_stations(station="AN*", channel="BHZ", level="station")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.__init__[2]>", line 1, in <module>
inv = client.get_stations(station="AN*", channel="BHZ", level="station")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/__init__.py", line 53, in obspy.clients.fdsn.routers.__init__
Failed example:
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.__init__[5]>", line 1, in <module>
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.names
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line unknown line number, in names
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line ?, in obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.names
Failed example:
print(', '.join(sorted(fcp.names))) #doctest: +ELLIPSIS
Expected:
BGR,..., USPSC
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.get
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 266, in get
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 280, in obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.get
Failed example:
print(fcp.get('ORFEUS','description'))
Expected:
The ORFEUS Data Center
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1082, in get_stations_bulk
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1105, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
Failed example:
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk[1]>", line 1, in <module>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
NameError: name 'requests' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1108, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
Failed example:
INV = client.get_stations_bulk(bulktxt) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk[4]>", line 1, in <module>
INV = client.get_stations_bulk(bulktxt) #doctest: +ELLIPSIS
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1109, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
Failed example:
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk[5]>", line 1, in <module>
print(INV) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'INV' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1124, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
Failed example:
inv = fed_client.get_stations_bulk(bulktext, includeoverlaps=True)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk[8]>", line 1, in <module>
inv = fed_client.get_stations_bulk(bulktext, includeoverlaps=True)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1143, in get_stations_bulk
if not existing_routes \
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 830, in get_routing_bulk
headers=self.request_headers, data=bulk)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1477, in download
raise_on_error(code, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/client.py", line 1635, in raise_on_error
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (TypeError): POST data should be bytes or an iterable of bytes. It cannot be of type str.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1125, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk
Failed example:
print(inv) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_stations_bulk[9]>", line 1, in <module>
print(inv) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1024, in get_waveforms
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1042, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms
Failed example:
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms[1]>", line 1, in <module>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
NameError: name 'requests' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1047, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms
Failed example:
tr = client.get_waveforms('IU', 'ANMO', '*', 'BHZ', t_st, t_ed)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms[6]>", line 1, in <module>
tr = client.get_waveforms('IU', 'ANMO', '*', 'BHZ', t_st, t_ed)
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1078, in get_waveforms
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1048, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms
Failed example:
print(tr) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_waveforms[7]>", line 1, in <module>
print(tr) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'tr' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.pretty
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 331, in pretty
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 336, in obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.pretty
Failed example:
print(providers.pretty("ORFEUS")) #doctest: +ELLIPSIS
Expected:
ORFEUS:The ORFEUS Data Center, de Bilt, the Netherlands ...M
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.refresh
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 291, in refresh
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 298, in obspy.clients.fdsn.routers.fedcatalog_client.FedcatalogProviders.refresh
Failed example:
print(','.join(n)) #doctest: +ELLIPSIS
Expected:
BGR,...,USPSC
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 352, in FederatedClient
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 360, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient
Failed example:
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient[1]>", line 1, in <module>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
NameError: name 'requests' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 365, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient
Failed example:
inv = client.get_stations(network="I?", station="AN*", channel="*HZ")
#doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient[4]>", line 1, in <module>
inv = client.get_stations(network="I?", station="AN*", channel="*HZ")
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 1278, in get_stations
raise FDSNNoDataException("No data available for request.")
obspy.clients.fdsn.header.FDSNNoDataException: No data available for request.
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 367, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient
Failed example:
print(inv) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 1313, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient[5]>", line 1, in <module>
print(inv) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/doctest.py", line 2179, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 488, in get_routing
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.3/site-packages/obspy/clients/fdsn/routers/fedcatalog_client.py", line 608, in obspy.clients.fdsn.routers.fedcatalog_client.FederatedClient.get_routing
Failed example:
for f in frm:
print(f) #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Expected:
FederatedRoute for IRIS containing 0 query parameters ... request items
FederatedRoute for ORFEUS containing 0 ... and ... request items
Got nothing

Skipped Tests (18)

Submodule Test Skip Message
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed

Slowest Tests (20)

Runtime Test
123.769s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
37.242s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
31.659s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
23.699s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
21.789s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
21.202s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
18.050s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
14.442s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
13.468s test_surface_wave_ttimes (obspy.taup.tests.test_tau.TauPyModelTestCase)
10.854s test_dtype_is_not_unnecessarily_changed (obspy.core.tests.test_trace.TraceTestCase)
10.581s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
10.388s test_interpolation_arguments (obspy.core.tests.test_trace.TraceTestCase)
10.271s test_sac_instrument_correction (obspy.signal.tests.test_invsim.InvSimTestCase)
9.132s test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase)
8.925s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
8.494s __init__ (obspy.taup)
7.967s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
7.852s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
7.669s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
7.270s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)

Chuck Norris Fact

If you try to kill -9 Chuck Norris's programs, it backfires.