On Fri, Aug 28, 2009 at 7:49 PM, 陶艺夫 wrote:
> Hi,
> I copied the code from:
> http://twistedmatrix.com/pipermail/twisted-python/2007-May/015377.html and
> it ran ok.
> And then I followed David's advice from here:
> http://twistedmatrix.com/pipermail/twisted-python/2007-May/015383.html to
> use t
We are using twisted.enterprise.adbapi for connecting to MySQL.
In one of our large tables, the primary key reached its maximum value of
2147483647, and INSERTs became impossible.
When I executed the same INSERT from mysql command line manually, it gave:
ERROR 1062 (23000): Duplicate entry '2147
Tim Allen wrote:
> If you ran python in the same directory where you ran "trial" in your
> example, you could say:
>
> import MyServerTestFile
> MyServerTestFile.MyServerTestCase.test_my_server
>
> ...to refer to a particular test method, and trial will accept the same
> syntax:
>
>
Hi Phil,
On 28 Aug 2009, at 12:56, Phil Mayers wrote:
What's the IPv6 support like in Twisted?
See http://twistedmatrix.com/trac/ticket/3014
Cheers,
Thijs
PGP.sig
Description: This is a digitally signed message part
___
Twisted-Python mailing lis
What's the IPv6 support like in Twisted?
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hi,
I copied the code from:
http://twistedmatrix.com/pipermail/twisted-python/2007-May/015377.html and
it ran ok.
And then I followed David's advice from here:
http://twistedmatrix.com/pipermail/twisted-python/2007-May/015383.html to
use threading.Event to control server's stop, it ran ok too. But
Thanks, it's absolutely a good sample.
It's grateful that there are so many people helpful out there :)
2009/8/28 Kevin Horn
> There's also a wxpython example in the twisted subversion repository. See:
>
> http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py
>
> It follows th
There's also a wxpython example in the twisted subversion repository. See:
http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py
It follows the basic pattern that Godson provided.
Kevin Horn
2009/8/28 陶艺夫
> Thanks. I'll try it out.
>
> 2009/8/28 Godson Gera
>
> from twiste
Thanks. I'll try it out.
2009/8/28 Godson Gera
> from twisted.internet import wxreactor
> wxreactor.install()
> from twisted.internet import reactor
>
>
> .
> write your code here
> .
>
> reactor.registerWxApp(app)
> reactor.run()
>
>
> You don't need wx mainloop. The key thing here is t