#111587 Report by node raunewdebpc covering 1682 tests from 49 modules resulted into 828 errors

Report

ObsPy version
1.2.2.post0+dirty
Continuous Integration
-
GitHub Pull Request
-
Report file
XML document
Total runtime
49.0 sec
Report date/time
2020-07-13 02:56:36

System / Python

Architecture
64bit
Machine
x86_64
Node
raunewdebpc
Processor
None
Python Compiler
GCC 8.3.0
Python Implementation
CPython
Python Version
3.7.3
Release
5.6.0-0.bpo.2-amd64
System
Linux
Version
#1 SMP Debian 5.6.14-2~bpo10+1 (2020-06-09)

Dependencies

cartopy
---
decorator
4.3.0
flake8
3.6.0
future
0.16.0
geographiclib
1.49
lxml.etree
4.3.2
m2crypto
---
matplotlib
3.0.2
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.16.2
pep8-naming
---
pyflakes
2.0.0
pyimgur
---
pyproj
1.9.6
requests
2.21.0
scipy
1.1.0
setuptools
40.8.0
shapefile
2.1.0
sqlalchemy
1.2.18

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14
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 67 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
obspy.db - -
obspy.geodetics 3 82 83 84
obspy.imaging 1 85
obspy.io.ah 5 86 87 88 89 90
obspy.io.arclink 5 91 92 93 94 95
obspy.io.ascii 21 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
obspy.io.cmtsolution 10 117 118 119 120 121 122 123 124 125 126
obspy.io.cnv 1 127
obspy.io.css 7 128 129 130 131 132 133 134
obspy.io.dmx 5 135 136 137 138 139
obspy.io.focmec 8 140 141 142 143 144 145 146 147
obspy.io.gcf 9 148 149 150 151 152 153 154 155 156
obspy.io.gse2 44 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
obspy.io.hypodd 5 201 202 203 204 205
obspy.io.iaspei 7 206 207 208 209 210 211 212
obspy.io.json 4 213 214 215 216
obspy.io.kinemetrics 7 217 218 219 220 221 222 223
obspy.io.kml 3 224 225 226
obspy.io.mseed 86 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
obspy.io.ndk 16 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
obspy.io.nied 10 329 330 331 332 333 334 335 336 337 338
obspy.io.nlloc 12 339 340 341 342 343 344 345 346 347 348 349 350
obspy.io.nordic 29 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
obspy.io.pdas 3 380 381 382
obspy.io.pde 12 383 384 385 386 387 388 389 390 391 392 393 394
obspy.io.quakeml 30 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
obspy.io.reftek 20 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
obspy.io.rg16 32 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
obspy.io.sac 62 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
obspy.io.scardec 5 539 540 541 542 543
obspy.io.seg2 2 544 545
obspy.io.segy 46 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
obspy.io.seisan 7 592 593 594 595 596 597 598
obspy.io.seiscomp 46 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
obspy.io.sh 18 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662
obspy.io.shapefile 4 663 664 665 666
obspy.io.stationtxt 10 667 668 669 670 671 672 673 674 675 676
obspy.io.stationxml 18 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694
obspy.io.wav 7 695 696 697 698 699 700 701
obspy.io.win 2 702 703
obspy.io.xseed 59 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762
obspy.io.y 4 763 764 765 766
obspy.io.zmap 14 767 768 769 770 771 772 773 774 775 776 777 778 779 780
obspy.realtime 2 781 782
obspy.scripts 2 783 784
obspy.signal 1 785
obspy.taup 43 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828
Summary 828 828

