#15207 Report by node sphinx covering 1181 tests from 28 modules resulted into 26 errors

Report

ObsPy Version
0.9.2-660-g02fa
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
1092.9 sec
Report Date/Time
2014-06-17 12:27:29

System / Python

Architecture
32bit
Machine
i686
Node
sphinx
Processor
athlon
Python Compiler
GCC 4.6.3
Python Implementation
CPython
Python Version
2.7.3
Release
2.6.32-042stab090.3
System
Linux
Version
#1 SMP Fri Jun 6 09:35:21 MSK 2014

Dependencies

future
0.12.1
lxml.etree
2.3.2
matplotlib
1.3.1
mock
1.0.1
mpl_toolkits.basemap
1.0.8
nose
1.3.0
numpy
1.6.1
scipy
0.9.0
sqlalchemy
0.7.4
suds
0.6

Modules (28)

Module Errors /
Failures
Tracebacks
obspy.arclink 4 1 2 3 4
obspy.core 1 5
obspy.css - -
obspy.datamark - -
obspy.db - -
obspy.earthworm 3 6 7 8
obspy.fdsn 1 9
obspy.gse2 - -
obspy.imaging 3 10 11 12
obspy.iris - -
obspy.mseed - -
obspy.ndk - -
obspy.neic 1 13
obspy.neries 12 14 15 16 17 18 19 20 21 22 23 24 25
obspy.pde - -
obspy.realtime - -
obspy.sac 1 26
obspy.seedlink - -
obspy.seg2 - -
obspy.segy - -
obspy.seisan - -
obspy.seishub Not tested -
obspy.sh - -
obspy.signal - -
obspy.station - -
obspy.taup - -
obspy.wav - -
obspy.xseed - -
obspy.y - -
Summary 26 26

