Thank you! It looks good and works like a charm
Hello @Insiders !
We have just released v2.1.30-beta
of the Connectors.
This release contains some major changes in the serialization and deserialization logic giving us some impressive speed improvements :
- serialization 2-10x
- deserialization 3-10x
- server upload 4x
All of this thanks to @cristi 's magic!
Please update all connectors and help us test them!
You can report any issues you find down below.
I’ve updated to the beta connectors and now I get an error in Revit when receiving a stream made in GH. It contains 4 Speckle walls. @teocomi: I made you owner of the stream (GH > Revit walls test).
The error in Revit:
One or more errors occurred.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.ConvertJsonElement(JsonElement doc)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.ConvertJsonElement(JsonElement doc)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.ConvertJsonElement(JsonElement doc)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.ConvertJsonElement(JsonElement doc)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.ConvertJsonElement(JsonElement doc)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.DeserializeTransportObject(String objectJson)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.Deserialize(String rootObjectJson)
at Speckle.Core.Api.Operations.<Receive>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.<ReceiveStream>d__5.MoveNext() in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.DesktopUI.Streams.StreamsRepository.<ConvertAndReceive>d__3.MoveNext() in C:\Users\circleci\project\DesktopUI\DesktopUI\Streams\StreamsRepository.cs:line 46
Thanks @JdB, I was actually just reporting this on our private Discord.
Seems like our new and improved deserialiser is angry about something… We’ll post here when we’ve found a solution (and likely, deploy a new beta version)
If you need to “Roll back” to the latest sable version, just deactivate the option for beta releases. Then uninstall the beta ones and you should be able to install the stable ones instead.
Hello again @Testers!!
We just released version 2.2.0-beta
that fixes the issue reported by @JdB. This was preventing any newly sent object from being received.
Enjoy the performance improvements!
When receiving the stream in different Revit I get an error. Hopefully the information below helps and let me know if I can check anything else.
Manager: v2.1.3
Connectors for Rhino and Revit: 2.2.0-BETA
I created the following public stream in Rhino 7, which contains a Speckle floor: Speckle
When receiving the stream in Revit 2019, I get this error:
Array cannot be null.
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.GetClosures(String rootObjectJson)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.Deserialize(String rootObjectJson)
at Speckle.Core.Api.Operations.<Receive>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.<ReceiveStream>d__5.MoveNext() in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.DesktopUI.Streams.StreamsRepository.<ConvertAndReceive>d__3.MoveNext() in C:\Users\circleci\project\DesktopUI\DesktopUI\Streams\StreamsRepository.cs:line 46
When receiving in Revit 2020, this is the error:
The type initializer for 'System.MemoryExtensions' threw an exception.
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.DeserializeTransportObject(String objectJson)
at Speckle.Core.Serialisation.BaseObjectDeserializerV2.Deserialize(String rootObjectJson)
at Speckle.Core.Api.Operations.<Receive>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.<ReceiveStream>d__5.MoveNext() in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.DesktopUI.Streams.StreamsRepository.<ConvertAndReceive>d__3.MoveNext() in C:\Users\circleci\project\DesktopUI\DesktopUI\Streams\StreamsRepository.cs:line 46
When receiving the stream in Revit 2021, Revit crashes:
Sorry for the spam, but I think it would be good to also share this one. The online viewer doesn’t show the model in Firefox on my end. It still works perfectly fine in chrome and edge.
Hey @JdB I can replicate your bug (but only in 2019), we are looking into it!
Ping @dimitrie re viewer.
Thanks a bunch as always!!!
I would like to become a tester, please!
@JdB it turns out an addin shipped with Revit was conflicting with one of our dependencies, could you please try with 2.2.1-beta
when you get a chance?
@bcall invited!
I am interested to be a tester. Loving the product and the community is awesome
Cool, check your inbox for an invite to latest.speckle.dev
currently we’ve just pushed out a release, so there’s not much difference between the bleeding edge and the stable https://speckle.xyz, but as we go ahead things will diverge.
For Revit 2020 and 2021 the new beta works like a charm (for 1 floor from Rhino to Revit)!
Revit 2019 gives an error. I have polluted that version of Revit with to much addins, which might cause the error . Would you like me to run some script to get a proper overview of all addins and dependencies?
Screenshot of my Revit 2019 top bar (showing a bunch of the addins):
The error in Revit 2019:
Could not load file or assembly 'System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))
at Speckle.Core.Api.Operations.<Receive>d__3.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at Speckle.Core.Api.Operations.Receive(String objectId, CancellationToken cancellationToken, ITransport remoteTransport, ITransport localTransport, Action`1 onProgressAction, Action`2 onErrorAction, Action`1 onTotalChildrenCountKnown, Boolean disposeTransports, SerializerVersion serializerVersion)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.<ReceiveStream>d__5.MoveNext() in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Speckle.DesktopUI.Streams.StreamsRepository.<ConvertAndReceive>d__3.MoveNext() in C:\Users\circleci\project\DesktopUI\DesktopUI\Streams\StreamsRepository.cs:line 46
Hey @JdB I think that’s not needed, as we’ve already completely removed the dependency on System.Text.Json
so that error will go away soon
Since you also posted this message, con you confirm you still have problems sending with the latest beta release?
Sounds good!
That post is based on the latest beta release or am I missing something? As mentioned in that post I’m using this version:
Gotcha, so you can now receive but still have issues sending… We’ll do more digging!
Hey I’m interested in being a tester. Just getting my head around it atm and testing how I can use it on projects.
Hi @davewilson! I’ll send over an invite for https://latest.speckle.dev in a bit; currently the caveat applies: bleeding edge = what’s released on the general availability server at https://speckle.xyz.
We’re going to be pushing out some new beta releases soon-ish, so stay tuned for the desktop side of things too!
Hey Jeroen, @JdB
When you get a chance, could you please see if this nasty error has gone away after installing 2.2.2-beta?
If not, let’s coordinate a quick video call via email