-
Notifications
You must be signed in to change notification settings - Fork 17
Sender component fails to deserialize when opening definition on other computer, clearing the contents and history of the related stream #123
Comments
Hi @didimitrie, the stream is on a private server, unfortunately... error: {"message":"Cast to ObjectId failed for value "undefined" at path "_id" for model "User"","name":"CastError","stringValue":""undefined"","kind":"ObjectId","value":"undefined","path":"_id"} The strange thing is that this seems to have emptied the stream and stream history and rendered the stream inaccesible to all other user, except the original stream owner. On the original machine, the stream is still accesible and visible. |
could you send me a screenshot of the accounts popup? though i'm quite sure the problem is not there necessarily. If on the second computer you create a receiver in a separate gh file and try and get that stream, does it work? |
this might mean the stream got flagged as deleted? damn this is difficult to debug remotely. does it show up in the admin interface in the "archive" section? On hestia it's https://hestia.speckle.works/#/trash. |
Streams get deleted (or used to get deleted) if you delete the sender component. This might also be getting some sort of confusion when copy pasting grasshopper sender components - though in theory i remember looking at this edge case some time ago and sorting it... |
No, I think I didn't. It doesn't appear in the Trash and is still visible in the original location. It just gave me an empty admin interface, without any source or receivers. Although now, after rerunning the script from the original computer and definition a couple of times, the stream seems to be available again, although with out history and reference to the old data. |
Last call: if you go to your Another thought: if you create a new stream, with some test data, share it with me and send me that grasshopper definition so i can debug properly? (i've created an account on your server, i should be found if you search for |
{"success":false,"message":"Cannot read property 'toString' of null"} |
pfff, that stream somehow got corrupted and would be quite keen to understand why. Theoretically you can restore it from the admin ui; does that change anything? |
I'll give it a try... |
Won't work unfortunately, there is no history or clones anymore... |
Ah, somehow there are no accounts anymore in the pop-up when I insert a new sender component. This might be the source of the issue on the Grasshopper side. |
how did those disappear though!!! there's literally no delete button for them anywhere (besides the rhino client). You can check in |
That seems fine, contents are correct, it has all the accounts... |
is this happening using the plugins that came with the installer, or did you build the plugins yourselves by any chance? this is super weird; the accounts should still show up then! |
These are the plugins that came with the installer, i used the url from the server to install them and I'm also using the updater... |
I just re-entered the account and now it appears properly... |
Ok, with your test definition i could partly reproduce this. Main issues I see:
These, nevertheless, don't amount to the total clusterfuck that happened earlier; ie somehow the stream got flagged as deleted without user input (am i correct in assuming this?). So the quest continues... |
EDIT: See #123 (comment) for the actual problem
Step 0:
Expected Behaviour
Actual Behaviour
Affected Projects
SpeckleServer, Speckle for Rhino, SpeckleAdmin
Reproduction Steps & System Config (win, osx, web, etc.)
Windows 10, Rhino Version 6 SR14, Grasshopper 1.0.0007
Chrome web-browser
Proposed Solution (if any)
?
The text was updated successfully, but these errors were encountered: