The following issue has been RESOLVED. ====================================================================== https://tim.klingt.org/mantis/view.php?id=25 ====================================================================== Reported By: tim Assigned To: tim ====================================================================== Project: nova Issue ID: 25 Category: language Reproducibility: sometimes Severity: minor Priority: normal Status: resolved Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 09-29-2007 00:27 CEST Last Modified: 09-30-2007 12:41 CEST ====================================================================== Summary: python scripting synchronization problem Description: Olivier Doaré wrote: If you download these: http://nolv.free.fr/nova/test-sends.npx http://nolv.free.fr/nova/n-s2.npx http://nolv.free.fr/nova/n-r2.npx http://nolv.free.fr/nova/n-scripts.py
And you open test-sends.npx, maybe you will have the same problem. Sometimes, not always (1/4 times approximately), the n-s2 and n-r2 objects are not correctly initialised. It is like if loadbang sends its bang before the python script finished its initialisation. In the test patch I've sent, if the problem happens, you must send a bang to the rebang bus to redo initialisation. ====================================================================== ---------------------------------------------------------------------- tim - 09-29-07 20:11 ---------------------------------------------------------------------- hm ... this is tricky ... i somehow need to use a ticket algorithm to ensure the order of execution or just use one python thread (per object?) ---------------------------------------------------------------------- tim - 09-30-07 12:41 ---------------------------------------------------------------------- rewrote the pycallback scheduler with a ticket scheduling algorithm Issue History Date Modified Username Field Change ====================================================================== 09-29-07 00:27 tim New Issue 09-29-07 00:27 tim Status new => assigned 09-29-07 00:27 tim Assigned To => tim 09-29-07 20:11 tim Note Added: 0000023 09-30-07 12:41 tim Status assigned => resolved 09-30-07 12:41 tim Resolution open => fixed 09-30-07 12:41 tim Note Added: 0000024 ====================================================================== _______________________________________________ nova-dev mailing list [email protected] http://klingt.org/cgi-bin/mailman/listinfo/nova-dev http://tim.klingt.org/nova
