From: Rolf K. <rol...@ci...> - 2005-12-16 19:24:22
|
I Phillips wrote: >I have tracked down the bug to Python 2.3.5. >i.e. if you install any version upto and including Python 2.3.4, then the bug isn't present. > >The big thing that sticks out in the python release between v.2.3.4 and v2.3.5 is a >security patch (http://www.python.org/security/PSF-2005-001/). >"Note that these patches disable recursive traversal." > >I am not an expert in python or programming, but think that this may be worth investigating. > >Are any of the original developers still subscribed to this user group? >Would you see this as a possible issue? I'm still subscribed and the main original developer but my time is limited and labpython is not at the top of my priority list. I will take a look at the mentioned patch when I have some time and see if that might be the problem. I'm not specifically aware that I used something called recursive traversal. Instead I suspect something strange going on with the Python thread protection or session management. Above mentioned patch might have some indirect influence on these things though. >A second bug I have found, is that if the python input("Please enter your name") >command is used, and executed using the Labpython Execute script.vi then Labview crashes. This might be a hard one to fix. I suspect some issues with standard IO clashes as python is really called as a client inside the LabVIEW process and as such as no default standard IO anymore. Maybe that one could provide some standard IO redirections going to dialog boxes or such but that seems like a huge hassle. Rolf Kalbermatter |