DIVA components disappear from canvas upon re-open...

Crossposted from the DIVA for Rhino chat group, attached GH file here:

Hi guys.  Has anyone else had a problem with DIVA components 
disappearing from the Grasshopper document?  Every time I save, close, and reopen, 
I get the error below.  Upon open, all of the DIVA components 
(Daylight Analysis, Materials) have disappeared and I have to remake 
them.  Really frustrating and time-consuming problem...  I am using 
Diva 1.9, GH 0.8.0066, and the problem occurs in both Rhino 5 64-bit 
and Rhino 4. 

Any ideas? 

Thanks, 
Marc 

info: Plugin version: 0.8.0066 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
info: Plugin version: 0.8.0066 
info: Object list read 
error: Missing object chunk in archive. An object could not be found 
in the document, it will be missing when the Open operation completes. 
error: Missing object chunk in archive. An object could not be found 
in the document, it will be missing when the Open operation completes. 
error: Missing object chunk in archive. An object could not be found 
in the document, it will be missing when the Open operation completes. 
info: Object list read 

  • up

    Andy Payne

    I'm not completely sure... but it looks like one (or more) of the DIVA components isn't properly deserializing itself.  Thus, when the definition is re-opened, some of the chunks are missing (upon reserialization).  Unfortunately (if this is the case), there's not much that can be done except to go into the code and re-work this portion so that everything is properly deserialized upon saving.  Perhaps the developers could issue a quick patch to solve the problem.  Or maybe David has a better solution.

    • up

      Jeff Niemasz

      Hi Marc,

      This is a known issue with only the legend component and will be fixed for the DIVA 2.0 release. I got all the errors you describe when I try to open your definition, but I am not able to repeat the error if I add the definitions and save them again. If I put all the DIVA components into your definition, then save and open it again they all open (except the legend component- whose function can be created on its own from some native grasshopper components). I am running 0.8.0066 with Rhino 4.0 SR 9. Please confirm you are using these versions and try opening the attached definition.

      Jeff

      5