theChaosCoder / VSRepoGUI

A GUI for VSRepo
https://forum.doom9.org/showthread.php?t=176313
MIT License
36 stars 3 forks source link

Crash on Vapoursynth R66 #10

Open YohoYang opened 7 months ago

YohoYang commented 7 months ago

It seems that Vapoursynth R66 has modified the path and parameters of vsrepo.py, causing an exception. The software crashes after starting.

Traceback (most recent call last):
  File "D:\Downloads\VSRepoGUI-master\VSRepoGUI-master\VSRepoGUI\bin\Debug\vsrepo.py", line 220, in <module>
    py_script_path = os.path.join(base_path, 'vs-scripts') if os.path.exists(os.path.join(base_path, 'vs-scripts')) else os.path.dirname(detect_vapoursynth_installation())
                                                                                          ^^^^^^^^^
NameError: name 'base_path' is not defined

portable mode, vsrepogui.json file

{  
    "Bin":"vsrepo.py",
    "win32": {
     "Binaries":"vs-plugins32",
     "Scripts":"vs-scripts"
    },
    "win64": {
     "Binaries":"vs-plugins",
     "Scripts":"vs-scripts"
    }
 }
theChaosCoder commented 7 months ago

Ok I see the problem, I never tested vsrepo.py -p update with R66.