Selur's Little Message Board
[BUG] Problem with dehalo - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [BUG] Problem with dehalo (/thread-4035.html)



Problem with dehalo - kentafilo - 11.03.2025

Hi Selur, sorry to bother you, but I wanted to point out that when I try to use a dehalo with VapourSynth, except for BlindDehalo3, I get this error

Failed to evaluate the script:
Python exception: expected 'else' after 'if' expression (dehalo.py, line 63)

Traceback (most recent call last):
File "src\\cython\\vapoursynth.pyx", line 3365, in vapoursynth._vpy_evaluate
File "src\\cython\\vapoursynth.pyx", line 3366, in vapoursynth._vpy_evaluate
File "C:\Users\kenta\AppData\Local\Temp\tempPreviewVapoursynthFile16_22_38_621.vpy", line 20, in
import dehalo
File "C:\Program Files\Hybrid\64bit\vsscripts\dehalo.py", line 63
so = so.vszip.Limiter() if hasattr(core,'vszip') so.std.Limiter()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression

Tranks.


RE: Problem with dehalo - Selur - 11.03.2025

Yeah, it's a bug I made when updating the scripts. (missing 'else' behind the 'if hasattr(core,'vszip')' )
Replacing the scripts in the Hybrid/64bit/vsscripts-folder with the files from https://github.com/Selur/VapoursynthScriptsInHybrid should fix the problem.
=> https://github.com/Selur/VapoursynthScriptsInHybrid/archive/refs/heads/master.zip

Cu Selur


RE: Problem with dehalo - kentafilo - 11.03.2025

Thanks a lot .