I upgraded my DIVA installation recently, and right away noticed an issue with the Archsim libraries in Grasshopper. When I launch the Archsim library component, instead of seeing the dialogue box I get the window (attached) and can't get any further with the library.

All of my old grasshopper energy models now get an output error in the E+ component that says "1. Solution exception:Object reference not set to an instance of an object" and the simulation won't start.

There error seems to be associated with the library component, because if I copy the old Archsim component assembly from my previous installation (ArchsimGH.gha) and swap it for the new component assembly in the ...DIVA\64bitPluginFiles\ArchSim directory, the library opens again. I do get an error from the library component, but if I create a new simulation from scratch (all new components) I don't get the E+ error and I can run simulations.

However, if I try to do anything with the library -- such as import my previous libraries -- the E+ error returns and simulations won't run. My existing files that all worked fine a few months ago are also coming up with errors. Just in case, I've attached an exported library that I was using last spring: RTZlibrary.json

I'm using a recently updated Rhino 5 64-bit and a recently updated Grasshopper. I've been using older simulation files and libraries for years after DIVA 4 came out, and never had any issues like this after updates. 

Maybe an installation bug? Thoughts?

I'll be introducing this software to a large group of students soon and I want to make sure everything is working smoothly.

Views: 231

Reply to This

Replies to This Discussion

Update: the "1. Solution exception:Object reference not set to an instance of an object" error is also coming up on the Archsim Networker component as well as the grasshopper example models. So it definitely looks like an issue in the new version.

I gave up trying to track the specific issue down with the newer version (DIVAforRhino-4.1.0.2-x64) and reverted to my previous DIVA version (DIVAforRhino-4.0.2.24-x64) so that I have a working DIVA for the time being. 

In case others find the tip useful, when I upgrade DIVA versions I rename my old C:\DIVA directory something like "DIVA-old." If I ever want to go back to another version, I can rename the directory C:\DIVA and that'll be the version that loads with Rhino and Grasshopper upon restart those programs. As long as your active license is in the C:\DIVA directory everything will work.

I am getting the same error. In addition, any parameters I manually input in the Zone Settings Window will not save even is saved as a template. We're on Rhino 6

Hi Michael,

There has been a change in the way schedules are stored in the library. This did break the compatibility. I am uploading your old library migrated to the newer format. Sorry for the inconvenience.

RTZlibraryNew.json



Michael Gibson said:

Update: the "1. Solution exception:Object reference not set to an instance of an object" error is also coming up on the Archsim Networker component as well as the grasshopper example models. So it definitely looks like an issue in the new version.

I gave up trying to track the specific issue down with the newer version (DIVAforRhino-4.1.0.2-x64) and reverted to my previous DIVA version (DIVAforRhino-4.0.2.24-x64) so that I have a working DIVA for the time being. 

In case others find the tip useful, when I upgrade DIVA versions I rename my old C:\DIVA directory something like "DIVA-old." If I ever want to go back to another version, I can rename the directory C:\DIVA and that'll be the version that loads with Rhino and Grasshopper upon restart those programs. As long as your active license is in the C:\DIVA directory everything will work.

would you be able to post your file here?

Rauland Schaat said:

I am getting the same error. In addition, any parameters I manually input in the Zone Settings Window will not save even is saved as a template. We're on Rhino 6

Thanks Timur!

I will have to double check, but I also don't think a default library is being installed by the installer because I didnt see one in the usual folder location, and the 'Reset Library' wasn't working either. Perhaps this is something to check up on to.

Thanks again for the help!


Timur Dogan said:

Hi Michael,

There has been a change in the way schedules are stored in the library. This did break the compatibility. I am uploading your old library migrated to the newer format. Sorry for the inconvenience.

RTZlibraryNew.json



Michael Gibson said:

Update: the "1. Solution exception:Object reference not set to an instance of an object" error is also coming up on the Archsim Networker component as well as the grasshopper example models. So it definitely looks like an issue in the new version.

I gave up trying to track the specific issue down with the newer version (DIVAforRhino-4.1.0.2-x64) and reverted to my previous DIVA version (DIVAforRhino-4.0.2.24-x64) so that I have a working DIVA for the time being. 

In case others find the tip useful, when I upgrade DIVA versions I rename my old C:\DIVA directory something like "DIVA-old." If I ever want to go back to another version, I can rename the directory C:\DIVA and that'll be the version that loads with Rhino and Grasshopper upon restart those programs. As long as your active license is in the C:\DIVA directory everything will work.

Yes the library is not written out as a file anymore. The defaults are hardcoded but you can export, edit and import the library as csv and json. The library is always stored in the GH file.

Attached is the GH file I'm working with. super basic.

Thanks,

Rauland

Timur Dogan said:

would you be able to post your file here?

Rauland Schaat said:

I am getting the same error. In addition, any parameters I manually input in the Zone Settings Window will not save even is saved as a template. We're on Rhino 6

Attachments:

OK. I'm sure there was a good reason the library editor interface is gone, but I thought it was more efficient than exporting/importing everything into excel. Maybe in a future update, a library editor can be brought back to allow easy editing and viewing of library components in grasshopper? 

Timur Dogan said:

Yes the library is not written out as a file anymore. The defaults are hardcoded but you can export, edit and import the library as csv and json. The library is always stored in the GH file.

archsim test

Timur Dogan said:

would you be able to post your file here?

Rauland Schaat said:

I am getting the same error. In addition, any parameters I manually input in the Zone Settings Window will not save even is saved as a template. We're on Rhino 6

Hi Rauland,

Sorry for the inconvenience. There was a change in how schedules are stored in the library. This change now causes some issues.

To fix the attached file you can reset the library to its defaults using the library component. If you have a larger Archsim library that you do not want to loose you could export it to JSON and attach it here.

Please let me know if this helped.

Best,

T

Rauland - we will roll out a software fix for this shortly that auto-repairs all default schedules.

Great! Thanks Timur. Will the auto-repairs apply to DIVA as well? I get "server busy, switch to" errors sometimes, it still runs the simulation usually, but it's my understanding this has to do with outdated versions.

Thanks,

Rauland

Timur Dogan said:

Rauland - we will roll out a software fix for this shortly that auto-repairs all default schedules.

Reply to Discussion

RSS

© 2018   Created by jeff niemasz.   Powered by

Badges  |  Report an Issue  |  Terms of Service