python-awips icon indicating copy to clipboard operation
python-awips copied to clipboard

setMethod is erroring out when trying to run the NEXRAD3 notebook

Open WxmanJ opened this issue 1 year ago • 0 comments

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~/anaconda3_host/envs/python-awips-v20/lib/python3.12/site-packages/dynamicserialize/ThriftSerializationContext.py:213, in ThriftSerializationContext._deserializeField(self, structname, obj)
    212 try:
--> 213     setMethod = getattr(obj, lookingFor)
    214     setMethod(result)                

AttributeError: 'DataTime' object has no attribute 'setLevelType'

During handling of the above exception, another exception occurred:

SerializationException                    Traceback (most recent call last)

    214         setMethod(result)                
    215     except:
--> 216         raise dynamicserialize.SerializationException(
    217             "Couldn't find setter method " + lookingFor)
    219 self.protocol.readFieldEnd()
    220 return True

SerializationException: Couldn't find setter method setLevelType```

WxmanJ avatar Jul 29 '24 20:07 WxmanJ