Setting it as a class level attribute seems to suppress it:
>>> class TestError(Exception):
... message = ""
...
... def __init__(self, msg):
...self.message = msg
Since it's a string and passed by value I think this would work. I'll
open up a ticket if one's not already.
-J
On
On Mar 10, 2011, at 5:45 PM, Jason J. W. Williams wrote:
> Hi Guys,
>
> Been seeing this error for a long time and finally getting off my bum
> to see about fixing it:
>
> twisted/web/error.py:53: DeprecationWarning: BaseException.message has
> been deprecated as of Python 2.6
>
> It looks like
On 10 Mar, 07:39 pm, facundobati...@gmail.com wrote:
On Tue, Mar 8, 2011 at 7:04 AM, Facundo Batista
wrote:
None of these are known failures:
� �http://buildbot.twistedmatrix.com/boxes-supported
Just looking at the list of failing tests, I would make a small bet
that
the failures are caused
I am using PB to run remote methods in a testing system at my company. The
code works very well but breaks down when I start running multiple tests at
once. I have tracked this down to overflowing the thread pool on the remote
machines. I am wondering if anyone might have better suggestions for
I believe this implements OAuth 2 for Twisted using Twisted Cred:
https://github.com/simplegeo/txoauth
-J
On Thu, Mar 10, 2011 at 2:16 PM, George Pauly
wrote:
> Allen,
>
> In my very limited experience with Twisted,
>
> On Thu, 2011-03-10 at 14:01 -0600, Allen Bierbaum wrote:
>> I have been loo
Hi Guys,
Been seeing this error for a long time and finally getting off my bum
to see about fixing it:
twisted/web/error.py:53: DeprecationWarning: BaseException.message has
been deprecated as of Python 2.6
It looks like the issue is the "self.message = message" assignment in
__init__: https://g
Allen,
In my very limited experience with Twisted,
On Thu, 2011-03-10 at 14:01 -0600, Allen Bierbaum wrote:
> I have been looking into this further and decided on an API that works
> as follows:
>
> - Use HTTPS for all requests
> - POST to /session to create a new session token
> - pass in use
I have been looking into this further and decided on an API that works
as follows:
- Use HTTPS for all requests
- POST to /session to create a new session token
- pass in username and password as parameters
- returns token string to be used for all further communication
- All further requests
On Tue, Mar 8, 2011 at 7:04 AM, Facundo Batista
wrote:
>> None of these are known failures:
>>
>> http://buildbot.twistedmatrix.com/boxes-supported
>>
>> Just looking at the list of failing tests, I would make a small bet that
>> the failures are caused by your locale setting somehow.
>
> I th
I ended up getting around the problem by increasing my Riak cluster
size and putting a load balancer in front for the test. But
connection pooling would be really helpful, both here and in the
CouchDB client. I've refactored both txRiak and Paisley in the past
couple of months to use Agent in the
On Mar 10, 2011, at 5:31 AM, akira wrote:
> Reusing a local port via SO_REUSEADDR or better yet reusing a tcp
> connection via HTTP keep-alive aren't available with twisted as I
> understand it.
Reusing a local connection-oriented port with SO_REUSEADDR is potentially a bad
idea; there's a reaso
On Thu, Mar 10, 2011 at 6:43 AM, Andrew Bennetts wrote:
> There's nothing wrong or even particularly strange with using Twisted
> for projects unrelated to networking. An event loop with good
> facilities for spawning and interacting with subprocesses and calling
> functions at certain times has
This thread belongs on the twisted-python@ list, rather than
twisted-web@, as it has nothing to do with twisted.web.
Eric Chamberlain wrote:
> I'm creating a service using Twisted. It has nothing to do with
> networking (I know that Twisted is an event-driven networking
> engine... stay with me h
"Jason J. W. Williams" writes:
> Actually, I think the TIME_WAIT is the problem. It's what I see in
> netstat, and the Agent requests are fired sequentially via yield
> inside a for loop (inlineCallbacks). So they shouldn't be running in
> parallel.
`yield` returns before TIME_WAIT expires othe
14 matches
Mail list logo