On Wed, Mar 14, 2012 at 10:04 PM, gelin yan wrote:
> Hi all
>
> I attach two files for this problem. When i used iocp reactor with pb,
> I noticed once the remote method returned a deferred object, the client app
> would raise many exceptions..kinda weird.
>
> It is ok to return the value dir
Hi experts,
I have a question about twisted log.
I used “from twisted.python import log” and “log.msg(msg_str)” to store log for
my twisted program (about 40MB log message)
But it’s efficiency is poor, it will take more time to finish my program when
the log is open, if I close the log, the
I've opened a ticket to drop support for Python 2.5 *after* our next
release: http://twistedmatrix.com/trac/ticket/5553
If this would be a major problem for you please comment on the ticket;
just to clarify, regardless of the ticket's resolution the next release
(12.1) will continue to support
On 11:57 am, zoran.bosn...@sloveniacontrol.si wrote:
>Hello all,
>Thanks for all your comments.
>
>I have filed a ticket regarding this issue:
>http://twistedmatrix.com/trac/ticket/5552
>
>I hope it will be accepted as a problem.
Hi Zoran,
Thanks for the follow-up. We're already tracking this fe
Hi all
I attach two files for this problem. When i used iocp reactor with pb,
I noticed once the remote method returned a deferred object, the client app
would raise many exceptions..kinda weird.
It is ok to return the value directly (no defer)
The most interested part is when I used select
Hello all,
Thanks for all your comments.
I have filed a ticket regarding this issue:
http://twistedmatrix.com/trac/ticket/5552
I hope it will be accepted as a problem.
regards,
Zoran
From: twisted-python-boun...@twistedmatrix.com
[twisted-python-boun...
That worked a charm and I feel the fool for not having noticed that
simple error =)
Much appreciated!
Lusana
On Wed, Mar 14, 2012 at 9:16 PM, Enrique Samson Jr, wrote:
> On 03/14/2012 05:46 PM, Lusana Ali wrote:
>> class Main(Resource):
>>
>> def get_child(self, name, request):
>> pr
On 03/14/2012 05:46 PM, Lusana Ali wrote:
> class Main(Resource):
>
> def get_child(self, name, request):
> print "trying to get main"
> return IndexPage()
Try changing get_child to getChild.
--Enrique
___
Twisted-Python mailing lis
This probably isn't the proper way to do it, but it should work:
root = resource.Resource()
root.putChild('terms', Terms())
root.putChild('profile', Profile())
root.putChild('', IndexPage())
On Wed, Mar 14, 2012 at 5:46 AM, Lusana Ali wrote:
> Hi,
>
> Im trying to setup just a ve
Hi,
Im trying to setup just a very simple site using a Resource Tree (some
code below).
The problem I'm having is getting the root / to render. so when i go
to domain.com/ I get
"No Such Resource
No such child resource"
The child nodes {terms,profile} are rendering fine. So looking at the
resourc
10 matches
Mail list logo