Importing a GEM file with more than one room results in a Rhino crash. The RhinoCrashDump file created contains all the geometry but without the Pollination Rooms set up.
This occurs for:
Gem files created through the Pollination Rhino plugin as well as through IESVE
Very simple rooms, e.g. two cuboids with no apertures
When the import process says the file is valid and has no warnings
In my 2 room test, whether the rooms are adjacent or not
So, I’ve not included an example Gem file because it is every geometry if it has more than one room.
It occurs in version 1.0.0.0 but has also occurred in the last couple of releases.
Secondly (and not important), I’m not sure what is the best way to find out there has been a new release of the Rhino plugin. At the moment I go to Pollination Cloud App and hit the “download a free trial” button. It downloads the file “plugins_dev_PollinationRHGHInstaller-latest.exe” which doesn’t have a release number in the file name. I diff it with the last file I downloaded to see if the file has changed. Seems a release number in the file name, or on the web site, or via an announcement in discourse, would make this simpler. I’m probably being daft and missing something obvious though.
I’m one version ahead of you (1.0.1) but we haven’t made any changes to the core libraries between the two. Can you try these files and see if you can replicate the error.
If that is the case, then can you provide more information about the version of Rhino that you are using and its release. This is my information for example:
Version 7 SR18
(7.18.22109.5001, 2022-04-19)
We have to do a better job of providing notifications for new releases and not renaming the downloaded file. It is on our list!
I couldn’t upgrade the Rhino version as Rhino tells me I am running the latest version when I search for an update. Which make me wonder why you have a higher release number.
Upgrading to 1.0.1 also didn’t work first time because I first launched the Pollination window. But if the Pollination window is not open, the GEM file import works without a crash.
I’ve done it a few time with and without the Pollination window open and it only works with the Pollination window closed. I guess it was the same for the previous releases. I never thought to try without the Pollination window open.
At least we know it only happens when the Pollination panel is open. Am I right that if you run the pollination command after you import the GEM file successfully everything works as expected? If that’s the case, can you share the dump file and the error log that comes with it so we can have a look on our end?
I can import the models with no issues with or without having the panel open.
Most likely because I’m using Service Release Candidate instead of the Service Release. I’m trying to catch the bugs if any before they hit the users. I doubt if an update will fix this issue but if you want to try you can change the setting under the update panel.
Have you tried to import the gem files that @mostapha attached above? Do they have the same issue when importing geometries with the Pollination panel open? Have you also tried to import other file formats, such as hbjson (here is an example) test.hbjson (120.9 KB)
Yes, I have the same issue with the gem files from @mostapha. Rhino crashes when the Pollination panels is open, doesn’t crash when closed. I tried your hbjson file, no crash with or without Pollination panel open.
Also, I have now tried this on two different PCs: 1) Threadripper Pro workstation with nvidia quadro graphics card, 2) Intel NUC with integrated graphics. I get a crash on both machines.
I don’t think this is related to the hardware, but I don’t know what exactly went wrong on your side.
Since you have tested it on two machines and have the same issue, it leads me to think about the user name on your machine. But it still doesn’t make sense that it doesn’t crash the Rhino when you open the Pollination panel after the importing.
Do you mind recording a quick video to show the process in case we missed anything?
FYI The windows installation on both machines started from the same system image about 6 months ago but have diverged since. I could also try a windows reinstall next week when I have some free time - just in case they share the same thing that is causing the crash.
Today, I found the gem file import crashed even if the Pollination panel was closed, as long as it had been opened previously in the Rhino session. Yesterday, I was sure it worked if I just closed the panel. But I guess I could be mistaken.
Thank you, @lharr for uploading the video! Really helpful. I can now recreate the crash!
The difference is that you are using the import command instead of the open command which is what we use. If you use the open command everything should work fine.
@mingbo, you should try the import to import the GEM file and you should be able to recreate the issue. Time to get it fixed!