We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If the prefs dir is removed while NXT is open, the pref object raises an IOError when it attempts to write a default pref value.
IOError
To Reproduce Steps to reproduce the behavior:
Node Tooltips
Expected behavior Gracefully handle missing pref dir after the app is running
Desktop (please complete the following information):
Editor v3.7.0
Additional context
Traceback (most recent call last): File "nxt_demo_py3\lib\site-packages\nxt_editor\actions.py", line 1336, in toggle_tooltip user_dir.user_prefs[pref_key] = tooltip_state File "nxt_demo_py3\lib\site-packages\nxt_editor\user_dir.py", line 139, in __setitem__ self.write() File "nxt_demo_py3\lib\site-packages\nxt_editor\user_dir.py", line 167, in write with open(self.path, 'w+') as fp: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Lucas\\nxt\\prefs\\3\\prefs.json'
The text was updated successfully, but these errors were encountered:
NXT Maya plugin just has to be initialized for this error to happen.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
If the prefs dir is removed while NXT is open, the pref object raises an
IOError
when it attempts to write a default pref value.To Reproduce
Steps to reproduce the behavior:
Node Tooltips
Expected behavior
Gracefully handle missing pref dir after the app is running
Desktop (please complete the following information):
Editor v3.7.0
Additional context
The text was updated successfully, but these errors were encountered: