12.08.2021, 19:48
Hybrid does come with it's own portable Python and Vapoursynth, but my guess is that for some reason some of the scripts Hybrid comes with are also in your autoload folder.
Hybrid does add it's own script folder to the gloal search path:
and then imports it's scripts:
and my guess is that during this import no Hybrids but your version of the script is imported and your script lacks the parameters and modifications Hyrid uses.
Yes, that's it and if you had shared a debug output instead of some screenshots I might have seen that your script paths where the errors point to are under:
"C:\Users\..\AppData\Roamin\Python\Python39\site-packages\havsfunc.py"
not
"..Hybrid\64bit\vsfilters\havsfunc.py"
Sadly atm. Vapoursynth has no option to clear the autoload cache and thus finds your script first.
Hmm,.. now that I think about it as a workaround it might work if I modify Hybrid to use:
instead of
Cu Selur
Hybrid does add it's own script folder to the gloal search path:
# Import scripts folder
scriptPath = 'I:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import havsfunc
Yes, that's it and if you had shared a debug output instead of some screenshots I might have seen that your script paths where the errors point to are under:
"C:\Users\..\AppData\Roamin\Python\Python39\site-packages\havsfunc.py"
not
"..Hybrid\64bit\vsfilters\havsfunc.py"
Sadly atm. Vapoursynth has no option to clear the autoload cache and thus finds your script first.
Hmm,.. now that I think about it as a workaround it might work if I modify Hybrid to use:
sys.path.insert(0,os.path.abspath(scriptPath))
sys.path.append(os.path.abspath(scriptPath))
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.