When I try to receive a stream from Revit into GH or Rhino I get an error and nothing is received.
Another colleague whom tested the latest got the same error. We are investigating further, but I thought it would be good to share to hopefully get it resolved faster. Any idea what the issue could be? And are others experiencing this as well?
The error:
- A deserialization error has occurred: No parameterless constructor defined for this object.: No parameterless constructor defined for this object.
It is possible to receive a Revit stream in Excel.
I tried installing the latest releases. Revit 2.6.1, GH 2.6.1 and Rhino 2.6.2 https://speckle-releases.netlify.app/ and testing on the xyz server with this stream: https://speckle.xyz/streams/c83d99f6e0/commits/df6479f15c
But I get the same result.
I also gave Python a try and used the receive script from the Speckle examples repo and got the following error on line 36 (speckle-examples/python/speckle-py-starter/01_send_receive.py at main · specklesystems/speckle-examples · GitHub) :
Traceback (most recent call last):
File "C:\Python\py-example-receiving.py", line 50, in <module>
received_base = operations.receive(obj_id=objHash, remote_transport=transport)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\api\operations.py", line 70, in receive
return serializer.read_json(obj_string=obj_string)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 242, in read_json
return self.recompose_base(obj=obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 300, in recompose_base
base.__setattr__(prop, self.handle_value(value))
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 321, in handle_value
obj_list = [self.handle_value(o) for o in obj]
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 321, in <listcomp>
obj_list = [self.handle_value(o) for o in obj]
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 335, in handle_value
return self.recompose_base(obj=obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 300, in recompose_base
base.__setattr__(prop, self.handle_value(value))
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 335, in handle_value
return self.recompose_base(obj=obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 300, in recompose_base
base.__setattr__(prop, self.handle_value(value))
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 335, in handle_value
return self.recompose_base(obj=obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 300, in recompose_base
base.__setattr__(prop, self.handle_value(value))
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 335, in handle_value
return self.recompose_base(obj=obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\serialization\base_object_serializer.py", line 284, in recompose_base
base.__setattr__(prop, value)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\objects\base.py", line 208, in __setattr__
attr.__set__(self, value)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\objects\base.py", line 313, in units
self._units = get_units_from_string(value)
File "C:\ProgramData\Anaconda3\lib\site-packages\specklepy\objects\units.py", line 31, in get_units_from_string
unit = str.lower(unit)
TypeError: descriptor 'lower' for 'str' objects doesn't apply to a 'NoneType' object