Tracebacks (828)

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_sds.py", line 215, in test_sds_report
with open(html_regex_file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/sds_report.regex'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1501, in _fetch_index_rows
summary_present = self.has_tsindex_summary()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 393, in test_get_availability
"2018-12-31")
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 442, in get_availability
starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 704, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 248, in test_get_availability_extent
"2018-12-31T00:00:00.000000")
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 385, in get_availability_extent
starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 622, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1654, in _fetch_summary_rows
tsindex_summary_cte = self.get_tsindex_summary_cte()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 186, in test_get_nslc
"2018-01-01T00:00:00.019499")
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 343, in get_nslc
channel, starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 622, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1654, in _fetch_summary_rows
tsindex_summary_cte = self.get_tsindex_summary_cte()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 67, in test_get_waveforms
endtime=UTCDateTime(2018, 1, 1, 0, 0, 5))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/IU/2018/001/IU.ANMO.10.BHZ.2018.001_first_minute.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 129, in test_get_waveforms_bulk
endtime=UTCDateTime(2018, 1, 1, 0, 0, 7))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/CU/2018/001/CU.TGUH.00.BHZ.2018.001_first_minute.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1501, in _fetch_index_rows
summary_present = self.has_tsindex_summary()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 587, in test_has_data
self.assertTrue(client.has_data())
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 588, in has_data
endtime)[0]
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 522, in get_availability_percentage
merge_overlap=True)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 442, in get_availability
starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 704, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 720, in test__get_leap_seconds_file
open(test_file, 'a').close()
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 735, in test_build_file_list
reindex=True)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1109, in build_file_list
self.root_path))
OSError: No files matching filename pattern '*.mseed' were found under root path '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data'.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1145, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 668, in test_download_leap_seconds_file
file_path = indexer.download_leap_seconds_file(test_file)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1149, in download_leap_seconds_file
.format(file_path, str(e)))
OSError: Failed to create leap seconds file at /usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1145, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 684, in test_download_leap_seconds_file_no_path_given
file_path = indexer.download_leap_seconds_file()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1149, in download_leap_seconds_file
.format(file_path, str(e)))
OSError: Failed to create leap seconds file at /usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 943, in test__fetch_summary_rows
[("I*,CU",
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1654, in _fetch_summary_rows
tsindex_summary_cte = self.get_tsindex_summary_cte()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1346, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 976, in test_get_tsindex_summary_cte
ts_summary_cte = request_handler.get_tsindex_summary_cte()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1346, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1, in tsindex
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 64, in obspy.clients.filesystem.tsindex
Failed example:
extents = client.get_availability_extent(network="IU", channel="BHZ")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
extents = client.get_availability_extent(network="IU", channel="BHZ")
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 385, in get_availability_extent
starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 622, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1654, in _fetch_summary_rows
tsindex_summary_cte = self.get_tsindex_summary_cte()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1327, in get_tsindex_summary_cte
if self.has_tsindex_summary():
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 65, in obspy.clients.filesystem.tsindex
Failed example:
for extent in extents:
print("{0:<3} {1:<6} {2:<3} {3:<4} {4} {5}".format(*extent))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.filesystem.tsindex[7]>", line 1, in <module>
for extent in extents:
NameError: name 'extents' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 81, in obspy.clients.filesystem.tsindex
Failed example:
avail_percentage = client.get_availability_percentage(
"IU", "ANMO", "10", "BHZ",
UTCDateTime(2018, 1, 1, 0, 0, 0, 19500),
UTCDateTime(2018, 1, 1, 0, 1, 57, 994536))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1501, in _fetch_index_rows
summary_present = self.has_tsindex_summary()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.filesystem.tsindex[9]>", line 4, in <module>
UTCDateTime(2018, 1, 1, 0, 1, 57, 994536))
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 522, in get_availability_percentage
merge_overlap=True)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 442, in get_availability
starttime, endtime)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 704, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 85, in obspy.clients.filesystem.tsindex
Failed example:
print(avail_percentage)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.filesystem.tsindex[10]>", line 1, in <module>
print(avail_percentage)
NameError: name 'avail_percentage' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 99, in obspy.clients.filesystem.tsindex
Failed example:
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1501, in _fetch_index_rows
summary_present = self.has_tsindex_summary()
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1419, in has_tsindex_summary
table_names = sa.inspect(self.engine).get_table_names()
File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 62, in inspect
ret = reg(subject)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 140, in _insp
return Inspector.from_engine(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 136, in from_engine
return Inspector(bind)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 110, in __init__
bind.connect().close()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2171, in connect
return self._connection_cls(self, **kwargs)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 103, in __init__
else engine.raw_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2259, in raw_connection
self.pool.unique_connection, _connection
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2232, in _wrap_pool_connect
e, dialect, self
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1528, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 276, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2228, in _wrap_pool_connect
return fn()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 365, in unique_connection
return _ConnectionFairy._checkout(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 822, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 554, in checkout
rec = pool._do_get()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1250, in _do_get
self._dec_overflow()
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 277, in reraise
raise value
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1247, in _do_get
return self._create_connection()
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 370, in _create_connection
return _ConnectionRecord(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 499, in __init__
self.__connect(first_connect_check=True)
File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 701, in __connect
connection = pool._invoke_creator(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 437, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module>
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 287, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 648, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "/usr/lib/python3/dist-packages/obspy/clients/filesystem/tsindex.py", line 1600, in _fetch_index_rows
raise ValueError(str(err))
ValueError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/channel_response.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 498, in test_can_pickle
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 490, in test_catalog_resource_id
cat = read_events(self.neries_xml)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 435, in test_copy
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 386, in test_count_and_len
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 457, in test_filter
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 394, in test_get_item
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 285, in test_read_events
catalog = read_events(self.iris_xml)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/iris_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 301, in test_read_events_with_wildcard
expected = read_events(self.iris_xml)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/iris_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 269, in test_read_events_without_parameters
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 406, in test_slicing
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 276, in test_str
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_event.py", line 55, in test_str
event = read_events()[1]
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_inventory.py", line 669, in test_read_inventory_with_wildcard
expected = read_inventory(self.station_xml1)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/IU_ANMO_00_BHZ.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_inventory.py", line 202, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/inventory_response.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_network.py", line 147, in test_response_plot
time=t, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/network_response.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_network.py", line 386, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/network_location-basemap3.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_network.py", line 367, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/network_location-basemap2.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_resource_identifier.py", line 478, in test_catalog_resource_ids
cat1 = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_resource_identifier.py", line 412, in test_event_copying_does_not_raise_duplicate_resource_id_warning
ev = read_events()[0]
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 72, in test_evalresp_with_output_from_seed
p = Parser(seed_filename)
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 123, in __init__
self.read(data)
File "<decorator-gen-52>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 237, in read
raise IOError("First byte of data must be in [0-9<]")
OSError: First byte of data must be in [0-9<]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 433, in test_get_sampling_rates
inv = read_inventory(os.path.join(self.data_dir, "AU.MEEK.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/AU.MEEK.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 509, in test_regression_evalresp
inv = read_inventory(os.path.join(self.data_dir, "IM_I53H1_BDF.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/IM_I53H1_BDF.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 337, in test_resp_from_paz_loading_vs_evalresp
resp_er = read_inventory(filename)[0][0][0].response
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/RESP.XX.NS306..SHZ.GS13.1.2180'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 495, in test_response_calculation_paz_without_decimation
inv = read_inventory(os.path.join(self.data_dir, "DK.BSD..BHZ.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/DK.BSD..BHZ.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 250, in test_response_list_raises_error_if_out_of_range
inv = read_inventory(os.path.join(self.data_dir, "IM_IL31__BHZ.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/IM_IL31__BHZ.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 212, in test_response_list_stage
inv = read_inventory(os.path.join(self.data_dir, "IM_IL31__BHZ.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/IM_IL31__BHZ.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 146, in test_response_plot
outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/response_response.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees
plot_degrees=True, outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/response_response_degrees.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 276, in test_response_with_no_units_in_stage_1
self.data_dir, "stationxml_no_units_in_stage_1.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/stationxml_no_units_in_stage_1.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_response.py", line 183, in test_segfault_after_error_handling
inv = read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/TM.SKLT.__.BHZ_faulty_response.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/station_response.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees
outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/core/tests/images/station_response_degrees.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_stream.py", line 1931, in test_read
tr = read('/path/to/slist_float.ascii', dtype=np.int32)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/slist_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_stream.py", line 2667, in test_read_check_compression
check_compression=False)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/slist.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_stream.py", line 1447, in test_read_pickle
st = read(pickle_file, format='PICKLE')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/example_py2.pickle'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_stream.py", line 2685, in test_rotate_to_zne
inv = read_inventory("/path/to/ffbx.stationxml", format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx.stationxml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_stream.py", line 2291, in test_simulate_seedresp_parser
p = Parser("/path/to/dataless.seed.BW_RJOB")
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 123, in __init__
self.read(data)
File "<decorator-gen-52>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 237, in read
raise IOError("First byte of data must be in [0-9<]")
OSError: First byte of data must be in [0-9<]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_trace.py", line 1893, in test_interpolate
org_tr = read("/path/to/%s" % file_)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/interpolation_test_random_waveform_delta_0.01_npts_50.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_trace.py", line 1740, in test_remove_polynomial_response
inv = read_inventory(filename, format='StationXML')
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/stationxml_IU.ANTO.30.LDO.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_trace.py", line 1716, in test_remove_response
parser = Parser("/path/to/dataless.seed.BW_RJOB")
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 123, in __init__
self.read(data)
File "<decorator-gen-52>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/xseed/parser.py", line 237, in read
raise IOError("First byte of data must be in [0-9<]")
OSError: First byte of data must be in [0-9<]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_trace.py", line 2294, in test_remove_response_plot
tr = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_util_base.py", line 81, in test_image_comparison
shutil.copy(img_ok, ic.name)
File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/core/tests/images/image_ok.png'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 247, in test_is_format
if is_format(file) is True: # pragma: no cover
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 44, in _is_ah
if _get_ah_version(filename):
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 78, in _get_ah_version
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 383, in test_read_bzip2_file
st1 = read(os.path.join(ascii_path, 'slist.ascii.bz2'))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/../../io/ascii/tests/data/slist.ascii.bz2'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 372, in test_read_gzip2_file
st1 = read(os.path.join(ascii_path, 'tspair.ascii.gz'))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/../../io/ascii/tests/data/tspair.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 395, in test_read_tar_archive
st1 = read(os.path.join(path, "data", "test.tar"))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/test.tar'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 418, in test_read_zip_archive
st1 = read(os.path.join(path, 'data', 'test.zip'))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/core/tests/data/test.zip'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/core/tests/test_waveform_plugins.py", line 532, in test_reading_tarfile_impostor
st = read("/path/to/tarfile_impostor.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/tarfile_impostor.mseed'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream._rotate_specific_channels_to_zne
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3456, in _rotate_specific_channels_to_zne
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3461, in obspy.core.stream.Stream._rotate_specific_channels_to_zne
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx_unrotated_gaps.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3462, in obspy.core.stream.Stream._rotate_specific_channels_to_zne
Failed example:
inv = read_inventory("/path/to/ffbx.stationxml")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[2]>", line 1, in <module>
inv = read_inventory("/path/to/ffbx.stationxml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx.stationxml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3463, in obspy.core.stream.Stream._rotate_specific_channels_to_zne
Failed example:
st._rotate_specific_channels_to_zne(
"BW", "FFB1", "", ["HHZ", "HH1", "HH2"],
inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[3]>", line 1, in <module>
st._rotate_specific_channels_to_zne(
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream._rotate_to_zne
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3398, in _rotate_to_zne
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3403, in obspy.core.stream.Stream._rotate_to_zne
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_to_zne[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx_unrotated_gaps.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3404, in obspy.core.stream.Stream._rotate_to_zne
Failed example:
inv = read_inventory("/path/to/ffbx.stationxml")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_to_zne[2]>", line 1, in <module>
inv = read_inventory("/path/to/ffbx.stationxml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx.stationxml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 3405, in obspy.core.stream.Stream._rotate_to_zne
Failed example:
st._rotate_to_zne(inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream._rotate_to_zne[3]>", line 1, in <module>
st._rotate_to_zne(inv) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.rotate
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 2660, in rotate
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 2707, in obspy.core.stream.Stream.rotate
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream.rotate[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx_unrotated_gaps.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 2708, in obspy.core.stream.Stream.rotate
Failed example:
inv = read_inventory("/path/to/ffbx.stationxml")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream.rotate[2]>", line 1, in <module>
inv = read_inventory("/path/to/ffbx.stationxml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/ffbx.stationxml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 2709, in obspy.core.stream.Stream.rotate
Failed example:
st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream.rotate[3]>", line 1, in <module>
st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.read
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 1, in read
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 137, in obspy.core.stream.read
Failed example:
st = read("/path/to/loc_RJOB20050831023349.z", format="GSE2")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.read[7]>", line 1, in <module>
st = read("/path/to/loc_RJOB20050831023349.z", format="GSE2")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/loc_RJOB20050831023349.z'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 138, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.850000Z - ... | 200.0 Hz, 12000 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 153, in obspy.core.stream.read
Failed example:
st = read("/path/to/tspair.ascii.gz")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.read[13]>", line 1, in <module>
st = read("/path/to/tspair.ascii.gz")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/tspair.ascii.gz'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 154, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
XX.TEST..BHZ | 2008-01-15T00:00:00.025000Z - ... | 40.0 Hz, 635 samples
Got:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.850000Z - 2005-08-31T02:34:49.845000Z | 200.0 Hz, 12000 samples
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.remove_response
File "/usr/lib/python3/dist-packages/obspy/core/trace.py", line 1, in remove_response
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/trace.py", line 61, in obspy.core.trace.Trace.remove_response
Failed example:
st = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.trace.Trace.remove_response[7]>", line 1, in <module>
st = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/trace.py", line 63, in obspy.core.trace.Trace.remove_response
Failed example:
inv = read_inventory("/path/to/IU_ULN_00_LH1.xml")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.trace.Trace.remove_response[9]>", line 1, in <module>
inv = read_inventory("/path/to/IU_ULN_00_LH1.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ULN_00_LH1.xml'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.__eq__
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 130, in __eq__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 142, in obspy.core.event.catalog.Catalog.__eq__
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.__eq__[1]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 143, in obspy.core.event.catalog.Catalog.__eq__
Failed example:
cat2 = cat.copy()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.__eq__[2]>", line 1, in <module>
cat2 = cat.copy()
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 144, in obspy.core.event.catalog.Catalog.__eq__
Failed example:
cat is cat2
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.__eq__[3]>", line 1, in <module>
cat is cat2
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 146, in obspy.core.event.catalog.Catalog.__eq__
Failed example:
cat == cat2
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.__eq__[4]>", line 1, in <module>
cat == cat2
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.clear
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 262, in clear
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 269, in obspy.core.event.catalog.Catalog.clear
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.clear[1]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 270, in obspy.core.event.catalog.Catalog.clear
Failed example:
len(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.clear[2]>", line 1, in <module>
len(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 272, in obspy.core.event.catalog.Catalog.clear
Failed example:
cat.clear()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.clear[3]>", line 1, in <module>
cat.clear()
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 273, in obspy.core.event.catalog.Catalog.clear
Failed example:
cat.events
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.clear[4]>", line 1, in <module>
cat.events
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.copy
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 406, in copy
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 418, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[1]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 419, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat2 = cat.copy()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[2]>", line 1, in <module>
cat2 = cat.copy()
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 423, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat is cat2
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[3]>", line 1, in <module>
cat is cat2
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 428, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat == cat2
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[4]>", line 1, in <module>
cat == cat2
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 435, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat3 = cat
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[5]>", line 1, in <module>
cat3 = cat
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 436, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat is cat3
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[6]>", line 1, in <module>
cat is cat3
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 438, in obspy.core.event.catalog.Catalog.copy
Failed example:
cat == cat3
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.copy[7]>", line 1, in <module>
cat == cat3
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.filter
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 278, in filter
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 305, in obspy.core.event.catalog.Catalog.filter
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[1]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 306, in obspy.core.event.catalog.Catalog.filter
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 311, in obspy.core.event.catalog.Catalog.filter
Failed example:
cat2 = cat.filter("magnitude >= 4.0", "latitude < 40.0")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[3]>", line 1, in <module>
cat2 = cat.filter("magnitude >= 4.0", "latitude < 40.0")
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 312, in obspy.core.event.catalog.Catalog.filter
Failed example:
print(cat2)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[4]>", line 1, in <module>
print(cat2)
NameError: name 'cat2' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 315, in obspy.core.event.catalog.Catalog.filter
Failed example:
cat3 = cat.filter("time > 2012-04-04T14:10",
"time < 2012-04-04T14:20")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[5]>", line 1, in <module>
cat3 = cat.filter("time > 2012-04-04T14:10",
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 317, in obspy.core.event.catalog.Catalog.filter
Failed example:
print(cat3)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[6]>", line 1, in <module>
print(cat3)
NameError: name 'cat3' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 320, in obspy.core.event.catalog.Catalog.filter
Failed example:
cat4 = cat.filter("time > 2012-04-04T14:10",
"time < 2012-04-04T14:20",
inverse=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[7]>", line 1, in <module>
cat4 = cat.filter("time > 2012-04-04T14:10",
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 323, in obspy.core.event.catalog.Catalog.filter
Failed example:
print(cat4)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.filter[8]>", line 1, in <module>
print(cat4)
NameError: name 'cat4' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.plot
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 515, in plot
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 611, in obspy.core.event.catalog.Catalog.plot
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.plot[1]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 644, in obspy.core.event.catalog.Catalog.plot
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.plot[7]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.catalog.Catalog.write
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 460, in write
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 475, in obspy.core.event.catalog.Catalog.write
Failed example:
catalog = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.catalog.Catalog.write[1]>", line 1, in <module>
catalog = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.event.Event.plot
File "/usr/lib/python3/dist-packages/obspy/core/event/event.py", line 174, in plot
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/event/event.py", line 219, in obspy.core.event.event.Event.plot
Failed example:
event = read_events("/path/to/CMTSOLUTION")[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.event.Event.plot[1]>", line 1, in <module>
event = read_events("/path/to/CMTSOLUTION")[0]
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/CMTSOLUTION'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.inventory.Inventory.get_contents
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 238, in get_contents
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 245, in obspy.core.inventory.inventory.Inventory.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_contents[1]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IRIS_single_channel_with_response.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 246, in obspy.core.inventory.inventory.Inventory.get_contents
Failed example:
inventory.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_contents[2]>", line 1, in <module>
inventory.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 248, in obspy.core.inventory.inventory.Inventory.get_contents
Failed example:
for k, v in sorted(inventory.get_contents().items()): # doctest: +NORMALIZE_WHITESPACE
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_contents[3]>", line 1, in <module>
for k, v in sorted(inventory.get_contents().items()): # doctest: +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.inventory.Inventory.get_response
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 408, in get_response
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 413, in obspy.core.inventory.inventory.Inventory.get_response
Failed example:
inventory = read_inventory("/path/to/IU_ANMO_BH.xml")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_response[1]>", line 1, in <module>
inventory = read_inventory("/path/to/IU_ANMO_BH.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ANMO_BH.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 415, in obspy.core.inventory.inventory.Inventory.get_response
Failed example:
response = inventory.get_response("IU.ANMO.00.BHZ", datetime)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_response[3]>", line 1, in <module>
response = inventory.get_response("IU.ANMO.00.BHZ", datetime)
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 416, in obspy.core.inventory.inventory.Inventory.get_response
Failed example:
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.get_response[4]>", line 1, in <module>
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'response' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.inventory.Inventory.plot
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 819, in plot
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 947, in obspy.core.inventory.inventory.Inventory.plot
Failed example:
cat = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.inventory.Inventory.plot[8]>", line 1, in <module>
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.network.Network.get_contents
File "/usr/lib/python3/dist-packages/obspy/core/inventory/network.py", line 184, in get_contents
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/network.py", line 192, in obspy.core.inventory.network.Network.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.network.Network.get_contents[2]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IRIS_single_channel_with_response.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/network.py", line 193, in obspy.core.inventory.network.Network.get_contents
Failed example:
network = inventory.networks[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.network.Network.get_contents[3]>", line 1, in <module>
network = inventory.networks[0]
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/network.py", line 194, in obspy.core.inventory.network.Network.get_contents
Failed example:
network.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.network.Network.get_contents[4]>", line 1, in <module>
network.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'network' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/network.py", line 196, in obspy.core.inventory.network.Network.get_contents
Failed example:
for k, v in sorted(network.get_contents().items()):
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.network.Network.get_contents[5]>", line 1, in <module>
for k, v in sorted(network.get_contents().items()):
NameError: name 'network' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.station.Station.get_contents
File "/usr/lib/python3/dist-packages/obspy/core/inventory/station.py", line 203, in get_contents
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/station.py", line 211, in obspy.core.inventory.station.Station.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.station.Station.get_contents[2]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IRIS_single_channel_with_response.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/station.py", line 212, in obspy.core.inventory.station.Station.get_contents
Failed example:
station = inventory.networks[0].stations[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.station.Station.get_contents[3]>", line 1, in <module>
station = inventory.networks[0].stations[0]
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/station.py", line 213, in obspy.core.inventory.station.Station.get_contents
Failed example:
station.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.station.Station.get_contents[4]>", line 1, in <module>
station.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'station' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/inventory/station.py", line 215, in obspy.core.inventory.station.Station.get_contents
Failed example:
for (k, v) in sorted(station.get_contents().items()):
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.inventory.station.Station.get_contents[5]>", line 1, in <module>
for (k, v) in sorted(station.get_contents().items()):
NameError: name 'station' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.misc._yield_obj_parent_attr
File "/usr/lib/python3/dist-packages/obspy/core/util/misc.py", line 655, in _yield_obj_parent_attr
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/util/misc.py", line 681, in obspy.core.util.misc._yield_obj_parent_attr
Failed example:
cat = obspy.read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.util.misc._yield_obj_parent_attr[2]>", line 1, in <module>
cat = obspy.read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/core/util/misc.py", line 682, in obspy.core.util.misc._yield_obj_parent_attr
Failed example:
resource_tuple = list(_yield_obj_parent_attr(cat, ResourceIdentifier))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.util.misc._yield_obj_parent_attr[3]>", line 1, in <module>
resource_tuple = list(_yield_obj_parent_attr(cat, ResourceIdentifier))
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/geodetics/tests/test_util_flinnengdahl.py", line 25, in test_coordinates
with open(self.samples_file, 'r') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/geodetics/tests/data/flinnengdahl.csv'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/geodetics/tests/test_util_flinnengdahl.py", line 44, in test_script
with open(self.samples_file, 'r') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/geodetics/tests/data/flinnengdahl.csv'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.geodetics.base.inside_geobounds
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 404, in inside_geobounds
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 443, in obspy.geodetics.base.inside_geobounds
Failed example:
ev = read_events()[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.geodetics.base.inside_geobounds[2]>", line 1, in <module>
ev = read_events()[0]
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 444, in obspy.geodetics.base.inside_geobounds
Failed example:
orig = ev.origins[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.geodetics.base.inside_geobounds[3]>", line 1, in <module>
orig = ev.origins[0]
NameError: name 'ev' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 445, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, minlatitude=40, maxlatitude=42)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.geodetics.base.inside_geobounds[4]>", line 1, in <module>
inside_geobounds(orig, minlatitude=40, maxlatitude=42)
NameError: name 'orig' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 447, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, minlatitude=40, maxlatitude=42,
minlongitude=78, maxlongitude=79)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.geodetics.base.inside_geobounds[5]>", line 1, in <module>
inside_geobounds(orig, minlatitude=40, maxlatitude=42,
NameError: name 'orig' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/geodetics/base.py", line 450, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, latitude=40, longitude=80,
minradius=1, maxradius=10)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.geodetics.base.inside_geobounds[6]>", line 1, in <module>
inside_geobounds(orig, latitude=40, longitude=80,
NameError: name 'orig' is not defined
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/usr/bin/obspy3-runtests", line 11, in <module>
load_entry_point('obspy==1.2.2.post0+dirty', 'console_scripts', 'obspy3-runtests')()
File "/usr/lib/python3/dist-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/usr/lib/python3/dist-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/usr/lib/python3/dist-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/usr/lib/python3/dist-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/usr/lib/python3/dist-packages/obspy/imaging/tests/__init__.py", line 24, in suite
add_unittests(suite, MODULE_NAME)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 71, in add_unittests
fromlist=[native_str("obspy")])
File "/usr/lib/python3/dist-packages/obspy/imaging/tests/test_ppsd.py", line 16, in <module>
from obspy.signal.tests.test_spectral_estimation import _get_ppsd
File "/usr/lib/python3/dist-packages/obspy/signal/tests/test_spectral_estimation.py", line 74, in <module>
_sample_data = _internal_get_sample_data()
File "/usr/lib/python3/dist-packages/obspy/signal/tests/test_spectral_estimation.py", line 47, in _internal_get_sample_data
with gzip.open(file_data) as f:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/signal/tests/data/BW.KW1._.EHZ.D.2011.090_downsampled.asc.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ah/tests/test_core.py", line 31, in test_is_ah
self.assertTrue(_is_ah(testfile))
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 44, in _is_ah
if _get_ah_version(filename):
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 78, in _get_ah_version
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ah/tests/data/TSG/BRV.TSG.DS.lE21.resp'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ah/tests/test_core.py", line 67, in test_read
st = read(testfile)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ah/tests/data/hrv.lh.zne'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ah/tests/test_core.py", line 90, in test_read_ah
st = _read_ah(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 62, in _read_ah
version = _get_ah_version(filename)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 78, in _get_ah_version
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ah/tests/data/ah1.f'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ah/tests/test_core.py", line 192, in test_tsg
st = _read_ah(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 62, in _read_ah
version = _get_ah_version(filename)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 78, in _get_ah_version
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ah/tests/data/TSG/BRV.TSG.DS.lE21.resp'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ah/tests/test_core.py", line 263, in test_write_ah1
stream_orig = _read_ah(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 62, in _read_ah
version = _get_ah_version(filename)
File "/usr/lib/python3/dist-packages/obspy/io/ah/core.py", line 78, in _get_ah_version
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ah/tests/data/st.ah'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 54, in test_analogue_filter_chain
arclink_inv = read_inventory(self.arclink_afc_path)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/arclink_afc.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 87, in test_auto_read_arclink_xml
arclink_inv = read_inventory(self.arclink_xml_path)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/arclink_inventory.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 47, in test_publicid_slash
v = read_inventory(os.path.join(self.data_dir, "public-id-slash.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/public-id-slash.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 81, in test_raise_polynomial
read_inventory(self.arclink_xml_poly)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/arclink_inventory_poly.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/test_inventory_xml.py", line 76, in test_validate_inventories_against_schema
self.assertTrue(validate_arclink_xml(self.arclink_xml_path)[0])
File "/usr/lib/python3/dist-packages/obspy/io/arclink/inventory.py", line 111, in validate_arclink_xml
xmldoc = etree.parse(path_or_object)
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/arclink_inventory.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/arclink/tests/data/arclink_inventory.xml"
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 127, in test_read_slist_file_encoding
stream = _read_slist(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 109, in test_read_slist_file_head_only
stream = _read_slist(testfile, headonly=True)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 69, in test_read_slist_file_multiple_traces
stream = _read_slist(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_2_traces.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 45, in test_read_slist_file_single_trace
stream = _read_slist(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 252, in test_read_tspair_file_encoding
stream = _read_tspair(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 189, in test_read_tspair_file_multiple_traces
stream = _read_tspair(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_2_traces.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 164, in test_read_tspair_file_single_trace
stream = _read_tspair(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 233, in test_read_tspair_head_only
stream = _read_tspair(testfile, headonly=True)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 696, in test_regression_against_mseed2ascii
read(mseed_file).write(tf.name, format="TSPAIR")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/miniseed_record.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 449, in test_write_slist
stream_orig = _read_slist(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 544, in test_write_slist_custom_fmt_custom
stream_orig = _read_slist(testfile_orig)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 497, in test_write_slist_custom_fmt_float
stream_orig = _read_slist(testfile_orig)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 568, in test_write_slist_file_multiple_traces
stream_orig = _read_slist(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 137, in _read_slist
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/slist_2_traces.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 277, in test_write_tspair
stream_orig = _read_tspair(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 324, in test_write_tspair_custom_fmt
stream_orig = _read_tspair(testfile_orig)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 369, in test_write_tspair_custom_fmt_custom
stream_orig = _read_tspair(testfile_orig)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_float.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 391, in test_write_tspair_file_multiple_traces
stream_orig = _read_tspair(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 205, in _read_tspair
with open(filename, 'rt') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ascii/tests/data/tspair_2_traces.ascii'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._read_slist
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 116, in _read_slist
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ascii.core._read_slist[1]>", line 1, in <module>
st = read('/path/to/slist.ascii')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/slist.ascii'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._read_tspair
File "/usr/lib/python3/dist-packages/obspy/io/ascii/core.py", line 184, in _read_tspair
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ascii.core._read_tspair[1]>", line 1, in <module>
st = read('/path/to/tspair.ascii')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/tspair.ascii'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 30, in test_is_slist_file
self.assertEqual(_is_slist(testfile), True)
AssertionError: False != True
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ascii/tests/test_ascii.py", line 149, in test_is_tspair_file
self.assertEqual(_is_tspair(testfile), True)
AssertionError: False != True
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 138, in test_read_and_write_cmtsolution_explosion
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION_EXPLOSION'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 113, in test_read_and_write_cmtsolution_from_bytes_io
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 35, in test_read_and_write_cmtsolution_from_files
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 92, in test_read_and_write_cmtsolution_from_open_files
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 177, in test_read_and_write_multiple_cmtsolution_from_files
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/MULTIPLE_EVENTS'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 208, in test_read_and_write_multiple_events_from_bytes_io
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/MULTIPLE_EVENTS'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 232, in test_reading_newer_cmtsolution_files
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION_NEW'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 62, in test_write_no_preferred_focal_mechanism
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/data/CMTSOLUTION'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.cmtsolution.__init__
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/__init__.py", line 22, in obspy.io.cmtsolution.__init__
Failed example:
cat = obspy.read_events("/path/to/CMTSOLUTION")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/CMTSOLUTION")
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/CMTSOLUTION'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/__init__.py", line 23, in obspy.io.cmtsolution.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/__init__.py", line 29, in obspy.io.cmtsolution.__init__
Failed example:
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cmtsolution/tests/test_core.py", line 167, in test_is_cmtsolution
self.assertTrue(_is_cmtsolution(filename))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/cnv/tests/test_core.py", line 32, in test_write_cnv
cat = read_events(filename, format="QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/cnv/tests/data/obspyck_20141020150701.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_core.py", line 41, in setUp
with gzip.open(filename, 'rb') as fp:
File "/usr/lib/python3.7/gzip.py", line 53, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.7/gzip.py", line 163, in __init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/201101311155.10.ascii.gz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_station.py", line 74, in test_default_write
self._run_test(inv, fname)
File "/usr/lib/python3/dist-packages/obspy/io/css/tests/test_station.py", line 47, in _run_test
with open(os.path.join(self.data_dir, expected), 'rt') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/css/tests/data/station/default.affiliation'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/dmx/tests/test_core.py", line 86, in test_check_data_content_sum
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/dmx/tests/data/131114_090600.dmx'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/dmx/tests/test_core.py", line 53, in test_read_via_module
st = _read_dmx(filename)
File "/usr/lib/python3/dist-packages/obspy/io/dmx/core.py", line 124, in _read_dmx
with open(filename, "rb") as fid:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/dmx/tests/data/131114_090600.dmx'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/dmx/tests/test_core.py", line 34, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/dmx/tests/data/131114_090600.dmx'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/dmx/tests/test_core.py", line 72, in test_read_with_station
st = read(filename, station='EMPL')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/dmx/tests/data/131114_090600.dmx'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.dmx.__init__
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 28, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[1]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/131114_090600.dmx'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 29, in obspy.io.dmx.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 34, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx", format='DMX')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[3]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx", format='DMX')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/131114_090600.dmx'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 35, in obspy.io.dmx.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[4]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 43, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx", station="EMFO")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[5]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx", station="EMFO")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/131114_090600.dmx'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/dmx/__init__.py", line 44, in obspy.io.dmx.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.dmx.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/focmec/tests/test_core.py", line 70, in setUp
with open(self.out_file, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/focmec/tests/data/focmec_8sta.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 129, in test_merge_gcf_stream
st1 = read(filename, headonly=True, channel_prefix="HN")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/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 "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 95, in test_read_head_via_module
st = _read_gcf(filename, headonly=True)
File "/usr/lib/python3/dist-packages/obspy/io/gcf/core.py", line 85, in _read_gcf
with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 59, in test_read_head_via_obspy
st = read(filename, headonly=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 76, in test_read_via_module
st = _read_gcf(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gcf/core.py", line 85, in _read_gcf
with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 40, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gcf/tests/test_core.py", line 154, in test_sps_d
st = read(filename, headonly=True, channel_prefix="HN")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gcf/tests/data/20160603_1910n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gcf.__init__
File "/usr/lib/python3/dist-packages/obspy/io/gcf/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gcf.__init__[1]>", line 1, in <module>
st = read("/path/to/20160603_1955n.gcf")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gcf.core._read_gcf
File "/usr/lib/python3/dist-packages/obspy/io/gcf/core.py", line 60, in _read_gcf
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gcf/core.py", line 82, in obspy.io.gcf.core._read_gcf
Failed example:
st = read("/path/to/20160603_1955n.gcf", format="GCF")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gcf.core._read_gcf[1]>", line 1, in <module>
st = read("/path/to/20160603_1955n.gcf", format="GCF")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/20160603_1955n.gcf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 323, in test_amplitude
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 198, in test_arrival
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 43, in test_catalog
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 57, in test_event
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 705, in test_incomplete_file
self.assertRaises(GSE2BulletinSyntaxError, _read_gse2, filename)
File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_incomplete.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 579, in test_inventory
inventory = read_inventory(inventory_filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/inventory.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 619, in test_inventory_with_multiple_channels
inventory = read_inventory(inventory_filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/inventory_multiple_channels.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 247, in test_magnitude
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 553, in test_non_standard_format
event_point_separator=True)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_non_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 85, in test_origin
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 486, in test_parameters
fields, False, 'AGE')
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 142, in test_pick
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 700, in test_read_events
catalog = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_2_events.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 666, in test_several_begin
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_2_begins.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 387, in test_several_events
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_2_events.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_bulletin.py", line 289, in test_station_magnitude
catalog = _read_gse2(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1123, in _read_gse2
event_point_separator, agency).load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 244, in load
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_standard.txt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 124, in test_read_and_write_streams_via_obspy
with open(filename, 'rb') as f1:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RNON20040609200559.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 78, in test_read_and_write_via_obspy
st1 = read(gse2file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RNON20040609200559.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 327, in test_read_apply_calib
st = read(gse2file, apply_calib=False)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 315, in test_read_dos
st = read(filedos, verify_chksum=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349_first100_dos.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 256, in test_read_gse1_head_via_obspy
st = read(gse1file, headonly=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_STAU20031119011659.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 238, in test_read_gse1_via_obspy
st = read(gse1file, verify_checksum=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_STAU20031119011659.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 357, in test_read_gse2_int_datatype
st = read(gse2file, verify_checksum=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/boa___00_07a.gse'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 59, in test_read_head_via_obspy
st = read(gse2file, headonly=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 276, in test_read_intv_gse1_via_obspy
self.assertRaises(ChksumError, read, gse1file, verify_chksum=True)
File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/GRF_031102_0225.GSE.wrong_chksum'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 37, in test_read_via_obspy
st = read(gse2file, verify_checksum=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 217, in test_read_with_wrong_checksum
read(gse2file, verify_chksum=False)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z.wrong_chksum'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 229, in test_read_with_wrong_parameters
read(gse2file, verify_chksum=False, starttime=None)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z.wrong_chksum'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_core.py", line 191, in test_tab_complete_stats
tr = read(gse2file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse1.py", line 30, in test_verify_checksums
fh = open(os.path.join(self.path, 'acc.gse'), 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/acc.gse'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 192, in test_broken_head
with open(os.path.join(self.path, 'broken_head.gse2'), 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/broken_head.gse2'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 95, in test_bytes_io
with open(gse2file, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RNON20040609200559.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 181, in test_chk2_in_cm6
with open(os.path.join(self.path, 'twiceCHK2.gse2'), 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/twiceCHK2.gse2'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 133, in test_is_widi_2
with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RNON20040609200559.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 204, in test_no_dat2_null_pointer
with open(filename, 'rb') as fin:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349_first100_dos.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 244, in test_parse_sta2
with open(filename) as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/STA2.testlines'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 44, in test_read
f = open(gse2file, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 77, in test_read_and_write
with open(gse2file, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RNON20040609200559.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 118, in test_read_header
with open(gse2file, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/twiceCHK2.gse2'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/gse2/tests/test_libgse2.py", line 65, in test_read_with_wrong_checksum
fp = open(gse2file, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/gse2/tests/data/loc_RJOB20050831023349.z.wrong_chksum'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.__init__
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 25, in obspy.io.gse2.__init__
Failed example:
st = read("/path/to/loc_RJOB20050831023349.z")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[1]>", line 1, in <module>
st = read("/path/to/loc_RJOB20050831023349.z")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/loc_RJOB20050831023349.z'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 35, in obspy.io.gse2.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 37, in obspy.io.gse2.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[3]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 48, in obspy.io.gse2.__init__
Failed example:
gse2 = st[0].stats.pop('gse2')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[4]>", line 1, in <module>
gse2 = st[0].stats.pop('gse2')
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 49, in obspy.io.gse2.__init__
Failed example:
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[5]>", line 1, in <module>
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 62, in obspy.io.gse2.__init__
Failed example:
for k, v in sorted(gse2.items()):
print(k, v) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[6]>", line 1, in <module>
for k, v in sorted(gse2.items()):
NameError: name 'gse2' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 79, in obspy.io.gse2.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[7]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 98, in obspy.io.gse2.__init__
Failed example:
catalog = read_events('/path/to/bulletin/gse_2.0_standard.txt')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[10]>", line 1, in <module>
catalog = read_events('/path/to/bulletin/gse_2.0_standard.txt')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/bulletin/gse_2.0_standard.txt'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/__init__.py", line 99, in obspy.io.gse2.__init__
Failed example:
print(catalog)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[11]>", line 1, in <module>
print(catalog)
NameError: name 'catalog' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.bulletin._read_gse2
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 988, in _read_gse2
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1111, in obspy.io.gse2.bulletin._read_gse2
Failed example:
catalog = read_events('/path/to/bulletin/gse_2.0_non_standard.txt',
default_network_code='FR', res_id_prefix='quakeml:abc',
fields=fields, event_point_separator=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[3]>", line 3, in <module>
fields=fields, event_point_separator=True)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/bulletin/gse_2.0_non_standard.txt'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/bulletin.py", line 1114, in obspy.io.gse2.bulletin._read_gse2
Failed example:
print(catalog)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[4]>", line 1, in <module>
print(catalog)
NameError: name 'catalog' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.core._read_gse1
File "/usr/lib/python3/dist-packages/obspy/io/gse2/core.py", line 135, in _read_gse1
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/core.py", line 158, in obspy.io.gse2.core._read_gse1
Failed example:
st = read("/path/to/y2000.gse")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.core._read_gse1[1]>", line 1, in <module>
st = read("/path/to/y2000.gse")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/y2000.gse'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.core._read_gse2
File "/usr/lib/python3/dist-packages/obspy/io/gse2/core.py", line 34, in _read_gse2
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/gse2/core.py", line 57, in obspy.io.gse2.core._read_gse2
Failed example:
st = read("/path/to/loc_RJOB20050831023349.z")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.core._read_gse2[1]>", line 1, in <module>
st = read("/path/to/loc_RJOB20050831023349.z")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/loc_RJOB20050831023349.z'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/test_pha.py", line 61, in test_60s_nan
cat = read_events(self.fname2)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/data/60s_nan.pha'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/test_pha.py", line 74, in test_populate_waveform_id
cat = read_events(self.fname, inventory=inv)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/data/example.pha'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/test_pha.py", line 32, in test_read_pha
cat = read_events(self.fname)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/data/example.pha'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.hypodd.__init__
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/__init__.py", line 22, in obspy.io.hypodd.__init__
Failed example:
cat = read_events('/path/to/example.pha')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.hypodd.__init__[1]>", line 1, in <module>
cat = read_events('/path/to/example.pha')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/example.pha'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/__init__.py", line 23, in obspy.io.hypodd.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.hypodd.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/hypodd/tests/test_pha.py", line 25, in test_is_pha
self.assertEqual(pha._is_pha(self.fname), True)
AssertionError: False != True
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 160, in test_is_ims10_bulltin_from_bytes_io
with open(self.path_to_ims, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/data/19670130012028.isf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 147, in test_is_ims10_bulltin_open_file
with open(self.path_to_ims, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/data/19670130012028.isf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 102, in test_reading
self.assertEqual(len(cat), 1)
TypeError: object of type 'bool' has no len()
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 123, in test_reading_via_bytes_io
with io.open(self.path_to_ims, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/data/19670130012028.isf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 109, in test_reading_via_file
with io.open(self.path_to_ims, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/data/19670130012028.isf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 135, in test_reading_via_plugin
_no_uuid_hashes=True)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/data/19670130012028.isf'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/iaspei/tests/test_core.py", line 143, in test_is_ims10_bulltin
self.assertTrue(_is_ims10_bulletin(self.path_to_ims))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/json/tests/test_json.py", line 27, in setUp
self.c = _read_quakeml(qml_file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/json/tests/test_json.py", line 27, in setUp
self.c = _read_quakeml(qml_file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/json/tests/test_json.py", line 27, in setUp
self.c = _read_quakeml(qml_file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/json/tests/../../quakeml/tests/data/qml-example-1.2-RC3.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.json.default
File "/usr/lib/python3/dist-packages/obspy/io/json/default.py", line 1, in default
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/json/default.py", line 16, in obspy.io.json.default
Failed example:
c = read_events()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.json.default[3]>", line 1, in <module>
c = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/json/default.py", line 18, in obspy.io.json.default
Failed example:
s = json.dumps(c, default=d)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.json.default[5]>", line 1, in <module>
s = json.dumps(c, default=d)
NameError: name 'c' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 44, in test_is_evt
self.assertTrue(is_evt(filename))
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/core.py", line 49, in is_evt
with open(filename_or_object, "rb") as file_obj:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 62, in test_is_evt_from_bytesio
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 180, in test_read_via_module
st = read_evt(filename)
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/core.py", line 73, in read_evt
stream = evt_obj.read_file(filename_or_object)
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/evt.py", line 101, in read_file
file_pointer = open(filename_or_object, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 227, in test_read_via_module_and_bytesio
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 82, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/test_core.py", line 128, in test_reading_via_obspy_and_bytesio
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kinemetrics/tests/data/BI008_MEMA-04823.evt'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__
File "/usr/lib/python3/dist-packages/obspy/io/kinemetrics/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.kinemetrics.__init__[1]>", line 1, in <module>
st = read("/path/to/BI008_MEMA-04823.evt")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/BI008_MEMA-04823.evt'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.kinemetrics.__init__[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/obspy/io/kml/tests/test_kml.py", line 45, in test_write_catalog
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/kml/tests/test_kml.py", line 35, in test_write_inventory
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/kml/tests/data/inventory.kml'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kml.__init__
File "/usr/lib/python3/dist-packages/obspy/io/kml/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/kml/__init__.py", line 15, in obspy.io.kml.__init__
Failed example:
cat = read_events() # load example data
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.kml.__init__[3]>", line 1, in <module>
cat = read_events() # load example data
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 419, in test__partial_with_only_endtime_set
stream = _read_mseed(testfile, endtime=endtime - 6)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 773, in test_all_data_types_and_endians_in_multiple_files
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.second_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1036, in test_bizarre_files
"endiantest.be-header.be-data.mseed"))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/bizarre/endiantest.be-header.be-data.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1162, in test_corrupt_file_length
st = read(filename, reclen=512)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/corrupt_one_extra_byte_at_end.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 842, in test_enforce_steim2_with_steim1_as_encoding
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 890, in test_files_from_libmseed
st = read(os.path.join(cur_file))
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/encoding/smallASCII_littleEndian.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 211, in test_get_record_information
info = util.get_record_information(os.path.join(path, file))
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/encoding/float32_Float32_bigEndian.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1002, in test_is_invalid_mseed
self.assertFalse(_is_mseed(file))
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 49, in _is_mseed
file_size = os.path.getsize(filename)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/not.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 282, in test_is_mseed
is_mseed = _is_mseed(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 49, in _is_mseed
file_size = os.path.getsize(filename)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1019, in test_is_valid_mseed
self.assertTrue(_is_mseed(file))
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 49, in _is_mseed
file_size = os.path.getsize(filename)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/fullseed.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1499, in test_libmseed_test_cases
with io.open(filename, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/libmseed/pack-Float32-encoded.test'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1544, in test_per_trace_mseed_attributes
with io.open(d, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 241, in test_read_and_write_file_with_gaps
stream = _read_mseed(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/gaps.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 121, in test_read_and_write_traces
stream = _read_mseed(mseed_file)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 344, in test_read_file_via_mseed
stream = _read_mseed(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 638, in test_read_full_seed
st = _read_mseed(files)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/fullseed.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 83, in test_read_gappy_file
stream = _read_mseed(mseed_file)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/gaps.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 44, in test_read_head_file_via_obspy
stream = read(testfile, headonly=True, format='MSEED')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 505, in test_read_ms_traces_via_records_multiple_ids
st = read(file, starttime=starttime, endtime=endtime)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/constructedFileToTestReadViaRecords.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1584, in test_read_mseed_sr0
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/rt130_sr0_cropped.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 432, in test_read_partial_frame_with_empty_time_range
endtime=starttime - 1E6 + 1)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 393, in test_read_partial_time_window_from_file
endtime=endtime - 6)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 406, in test_read_partial_with_only_starttime_set
stream = _read_mseed(testfile, starttime=starttime + 6)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 441, in test_read_partial_with_source_name
st1 = _read_mseed(testfile)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/two_channels.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 742, in test_read_parts_of_file
tr1 = read(file, starttime=t[0], endtime=t[1])[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 330, in test_read_single_record_to_msr
ms.read(-1, 0, 1, 0)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/msstruct.py", line 143, in read
skipnotdata, dataflag, verbose)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/headers.py", line 833, in _wrapper
raise InternalMSEEDError(msg)
obspy.io.mseed.InternalMSEEDError: Encountered 1 error(s) during a call to ms_readmsr_r():
Cannot open file: /usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records (No such file or directory)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1133, in test_read_timing_qual
st = read(filename, details=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/timingquality.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 758, in test_read_with_gse2_option
tr = read(file, verify_chksum=True, starttime=None)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.second_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 650, in test_read_with_wild_card
st = read(files)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1275, in test_reading_cdsn_format
tr = read(os.path.join(self.path, "data", "CDSN_encoding.mseed"))[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/CDSN_encoding.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1264, in test_reading_dwwssn_format
tr = read(os.path.join(self.path, "data", "DWWSSN_encoding.mseed"))[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/DWWSSN_encoding.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1237, in test_reading_geoscope_16bit_4bit_exponent_format
"GEOSCOPE16_4_encoding.mseed"))[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/GEOSCOPE16_4_encoding.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1253, in test_reading_sro_format
"SRO_encoding.mseed")).select(component="Z")[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/SRO_encoding.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1177, in test_verbosity
st = read(filename, verbose=2)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.UH3.__.EHZ.D.2010.171.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 923, in test_writing_microseconds
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.UH3.__.EHZ.D.2010.171.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 138, in test_broken_last_record
d = np.fromfile(file, dtype=np.uint8)[128:]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/brokenlastrecord.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 662, in test_full_seed_with_non_default_dataquality
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/fullseed.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 326, in test_issue160
tr_one = read(file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 347, in test_issue217
tr = read(file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/reclen_1024_without_sequence_numbers.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 480, in test_issue272
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 441, in test_issue289
st = read(file, starttime=UTCDateTime() - 10, endtime=UTCDateTime())
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/steim2.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 457, in test_issue312
ms = _MSStruct(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/msstruct.py", line 72, in __init__
self.read(-1, 0, 1, 0)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/msstruct.py", line 143, in read
skipnotdata, dataflag, verbose)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/headers.py", line 833, in _wrapper
raise InternalMSEEDError(msg)
obspy.io.mseed.InternalMSEEDError: Encountered 1 error(s) during a call to ms_readmsr_r():
Cannot open file: /usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records (No such file or directory)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 494, in test_issue325
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/dataquality-m.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 573, in test_issue485
data = read(filename)[0].data.tolist()
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/encoding/nan_float32.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 853, in test_mseed_zero_data_headonly
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/three_records_zero_data_in_middle.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 806, in test_mseed_zero_data_offset
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/bizarre/mseed_data_offset_0.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 885, in test_read_file_with_microsecond_wrap
info = util.get_record_information(file)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/microsecond_wrap.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1181, in test_read_file_with_non_valid_blocks_in_between
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 771, in test_read_file_with_various_noise_records
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/various_noise_records.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 308, in test_read_with_missing_blockette010
tr = read(file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/blockette008.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1051, in test_reading_file_with_data_offset_of_48
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/mseed_not_a_single_blkt_48byte_data_offset.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1246, in test_reading_files_with_non_ascii_headers
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/gecko_non_ascii_header.ms'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1131, in test_reading_less_than_128_bytes
with io.open(filename, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 923, in test_reading_miniseed_with_no_blockette_1000
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/bizarre/mseed_no_blkt_1000.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 749, in test_reading_noise_records
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/single_record_plus_noise_record.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1072, in test_reading_truncated_miniseed_files
with io.open(filename, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1101, in test_reading_truncated_miniseed_files_case_2
with io.open(filename, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 257, in test_write_wrong_encoding
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 275, in test_write_wrong_encoding_via_mseed_stats
st = read(file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_special_issues.py", line 294, in test_wrong_record_length_as_argument
read(file, reclen=111)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/encoding/float32_Float32_bigEndian.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 277, in test_get_data_quality
data_quality_flags=True)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 237, in get_flags
bfr_np = np.fromfile(file, dtype=np.int8)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/qualityflags.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 171, in test_get_record_information
info = util.get_record_information(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 211, in test_get_record_information_negative_sr_rate_and_mult
info = util.get_record_information(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/single_record_negative_sr_fact_and_mult.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 1300, in test_get_record_information_with_invalid_word_order
info = util.get_record_information(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/record_with_invalid_word_order.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 545, in test_get_start_and_end_time
(start, end) = util.get_start_and_end_time(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 90, in get_start_and_end_time
info = get_record_information(file_or_file_object)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 571, in test_get_timing_quality
data_quality_flags=False)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 237, in get_flags
bfr_np = np.fromfile(file, dtype=np.int8)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/timingquality.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 244, in test_issue2069
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 1333, in test_read_fullseed_no_data_record
with open(filename, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/RJOB.BW.EHZ.D.300806.0000.fullseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 1204, in test_regression_segfault_when_hooking_up_libmseeds_logging
_read_mseed(filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 270, in _read_mseed
length = os.path.getsize(mseed_object)
File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/wrong_blockette_numbers_specified.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 1182, in test_set_flags_in_fixed_header_with_blockette_100
tf.name)
File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/test.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 634, in test_time_shifting
util.shift_time_of_file(filename, output_filename, 10000)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 1574, in shift_time_of_file
info = get_record_information(input_file)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_10_records'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 687, in test_time_shifting_special_case
timeshift=123400)
File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 1574, in shift_time_of_file
info = get_record_information(input_file)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 543, in get_record_information
with open(file_or_file_object, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/one_record_already_applied_time_correction.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 604, in test_unpack_steim_1
d = np.fromfile(steim1_file, dtype=np.uint8)[64:]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/BW.BGLD.__.EHE.D.2008.001.first_record'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_mseed_util.py", line 617, in test_unpack_steim_2
d = np.fromfile(steim2_file, dtype=np.uint8)[128:]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/steim2.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 23, in test_default_record
obspy_recordanalyzer([self.test_file])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/timingquality.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 364, in test_random_cal_blockette
obspy_recordanalyzer([filename])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/blockette320.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 114, in test_record_with_data_offset_zero
obspy_recordanalyzer(['-n', '1', filename])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/bizarre/mseed_data_offset_0.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 203, in test_record_with_negative_sr_fact_and_mult
obspy_recordanalyzer([filename])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/single_record_negative_sr_fact_and_mult.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 65, in test_second_record
obspy_recordanalyzer(['-n', '1', self.test_file])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/timingquality.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 307, in test_sine_cal_blockette
obspy_recordanalyzer([filename])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/blockette310.mseed'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/mseed/tests/test_recordanalyzer.py", line 249, in test_step_cal_blockette
obspy_recordanalyzer([filename])
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 505, in main
rec = RecordAnalyser(args.filename)
File "/usr/lib/python3/dist-packages/obspy/io/mseed/scripts/recordanalyzer.py", line 58, in __init__
self.file = open(file_object, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/mseed/tests/data/blockette300.mseed'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.__init__
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 31, in obspy.io.mseed.__init__
Failed example:
st = read("/path/to/test.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[1]>", line 1, in <module>
st = read("/path/to/test.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/test.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 32, in obspy.io.mseed.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 34, in obspy.io.mseed.__init__
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[3]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 37, in obspy.io.mseed.__init__
Failed example:
print(st[0].stats) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[4]>", line 1, in <module>
print(st[0].stats) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 53, in obspy.io.mseed.__init__
Failed example:
for k, v in sorted(st[0].stats.mseed.items()):
print("'%s': %s" % (k, str(v))) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[5]>", line 1, in <module>
for k, v in sorted(st[0].stats.mseed.items()):
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/__init__.py", line 65, in obspy.io.mseed.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.__init__[6]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.core._read_mseed
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 148, in _read_mseed
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 198, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/two_channels.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[1]>", line 1, in <module>
st = read("/path/to/two_channels.mseed")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/two_channels.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 199, in obspy.io.mseed.core._read_mseed
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[2]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 205, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/two_channels.mseed",
starttime=UTCDateTime("2010-06-20T00:00:01"),
sourcename="*.?HZ")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[4]>", line 3, in <module>
sourcename="*.?HZ")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/two_channels.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 208, in obspy.io.mseed.core._read_mseed
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[5]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 214, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/timingquality.mseed", details=True)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[6]>", line 1, in <module>
st = read("/path/to/timingquality.mseed", details=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/timingquality.mseed'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 215, in obspy.io.mseed.core._read_mseed
Failed example:
print(st[0].stats.mseed.blkt1001.timing_quality)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[7]>", line 1, in <module>
print(st[0].stats.mseed.blkt1001.timing_quality)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 221, in obspy.io.mseed.core._read_mseed
Failed example:
print(st[0].stats.mseed.calibration_type)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[8]>", line 1, in <module>
print(st[0].stats.mseed.calibration_type)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/core.py", line 228, in obspy.io.mseed.core._read_mseed
Failed example:
print(len(st))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.core._read_mseed[9]>", line 1, in <module>
print(len(st))
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.util.get_flags
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 102, in get_flags
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 194, in obspy.io.mseed.util.get_flags
Failed example:
filename = get_example_file("qualityflags.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[1]>", line 1, in <module>
filename = get_example_file("qualityflags.mseed")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file qualityflags.mseed in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 195, in obspy.io.mseed.util.get_flags
Failed example:
flags = get_flags(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[2]>", line 1, in <module>
flags = get_flags(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 196, in obspy.io.mseed.util.get_flags
Failed example:
for k, v in flags["data_quality_flags_counts"].items():
print(k, v)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[3]>", line 1, in <module>
for k, v in flags["data_quality_flags_counts"].items():
NameError: name 'flags' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 210, in obspy.io.mseed.util.get_flags
Failed example:
filename = get_example_file("timingquality.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[4]>", line 1, in <module>
filename = get_example_file("timingquality.mseed")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file timingquality.mseed in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 211, in obspy.io.mseed.util.get_flags
Failed example:
flags = get_flags(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[5]>", line 1, in <module>
flags = get_flags(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 212, in obspy.io.mseed.util.get_flags
Failed example:
for k, v in sorted(flags["timing_quality"].items()):
print(k, v) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_flags[6]>", line 1, in <module>
for k, v in sorted(flags["timing_quality"].items()):
NameError: name 'flags' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.util.get_record_information
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 508, in get_record_information
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 519, in obspy.io.mseed.util.get_record_information
Failed example:
filename = get_example_file("test.mseed")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_record_information[1]>", line 1, in <module>
filename = get_example_file("test.mseed")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file test.mseed in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 520, in obspy.io.mseed.util.get_record_information
Failed example:
ri = get_record_information(filename)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_record_information[2]>", line 1, in <module>
ri = get_record_information(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 521, in obspy.io.mseed.util.get_record_information
Failed example:
for k, v in sorted(ri.items()):
print(k, v)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_record_information[3]>", line 1, in <module>
for k, v in sorted(ri.items()):
NameError: name 'ri' is not defined
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.util.get_start_and_end_time
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 31, in get_start_and_end_time
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 50, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
filename = get_example_file(
"BW.BGLD.__.EHE.D.2008.001.first_10_records")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[1]>", line 2, in <module>
"BW.BGLD.__.EHE.D.2008.001.first_10_records")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file BW.BGLD.__.EHE.D.2008.001.first_10_records in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 52, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
get_start_and_end_time(filename) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[2]>", line 1, in <module>
get_start_and_end_time(filename) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 59, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
f = open(filename, 'rb')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[3]>", line 1, in <module>
f = open(filename, 'rb')
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 60, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
get_start_and_end_time(f) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[4]>", line 1, in <module>
get_start_and_end_time(f) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 67, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
file_object = io.BytesIO(f.read())
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[6]>", line 1, in <module>
file_object = io.BytesIO(f.read())
NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 68, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
get_start_and_end_time(file_object) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[7]>", line 1, in <module>
get_start_and_end_time(file_object) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'file_object' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 71, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
file_object.close()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[8]>", line 1, in <module>
file_object.close()
NameError: name 'file_object' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 76, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
_ = f.seek(512)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[9]>", line 1, in <module>
_ = f.seek(512)
NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 77, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
get_start_and_end_time(f) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[10]>", line 1, in <module>
get_start_and_end_time(f) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 83, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
file_object = io.BytesIO(f.read())
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[11]>", line 1, in <module>
file_object = io.BytesIO(f.read())
NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 84, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
get_start_and_end_time(file_object) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[12]>", line 1, in <module>
get_start_and_end_time(file_object) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'file_object' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/mseed/util.py", line 87, in obspy.io.mseed.util.get_start_and_end_time
Failed example:
f.close()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.mseed.util.get_start_and_end_time[13]>", line 1, in <module>
f.close()
NameError: name 'f' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 271, in test_missing_lines
with open(os.path.join(self.datapath, "multiple_events.ndk"), "rt") \
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/multiple_events.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 309, in test_raise_exception_if_no_events_in_file
with open(os.path.join(self.datapath, "C200604092050A.ndk"), "rt") \
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 47, in test_read_multiple_events
cat = _read_ndk(filename)
File "/usr/lib/python3/dist-packages/obspy/io/ndk/core.py", line 401, in _read_ndk
raise ObsPyNDKException(msg)
obspy.io.ndk.core.ObsPyNDKException: No valid events found in NDK file.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 34, in test_read_single_ndk
cat = _read_ndk(filename)
File "/usr/lib/python3/dist-packages/obspy/io/ndk/core.py", line 401, in _read_ndk
raise ObsPyNDKException(msg)
obspy.io.ndk.core.ObsPyNDKException: No valid events found in NDK file.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 297, in test_reading_event_with_faulty_but_often_occurring_timestamp
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/faulty_cmt_timestamp.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 220, in test_reading_file_with_multiple_errors
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/faulty_multiple_events.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 129, in test_reading_from_bytes_io
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 257, in test_reading_from_bytestring
ref_cat = read_events(reference)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 158, in test_reading_from_open_file_in_binary_mode
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 145, in test_reading_from_open_file_in_text_mode
with open(filename, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 240, in test_reading_from_string
ref_cat = read_events(reference)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 113, in test_reading_from_string_io
with open(filename, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 172, in test_reading_the_same_file_twice_does_not_raise_a_warnings
cat_1 = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 101, in test_reading_using_obspy_plugin
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/ndk/tests/data/C200604092050A.ndk'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ndk.__init__
File "/usr/lib/python3/dist-packages/obspy/io/ndk/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/ndk/__init__.py", line 60, in obspy.io.ndk.__init__
Failed example:
cat = obspy.read_events("/path/to/C200604092050A.ndk")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ndk.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/C200604092050A.ndk")
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/C200604092050A.ndk'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/ndk/__init__.py", line 61, in obspy.io.ndk.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ndk.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/ndk/tests/test_ndk.py", line 92, in test_is_ndk
self.assertTrue(_is_ndk(filename))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 24, in test_read_fnetmt_catalog
cat = read_events(testfile, 'FNETMT')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/FNETMTCATALOG'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 44, in test_read_fnetmt_catalog_from_bytes_io
with open(testfile, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/FNETMTCATALOG'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 35, in test_read_fnetmt_catalog_from_open_files
with open(testfile, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/FNETMTCATALOG'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_knet_reading.py", line 26, in test_read_knet_ascii
tr = read(testfile)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/test.knet'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_knet_reading.py", line 56, in test_read_knet_ascii_from_bytes_io
with open(testfile, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/test.knet'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_knet_reading.py", line 40, in test_read_knet_ascii_from_open_files
with open(testfile, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/test.knet'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_knet_reading.py", line 76, in test_station_name_hack
tr = read(testfile, convert_stnm=True)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nied/tests/data/test.knet'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nied.__init__
File "/usr/lib/python3/dist-packages/obspy/io/nied/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nied/__init__.py", line 22, in obspy.io.nied.__init__
Failed example:
cat = obspy.read_events("/path/to/FNETMTCATALOG")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/FNETMTCATALOG")
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/FNETMTCATALOG'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nied/__init__.py", line 23, in obspy.io.nied.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nied/__init__.py", line 29, in obspy.io.nied.__init__
Failed example:
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[5]>", line 1, in <module>
st = read('/path/to/test.knet')
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/test.knet'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[7]>", line 1, in <module>
st = read('/path/to/test.knet',convert_stnm=True)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/test.knet'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[8]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 69, in test_is_fnetmt_catalog
self.assertTrue(is_fnetmt)
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nied/tests/test_knet_reading.py", line 98, in test_is_knet_ascii
self.assertTrue(is_knet)
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 225, in test_is_nlloc_hyp
filename = get_example_file("nlloc_custom.hyp")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc_custom.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 287, in test_issue_2222
nll_str = open(get_example_file('nlloc.hyp')).read().splitlines()
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 278, in test_read_nlloc_6_beta_signature
cat[0].creation_info.creation_time,
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 167, in __getitem__
return self.events.__getitem__(index)
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 86, in test_read_nlloc_hyp
filename = get_example_file("nlloc_custom.hyp")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc_custom.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 217, in test_read_nlloc_hyp_via_plugin
filename = get_example_file("nlloc_custom.hyp")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc_custom.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 124, in test_read_nlloc_hyp_with_builtin_projection
cat = read_nlloc_hyp(get_example_file("nlloc.hyp"))
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 250, in test_read_nlloc_with_multiple_events
got = read_events(get_example_file("vanua.sum.grid0.loc.hyp"),
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file vanua.sum.grid0.loc.hyp in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 238, in test_read_nlloc_with_picks
picks = read_events(get_example_file("nlloc_custom.qml"))[0].picks
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc_custom.qml in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_core.py", line 51, in test_write_nlloc_obs
filename = get_example_file("nlloc_custom.qml")
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file nlloc_custom.qml in tests/data or data directory of ObsPy modules
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_util.py", line 56, in test_read_nlloc_scatter_coordinate_conversion
filename, coordinate_converter=_coordinate_conversion)
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/util.py", line 51, in read_nlloc_scatter
data = np.fromfile(filename, dtype=dtype)[4:]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/data/nlloc.scat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/test_util.py", line 43, in test_read_nlloc_scatter_plain
got = read_nlloc_scatter(filename)
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/util.py", line 51, in read_nlloc_scatter
data = np.fromfile(filename, dtype=dtype)[4:]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nlloc/tests/data/nlloc.scat'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nlloc.__init__
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 23, in obspy.io.nlloc.__init__
Failed example:
cat = read_events("/path/to/nlloc.hyp")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[1]>", line 1, in <module>
cat = read_events("/path/to/nlloc.hyp")
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/nlloc.hyp'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 24, in obspy.io.nlloc.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 28, in obspy.io.nlloc.__init__
Failed example:
event = cat[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[3]>", line 1, in <module>
event = cat[0]
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 29, in obspy.io.nlloc.__init__
Failed example:
print(event) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[4]>", line 1, in <module>
print(event) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 42, in obspy.io.nlloc.__init__
Failed example:
origin = event.origins[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[5]>", line 1, in <module>
origin = event.origins[0]
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/nlloc/__init__.py", line 43, in obspy.io.nlloc.__init__
Failed example:
print(origin) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nlloc.__init__[6]>", line 1, in <module>
print(origin) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'origin' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 378, in test_corrupt_header
f = open(filename, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 657, in test_distance_conversion
cat = read_events(testing_path)
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 1015, in test_ellipse_plot
Ellipse(20, 10, 90).plot(outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/plot_ellipse.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 1036, in test_ellipse_plot_tangents
outfile=ic.name)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 446, in __exit__
msg = self.compare()
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 546, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python3/dist-packages/obspy/core/util/testing.py", line 195, in compare_images
raise IOError('Baseline image %r does not exist.' % expected)
OSError: Baseline image '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/plot_ellipse_tangents.png' does not exist.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 328, in test_header_mapping
'01-0411-15L.S201309'))
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 115, in readheader
with open(sfile, 'r', encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 736, in test_high_precision_read_write
os.path.join(self.testing_path, "sfile_high_precision_picks"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_high_precision_picks'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 558, in test_inaccurate_picks
cat = read_nordic(testing_path)
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 782, in test_long_phase_name
os.path.join(self.testing_path, "sfile_long_phase"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_long_phase'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 344, in test_missing_header
readheader(os.path.join(self.testing_path, 'Sfile_no_header'))
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 115, in readheader
with open(sfile, 'r', encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/Sfile_no_header'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 852, in test_read_bad_covariance
os.path.join(self.testing_path, "sfile_bad_covariance"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_bad_covariance'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 299, in test_read_empty_header
'Sfile_no_location'))[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 469, in test_read_event
event = read_nordic(testing_path)[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 311, in test_read_extra_header
test_event = read_nordic(testing_path)[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 862, in test_read_high_accuracy
os.path.join(self.testing_path, "sfile_highaccuracy"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_highaccuracy'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 717, in test_read_high_precision_pick
os.path.join(self.testing_path, "sfile_high_precision_picks"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_high_precision_picks'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 500, in test_read_many_events
catalog = read_nordic(testing_path)
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 581, in test_read_moment
event = read_nordic(testing_path)[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 594, in test_read_moment_info
spec_inf = read_spectral_info(testing_path)
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 265, in read_spectral_info
with open(sfile, 'r', encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/automag.out'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 627, in test_read_picks_across_day_end
event = read_nordic(testing_path)[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 1096, in test_read_uncert_ellipse
os.path.join(self.testing_path, "sfile_highaccuracy"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_highaccuracy'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 431, in test_read_wavename
wavefiles = readwavename(testing_path)
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 803, in readwavename
with open(sfile, 'r', encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 363, in test_reading_bytes_io
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 348, in test_reading_string_io
with open(filename, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/01-0411-15L.S201309'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 568, in test_round_len
event = read_nordic(testing_path)[0]
File "/usr/lib/python3/dist-packages/obspy/io/nordic/core.py", line 401, in read_nordic
f.close()
AttributeError: 'str' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 824, in test_seconds_overflow
os.path.join(self.testing_path, "sfile_seconds_overflow"))
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/nordic/tests/data/sfile_seconds_overflow'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 519, in test_write_plugin
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 504, in test_write_select
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 810, in read_events
return _create_example_catalog()
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 831, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/neries_events.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 616, in test_is_sfile
self.assertTrue(_is_sfile(os.path.join(self.testing_path, sfile)))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/nordic/tests/test_nordic.py", line 481, in test_read_latin1
self.assertTrue(_is_sfile(dos_file))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pdas/tests/test_core.py", line 28, in test_read_pdas
st = _read_pdas(self.testfile)
File "/usr/lib/python3/dist-packages/obspy/io/pdas/core.py", line 69, in _read_pdas
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pdas/tests/data/p1246001.108'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pdas.core._read_pdas
File "/usr/lib/python3/dist-packages/obspy/io/pdas/core.py", line 45, in _read_pdas
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.pdas.core._read_pdas[1]>", line 1, in <module>
st = read("/path/to/p1246001.108")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/p1246001.108'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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 "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), 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
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pdas/tests/test_core.py", line 60, in test_is_pdas
self.assertTrue(_is_pdas(self.testfile))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/pde/tests/test_mchedr.py", line 40, in setUp
self.__class__.catalog = _read_mchedr(filename)
File "<decorator-gen-56>", line 2, in _read_mchedr
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1089, in _read_mchedr
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 92, in load
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/pde/tests/data/mchedr.dat'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pde.mchedr._read_mchedr
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 1, in _read_mchedr
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 19, in obspy.io.pde.mchedr._read_mchedr
Failed example:
cat = read_events('/path/to/mchedr.dat')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.pde.mchedr._read_mchedr[1]>", line 1, in <module>
cat = read_events('/path/to/mchedr.dat')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/mchedr.dat'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/pde/mchedr.py", line 20, in obspy.io.pde.mchedr._read_mchedr
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.pde.mchedr._read_mchedr[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 75, in _xml_doc_from_anything
xml_doc = etree.parse(source).getroot()
File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError
OSError: Error reading file '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml': failed to load external entity "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 78, in _xml_doc_from_anything
xml_doc = etree.fromstring(source)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1758, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 81, in _xml_doc_from_anything
xml_doc = etree.fromstring(source.encode())
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/test_quakeml.py", line 58, in setUp
self.neries_catalog = _read_quakeml(self.neries_filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1826, in _read_quakeml
return Unpickler().load(filename)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 152, in load
self.xml_doc = _xml_doc_from_anything(file)
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 84, in _xml_doc_from_anything
source)
ValueError: Could not parse '/usr/lib/python3/dist-packages/obspy/io/quakeml/tests/data/neries_events.xml' to an etree element.
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core._read_quakeml
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1803, in _read_quakeml
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1820, in obspy.io.quakeml.core._read_quakeml
Failed example:
cat = read_events('/path/to/iris_events.xml')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.quakeml.core._read_quakeml[1]>", line 1, in <module>
cat = read_events('/path/to/iris_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/iris_events.xml'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/quakeml/core.py", line 1821, in obspy.io.quakeml.core._read_quakeml
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.quakeml.core._read_quakeml[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 419, in test_data_unpacking_steim1
rt = Reftek130.from_file(self.reftek_file)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 432, in test_data_unpacking_steim2
rt = Reftek130.from_file(self.reftek_file_steim2)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/104800000_000093F8'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 298, in test_drop_not_implemented_packets
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 231, in test_error_no_packets_read
sort_permuted_package_sequence=True)
File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 104, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/2015282_225051_0ae4c_1_1.msd'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 218, in test_integration_with_obspy_core
component_codes=["1", "2", "3"])
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 341, in test_missing_event_trailer_packet
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 398, in test_no_eh_et_packet
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 263, in test_read_file_perturbed_packet_sequence
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 185, in test_read_reftek130_no_component_codes_specified
sort_permuted_package_sequence=True)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 104, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 143, in test_read_reftek130_steim1
sort_permuted_package_sequence=True)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 104, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 156, in test_read_reftek130_steim2
sort_permuted_package_sequence=True)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 104, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/104800000_000093F8'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 593, in test_reading_file_with_encoding_32
st = _read_reftek130(self.reftek_file_32)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 104, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/230000005_0036EE80_cropped.rt130'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 545, in test_reading_file_with_multiple_events
with open(self.reftek_file_vpu, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/221935615_00000000'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 569, in test_reading_file_with_no_data_in_channel_zero
with open(self.reftek_file_vpu, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/221935615_00000000'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 520, in test_reading_packet_with_vpu_float_string
with open(self.reftek_file_vpu, 'rb') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/221935615_00000000'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 513, in test_string_representations
rt130 = Reftek130.from_file(self.reftek_file)
File "/usr/lib/python3/dist-packages/obspy/io/reftek/core.py", line 149, in from_file
with io.open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 367, in test_truncated_last_packet
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 239, in test_warning_disturbed_packet_sequence
with open(self.reftek_file, 'rb') as fh2:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/reftek/tests/data/225051000_00008656'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.reftek.__init__
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 53, in obspy.io.reftek.__init__
Failed example:
st = read("/path/to/225051000_00008656", network="BW", location="",
component_codes="ZNE")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[4]>", line 2, in <module>
component_codes="ZNE")
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/225051000_00008656'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 55, in obspy.io.reftek.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[5]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 57, in obspy.io.reftek.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 71, in obspy.io.reftek.__init__
Failed example:
print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[7]>", line 1, in <module>
print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 90, in obspy.io.reftek.__init__
Failed example:
rt = Reftek130.from_file(get_example_file("225051000_00008656"))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[10]>", line 1, in <module>
rt = Reftek130.from_file(get_example_file("225051000_00008656"))
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file 225051000_00008656 in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 91, in obspy.io.reftek.__init__
Failed example:
print(rt) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[11]>", line 1, in <module>
print(rt) # doctest: +ELLIPSIS
NameError: name 'rt' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/reftek/__init__.py", line 127, in obspy.io.reftek.__init__
Failed example:
print(rt.__str__(compact=False)) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.reftek.__init__[12]>", line 1, in <module>
print(rt.__str__(compact=False)) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'rt' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/reftek/tests/test_core.py", line 208, in test_is_reftek130
self.assertTrue(_is_reftek130(self.reftek_file))
AssertionError: False is not true
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 126, in test_contacts_north_and_merge
st = rc._read_rg16(filename, contacts_north=True, merge=True)
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/one_channel_many_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 68, in test_headonly_option
st = rc._read_rg16(THREE_CHAN_FCNT, headonly=True)
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 100, in test_intrablock_starttime_endtime
st = rc._read_rg16(THREE_CHAN_FCNT) # no time filtering
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 133, in test_make_stats
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 115, in test_merge
st_merged = rc._read_rg16(fcnt_file, merge=True)
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/one_channel_many_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 35, in test_reading_rg16_files
st_1 = read(fcnt_file)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/one_channel_many_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 53, in test_rg16_files_identified
self.assertTrue(rc._is_rg16(fcnt_file))
File "<decorator-gen-59>", line 2, in _is_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/one_channel_many_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 82, in test_starttime_endtime_option
st = rc._read_rg16(THREE_CHAN_FCNT) # no time filtering
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 403, in test_can_write
st = rc._read_rg16(THREE_CHAN_FCNT)
File "<decorator-gen-58>", line 2, in _read_rg16
File "/usr/lib/python3/dist-packages/obspy/io/rg16/util.py", line 26, in _open_file
with open(first_arg, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 179, in test_cmp_jump
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 157, in test_cmp_nbr_headers
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 168, in test_cmp_nbr_records
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 382, in test_make_trace
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 460, in test_read_channel_set
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 452, in test_read_channel_sets
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 495, in test_read_extended_header_1
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 509, in test_read_extended_header_2
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 532, in test_read_extended_header_3
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 416, in test_read_general_header_1
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 438, in test_read_general_header_2
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 187, in test_read_trace_header
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 196, in test_read_trace_header_1
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 368, in test_read_trace_header_10
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 207, in test_read_trace_header_2
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 230, in test_read_trace_header_3
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 244, in test_read_trace_header_4
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 265, in test_read_trace_header_5
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 284, in test_read_trace_header_6
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 307, in test_read_trace_header_7
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 325, in test_read_trace_header_8
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/rg16/tests/test_read_rg16.py", line 345, in test_read_trace_header_9
with open(THREE_CHAN_FCNT, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/rg16/tests/data/three_chans_six_traces.fcnt'
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.rg16.__init__
File "/usr/lib/python3/dist-packages/obspy/io/rg16/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/rg16/__init__.py", line 51, in obspy.io.rg16.__init__
Failed example:
filename = get_example_file('three_chans_six_traces.fcnt')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.rg16.__init__[2]>", line 1, in <module>
filename = get_example_file('three_chans_six_traces.fcnt')
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 220, in get_example_file
raise OSError(msg)
OSError: Could not find file three_chans_six_traces.fcnt in tests/data or data directory of ObsPy modules
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.rg16.__init__[3]>", line 1, in <module>
st = obspy.read(filename)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/obspy/io/rg16/__init__.py", line 54, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, format='rg16')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.rg16.__init__[4]>", line 1, in <module>
st = obspy.read(filename, format='rg16')
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.rg16.__init__[5]>", line 1, in <module>
st = obspy.read(filename, merge=True)
NameError: name 'filename' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/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/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.rg16.__init__[6]>", line 1, in <module>
st = obspy.read(filename, contacts_north=True)
NameError: name 'filename' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 827, in test_decimate_resample
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 271, in test_default_values
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 930, in test_encoding_flag
tr0 = read(self.file_encode, encoding='cp1252')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test_encode.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 843, in test_invalid_header_field
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 658, in test_is_sac_bytes_io
with open(self.file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 684, in test_is_sac_open_file
with open(self.file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 693, in test_is_sacxy_bytes_io
with open(self.filexy, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 722, in test_is_sacxy_open_file_binary_mode
with open(self.filexy, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 732, in test_is_sacxy_open_file_text_mode_fails
with open(self.filexy, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 713, in test_is_sacxy_string_io_raises
with open(self.filexy, "rt") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 438, in test_issue390
tr = read(self.file, headonly=True, debug_headers=True)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 254, in test_iztype11
tr = read(sod_file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/dis.G.SCZ.__.BHE_short'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 864, in test_not_ascii
tr = read(self.file_notascii, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/non_ascii.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 374, in test_not_used_but_given_headers
tr1 = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 413, in test_null_terminated_strings
tr = read(null_file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/null_terminated.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 196, in test_read_and_write_via_obspy
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 117, in test_read_big_endian_via_obspy
tr = read(self.filebe, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac.swap'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 158, in test_read_head_via_obspy
tr = read(self.file, format='SAC', headonly=True)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 505, in test_read_sac_from_bytes_io
with open(self.file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 521, in test_read_sac_from_open_file
with open(self.file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 50, in test_read_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 588, in test_read_via_obspy_from_bytes_io
with open(self.file, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 474, in test_read_with_fsize
self.assertRaises(SacError, read, longer_file)
File "/usr/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/seism-longer.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 534, in test_read_write_bytes_io
st = _read_sac(self.file)
File "/usr/lib/python3/dist-packages/obspy/io/sac/core.py", line 348, in _read_sac
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 550, in test_read_write_open_file
st = _read_sac(self.file)
File "/usr/lib/python3/dist-packages/obspy/io/sac/core.py", line 348, in _read_sac
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 65, in test_read_write_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 98, in test_read_write_xy_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 623, in test_read_xy_write_xy_from_bytes_io
st = _read_sac_xy(self.filexy)
File "/usr/lib/python3/dist-packages/obspy/io/sac/core.py", line 206, in _read_sac_xy
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 640, in test_read_xy_write_xy_from_open_file_binary_mode
st = _read_sac_xy(self.filexy)
File "/usr/lib/python3/dist-packages/obspy/io/sac/core.py", line 206, in _read_sac_xy
with open(filename, "rb") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 83, in test_read_xy_write_xy_via_obspy
tr = read(self.filexy, format='SACXY')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/testxy.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 283, in test_reference_time
tr = read(self.fileseis)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/seism.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 131, in test_swap_bytes_via_obspy
trbe = read(self.filebe, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac.swap'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 311, in test_undefined_b
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 604, in test_write_via_obspy_to_bytes_io
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_core.py", line 923, in test_wrong_encoding
tr0 = read(self.file_encode)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test_encode.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 105, in test_attach_paz_diff_order
attach_paz(tr, pazfile)
File "/usr/lib/python3/dist-packages/obspy/io/sac/sacpz.py", line 182, in attach_paz
paz_file = open(paz_file, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/NZCRLZ_HHZ10.pz'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 126, in test_sacpaz_from_dataless
attach_paz(tr, pazfile, todisp=False)
File "/usr/lib/python3/dist-packages/obspy/io/sac/sacpz.py", line 182, in attach_paz
paz_file = open(paz_file, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/SAC_PZs_NZ_HHZ_10'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 149, in test_sacpaz_from_resp
attach_resp(tr1, respfile, torad=True, todisp=False)
File "/usr/lib/python3/dist-packages/obspy/io/sac/sacpz.py", line 338, in attach_resp
resp_filep = open(resp_file, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/RESP.NZ.CRLZ.10.HHZ'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 54, in test_write_sacpz_multiple_channels
inv = read_inventory("/path/to/IU_ANMO_BH.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ANMO_BH.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 38, in test_write_sacpz_single_channel
inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 700, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/IU_ANMO_00_BHZ.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sacpz.py", line 70, in test_write_sacpz_soh
inv = read_inventory(path)
File "<decorator-gen-49>", line 2, in read_inventory
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/inventory/inventory.py", line 89, in read_inventory
**kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/../../stationxml/tests/data/only_soh.xml'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sactrace.py", line 226, in test_propagate_modified_stats_strings_to_sactrace
tr = read(self.fileseis)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/lib/python3/dist-packages/obspy/core/util/base.py", line 702, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "/usr/lib/python3/dist-packages/obspy/core/util/decorator.py", line 153, in uncompress_file
raise IOError(msg)
OSError: File not found '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/seism.sac'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obspy/io/sac/tests/test_sactrace.py", line 44, in test_read_binary
sac = SACTrace.read(self.file, byteorder='little')
File "/usr/lib/python3/dist-packages/obspy/io/sac/sactrace.py", line 1090, in read
checksize=checksize)
File "/usr/lib/python3/dist-packages/obspy/io/sac/arrayio.py", line 111, in read_sac
f = open(source, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/obspy/io/sac/tests/data/test.sac'