andycasey / smhr

Spectroscopy Made Hard(er)
14 stars 7 forks source link

Exception raised: [Errno 2] No such file or directory: u'/Users/maudegull/.smh/tmpe0Zk2o/abfind.sum.out' #295

Closed maudegull closed 6 years ago

maudegull commented 6 years ago

An exception was encountered in this session using version e94df1f* on Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 18:37:05) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]:

Traceback (most recent call last):

  File "/Users/maudegull/Desktop/UROP_FREBEL/smhr/smh/gui/chemical_abundances.py", line 819, in measure_all
    self.parent.session.measure_abundances()

  File "/Users/maudegull/Desktop/UROP_FREBEL/smhr/smh/session.py", line 1004, in measure_abundances
    self.stellar_photosphere, transitions[finite], twd=self.twd)

  File "/Users/maudegull/Desktop/UROP_FREBEL/smhr/smh/radiative_transfer/moog/cog.py", line 114, in abundance_cog
    transitions_array, linear_fits = _parse_abfind_summary(kwds["summary_out"])

  File "/Users/maudegull/Desktop/UROP_FREBEL/smhr/smh/radiative_transfer/moog/cog.py", line 172, in _parse_abfind_summary
    with open(summary_out_path, "r") as fp:

IOError: [Errno 2] No such file or directory: u'/Users/maudegull/.smh/tmpe0Zk2o/abfind.sum.out'

Below is a screenshot from the application at the time that the exception occurred:

screenshot

Additional details on how this exception occurred: can't measure all acceptable ew

alexji commented 6 years ago

This works no problem on my laptop, so it's likely a MOOG installation error. Not an SMH error so closing.

To try and debug this, if you do which MOOGSILENT in the terminal, it should give you something. Otherwise, you should probably reinstall MOOG. See https://github.com/alexji/moog17scat