Profile Picture

iClone crashes with Python scripts

Posted By Tesira 3 Years Ago
You don't have permission to rate!
Author
Message
Tesira
Tesira
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)

Group: Forum Members
Last Active: 5 days ago
Posts: 1.3K, Visits: 2.4K

hi dear members,
well I was not here for a long time, because my scripts finally have crashed my computer so hard, that I really had great problems. So I have stopped my Python programming. 
But now Molly has asked me, to test my scripts with iClone7.92.

Ok have done some tests and seen, iClone crashes until now.
I think, it is connected with the EventCallback and the DialogEventCallback.
So I have tryed an easy demo from the wiki again. https://wiki.reallusion.com/IC_Python_API:Linked_Controls
It dos start and show the dialogbox. When I close the dialog, iClone dos crash.

https://forum.reallusion.com/uploads/images/d7b74a41-dcb6-4fda-9916-4d33.png

When I close iClone with open dialogbox, iClone dos close first the box and then crashes.

https://forum.reallusion.com/uploads/images/561521dd-680e-4bae-b2ec-0845.png

Maybe somebody could test this too, so that we know, if this dos happen only with my computer or also by others.

Have a good time.
Tesira




Edited
3 Years Ago by Tesira
Tesira
Tesira
Posted 3 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)

Group: Forum Members
Last Active: 5 days ago
Posts: 1.3K, Visits: 2.4K
Well I have looked now also in my old Thread. "Tesira is learning Python with iClone". 
Two years ago AllanLee has answerd to my crash report:

"Hi Tesira,
Thank you for reporting this issue.
In fact, we have found this problem internally, but we haven't solved it yet.
The problem is more complicated, mainly because the function call between
C ++ and Python does not allow any exceptions.If there is any wrong code in RL's Callback function, iClone will crash.
So I suggest using Try / Expect in the Callback function.We will continue to try to solve this problem.
Allen
https://forum.reallusion.com/428473/Tesira-is-learning-Phyton-with-iClone?PageIndex=



Edited
3 Years Ago by Tesira



Reading This Topic