Dear Twisted users,
To my amazement I have reproduced this strange behaviour in an even simpler
program. Attached are a pb client/server which illustrate unexpected
behaviour of the id of a pb.RemoteCache. To run the example, run server.py
and then client.py (with resources.py in the same working
Nicola,
Since you responded to my last message directly rather than to the list, I
am putting our conversation here for clarity. Please respond to the list
rather than to single users.
>>> I don't know whether this makes sense in the context of xmlrpc, but
perhaps
>>> you can use numpy's tostring
Hi
On 30 April 2014 19:26, Phil Mayers wrote:
>
> https://twistedmatrix.com/documents/12.0.0/core/howto/ssl.html#auto2
>
> ...seems to work fine for me on both Twisted 12.1.0 / pyOpenSSL 0.13.1 and
> Twisted 13.2.0 / pyOpenSSL 0.14. I'm testing using:
>
> openssl s_client -connect host:port -reco
On Apr 30, 2014, at 2:56 PM, Glyph Lefkowitz wrote:
>
> On Apr 30, 2014, at 9:53 AM, Kevin Horn wrote:
>
>> On Wed, Apr 30, 2014 at 9:14 AM, wrote:
>> On 01:42 pm, dstainton...@gmail.com wrote:
>> Greetings,
>>
>>
>> http://twistedsphinx.funsize.net/projects/core/howto/plugin.html
>>
>> N
On Apr 30, 2014, at 9:53 AM, Kevin Horn wrote:
> On Wed, Apr 30, 2014 at 9:14 AM, wrote:
> On 01:42 pm, dstainton...@gmail.com wrote:
> Greetings,
>
>
> http://twistedsphinx.funsize.net/projects/core/howto/plugin.html
>
> Note that's a random version of the documentation from who knows how l
Nicola,
I don't know whether this makes sense in the context of xmlrpc, but perhaps
you can use numpy's tostring and fromstring functions. If you do this you
have to also send the datatype so that fromstring knows how to unpack
(that's the part where I'm not sure if this strategy is xmlrpc-ish).
Dear twisted users,
I think I have found some surprising behavior in perspective broker. I
define a subclass of pb.RemoteCache which has a method managed by a
descriptor. The descriptor keeps track of the instances it manages in a set.
When the RemoteCache is first received by the client, it acce
Hi all,
I'm newbie. I got a lot of problem using xmlrpc and numpy
I'm using numpy to to some staff and then serve the results via a
twisted/XMLRPC server. If the result is a numpy float 64, I get an
exception cause probably twisted can't handle this type. Infact is I
downgrade the result to fl
On 05:00 pm, exar...@twistedmatrix.com wrote:
The plugin system searches for objects that `project´ the requested
interface.
Bah. That `provide´ the requested interface.
Jean-Paul
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
h
ah ok... i made it work. Thanks!
On Wed, Apr 30, 2014 at 5:00 PM, wrote:
> On 03:50 pm, dstainton...@gmail.com wrote:
>>
>> Hi Jean-Paul,
>>
>> Thanks for the suggestions.
>> OK... here's my SSCCE:
>
>
> It looks like you need to make an instance of
> `TorClientEndpointStringParser`. If a class
On 30/04/14 17:43, Henrik Thostrup Jensen wrote:
Hi
I have a twisted service, which uses TLS and I seeing some odd behaviour.
New connections are accepted fine, but if a client tries to re-use a
TLS session id with a new connection, the services rejects the
connection.
This example:
https://
On 03:50 pm, dstainton...@gmail.com wrote:
Hi Jean-Paul,
Thanks for the suggestions.
OK... here's my SSCCE:
It looks like you need to make an instance of
`TorClientEndpointStringParser`. If a class `implements´ an interface
then instances of that class `provide´ the interface.
The plugin
On Wed, Apr 30, 2014 at 9:14 AM, wrote:
> On 01:42 pm, dstainton...@gmail.com wrote:
>
>> Greetings,
>>
>>
>> http://twistedsphinx.funsize.net/projects/core/howto/plugin.html
>>
>
> Note that's a random version of the documentation from who knows how long
> ago. If you want a random version of t
Hi
I have a twisted service, which uses TLS and I seeing some odd behaviour.
New connections are accepted fine, but if a client tries to re-use a
TLS session id with a new connection, the services rejects the
connection.
Poking at the TLS module I added the following line to help me figure
out w
Hi Jean-Paul,
Thanks for the suggestions.
OK... here's my SSCCE:
cd projects/virtualenv-1.11.1/
./virtualenv.py ~/virtenv-endpoints-test
. ~/virtenv-endpoints-test/bin/activate
usewithtor pip install twisted
cd ~/projects
git clone https://github.com/david415/txsocksx.git
cd txsocksx
git checkout
On 01:42 pm, dstainton...@gmail.com wrote:
Greetings,
http://twistedsphinx.funsize.net/projects/core/howto/plugin.html
Note that's a random version of the documentation from who knows how
long ago. If you want a random version of the documentation then I
suggest using http://twisted.readth
Greetings,
I wrote a simple IStreamClientEndpointStringParser for using the
SOCKS5ClientEndpoint with Tor:
https://gist.github.com/david415/26a4ed59078d2e27376f
I modified a txsocksx code example for testing the new endpoint descriptor:
https://gist.github.com/david415/7c6040117319cc3b0230
...bu
On 12:19 pm, ashf...@twistedmatrix.com wrote:
And I went over. And it was fun! People threw forks at others for
writing
bad code, [snip]
Possibly the notion of having cutlery thrown at you doesn't sound as
appealing to people who weren't there (possibly it wasn't terribly
appealing to the
Hello,
I've just noticed that the changeset for #5190 included some untested
code. Specifically, there are no tests for the code which detects
missing dependencies and emits warnings about them.
I'd previously noticed that this code was broken but hadn't realized
this was because it was unt
On Mon, Apr 21, 2014 at 3:08 AM, Kevin Turner wrote:
> Hi folks,
>
> I didn't attend PyCon or the accompanying sprints this year, but judging
> from the commit traffic, many of you did. And I want to know what you
> worked on! Partly so I can live vicariously through your experiences,
> but I kno
On 08:57 am, juanito1...@gmail.com wrote:
Hello,
I am trying to modify loglevel withou result. I configure my app
logging
inside the tac file as:
You omitted the imports necessary to interpret the example code with
certainty but I'll make some guesses. Next time post a complete, self-
co
Hello,
I am trying to modify loglevel withou result. I configure my app logging
inside the tac file as:
logging.basicConfig(level=logging.ERROR, format="%(asctime)s --- %(name)s -
%(levelname)s - %(message)s")
logfile = DailyLogFile("gdumper.log", "/var/log")
application.setComponent(ILogObserv
22 matches
Mail list logo