Re: [Twisted-Python] wxReactor Issues

2010-11-16 Thread Itamar Turner-Trauring
On Tue, 2010-11-16 at 16:29 -0800, RSGames Support wrote: > Hi, > I have found something interesting. When I do not call sys.exit(), and just > call this: reactor.callFromThread(reactor.stop), the program exits properly. > I was wondering if it was safe to not call sys.exit()? If so I think the

Re: [Twisted-Python] wxReactor Issues

2010-11-16 Thread RSGames Support
Hi, I have found something interesting. When I do not call sys.exit(), and just call this: reactor.callFromThread(reactor.stop), the program exits properly. I was wondering if it was safe to not call sys.exit()? If so I think the problem is fixed. Thank you. > -Original Message- > From

Re: [Twisted-Python] wxReactor Issues

2010-11-16 Thread RSGames Support
Hi, Thank you for the suggestion. Unfortunately, I still have this problem when I call the reactor.callFromThread(reactor.stop). I have this problem with: OS: Ubuntu 10.04 WX (python-wxgtk2.8): 2.8.10.1-0ubuntu1.2 Twisted: 10.0.0-2ubuntu2 Python: 2.6.5 Here is some output from gdb: ---

Re: [Twisted-Python] sample unit testing for xml-rpc's

2010-11-16 Thread Itamar Turner-Trauring
On Tue, 2010-11-16 at 17:29 +0530, anusha k wrote: > Can anyone provide info regarding this or sample unit test-case how to > test that. http://twistedmatrix.com/trac/browser/trunk/twisted/web/test/test_xmlrpc.py may provide some useful examples. ___

[Twisted-Python] sample unit testing for xml-rpc's

2010-11-16 Thread anusha k
Hello all, I want to know how to test xml-rpc functions written using python-twisted. I came across trial framework. But cant find proper information regarding that. Can anyone provide info regarding this or sample unit test-case how to test that. Thanks in advance -- Njoy the share of Freed