This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

DeHalo filters producing a script error
#1
Hybrid version: 2025.03.09.1

Steps to reproduce: I added my .avi file to the input path in the Base tab, then went to Filtering > Vapoursynth > DeHalo and enabled FineDeHalo. The only settings I changed were to adjust the strength to 1.5.

When I click on VapourSynth preview, the result is the error below.

Link to HybridDebugOutput.txt: https://mega.nz/file/WR0GWYTJ#qLQUweFOUD...1OaGsD_kUU

The error that appears in VapourSynth editor is the following:
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\Terzenaus\AppData\Local\Temp\tempPreviewVapoursynthFile12_50_00_838.vpy", line 17, 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
Reply
#2
either:
a. update to latest dev
or
b. change "C:\Program Files\Hybrid\64bit\vsscripts\dehalo.py", line 63
from
so = so.vszip.Limiter() if hasattr(core,'vszip') so.std.Limiter()
to
so = so.vszip.Limiter() if hasattr(core,'vszip') else so.std.Limiter()

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Great, thank you! Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)