Skip to content

Mopac .out file missing from temp directory #2023

@aiscarruthers

Description

@aiscarruthers

Context

I'm trying to get use the QM functionality and I'm recieving this error message after a few other traceback lines:

File "/anaconda3/envs/rmg_env/lib/python3.7/site-packages/rmgpy/qm/mopac.py", line 146, in run
shutil.copy(tempOutFile, self.output_file_path)
File "/anaconda3/envs/rmg_env/lib/python3.7/shutil.py", line 248, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/anaconda3/envs/rmg_env/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpk6hoa3b1/ICJNOTNMGFCUFQ-UHFFFAOYSA-N.out'

What's confusing about this to me is that MOPAC2016.exe is not throwing any error message and neither is the "stdout, stderr = process.comunicate(input=comand)" line but for some reason, the .out file is not being created (or is somehow being deleted?). I did a search through all of my directories to see if maybe the .out file was being placed in some other directory but this isn't the case.

Question

Is there something I can do to fix this on my installation? I was reluctant to report this as a bug because I wasn't sure if I had installed something incorrectly.

Installation Information

Describe your installation method and system information if applicable.

  • Ubuntu subsystem on windows 10
  • Binary installation wt anaconda
  • RMG version information:
    • RMG v 3.0.0
    • RMG-database v 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions