Scott wrote: >On Fri, 2008-12-05 at 11:20 -0500, Raymond Dans wrote: >> I googled the issue I >> was having and it seems to happen to a number of people. Everything >> points to some serious threading issues with "spawn". The >only way I >> could get around it was to use "system" instead. The script I use >> (modified one from Joe) is in the repository under sipXpbx/bin. > >Could you be more specific, both about what the issue was and >which scripts you're referring to (paths to both versions, please). > > Boy I must really be looking forward to the weekend since my mind is obviously elsewhere. Anyways, the script that I use is under sipXpbx/bin and is called "sipx-swadmin.py.in". The script that I was having problems with is under the same directory and is called "sipx-package.py.in".
The crash that I was getting was when the call to os.spawn returned. The error was indicating Errno 10 "No child processes" in waitpid() I believe. I hope that helps. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
