Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option 'test_event_server_jane' in section: 'base' #71

Closed
samuelchodur opened this issue Dec 14, 2017 · 1 comment
Closed

No option 'test_event_server_jane' in section: 'base' #71

samuelchodur opened this issue Dec 14, 2017 · 1 comment

Comments

@samuelchodur
Copy link

samuelchodur commented Dec 14, 2017

Trying to run obspyck for the first time and I receive the following error:

$ obspyck --time 2017-12-03T05:11:00 --duration 3600 python/obspy/waveforms/IM.I56* python/obspy/stations/IM.I56*
Running ObsPyck version 0.5.1 (location: /home/kodur/.conda/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.pyc)
using config file: /home/kodur/.obspyckrc
================================================================================
Reading local files:
--------------------------------------------------------------------------------
python/obspy/waveforms/IM.I56H1..BDF__20171203T041100Z__20171203T081100Z.mseed: Waveforms
python/obspy/waveforms/IM.I56H2..BDF__20171203T041100Z__20171203T081100Z.mseed: Waveforms
python/obspy/waveforms/IM.I56H3..BDF__20171203T041100Z__20171203T081100Z.mseed: Waveforms
python/obspy/waveforms/IM.I56H4..BDF__20171203T041100Z__20171203T081100Z.mseed: Waveforms
python/obspy/stations/IM.I56H1.xml: Metadata
python/obspy/stations/IM.I56H2.xml: Metadata
python/obspy/stations/IM.I56H3.xml: Metadata
python/obspy/stations/IM.I56H4.xml: Metadata
================================================================================
Fetching waveforms and metadata from servers:
--------------------------------------------------------------------------------
================================================================================
/home/kodur/.conda/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py:230: UserWarning: Cannot find external programs dir, localization methods/functions are deactivated
  warnings.warn(msg)
Traceback (most recent call last):
  File "/home/kodur/.conda/envs/obspyck/bin/obspyck", line 11, in <module>
    load_entry_point('obspyck==0.5.1', 'console_scripts', 'obspyck')()
  File "/home/kodur/.conda/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 4666, in main
    obspyck = ObsPyck(clients, streams, options, KEYS, config)
  File "/home/kodur/.conda/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 263, in __init__
    test_event_server_name = config.get("base", "test_event_server_jane")
  File "/home/kodur/.conda/envs/obspyck/lib/python2.7/ConfigParser.py", line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'test_event_server_jane' in section: 'base'
@megies
Copy link
Owner

megies commented Dec 15, 2017

As a workaround.. just put an empty option test_event_server_jane = under the [base] section in the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants