Log in

View Full Version : No attribute with the name Std exists?


asarian
16th September 2024, 15:59
In R57, I try the following:

import vapoursynth as vs
core = vs.core

vid = core.std.CropRel (clip=vid, left=480, right=480, top=0, bottom=0)

All of a sudden I get:

AttributeError: No attribute with the name Std exists. Did you mistype a plugin namespace?

Why?? This has always worked!

ChaosKing
17th September 2024, 10:24
CropRel was renamed to Crop in R39 and later removed I think.

https://github.com/vapoursynth/vapoursynth/blob/03c8b6719f202b162284f53efc5b50632f70f72e/ChangeLog#L337

But No attribute with the name Std exists sounds like the plugin is missing!?

asarian
17th September 2024, 13:38
CropRel was renamed to Crop in R39 and later removed I think.

https://github.com/vapoursynth/vapoursynth/blob/03c8b6719f202b162284f53efc5b50632f70f72e/ChangeLog#L337

But No attribute with the name Std exists sounds like the plugin is missing!?

Thank you! I figured it out. There's no such thing as Std (just 'std').

I should probably update my VS version anyway.