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

Blank input file is saved to default "~/job.ext" when saving to non-default name/location #924

Closed
adreasnow opened this issue Jun 3, 2022 · 3 comments · Fixed by #1033
Closed
Labels

Comments

@adreasnow
Copy link

When saving an input file that's been generated by the inputGenerators plugin to a custom location, the file is saved in the specified location, however a 0kb file is also generated with the default name format (job.ext) in the user's home directory.

To Reproduce

  1. Input -> Psi -> Save Input...
  2. Save the input file to a location that's not in the home directory, with a non-default name
  3. A 0kb file will have been saved in ~/job.in

Expected behavior
The 0kb file is not produced in ~/

  • Avogadrolibs: 1.96.0
  • Qt: 5.15.2
  • OS: MacOS
  • Version 10.12.4
@welcome
Copy link

welcome bot commented Jun 3, 2022

Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/

@ghutchis
Copy link
Member

ghutchis commented Jun 3, 2022

Thanks, I'll definitely take a look. Moving this to avogadrolibs

@ghutchis ghutchis transferred this issue from OpenChemistry/avogadroapp Jun 3, 2022
@ghutchis ghutchis added the bug label Jun 3, 2022
ghutchis added a commit to ghutchis/avogadrolibs that referenced this issue Jul 19, 2022
Fix OpenChemistry#924 - do not attempt to open the default file name
Also disable the "Submit calculation" if Molequeue is not running

Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
@github-actions
Copy link
Contributor

Here are the build results
Avogadro2.AppImage
macOS.dmg
Ubuntu-2004.tar.gz
Win64.exe
Artifacts will only be retained for 90 days.

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

Successfully merging a pull request may close this issue.

2 participants