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

FileNotFoundError: [Errno 2] No such file or directory upon canceling Save As action #1

Open
NejcHirci opened this issue Jan 19, 2022 · 0 comments

Comments

@NejcHirci
Copy link

Error occurs after selecting MCNP test run, reading tallies and cancelling Save As action in popped up file browser. Also consider removing type selection if it saves as txt regardless and save as type can't be selected.

Console output

FileNotFoundError: [Errno 2] No such file or directory: ''
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\Toxic\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 1892, in __call__
    return self.func(*args)
  File "C:\Users\Toxic\Documents\GitHub\MCNP-tally-table\tally_table.py", line 239, in SaveAs
    o2 = open(output_name, 'w')
FileNotFoundError: [Errno 2] No such file or directory: ''
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

1 participant