#4701 Report by node localhost covering 721 tests from 12 modules resulted into 35 errors

Report

ObsPy Version
0.8.3
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
42.3 sec
Report Date/Time
2013-02-08 03:22:52

System / Python

Architecture
32bit
Machine
i686
Node
localhost
Processor
i686
Python Compiler
GCC 4.5.1 20100907 (Red Hat 4.5.1-3)
Python Implementation
CPython
Python Version
2.7.0
Release
2.6.35.14-106.fc14.i686
System
Linux
Version
#1 SMP Wed Nov 23 13:57:33 UTC 2011

Dependencies

lxml.etree
2.2.8
matplotlib
1.0.1
mpl_toolkits.basemap
Not Installed
numpy
1.6.1
scipy
0.10.0
sqlalchemy
Not Installed
suds
0.4.1

Modules (12)

Module Errors /
Failures
Tracebacks
obspy.arclink Not tested -
obspy.core 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
obspy.datamark 1 16
obspy.db Not tested -
obspy.earthworm Not tested -
obspy.gse2 Not tested -
obspy.imaging - -
obspy.iris Not tested -
obspy.mseed - -
obspy.neries Not tested -
obspy.realtime 1 17
obspy.sac 3 18 19 20
obspy.seedlink Not tested -
obspy.seg2 - -
obspy.segy 4 21 22 23 24
obspy.seisan 2 25 26
obspy.seishub Not tested -
obspy.sh Not tested -
obspy.signal 3 27 28 29
obspy.taup - -
obspy.wav 6 30 31 32 33 34 35
obspy.xseed Not tested -
Summary 35 35

Tracebacks (35)

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_stream.py", line 1624, in test_readArguments
tr = read('/path/to/slist_float.ascii', dtype='int32')[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_stream.py", line 1200, in test_readWritePickle
st2 = read(tmpfile2)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_stream.py", line 1678, in test_rotate
st.rotate(method='RT->NE', back_azimuth=30)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 2256, in rotate
func = _getFunctionFromEntryPoint("rotate", func)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 351, in _getFunctionFromEntryPoint
'obspy.plugin.%s' % (group), entry_point.name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2018, in load
raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'obspy.signal' from '/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/__init__.pyc'> has no 'rotate_RT_NE' attribute
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 151, in test_isFormat
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.sh-0.5.2-py2.7.egg/obspy/sh/core.py", line 14, in <module>
from obspy.core.util import formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 272, in test_issue193
tr.write(tempfile, format)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/trace.py", line 805, in write
Stream([self]).write(filename, format, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 1278, in write
', '.join(ENTRY_POINTS['waveform_write'])))
TypeError: Writing format "Q" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, SEGY, SU, SEG2, WAV, PICKLE
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 34, in test_raiseOnEmptyFile
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.sh-0.5.2-py2.7.egg/obspy/sh/core.py", line 14, in <module>
from obspy.core.util import formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 309, in test_raiseOnUnknownFormat
self.assertRaises(TypeError, read, tmpfile)
File "/usr/lib/python2.7/unittest/case.py", line 456, in assertRaises
callableObj(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 71, in test_readAndWrite
st = read(outfile)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 297, in test_readBzip2File
st1 = read(os.path.join(path, 'data', 'slist.ascii.bz2'))
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 138, in wrapped_func
result = func(tempfile.name, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 288, in test_readGzip2File
st1 = read(os.path.join(path, 'data', 'tspair.ascii.gz'))
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 138, in wrapped_func
result = func(tempfile.name, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.ascii.readSLIST
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/ascii.py", line 94, in readSLIST
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/ascii.py", line 113, in obspy.core.ascii.readSLIST
Failed example:
st = read('/path/to/slist.ascii')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.ascii.readSLIST[1]>", line 1, in <module>
st = read('/path/to/slist.ascii')
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.ascii.readTSPAIR
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/ascii.py", line 160, in readTSPAIR
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/ascii.py", line 179, in obspy.core.ascii.readTSPAIR
Failed example:
st = read('/path/to/tspair.ascii')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.ascii.readTSPAIR[1]>", line 1, in <module>
st = read('/path/to/tspair.ascii')
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/tests/test_waveform_plugins.py", line 214, in test_readThreadSafe
tr.write(outfile, format=format)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/trace.py", line 805, in write
Stream([self]).write(filename, format, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 1278, in write
', '.join(ENTRY_POINTS['waveform_write'])))
TypeError: Writing format "Q" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, SEGY, SU, SEG2, WAV, PICKLE
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.read
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 31, in read
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 153, in obspy.core.stream.read
Failed example:
st = read("/path/to/loc_RJOB20050831023349.z", format="GSE2")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[7]>", line 1, in <module>
st = read("/path/to/loc_RJOB20050831023349.z", format="GSE2")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 411, in _readFromPlugin
raise TypeError(msg % (format_ep.name, ', '.join(EPS)))
TypeError: Format "GSE2" is not supported. Supported types: MSEED, SAC, GSE2, SEISAN, SACXY, GSE1, Q, SH_ASC, SLIST, TSPAIR, SEGY, SU, SEG2, WAV, PICKLE, DATAMARK
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 154, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.849998Z - ... | 200.0 Hz, 12000 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 161, in obspy.core.stream.read
Failed example:
st = read("http://examples.obspy.org/loc_RJOB20050831023349.z")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[10]>", line 1, in <module>
st = read("http://examples.obspy.org/loc_RJOB20050831023349.z")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 241, in read
st.extend(_read(fh.name, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 162, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.849998Z - ... | 200.0 Hz, 12000 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 169, in obspy.core.stream.read
Failed example:
st = read("/path/to/tspair.ascii.gz")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[13]>", line 1, in <module>
st = read("/path/to/tspair.ascii.gz")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 138, in wrapped_func
result = func(tempfile.name, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 170, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
XX.TEST..BHZ | 2008-01-15T00:00:00.025000Z - ... | 40.0 Hz, 635 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 174, in obspy.core.stream.read
Failed example:
st = read("http://examples.obspy.org/slist.ascii.bz2")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[15]>", line 1, in <module>
st = read("http://examples.obspy.org/slist.ascii.bz2")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 241, in read
st.extend(_read(fh.name, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 138, in wrapped_func
result = func(tempfile.name, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 175, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
XX.TEST..BHZ | 2008-01-15T00:00:00.025000Z - ... | 40.0 Hz, 635 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 185, in obspy.core.stream.read
Failed example:
st = read(stringio_obj)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[21]>", line 1, in <module>
st = read(stringio_obj)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 231, in read
st.extend(_read(fh.name, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 186, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.849998Z - ... | 200.0 Hz, 12000 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 194, in obspy.core.stream.read
Failed example:
st = read("http://examples.obspy.org/loc_RJOB20050831023349.z",
starttime=dt, endtime=dt+10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.stream.read[25]>", line 2, in <module>
starttime=dt, endtime=dt+10)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 241, in read
st.extend(_read(fh.name, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 196, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:59.999999Z - ... | 200.0 Hz, 2001 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.base.getExampleFile
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 137, in getExampleFile
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 154, in obspy.core.util.base.getExampleFile
Failed example:
getExampleFile('does.not.exists') # doctest: +ELLIPSIS
Expected:
Traceback (most recent call last):
...
IOError: Could not find file does.not.exists ...
Got:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.core.util.base.getExampleFile[1]>", line 1, in <module>
getExampleFile('does.not.exists') # doctest: +ELLIPSIS
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 160, in getExampleFile
mod = __import__("obspy.%s.tests" % module, fromlist=["obspy"])
File "/usr/lib/python2.7/site-packages/obspy/xseed/__init__.py", line 78, in <module>
from obspy.xseed.parser import Parser
File "/usr/lib/python2.7/site-packages/obspy/xseed/parser.py", line 14, in <module>
from obspy.xseed import DEFAULT_XSEED_VERSION, utils, blockette
File "/usr/lib/python2.7/site-packages/obspy/xseed/utils.py", line 13, in <module>
from obspy.core.util import formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/datamark/tests/test_core.py", line 28, in test_readViaObsPy
st = read(filename)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 33, in RtTrace
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 65, in obspy.realtime.rttrace.RtTrace
Failed example:
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[4]>", line 1, in <module>
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 253, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory: '/path/to/II.TLY.BHZ.SAC'
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 66, in obspy.realtime.rttrace.RtTrace
Failed example:
len(data_trace)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[5]>", line 1, in <module>
len(data_trace)
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 68, in obspy.realtime.rttrace.RtTrace
Failed example:
ref_time_offset = data_trace.stats.sac.a
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[6]>", line 1, in <module>
ref_time_offset = data_trace.stats.sac.a
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 69, in obspy.realtime.rttrace.RtTrace
Failed example:
print(ref_time_offset)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[7]>", line 1, in <module>
print(ref_time_offset)
NameError: name 'ref_time_offset' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 71, in obspy.realtime.rttrace.RtTrace
Failed example:
epicentral_distance = data_trace.stats.sac.gcarc
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[8]>", line 1, in <module>
epicentral_distance = data_trace.stats.sac.gcarc
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 72, in obspy.realtime.rttrace.RtTrace
Failed example:
print(epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[9]>", line 1, in <module>
print(epicentral_distance)
NameError: name 'epicentral_distance' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 77, in obspy.realtime.rttrace.RtTrace
Failed example:
traces = data_trace / 3
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[10]>", line 1, in <module>
traces = data_trace / 3
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 78, in obspy.realtime.rttrace.RtTrace
Failed example:
[len(tr) for tr in traces]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[11]>", line 1, in <module>
[len(tr) for tr in traces]
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 86, in obspy.realtime.rttrace.RtTrace
Failed example:
rt_trace.registerRtProcess('mwpIntegral', mem_time=240,
ref_time=(data_trace.stats.starttime + ref_time_offset),
max_time=120, gain=1.610210e+09)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[14]>", line 2, in <module>
ref_time=(data_trace.stats.starttime + ref_time_offset),
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 93, in obspy.realtime.rttrace.RtTrace
Failed example:
for tr in traces:
processed_trace = rt_trace.append(tr, gap_overlap_check=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[15]>", line 1, in <module>
for tr in traces:
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 96, in obspy.realtime.rttrace.RtTrace
Failed example:
len(rt_trace)
Expected:
12684
Got:
0
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 101, in obspy.realtime.rttrace.RtTrace
Failed example:
peak = np.amax(np.abs(rt_trace.data))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[17]>", line 1, in <module>
peak = np.amax(np.abs(rt_trace.data))
File "/usr/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 1833, in amax
return amax(axis, out)
ValueError: zero-size array to maximum.reduce without identity
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 102, in obspy.realtime.rttrace.RtTrace
Failed example:
print(peak)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[18]>", line 1, in <module>
print(peak)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 104, in obspy.realtime.rttrace.RtTrace
Failed example:
mwp = calculateMwpMag(peak, epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[19]>", line 1, in <module>
mwp = calculateMwpMag(peak, epicentral_distance)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/realtime/rttrace.py", line 105, in obspy.realtime.rttrace.RtTrace
Failed example:
print(mwp)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.realtime.rttrace.RtTrace[20]>", line 1, in <module>
print(mwp)
NameError: name 'mwp' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.sac-0.5.1-py2.7.egg/obspy/sac/tests/test_core.py", line 82, in test_readwriteXYViaObspy
tr1 = read(tempfile)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.sac-0.5.1-py2.7.egg/obspy/sac/tests/test_core.py", line 313, in test_writeSACXYWithMinimumStats
st = read(sac_file)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.sac-0.5.1-py2.7.egg/obspy/sac/tests/test_core.py", line 71, in test_readXYwriteXYViaObspy
tr1 = read(tempfile)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.segy.__init__
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 61, in obspy.segy.__init__
Failed example:
filename = getExampleFile("00001034.sgy_first_trace")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[2]>", line 1, in <module>
filename = getExampleFile("00001034.sgy_first_trace")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 160, in getExampleFile
mod = __import__("obspy.%s.tests" % module, fromlist=["obspy"])
File "/usr/lib/python2.7/site-packages/obspy/xseed/__init__.py", line 78, in <module>
from obspy.xseed.parser import Parser
File "/usr/lib/python2.7/site-packages/obspy/xseed/parser.py", line 14, in <module>
from obspy.xseed import DEFAULT_XSEED_VERSION, utils, blockette
File "/usr/lib/python2.7/site-packages/obspy/xseed/utils.py", line 13, in <module>
from obspy.core.util import formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 62, in obspy.segy.__init__
Failed example:
st = readSEGY(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[3]>", line 1, in <module>
st = readSEGY(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 63, in obspy.segy.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[4]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 65, in obspy.segy.__init__
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[5]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 75, in obspy.segy.__init__
Failed example:
st1 = readSEGY(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[6]>", line 1, in <module>
st1 = readSEGY(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 76, in obspy.segy.__init__
Failed example:
len(st1[0].stats.segy.trace_header)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[7]>", line 1, in <module>
len(st1[0].stats.segy.trace_header)
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 78, in obspy.segy.__init__
Failed example:
st1[0].stats.segy.trace_header.data_use # Unpacking a value on the fly.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[8]>", line 1, in <module>
st1[0].stats.segy.trace_header.data_use # Unpacking a value on the fly.
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 80, in obspy.segy.__init__
Failed example:
len(st1[0].stats.segy.trace_header) # This value will remain unpacked.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[9]>", line 1, in <module>
len(st1[0].stats.segy.trace_header) # This value will remain unpacked.
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 82, in obspy.segy.__init__
Failed example:
st2 = readSEGY(filename, unpack_trace_headers=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[10]>", line 1, in <module>
st2 = readSEGY(filename, unpack_trace_headers=True)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 83, in obspy.segy.__init__
Failed example:
len(st2[0].stats.segy.trace_header)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[11]>", line 1, in <module>
len(st2[0].stats.segy.trace_header)
NameError: name 'st2' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 100, in obspy.segy.__init__
Failed example:
segy = readSEGY(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[13]>", line 1, in <module>
segy = readSEGY(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 101, in obspy.segy.__init__
Failed example:
segy #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[14]>", line 1, in <module>
segy #doctest: +ELLIPSIS
NameError: name 'segy' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 103, in obspy.segy.__init__
Failed example:
print(segy)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[15]>", line 1, in <module>
print(segy)
NameError: name 'segy' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 123, in obspy.segy.__init__
Failed example:
segy = readSEGY(filename, headonly=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[17]>", line 1, in <module>
segy = readSEGY(filename, headonly=True)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/__init__.py", line 124, in obspy.segy.__init__
Failed example:
print(len(segy.traces[0].data))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.__init__[18]>", line 1, in <module>
print(len(segy.traces[0].data))
NameError: name 'segy' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.segy.core.readSU
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 448, in readSU
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 478, in obspy.segy.core.readSU
Failed example:
st = read("/path/to/1.su_first_trace")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSU[1]>", line 1, in <module>
st = read("/path/to/1.su_first_trace")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 253, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory: '/path/to/1.su_first_trace'
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 479, in obspy.segy.core.readSU
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSU[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 481, in obspy.segy.core.readSU
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSU[3]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.segy.core.readSEGY
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 117, in readSEGY
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 150, in obspy.segy.core.readSEGY
Failed example:
st = read("/path/to/00001034.sgy_first_trace")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSEGY[1]>", line 1, in <module>
st = read("/path/to/00001034.sgy_first_trace")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 253, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory: '/path/to/00001034.sgy_first_trace'
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 151, in obspy.segy.core.readSEGY
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSEGY[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/core.py", line 153, in obspy.segy.core.readSEGY
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.segy.core.readSEGY[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/segy/tests/test_core.py", line 449, in test_writingSUFileWithNoHeader
st2 = read(outfile)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.seisan.__init__
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 23, in obspy.seisan.__init__
Failed example:
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.__init__[1]>", line 1, in <module>
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 253, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory: '/path/to/2001-01-13-1742-24S.KONO__004'
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 24, in obspy.seisan.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.__init__[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 26, in obspy.seisan.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.__init__[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 37, in obspy.seisan.__init__
Failed example:
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.__init__[4]>", line 1, in <module>
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/__init__.py", line 52, in obspy.seisan.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.__init__[5]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.seisan.core.readSEISAN
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/core.py", line 110, in readSEISAN
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/core.py", line 126, in obspy.seisan.core.readSEISAN
Failed example:
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.core.readSEISAN[1]>", line 1, in <module>
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 253, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory: '/path/to/2001-01-13-1742-24S.KONO__004'
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/core.py", line 127, in obspy.seisan.core.readSEISAN
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.core.readSEISAN[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.seisan-0.5.1-py2.7.egg/obspy/seisan/core.py", line 129, in obspy.seisan.core.readSEISAN
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.seisan.core.readSEISAN[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/tests/test_invsim.py", line 213, in test_evalrespVsObsPy
pre_filt=(fl1, fl2, fl3, fl4), seedresp=seedresp)
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/invsim.py", line 394, in seisSim
units=seedresp['units'], freq=True)
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/invsim.py", line 129, in evalresp
datime = C.create_string_buffer("%d,%3d" % (date.year, date.getJulday()))
AttributeError: 'UTCDateTime' object has no attribute 'getJulday'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/tests/test_invsim.py", line 237, in test_evalrespUsingDifferentLineSeparator
evalresp(0.01, nfft, respf, dt)
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/invsim.py", line 129, in evalresp
datime = C.create_string_buffer("%d,%3d" % (date.year, date.getJulday()))
AttributeError: 'UTCDateTime' object has no attribute 'getJulday'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/tests/test_invsim.py", line 174, in test_SacInstCorrection
pre_filt=(fl1, fl2, fl3, fl4))
File "/usr/lib/python2.7/site-packages/obspy.signal-0.6.1-py2.7-linux-i686.egg/obspy/signal/invsim.py", line 358, in seisSim
raise TypeError("Expected dictionary, got %s." % type(d))
TypeError: Expected dictionary, got <class 'obspy.core.util.attribdict.AttribDict'>.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/tests/test_core.py", line 43, in test_readHeadViaObsPy
tr = read(self.file, headonly=True)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/tests/test_core.py", line 30, in test_readViaObsPy
tr = read(self.file)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/tests/test_core.py", line 107, in test_writeStreamViaObsPy
tr30 = read(testfile0)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.wav.core.readWAV
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/core.py", line 61, in readWAV
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/core.py", line 80, in obspy.wav.core.readWAV
Failed example:
st = read("/path/to/3cssan.near.8.1.RNON.wav")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.core.readWAV[1]>", line 1, in <module>
st = read("/path/to/3cssan.near.8.1.RNON.wav")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/core.py", line 81, in obspy.wav.core.readWAV
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.core.readWAV[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.wav.__init__
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/__init__.py", line 22, in obspy.wav.__init__
Failed example:
st = read("/path/to/3cssan.near.8.1.RNON.wav")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.__init__[1]>", line 1, in <module>
st = read("/path/to/3cssan.near.8.1.RNON.wav")
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/__init__.py", line 23, in obspy.wav.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.__init__[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/__init__.py", line 33, in obspy.wav.__init__
Failed example:
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.__init__[3]>", line 1, in <module>
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/__init__.py", line 48, in obspy.wav.__init__
Failed example:
st[0].data
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1248, in __run
compileflags, 1) in test.globs
File "<doctest obspy.wav.__init__[4]>", line 1, in <module>
st[0].data
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/obspy.wav-0.5.1-py2.7.egg/obspy/wav/tests/test_core.py", line 66, in test_readAndWriteViaObsPy
tr3 = read(testfile)[0]
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/stream.py", line 288, in _read
headonly=headonly, **kwargs)
File "/usr/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-i686.egg/obspy/core/util/base.py", line 390, in _readFromPlugin
'isFormat')
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/core.py", line 7, in <module>
from obspy.gse2 import libgse2, libgse1
File "/usr/lib/python2.7/site-packages/obspy.gse2-0.5.1-py2.7-linux-i686.egg/obspy/gse2/libgse2.py", line 33, in <module>
from obspy.core.util import c_file_p, formatScientific
ImportError: cannot import name formatScientific

Chuck Norris Fact

Chuck Norris knows the last digit of pi.