megies / obspyck

ObsPyck is a GUI application that is intended to cover the tasks in a standard analysis workflow for seismic events in seismological observatory practice.
https://github.com/megies/obspyck/wiki
GNU General Public License v2.0
61 stars 32 forks source link

obspyck not starting up if pluginpath is set to an invalid location #90

Closed k-olsen closed 4 years ago

k-olsen commented 4 years ago

Hi there,

I have downloaded obspyck but am having trouble getting the GUI to open. I first activate: $ source activate obspyck

then when I enter the following line of code

$ obspyck -t 2014-11-21T15:00 -d 3600 /Users/Kira/anaconda2/envs/2014.325.00.00.00.0000.XN.SP01..EHZ.M.SAC /Users/Kira/anaconda2/envs/XN_201411210000.xml

I get this error:

Running ObsPyck version 0.6.0 (location: /Users/Kira/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.pyc) using config file: /Users/Kira/.obspyckrc

Reading local files:

/Users/Kira/anaconda2/envs/2014.325.00.00.00.0000.XN.SP01..EHZ.M.SAC: Waveforms /Users/Kira/anaconda2/envs/XN_201411210000.xml: Metadata

Fetching waveforms and metadata from servers:

================================================================================ /Users/Kira/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py:241: UserWarning: Cannot find external programs dir, localization methods/functions are deactivated warnings.warn(msg) Traceback (most recent call last): File "/Users/Kira/anaconda2/envs/obspyck/bin/obspyck", line 8, in sys.exit(main()) File "/Users/Kira/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 4869, in main obspyck = ObsPyck(clients, streams, options, KEYS, config, inventories) File "/Users/Kira/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 244, in init self.info('Using temporary directory: ' + self.tmp_dir) AttributeError: 'ObsPyck' object has no attribute 'tmp_dir'

I've read through other issue reports and haven't been able to solve this. Thanks for any help you can give.

megies commented 4 years ago

Set pluginpath in your .obspyckrc, I guess it could be the path to an empty directory as long as you don't use external programs.

k-olsen commented 4 years ago

Thank you very much for your help with this! I got obspyck up and running.