#105372 Report by node Foivoss-MacBook-Pro covering 526 tests from 47 modules resulted into 89 errors
Report
- ObsPy version
- 1.1.1.post0+825.ge69ce0cdbf.o…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 22.0 sec
- Report date/time
- Sept. 23, 2019, 7:55 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- Foivoss-MacBook-Pro
- Processor
- i386
- Python Compiler
- GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)
- Python Implementation
- CPython
- Python Version
- 2.7.16
- Release
- 18.7.0
- System
- Darwin
- Version
- Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Dependencies
- cartopy
- ---
- decorator
- 4.4.0
- flake8
- 3.7.8
- future
- 0.17.1
- geographiclib
- ---
- lxml.etree
- 4.4.1
- m2crypto
- ---
- matplotlib
- 2.2.4
- mock
- 3.0.5
- mpl_toolkits.basemap
- ---
- numpy
- 1.16.4
- pep8-naming
- ---
- pyflakes
- 2.1.1
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.22.0
- scipy
- 1.2.2
- setuptools
- 41.0.1
- shapefile
- ---
- sqlalchemy
- 1.3.8
Modules (47)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | 4 | 6 | 6 | - | 0.41s | 1 2 3 4 |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 1 | 1 | 1 | - | 0.00s | 5 |
obspy.db | - | 9 | 9 | - | 0.09s | - |
obspy.geodetics | - | 18 | 16 | 2 | 0.38s | - |
obspy.imaging | 1 | 1 | 1 | - | 0.00s | 6 |
obspy.io.ah | 1 | 5 | 5 | - | 0.08s | 7 |
obspy.io.arclink | - | 4 | 4 | - | 2.77s | - |
obspy.io.ascii | 3 | 28 | 28 | - | 0.36s | 8 9 10 |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.12s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | 2 | 7 | 7 | - | 0.55s | 11 12 |
obspy.io.focmec | - | 8 | 8 | - | 0.18s | - |
obspy.io.gcf | 6 | 9 | 9 | - | 0.10s | 13 14 15 16 17 18 |
obspy.io.gse2 | 1 | 1 | 1 | - | 0.00s | 19 |
obspy.io.iaspei | - | 7 | 7 | - | 5.24s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | 3 | 7 | 7 | - | 0.51s | 20 21 22 |
obspy.io.kml | - | 3 | 3 | - | 0.15s | - |
obspy.io.mseed | 1 | 1 | 1 | - | 0.00s | 23 |
obspy.io.ndk | - | 20 | 20 | - | 1.00s | - |
obspy.io.nied | 5 | 11 | 11 | - | 0.13s | 24 25 26 27 28 |
obspy.io.nlloc | - | 12 | 11 | 1 | 0.19s | - |
obspy.io.nordic | 1 | 40 | 40 | - | 2.56s | 29 |
obspy.io.pdas | 1 | 3 | 3 | - | 0.02s | 30 |
obspy.io.pde | - | 13 | 13 | - | 0.71s | - |
obspy.io.quakeml | - | 37 | 37 | - | 0.76s | - |
obspy.io.reftek | 1 | 1 | 1 | - | 0.00s | 31 |
obspy.io.rg16 | 1 | 4 | 4 | - | 0.07s | 32 |
obspy.io.sac | 29 | 95 | 95 | - | 0.81s | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
obspy.io.scardec | - | 5 | 5 | - | 0.08s | - |
obspy.io.seg2 | 2 | 2 | 2 | - | 0.03s | 62 63 |
obspy.io.segy | 1 | 1 | 1 | - | 0.00s | 64 |
obspy.io.seisan | 3 | 8 | 8 | - | 0.16s | 65 66 67 |
obspy.io.seiscomp | 1 | 45 | 45 | - | 2.41s | 68 |
obspy.io.sh | 7 | 25 | 25 | - | 0.86s | 69 70 71 72 73 74 75 |
obspy.io.shapefile | - | 7 | 1 | 6 | 0.10s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.11s | - |
obspy.io.stationxml | - | 21 | 21 | - | 0.46s | - |
obspy.io.wav | 6 | 8 | 8 | - | 0.10s | 76 77 78 79 80 81 |
obspy.io.win | 1 | 2 | 2 | - | 0.08s | 82 |
obspy.io.xseed | 1 | 1 | 1 | - | 0.00s | 83 |
obspy.io.y | 1 | 5 | 5 | - | 0.03s | 84 |
obspy.io.zmap | - | 14 | 14 | - | 0.34s | - |
obspy.realtime | 1 | 1 | 1 | - | 0.00s | 85 |
obspy.scripts | 2 | 2 | 2 | - | 0.03s | 86 87 |
obspy.signal | 1 | 1 | 1 | - | 0.00s | 88 |
obspy.taup | 1 | 1 | 1 | - | 0.00s | 89 |
Summary | 89 | 526 | 517 | 9 | 22.04s | 89 |
Tracebacks (89)
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 235, in test_get_all_stations_and_nslc with TemporarySDSDirectory(year=None, doy=None, time=t) as temp_sds: File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 75, in __enter__ tr_.write(full_path, format="MSEED") File "/Users/foivos/obspy/obspy/core/trace.py", line 962, in write Stream([self]).write(filename, format, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 1459, in write ', '.join(ENTRY_POINTS['waveform_write']))) ValueError: Writing format "MSEED" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, PICKLE, SEGY, SU, WAV, AH
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 110, in test_read_from_sds with TemporarySDSDirectory(year=year, doy=doy) as temp_sds: File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 75, in __enter__ tr_.write(full_path, format="MSEED") File "/Users/foivos/obspy/obspy/core/trace.py", line 962, in write Stream([self]).write(filename, format, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 1459, in write ', '.join(ENTRY_POINTS['waveform_write']))) ValueError: Writing format "MSEED" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, PICKLE, SEGY, SU, WAV, AH
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 147, in test_read_from_sds_with_wildcarded_seed_ids with TemporarySDSDirectory(year=year, doy=doy) as temp_sds: File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 75, in __enter__ tr_.write(full_path, format="MSEED") File "/Users/foivos/obspy/obspy/core/trace.py", line 962, in write Stream([self]).write(filename, format, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 1459, in write ', '.join(ENTRY_POINTS['waveform_write']))) ValueError: Writing format "MSEED" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, PICKLE, SEGY, SU, WAV, AH
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 175, in test_sds_report with TemporarySDSDirectory(year=None, doy=None, time=t) as temp_sds, \ File "/Users/foivos/obspy/obspy/clients/filesystem/tests/test_sds.py", line 75, in __enter__ tr_.write(full_path, format="MSEED") File "/Users/foivos/obspy/obspy/core/trace.py", line 962, in write Stream([self]).write(filename, format, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 1459, in write ', '.join(ENTRY_POINTS['waveform_write']))) ValueError: Writing format "MSEED" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, PICKLE, SEGY, SU, WAV, AH
>>> Cannot import test suite for module obspy.core due to: ---------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/core/tests/__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 71, in add_unittests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/core/tests/test_waveform_plugins.py", line 20, in <module> from obspy.io.mseed.core import _write_mseed File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.imaging due to: ------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/imaging/tests/__init__.py", line 24, in suite add_unittests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 71, in add_unittests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/imaging/tests/test_ppsd.py", line 16, in <module> from obspy.signal.tests.test_spectral_estimation import _get_ppsd File "/Users/foivos/obspy/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/Users/foivos/obspy/obspy/signal/spectral_estimation.py", line 46, in <module> from obspy.signal.invsim import cosine_taper File "/Users/foivos/obspy/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/Users/foivos/obspy/obspy/signal/util.py", line 24, in <module> from obspy.signal.headers import clibsignal File "/Users/foivos/obspy/obspy/signal/headers.py", line 18, in <module> clibsignal = _load_cdll("signal") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libsignal_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/ah/tests/test_core.py", line 67, in test_read st = read(testfile) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.ascii.core._read_slist File "/Users/foivos/obspy/obspy/io/ascii/core.py", line 116, in _read_slist ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/ascii/core.py", line 135, in obspy.io.ascii.core._read_slist Failed example: st = read('/path/to/slist.ascii') Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.ascii.core._read_slist[1]>", line 1, in <module> st = read('/path/to/slist.ascii') File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.ascii.core._read_tspair File "/Users/foivos/obspy/obspy/io/ascii/core.py", line 184, in _read_tspair ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/ascii/core.py", line 203, in obspy.io.ascii.core._read_tspair Failed example: st = read('/path/to/tspair.ascii') Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.ascii.core._read_tspair[1]>", line 1, in <module> st = read('/path/to/tspair.ascii') File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/ascii/tests/test_ascii.py", line 696, in test_regression_against_mseed2ascii read(mseed_file).write(tf.name, format="TSPAIR") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/css/tests/test_core.py", line 92, in test_css_read_via_obspy st = read(self.filename_css) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/css/tests/test_core.py", line 111, in test_nnsa_kb_core_read_via_obspy st = read(self.filename_nnsa) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/gcf/tests/test_core.py", line 129, in test_merge_gcf_stream st1 = read(filename, headonly=True, channel_prefix="HN") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/gcf/tests/test_core.py", line 112, in test_read_channel_prefix_via_obspy st = read(filename, headonly=True, channel_prefix="HN") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/gcf/tests/test_core.py", line 154, in test_sps_d st = read(filename, headonly=True, channel_prefix="HN") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gcf.__init__ File "/Users/foivos/obspy/obspy/io/gcf/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/gcf/__init__.py", line 21, in obspy.io.gcf.__init__ Failed example: st = read("/path/to/20160603_1955n.gcf") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.gcf.__init__[1]>", line 1, in <module> st = read("/path/to/20160603_1955n.gcf") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/gcf/tests/test_core.py", line 59, in test_read_head_via_obspy st = read(filename, headonly=True) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/gcf/tests/test_core.py", line 40, in test_read_via_obspy st = read(filename) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.io.gse2 due to: ------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/io/gse2/tests/__init__.py", line 16, in suite add_doctests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 120, in add_doctests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/io/gse2/libgse1.py", line 27, in <module> from .libgse2 import uncompress_cm6, verify_checksum, read_integer_data File "/Users/foivos/obspy/obspy/io/gse2/libgse2.py", line 42, in <module> clibgse2 = _load_cdll("gse2") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libgse2_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libgse2_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libgse2_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libgse2_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__ File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 24, in obspy.io.kinemetrics.__init__ Failed example: st = read("/path/to/BI008_MEMA-04823.evt") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[1]>", line 1, in <module> st = read("/path/to/BI008_MEMA-04823.evt") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 25, in obspy.io.kinemetrics.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 27, in obspy.io.kinemetrics.__init__ Failed example: print (st) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[3]>", line 1, in <module> print (st) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 45, in obspy.io.kinemetrics.__init__ Failed example: stats_evt = st[0].stats.pop('kinemetrics_evt') Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[4]>", line 1, in <module> stats_evt = st[0].stats.pop('kinemetrics_evt') NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 46, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[5]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 58, in obspy.io.kinemetrics.__init__ Failed example: for k, v in sorted(stats_evt.items()): print(k, v) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[6]>", line 1, in <module> for k, v in sorted(stats_evt.items()): NameError: name 'stats_evt' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 98, in obspy.io.kinemetrics.__init__ Failed example: type(st[0].data) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[7]>", line 1, in <module> type(st[0].data) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/kinemetrics/__init__.py", line 100, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].data) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.kinemetrics.__init__[8]>", line 1, in <module> print(st[0].data) NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/kinemetrics/tests/test_core.py", line 82, in test_read_via_obspy st = read(filename) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/kinemetrics/tests/test_core.py", line 131, in test_reading_via_obspy_and_bytesio st = read(buf) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.io.mseed due to: -------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/io/mseed/tests/__init__.py", line 16, in suite add_doctests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 120, in add_doctests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/nied/tests/test_knet_reading.py", line 26, in test_read_knet_ascii tr = read(testfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.nied.__init__ File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 90, in obspy.io.nied.__init__ Failed example: st = read('/path/to/test.knet') Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[5]>", line 1, in <module> st = read('/path/to/test.knet') File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 91, in obspy.io.nied.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[6]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 101, in obspy.io.nied.__init__ Failed example: st = read('/path/to/test.knet',convert_stnm=True) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[7]>", line 1, in <module> st = read('/path/to/test.knet',convert_stnm=True) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 102, in obspy.io.nied.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[8]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 109, in obspy.io.nied.__init__ Failed example: print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[9]>", line 1, in <module> print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 123, in obspy.io.nied.__init__ Failed example: print(st[0].stats.knet.stlo) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[10]>", line 1, in <module> print(st[0].stats.knet.stlo) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/nied/__init__.py", line 126, in obspy.io.nied.__init__ Failed example: print(st[0].stats.knet.comment) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.nied.__init__[11]>", line 1, in <module> print(st[0].stats.knet.comment) NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/nied/tests/test_knet_reading.py", line 76, in test_station_name_hack tr = read(testfile, convert_stnm=True)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/nied/tests/test_knet_reading.py", line 41, in test_read_knet_ascii_from_open_files tr = read(fh)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/nied/tests/test_knet_reading.py", line 60, in test_read_knet_ascii_from_bytes_io tr = read(buf)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/nordic/tests/test_nordic.py", line 213, in test_blanksfile st.write(testing_path, format='MSEED') File "/Users/foivos/obspy/obspy/core/stream.py", line 1459, in write ', '.join(ENTRY_POINTS['waveform_write']))) ValueError: Writing format "MSEED" is not supported. Supported types: MSEED, SAC, GSE2, SACXY, Q, SH_ASC, SLIST, TSPAIR, PICKLE, SEGY, SU, WAV, AH
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.pdas.core._read_pdas File "/Users/foivos/obspy/obspy/io/pdas/core.py", line 45, in _read_pdas ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/pdas/core.py", line 61, in obspy.io.pdas.core._read_pdas Failed example: st = read("/path/to/p1246001.108") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.pdas.core._read_pdas[1]>", line 1, in <module> st = read("/path/to/p1246001.108") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/pdas/core.py", line 62, in obspy.io.pdas.core._read_pdas Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.pdas.core._read_pdas[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/pdas/core.py", line 64, in obspy.io.pdas.core._read_pdas Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.pdas.core._read_pdas[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
>>> Cannot import test suite for module obspy.io.reftek due to: --------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/io/reftek/tests/__init__.py", line 16, in suite add_doctests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 120, in add_doctests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/io/reftek/core.py", line 20, in <module> from .packet import (Packet, EHPacket, _initial_unpack_packets, PACKET_TYPES, File "/Users/foivos/obspy/obspy/io/reftek/packet.py", line 21, in <module> from obspy.io.mseed.headers import clibmseed File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.rg16.__init__ File "/Users/foivos/obspy/obspy/io/rg16/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/rg16/__init__.py", line 53, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.rg16.__init__[3]>", line 1, in <module> st = obspy.read(filename) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/rg16/__init__.py", line 59, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename, merge=True) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.rg16.__init__[5]>", line 1, in <module> st = obspy.read(filename, merge=True) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/rg16/__init__.py", line 65, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename, contacts_north=True) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.rg16.__init__[6]>", line 1, in <module> st = obspy.read(filename, contacts_north=True) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 413, in test_null_terminated_strings tr = read(null_file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 374, in test_not_used_but_given_headers tr1 = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 593, in test_read_via_obspy_from_bytes_io tr = read(buf)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 196, in test_read_and_write_via_obspy tr = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 69, in test_read_write_via_obspy tr1 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 474, in test_read_with_fsize self.assertRaises(SacError, read, longer_file) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 87, in test_read_xy_write_xy_via_obspy tr1 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 102, in test_read_write_xy_via_obspy tr1 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 891, in test_sac_file_from_new_header tr1 = read(tf)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 283, in test_reference_time tr = read(self.fileseis)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.core._read_sac_xy File "/Users/foivos/obspy/obspy/io/sac/core.py", line 174, in _read_sac_xy ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/core.py", line 200, in obspy.io.sac.core._read_sac_xy Failed example: st = read("/path/to/testxy.sac") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.core._read_sac_xy[1]>", line 1, in <module> st = read("/path/to/testxy.sac") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_sactrace.py", line 225, in test_propagate_modified_stats_strings_to_sactrace tr = read(self.fileseis)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.__init__ File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 26, in obspy.io.sac.__init__ Failed example: st = read('/path/to/test.sac', debug_headers=True) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[1]>", line 1, in <module> st = read('/path/to/test.sac', debug_headers=True) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 27, in obspy.io.sac.__init__ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 29, in obspy.io.sac.__init__ Failed example: print(st) #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[3]>", line 1, in <module> print(st) #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 41, in obspy.io.sac.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[4]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 54, in obspy.io.sac.__init__ Failed example: print(st[0].stats.sac.dist) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[5]>", line 1, in <module> print(st[0].stats.sac.dist) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/__init__.py", line 59, in obspy.io.sac.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.__init__[6]>", line 1, in <module> st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 604, in test_write_via_obspy_to_bytes_io tr = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 923, in test_wrong_encoding tr0 = read(self.file_encode)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 366, in test_write_sac_xy_with_minimum_stats st = read(sac_file) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 176, in test_write_via_obspy tr = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 311, in test_undefined_b tr = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 782, in test_valid_sac_from_minimal_existing_sac_header tr1 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.core._internal_read_sac_xy File "/Users/foivos/obspy/obspy/io/sac/core.py", line 212, in _internal_read_sac_xy ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/core.py", line 238, in obspy.io.sac.core._internal_read_sac_xy Failed example: st = read("/path/to/testxy.sac") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.core._internal_read_sac_xy[1]>", line 1, in <module> st = read("/path/to/testxy.sac") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.core._read_sac File "/Users/foivos/obspy/obspy/io/sac/core.py", line 311, in _read_sac ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sac/core.py", line 340, in obspy.io.sac.core._read_sac Failed example: st = read("/path/to/test.sac") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sac.core._read_sac[1]>", line 1, in <module> st = read("/path/to/test.sac") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 914, in test_always_sac_reftime tr1 = read(tf)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 667, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 828, in test_decimate_resample tr.decimate(2) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-13>", line 2, in decimate File "/Users/foivos/obspy/obspy/core/trace.py", line 245, in _add_processing_info result = func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/trace.py", line 1804, in decimate self.filter('lowpass_cheby_2', freq=freq, maxorder=12) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-9>", line 2, in filter File "/Users/foivos/obspy/obspy/core/trace.py", line 245, in _add_processing_info result = func(*args, **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-8>", line 2, in filter File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 234, in raise_if_masked return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/trace.py", line 1513, in filter func = _get_function_from_entry_point('filter', type) File "/Users/foivos/obspy/obspy/core/util/base.py", line 330, in _get_function_from_entry_point entry_point.name) File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/Users/foivos/obspy/obspy/signal/spectral_estimation.py", line 46, in <module> from obspy.signal.invsim import cosine_taper File "/Users/foivos/obspy/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/Users/foivos/obspy/obspy/signal/util.py", line 24, in <module> from obspy.signal.headers import clibsignal File "/Users/foivos/obspy/obspy/signal/headers.py", line 18, in <module> clibsignal = _load_cdll("signal") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libsignal_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 271, in test_default_values tr = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 930, in test_encoding_flag tr0 = read(self.file_encode, encoding='cp1252')[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 438, in test_issue390 tr = read(self.file, headonly=True, debug_headers=True)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 342, in test_issue_156 st = read(sac_file) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 254, in test_iztype11 tr = read(sod_file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sac/tests/test_core.py", line 817, in test_merge_sac_obspy_headers tr1 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/seg2/tests/test_seg2.py", line 128, in test_read_data_format_3 st = read(basename + ".seg2") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/seg2/tests/test_seg2.py", line 103, in test_read_data_format_2 st = read(basename + ".seg2.gz") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file stream = func(tempfile.name, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.io.segy due to: ------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/io/segy/tests/__init__.py", line 36, in suite add_doctests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 120, in add_doctests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/io/segy/header.py", line 12, in <module> from . import pack, unpack File "/Users/foivos/obspy/obspy/io/segy/unpack.py", line 27, in <module> from .util import clibsegy File "/Users/foivos/obspy/obspy/io/segy/util.py", line 12, in <module> clibsegy = _load_cdll("segy") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libsegy_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libsegy_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libsegy_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libsegy_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.seisan.core._read_seisan File "/Users/foivos/obspy/obspy/io/seisan/core.py", line 117, in _read_seisan ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/core.py", line 133, in obspy.io.seisan.core._read_seisan Failed example: st = read("/path/to/2001-01-13-1742-24S.KONO__004") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.core._read_seisan[1]>", line 1, in <module> st = read("/path/to/2001-01-13-1742-24S.KONO__004") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/core.py", line 134, in obspy.io.seisan.core._read_seisan Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.core._read_seisan[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/core.py", line 136, in obspy.io.seisan.core._read_seisan Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.core._read_seisan[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.seisan.__init__ File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 23, in obspy.io.seisan.__init__ Failed example: st = read("/path/to/2001-01-13-1742-24S.KONO__004") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.__init__[1]>", line 1, in <module> st = read("/path/to/2001-01-13-1742-24S.KONO__004") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 24, in obspy.io.seisan.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.__init__[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 26, in obspy.io.seisan.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.__init__[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 37, in obspy.io.seisan.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.__init__[4]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/seisan/__init__.py", line 52, in obspy.io.seisan.__init__ Failed example: print(st[0].data) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.seisan.__init__[5]>", line 1, in <module> print(st[0].data) NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/seisan/tests/test_core.py", line 196, in test_read_obspy '2011-09-06-1311-36S.A1032_001BH_Z')) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/seiscomp/tests/test_inventory.py", line 122, in test_empty_depth self.assertEqual(str(w[0].message), "Sensor is missing " IndexError: list index out of range
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sh/tests/test_core.py", line 158, in test_read_and_write_multi_channel_asc_file_via_obspy stream2 = read(tempfile) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sh/tests/test_core.py", line 298, in test_header_whitespaces tr2 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sh.core._read_q File "/Users/foivos/obspy/obspy/io/sh/core.py", line 330, in _read_q ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 371, in obspy.io.sh.core._read_q Failed example: st = read("/path/to/QFILE-TEST.QHD") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_q[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST.QHD") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 372, in obspy.io.sh.core._read_q Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_q[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 374, in obspy.io.sh.core._read_q Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_q[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sh/tests/test_core.py", line 214, in test_read_and_write_multi_channel_q_file_via_obspy stream2 = read(tempfile) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/sh/tests/test_core.py", line 284, in test_write_long_header tr2 = read(tempfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sh.__init__ File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 23, in obspy.io.sh.__init__ Failed example: st = read("/path/to/QFILE-TEST-ASC.ASC") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST-ASC.ASC") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 24, in obspy.io.sh.__init__ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 26, in obspy.io.sh.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 36, in obspy.io.sh.__init__ Failed example: print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[4]>", line 1, in <module> print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 50, in obspy.io.sh.__init__ Failed example: print(st[0].stats.sh['COMMENT']) Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[5]>", line 1, in <module> print(st[0].stats.sh['COMMENT']) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/__init__.py", line 55, in obspy.io.sh.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.__init__[6]>", line 1, in <module> st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sh.core._read_asc File "/Users/foivos/obspy/obspy/io/sh/core.py", line 100, in _read_asc ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 128, in obspy.io.sh.core._read_asc Failed example: st = read("/path/to/QFILE-TEST-ASC.ASC") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_asc[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST-ASC.ASC") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 129, in obspy.io.sh.core._read_asc Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_asc[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/sh/core.py", line 131, in obspy.io.sh.core._read_asc Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.sh.core._read_asc[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.wav.core._read_wav File "/Users/foivos/obspy/obspy/io/wav/core.py", line 70, in _read_wav ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/core.py", line 89, in obspy.io.wav.core._read_wav Failed example: st = read("/path/to/3cssan.near.8.1.RNON.wav") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.core._read_wav[1]>", line 1, in <module> st = read("/path/to/3cssan.near.8.1.RNON.wav") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/core.py", line 90, in obspy.io.wav.core._read_wav Failed example: print(st) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.core._read_wav[2]>", line 1, in <module> print(st) #doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/wav/tests/test_core.py", line 124, in test_write_stream_via_obspy tr30 = read(testfile0)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.wav.__init__ File "/Users/foivos/obspy/obspy/io/wav/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/__init__.py", line 22, in obspy.io.wav.__init__ Failed example: st = read("/path/to/3cssan.near.8.1.RNON.wav") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.__init__[1]>", line 1, in <module> st = read("/path/to/3cssan.near.8.1.RNON.wav") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/__init__.py", line 23, in obspy.io.wav.__init__ Failed example: print(st) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.__init__[2]>", line 1, in <module> print(st) #doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/__init__.py", line 33, in obspy.io.wav.__init__ Failed example: print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.__init__[3]>", line 1, in <module> print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/wav/__init__.py", line 48, in obspy.io.wav.__init__ Failed example: st[0].data Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.wav.__init__[4]>", line 1, in <module> st[0].data NameError: name 'st' is not defined
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/wav/tests/test_core.py", line 80, in test_read_and_write_via_obspy tr3 = read(testfile)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/wav/tests/test_core.py", line 56, in test_read_head_via_obspy tr = read(self.file, headonly=True)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/wav/tests/test_core.py", line 43, in test_read_via_obspy tr = read(self.file)[0] File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/io/win/tests/test_core.py", line 32, in test_read_via_obspy st = read(filename) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.io.xseed due to: -------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/io/xseed/tests/__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 71, in add_unittests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/io/xseed/tests/test_parser.py", line 25, in <module> from obspy.signal.invsim import evalresp_for_frequencies File "/Users/foivos/obspy/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/Users/foivos/obspy/obspy/signal/spectral_estimation.py", line 46, in <module> from obspy.signal.invsim import cosine_taper File "/Users/foivos/obspy/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/Users/foivos/obspy/obspy/signal/util.py", line 24, in <module> from obspy.signal.headers import clibsignal File "/Users/foivos/obspy/obspy/signal/headers.py", line 18, in <module> clibsignal = _load_cdll("signal") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libsignal_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 2224, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.y.core._read_y File "/Users/foivos/obspy/obspy/io/y/core.py", line 134, in _read_y ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/y/core.py", line 153, in obspy.io.y.core._read_y Failed example: st = read("/path/to/YAYT_BHZ_20021223.124800") Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.y.core._read_y[1]>", line 1, in <module> st = read("/path/to/YAYT_BHZ_20021223.124800") File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/y/core.py", line 154, in obspy.io.y.core._read_y Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.y.core._read_y[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/Users/foivos/obspy/obspy/io/y/core.py", line 156, in obspy.io.y.core._read_y Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest obspy.io.y.core._read_y[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
>>> Cannot import test suite for module obspy.realtime due to: -------------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test = obj() File "/Users/foivos/obspy/obspy/realtime/tests/__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "/Users/foivos/obspy/obspy/core/util/testing.py", line 71, in add_unittests fromlist=[native_str("obspy")]) File "/Users/foivos/obspy/obspy/realtime/tests/test_rttrace.py", line 19, in <module> import obspy.signal.filter File "/Users/foivos/obspy/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/Users/foivos/obspy/obspy/signal/spectral_estimation.py", line 46, in <module> from obspy.signal.invsim import cosine_taper File "/Users/foivos/obspy/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/Users/foivos/obspy/obspy/signal/util.py", line 24, in <module> from obspy.signal.headers import clibsignal File "/Users/foivos/obspy/obspy/signal/headers.py", line 18, in <module> clibsignal = _load_cdll("signal") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libsignal_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libsignal_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/scripts/tests/test_print.py", line 23, in test_print obspy_print(self.all_files) File "/Users/foivos/obspy/obspy/scripts/print.py", line 35, in main st += read(f, format=args.format) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
Traceback (most recent call last): File "/Users/foivos/obspy/obspy/scripts/tests/test_print.py", line 32, in test_print_nomerge obspy_print(['--no-merge'] + self.all_files) File "/Users/foivos/obspy/obspy/scripts/print.py", line 35, in main st += read(f, format=args.format) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-31>", line 2, in read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 210, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 699, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-32>", line 2, in _read File "/Users/foivos/obspy/obspy/core/util/decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "/Users/foivos/obspy/obspy/core/stream.py", line 255, in _read headonly=headonly, **kwargs) File "/Users/foivos/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin 'isFormat') File "/Users/foivos/obspy/obspy/core/util/misc.py", line 644, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/foivos/obspy/obspy/io/mseed/core.py", line 21, in <module> from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError, File "/Users/foivos/obspy/obspy/io/mseed/util.py", line 24, in <module> from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS, File "/Users/foivos/obspy/obspy/io/mseed/headers.py", line 22, in <module> __clibmseed = _load_cdll("mseed") File "/Users/foivos/obspy/obspy/core/util/libnames.py", line 97, in _load_cdll raise ImportError(msg) ImportError: Could not load shared library "libmseed_Darwin_64bit_py27.so". dlopen(/Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so, 6): no suitable image found. Did find: /Users/foivos/obspy/obspy/core/util/../../lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture /Users/foivos/obspy/obspy/lib/libmseed_Darwin_64bit_py27.so: mach-o, but wrong architecture
>>> Cannot import test suite for module obspy.signal due to: ------------------------------------------------------------ File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'signal'
>>> Cannot import test suite for module obspy.taup due to: ---------------------------------------------------------- File "/usr/local/bin/obspy-runtests", line 11, in <module> load_entry_point('obspy', 'console_scripts', 'obspy-runtests')() File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 747, in main errors = run(argv, interactive) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 715, in run pr_url=args.pr_url) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/Users/foivos/obspy/obspy/scripts/runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'taup'
Skipped tests (9)
Submodule | Test | Skip message |
---|---|---|
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
Slowest tests (20)
Runtime | Test |
---|---|
2.686s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
2.098s | test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase) |
1.110s | test_reading_via_plugin (obspy.io.iaspei.tests.test_core.IASPEITestCase) |
1.021s | test_reading (obspy.io.iaspei.tests.test_core.IASPEITestCase) |
1.015s | test_reading_via_bytes_io (obspy.io.iaspei.tests.test_core.IASPEITestCase) |
0.968s | test_read_many_events (obspy.io.nordic.tests.test_nordic.TestNordicMethods) |
0.629s | test_multi_writing (obspy.io.nordic.tests.test_nordic.TestNordicMethods) |
0.301s | test_empty_depth (obspy.io.seiscomp.tests.test_inventory.SC3MLTestCase) |
0.248s | test_populate_waveform_id (obspy.io.sh.tests.test_evt.EvtTestCase) |
0.242s | test_read_via_module_and_bytesio (obspy.io.kinemetrics.tests.test_core.CoreTestCase) |
0.241s | test_write_quakeml (obspy.io.pde.tests.test_mchedr.MchedrTestCase) |
0.230s | test_reading_the_same_file_twice_does_not_raise_a_warnings (obspy.io.ndk.tests.test_ndk.NDKTestCase) |
0.217s | test_read_via_module (obspy.io.kinemetrics.tests.test_core.CoreTestCase) |
0.211s | test_tele_event2 (obspy.io.sh.tests.test_evt.EvtTestCase) |
0.184s | test_read_events (obspy.io.pde.tests.test_mchedr.MchedrTestCase) |
0.168s | test_coordinates (obspy.geodetics.tests.test_util_flinnengdahl.UtilFlinnEngdahlTestCase) |
0.146s | _read_mchedr (obspy.io.pde.mchedr) |
0.145s | test_write_tspair_file_multiple_traces (obspy.io.ascii.tests.test_ascii.ASCIITestCase) |
0.143s | test_read_focmec_lst_other_flavors (obspy.io.focmec.tests.test_core.FOCMECTestCase) |
0.142s | test_read_empty_header (obspy.io.nordic.tests.test_nordic.TestNordicMethods) |