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

Missing prefs directory #100

Open
ZachGray opened this issue Dec 10, 2020 · 1 comment
Open

Missing prefs directory #100

ZachGray opened this issue Dec 10, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@ZachGray
Copy link

Manually deleted preferences, subsequent launches throw errors.

C:\Users\user\Documents\nxt\prefs

Should remake the files

Traceback (most recent call last):
  File "C:\Users\Zach Gray\Documents\maya\2020\apps\nxt_maya\scripts\nxt_editor\main_window.py", line 803, in closeEvent
    user_dir.editor_cache[state_key] = self.saveState()
  File "C:\Users\Zach Gray\Documents\maya\2020\apps\nxt_maya\scripts\nxt_editor\user_dir.py", line 136, in __setitem__
    self.write()
  File "C:\Users\Zach Gray\Documents\maya\2020\apps\nxt_maya\scripts\nxt_editor\user_dir.py", line 194, in write
    with open(self.path, 'wb+') as fp:
IOError: [Errno 2] No such file or directory: 'C:/Users/Zach Gray/Documents\\nxt\\prefs\\3\\editor_cache'
@ZachGray ZachGray added the bug Something isn't working label Dec 10, 2020
@ImLucasBrown
Copy link
Member

Can you provide the nxt version numbers as well as the python interpreter version?
ie nxt maya Editor v1.2.3 API v0.4.0 - Python 2.7

I've had troubles with python 3 not playing right with pref files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants