algorithmic modeling for Rhino
Hi,
I made a script to calculate "C-Values" (i.e. viewing quality of each seat) in a stadium bowl. It was running slow so I rewrote it using the parallel module, which greatly sped things up.
Unfortunately, every now and then I randomly get an error message when changing parameters or even just clicking "Test" numerous times in the GHPython editor (see attached pic):
Runtime error (AggregateException): Mindestens ein Fehler ist aufgetreten.
Traceback:
line 27, in run, "C:\Users\Michel\AppData\Roaming\McNeel\Rhinoceros\5.0\Plugins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonlib\parallel.py"
line 57, in script
The German sentence means "At least one error has occurred."
Attached is a dumbed down version of the script. The problem occurs more often when I use the actualdefinition (which includes a bunch of other GHPython components).
Any help much appreciated!
Cheers,
Max
Tags:
I think this means your function or a Rhinocommon/Rhinoscript/Grasshopper(node in code) line is returning an error but the parallel function won't return the error message, so just returns the generic error AggregateException.
Test each line somehow by running the function on its own, not via the parallel command.
I'm debugging this for a parallel program here:
http://www.grasshopper3d.com/forum/topics/help-creating-a-smart-loo...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by