-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
Bug Description
When trying to click any of the 'Open Folder' options in the UI the program quits (though the UI remains visible and cannot be closed without shutting down my WSl2 instance), and I get the following error in the terminal:
Traceback (most recent call last): File "/home/myname/machinelearning/mediacreation/VisionCrafter/main.py", line 485, in <module> main() File "/home/myname/machinelearning/mediacreation/VisionCrafter/main.py", line 177, in main models_bar_layout.events(event,values,window) File "/home/myname/machinelearning/mediacreation/VisionCrafter/layout/models_bar.py", line 119, in events os.startfile(os.path.abspath(sg.user_settings_get_entry(MODEL_PATH))) AttributeError: module 'os' has no attribute 'startfile'
Running in WSL2 Ubuntu 20.04
Step-by-step instructions to reproduce the issue.
Run the program with 'python main.py'
Opens UI.
Click on any 'Open Folder' button (before or after a generation).
Program becomes unresponsive.
Check the terminal and see the above traceback and the program has terminated.
Expected Behavior
Clicking on the 'Open Folder' buttons should open a folder.
Current Behavior
Clicking on the 'Open Folder' buttons crashes the program with the provided error.
Version or Commit where the problem happens
Commit: 96b0582
What platforms do you use Visioncrafter ?
Windows, Linux
What Python version are you running on ?
3.10.12
What GPU are you running Visioncrafter on?
RTX 4090
How much GPU VRAM are you running Visioncrafter on?
24GB
Console logs
(visioncrafter) myname@MYPCNAME:~/machinelearning/mediacreation/VisionCrafter$ python main.py
Traceback (most recent call last):
File "/home/myname/machinelearning/mediacreation/VisionCrafter/main.py", line 485, in <module>
main()
File "/home/myname/machinelearning/mediacreation/VisionCrafter/main.py", line 177, in main
models_bar_layout.events(event,values,window)
File "/home/myname/machinelearning/mediacreation/VisionCrafter/layout/models_bar.py", line 119, in events
os.startfile(os.path.abspath(sg.user_settings_get_entry(MODEL_PATH)))
AttributeError: module 'os' has no attribute 'startfile'Additional information
Everything else seems to be working just fine.
I have symlinked all model paths to a previous AnimateDiff install to save space.