Closed BigRoy closed 4 years ago
Hi, we solved this issue few day ago with try except under import part. Like:
try:
long
except NameError:
long = int
and in displayText we add this check:
isinstance(value, long):
value = int(value)
Seems like a similar fix. I'll merge this in a few days if there are no objections.
What's changed?
It seems somehow the returned version number is not an
int
in Houdini 18 but along
. As such, the assertion in theVersionDelegate
would catch it incorrectly.This is now resolved by checking it against
numbers.Integral
to ensure it's also Python 3+ proof wherelong
no longer exists.