Tracebacks (26)

Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.arclink.__init__
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/__init__.py", line 79, in obspy.arclink.__init__
Failed example:
paz = client.getPAZ('BW', 'MANZ', '', 'EHZ', dt)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.arclink.__init__[10]>", line 1, in <module>
paz = client.getPAZ('BW', 'MANZ', '', 'EHZ', dt)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/client.py", line 959, in getPAZ
instruments=True, route=route)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/client.py", line 1125, in getInventory
result = self._fetch(rtype, rdata, route=route)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/client.py", line 223, in _fetch
return self._request(request_type, request_data)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/client.py", line 327, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
ArcLinkException: UNSET
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/tests/test_decrypt.py", line 153, in test_getWaveformNoPassword
start, end)
AssertionError: EVPError not raised
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/tests/test_decrypt.py", line 127, in test_getWaveformUnknownUser
'', 'BHZ', start, end)
AssertionError: ArcLinkException not raised
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/arclink/tests/test_decrypt.py", line 140, in test_getWaveformWrongPassword
start, end)
AssertionError: EVPError not raised
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/tests/test_quakeml.py", line 941, in test_write_with_extra_tags_and_read
self.assertEqual(got, expected)
AssertionError: Lists differ: ['<ns0:custom>True</ns0:custom... != ['<ns0:custom>True</ns0:custom...
First differing element 3:
<ns1:public some_attrib="some_value" another_attrib="another_value">false</ns1:public>
<ns1:public another_attrib="another_value" some_attrib="some_value">false</ns1:public>
['<ns0:custom>True</ns0:custom>',
'<ns0:new_tag>1234</ns0:new_tag>',
'<ns0:tX>2013-01-02T13:12:14.600000Z</ns0:tX>',
- '<ns1:public some_attrib="some_value" another_attrib="another_value">false</ns1:public>']
+ '<ns1:public another_attrib="another_value" some_attrib="some_value">false</ns1:public>']
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.earthworm.__init__
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/__init__.py", line 21, in obspy.earthworm.__init__
Failed example:
response = client.availability("UW", "TUCA", channel="BHZ")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.__init__[2]>", line 1, in <module>
response = client.availability("UW", "TUCA", channel="BHZ")
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 220, in availability
response = getMenu(self.host, self.port, timeout=self.timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 202, in getMenu
timeout=timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 134, in sendSockReq
s.connect((server, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/__init__.py", line 29, in obspy.earthworm.__init__
Failed example:
t = response[0][4]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.__init__[4]>", line 1, in <module>
t = response[0][4]
NameError: name 'response' is not defined
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/__init__.py", line 30, in obspy.earthworm.__init__
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BH*', t + 100, t + 130)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.__init__[5]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BH*', t + 100, t + 130)
NameError: name 't' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.earthworm.client.Client.availability
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 167, in availability
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 194, in obspy.earthworm.client.Client.availability
Failed example:
response = client.availability(network="UW", station="TUCA",
channel="BH*")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.client.Client.availability[2]>", line 2, in <module>
channel="BH*")
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 220, in availability
response = getMenu(self.host, self.port, timeout=self.timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 202, in getMenu
timeout=timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 134, in sendSockReq
s.connect((server, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
timeout: timed out
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.earthworm.client.Client.getWaveform
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 49, in getWaveform
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 81, in obspy.earthworm.client.Client.getWaveform
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BHZ', dt, dt + 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.client.Client.getWaveform[3]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BHZ', dt, dt + 10)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 111, in getWaveform
timeout=self.timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 244, in readWaveServerV
sock = sendSockReq(server, port, reqstr, timeout=timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 134, in sendSockReq
s.connect((server, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 83, in obspy.earthworm.client.Client.getWaveform
Failed example:
st = client.getWaveform('UW', 'TUCA', '', 'BH*', dt, dt + 10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.earthworm.client.Client.getWaveform[5]>", line 1, in <module>
st = client.getWaveform('UW', 'TUCA', '', 'BH*', dt, dt + 10)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 104, in getWaveform
cleanup=cleanup)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/client.py", line 111, in getWaveform
timeout=self.timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 244, in readWaveServerV
sock = sendSockReq(server, port, reqstr, timeout=timeout)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/earthworm/waveserver.py", line 134, in sendSockReq
s.connect((server, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/fdsn/tests/test_client.py", line 383, in test_IRIS_example_queries_station
self.assertEqual(msg, "", msg)
AssertionError:
Diff:
- <Station code="ATTUB" startDate="2006-06-20T00:00:00" endDate="2010-04-01T19:15:00" restrictedStatus="open" iris:alternateNetworkCodes=".EARTHSCOPE,_US-REF,_US-ALL,_US-REGIONAL,_US-BB+A,_AFTAC,.UNRESTRICTED,_US-BB,_GSN,_GSN-BROADBAND">
? --------------
+ <Station code="ATTUB" startDate="2006-06-20T00:00:00" endDate="2010-04-01T19:15:00" restrictedStatus="open" iris:alternateNetworkCodes=".EARTHSCOPE,_US-REF,_US-ALL,_US-REGIONAL,_US-BB+A,.UNRESTRICTED,_AFTAC,_US-BB,_GSN,_GSN-BROADBAND">
? ++++++++++++++
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/test_waveform.py", line 332, in test_plotDefaultRelative
st.plot(outfile=ic.name, type='relative')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 240, in __exit__
self.compare()
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 270, in compare
raise ImageComparisonException(msg)
ImageComparisonException: Error: Image files did not match.
RMS Value: 2.49313457318
Expected:
/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/images/waveform_default_relative.png
Actual:
/tmp/obspy-NHJCxG.png
Difference:
/tmp/obspy-NHJCxG-failed-diff.png
Tolerance: 2
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/test_waveform.py", line 347, in test_plotRefTimeRelative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 240, in __exit__
self.compare()
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 270, in compare
raise ImageComparisonException(msg)
ImageComparisonException: Error: Image files did not match.
RMS Value: 2.49313457318
Expected:
/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/images/waveform_reftime_relative.png
Actual:
/tmp/obspy-Xg3tlm.png
Difference:
/tmp/obspy-Xg3tlm-failed-diff.png
Tolerance: 2
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/test_waveform.py", line 154, in test_plotSimpleGapManySamples
st.plot(outfile=ic.name)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 240, in __exit__
self.compare()
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/testing.py", line 270, in compare
raise ImageComparisonException(msg)
ImageComparisonException: Error: Image files did not match.
RMS Value: 2.49313457318
Expected:
/private-backup/home/obspy/update-docs/src/obspy/obspy/imaging/tests/images/waveform_simple_gap_many_samples.png
Actual:
/tmp/obspy-irWhkl.png
Difference:
/tmp/obspy-irWhkl-failed-diff.png
Tolerance: 2
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.neic.client.Client.getWaveform
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neic/client.py", line 70, in getWaveform
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neic/client.py", line 109, in obspy.neic.client.Client.getWaveform
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
IU.ANMO.00.BH... | 20.0 Hz, 201 samples
Got:
3 Trace(s) in Stream:
IU.ANMO.00.BH2 | 2014-06-17T12:22:56.769539Z - 2014-06-17T12:23:06.719539Z | 20.0 Hz, 200 samples
IU.ANMO.00.BH1 | 2014-06-17T12:22:56.769539Z - 2014-06-17T12:23:06.769539Z | 20.0 Hz, 201 samples
IU.ANMO.00.BHZ | 2014-06-17T12:22:56.769538Z - 2014-06-17T12:23:06.769538Z | 20.0 Hz, 201 samples
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.neries.client.Client.getLatestEvents
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 297, in getLatestEvents
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 323, in obspy.neries.client.Client.getLatestEvents
Failed example:
events = client.getLatestEvents(num=5, format='list')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.client.Client.getLatestEvents[2]>", line 1, in <module>
events = client.getLatestEvents(num=5, format='list')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 352, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 139, in test_getEventDetail
data = client.getEventDetail("19990817_0000001", format='xml')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 413, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.neries.client.Client.getEventDetail
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 361, in getEventDetail
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 383, in obspy.neries.client.Client.getEventDetail
Failed example:
result = client.getEventDetail("19990817_0000001", 'list')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.client.Client.getEventDetail[2]>", line 1, in <module>
result = client.getEventDetail("19990817_0000001", 'list')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 413, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 384, in obspy.neries.client.Client.getEventDetail
Failed example:
len(result) # Number of calculated origins
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.client.Client.getEventDetail[3]>", line 1, in <module>
len(result) # Number of calculated origins
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.neries.client.Client.getEvents
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 83, in getEvents
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 144, in obspy.neries.client.Client.getEvents
Failed example:
events = client.getEvents(min_datetime="2004-12-01",
max_datetime="2005-01-01",
min_magnitude=9, format="list")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.client.Client.getEvents[2]>", line 3, in <module>
min_magnitude=9, format="list")
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 147, in obspy.neries.client.Client.getEvents
Failed example:
len(events)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.client.Client.getEvents[3]>", line 1, in <module>
len(events)
NameError: name 'events' is not defined
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 27, in test_getEventsList
max_datetime="2005-01-01")
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 90, in test_getEventsWithUTCDateTimes
max_datetime=UTCDateTime("2005-01-01"))
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 127, in test_getEventsAsCatalog
max_datetime=UTCDateTime("2005-01-01"))
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 116, in test_getEventsAsQuakeML
max_datetime=UTCDateTime("2005-01-01"))
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 295, in test_issue531
minmag=5.5, format='catalog')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.neries.__init__
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 25, in obspy.neries.__init__
Failed example:
events = client.getEvents(min_datetime="2004-01-01",
max_datetime="2005-01-01",
min_magnitude=9)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.__init__[2]>", line 3, in <module>
min_magnitude=9)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 89, in wrapper
v = f(*args, **new_kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 288, in getEvents
data = self._fetch("/services/event/search", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 28, in obspy.neries.__init__
Failed example:
len(events)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.__init__[3]>", line 1, in <module>
len(events)
NameError: name 'events' is not defined
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 41, in obspy.neries.__init__
Failed example:
events = client.getLatestEvents(num=5, format='list')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.__init__[7]>", line 1, in <module>
events = client.getLatestEvents(num=5, format='list')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 352, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 55, in obspy.neries.__init__
Failed example:
result = client.getEventDetail("20041226_0000148", 'list')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.__init__[12]>", line 1, in <module>
result = client.getEventDetail("20041226_0000148", 'list')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 413, in getEventDetail
data = self._fetch("/services/event/detail", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/__init__.py", line 56, in obspy.neries.__init__
Failed example:
len(result) # Number of calculated origins
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest obspy.neries.__init__[13]>", line 1, in <module>
len(result) # Number of calculated origins
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 260, in test_getInventory
instruments=False)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 599, in getInventory
spatialbounds)
File "/home/obspy/update-docs/local/lib/python2.7/site-packages/suds_jurko-0.6-py2.7.egg/suds/client.py", line 521, in __call__
return client.invoke(args, kwargs)
File "/home/obspy/update-docs/local/lib/python2.7/site-packages/suds_jurko-0.6-py2.7.egg/suds/client.py", line 581, in invoke
result = self.send(soapenv)
File "/home/obspy/update-docs/local/lib/python2.7/site-packages/suds_jurko-0.6-py2.7.egg/suds/client.py", line 619, in send
description=tostr(e), original_soapenv=original_soapenv)
File "/home/obspy/update-docs/local/lib/python2.7/site-packages/suds_jurko-0.6-py2.7.egg/suds/client.py", line 670, in process_reply
raise WebFault(fault, replyroot)
WebFault: Server raised fault: 'Error: Service Fault; Exception: class org.neries.orfeus.arclink.exception.ArclinkException: org.neries.orfeus.arclink.exception.ArclinkException: Sorry, inventory not available at the moment!'
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/tests/test_client.py", line 171, in test_getLatestEvents
data = client.getLatestEvents(5, format='xml')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 352, in getLatestEvents
data = self._fetch("/services/event/latest", **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/neries/client.py", line 169, in _fetch
response = urllib.request.urlopen(remoteaddr, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/sac/tests/test_core.py", line 380, in test_writeSmallTrace
st = read(tempfile, format=format)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/decorator.py", line 380, in new_func
return func(*args, **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/stream.py", line 227, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/decorator.py", line 214, in wrapped_func
result = func(filename, *args, **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/stream.py", line 268, in _read
headonly=headonly, **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/util/base.py", line 354, in _readFromPlugin
list_obj = readFormat(filename, **kwargs)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/sac/core.py", line 237, in readSAC
t.ReadSacFile(filename, fsize)
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/sac/sacio.py", line 682, in ReadSacFile
self.seis = frombuffer(f.read(npts * 4), dtype='<f4')
File "/private-backup/home/obspy/update-docs/src/obspy/obspy/core/compatibility.py", line 31, in frombuffer
return np.frombuffer(data, dtype=dtype).copy()
ValueError: offset must be non-negative and smaller than buffer lenth (0)

Chuck Norris Fact

Chuck Norris doesn't use reflection, reflection asks politely for his help.