Does Flocker provide API on which we can add support for other containers,
like LXC or systemd-nspawn?
On 14 August 2014 23:13, Glyph Lefkowitz wrote:
> On Aug 14, 2014, at 12:04 PM, Itamar Turner-Trauring
> wrote:
>
> Flocker is an open source data volume manager and multi-host Docker
> clust
Hi,
> Of course the problems that we describe with inlineCallbacks are the
> > exact same problems that you will have with Tulip-style coroutines,
> > and in fact in one of the conversations that was averaged out to
> > produce the above composite, my interlocutor specifically mentioned
> > that t
Hi,
Thanks for your explanation. Now I understand a lot better how things work.
I will try to implement "native" manhole widget. I think this will be a
good exercise for me to learn how terminals and `twisted.conch` work.
Thanks.
On 7 August 2014 14:53, wrote:
> On 6 Aug, 06:14 pm, lacrima.ma
On 6 August 2014 22:48, Glyph Lefkowitz wrote:
>
> Optimizing this will almost certainly involve patching Twisted. Which you
> should definitely do :).
>
> The reason the entire screen is redrawn is that a *general* implementation
> of a widget, i.e. one that can be displayed anywhere on the ter
Hello,
I have been trying to create a widget that encloses manhole interpreter.
Here is somewhat hacky implementation that I came up with at this moment:
1 from twisted.conch.insults import insults
2 from twisted.conch.insults import window
3 from twisted.conch.insults import helper
4 fro
Hello!
When size of terminal window of ssh client is changed, then twisted ssh
server throws an exception:
exceptions.AttributeError: TerminalSession instance has no attribute
'windowChanged'
`manhole_ssh.TerminalSession` doesn't implement this method, but according
to ISession interface it shou
Hi Jean-Paul,
Thanks for your advice.
Since nobody suggested a tool I created one myself, and here is a "graph"
for `twisted.web.client`: http://jsfiddle.net/gu8DX/embedded/result/ . It's
not a completely correct graph (because a node will miss edges to modules,
that have already been imported ea
Thanks. That wiki page has enough info to get started.
On 20 May 2014 13:50, Itamar Turner-Trauring wrote:
> On 05/20/2014 05:40 AM, Maxim Lacrima wrote:
>
> Hello!
>
> I can see that Python 3 support in Twisted is incomplete. I was able to
> `pip install twisted` on Python
Hello!
I can see that Python 3 support in Twisted is incomplete. I was able to
`pip install twisted` on Python 3, but I couldn't run a simple example
program using Twisted Agent.
A simple `from twisted.web.client import Agent` causes `ImportError: No
module named 'twisted.python.systemd'`
I woul
Hi,
It is fine to run both of sides within the same process, many test
> suites in twisted do this.
>
I can be wrong, but tests often use `proto_helpers.StringTransport` to
avoid spawning a new process and probably not intended for usage outside of
tests.
If it is the same process, why not to
Hi Itamar,
Thank you for your hints. I got it working:
# client.py
from twisted.internet.endpoints import StandardIOEndpoint
from twisted.internet import reactor
from twisted.spread import pb
class Foo(pb.Root):
def remote_do_smth(self):
return 'hello!'
def main():
endpoint
Hi!
I can't figure out how to use Perspective broker over stdio. Say I have
file `child.py`:
from twisted.internet.endpoints import StandardIOEndpoint
from twisted.internet import reactor
from twisted.spread import pb
class Foo(pb.Root):
def remote_do_smth(self):
pass
def main(
On 14 January 2013 15:40, Laurens Van Houtven <_...@lvh.cc> wrote:
> The Foolscap website describes the principal features (as differences to
> PB):
>
> http://foolscap.lothar.com/trac/wiki/FoolscapFeatures
>
>
Thank you!
--
with regards,
Maxim
___
Twi
Hi!
Sorry for off-topic.
What is the motivation behind creation of Foolscap (newpb)? What does it
solve that can't be solved by old PB?
Thank you
On 13 January 2013 07:48, Glyph wrote:
>
> On Jan 12, 2013, at 7:29 PM, exar...@twistedmatrix.com wrote:
>
> On 03:15 am, abhishekb...@hotmail.com
Hi, glyph!
Would anyone else like to step up to volunteer to maintain Ampoule?
>
> Twisted eventually needs to grow its own simplified process pool, and my
> hope was that Ampoule could serve as a proving ground to get that
> implemented and tested well. I can probably harass dialtone to give co
Thanks, Flavio!
On 16 November 2012 18:57, Flavio Grossi wrote:
> Maxim Lacrima gmail.com> writes:
>
>
> > However, from a look at a project page it seems that it is no longer
> > maintained. The latest release was about 2,5 years ago. Is it just bug
> > free, s
Hi!
I would like to use Ampoule [1] package in my project.
However, from a look at a project page it seems that it is no longer
maintained. The latest release was about 2,5 years ago. Is it just bug
free, so new releases aren't required, or is it just unmaintained?
Does anyone use it?
Thank you
> The connection isn't timing out, the *test* is timing out. The connection
> may be working just fine.
>
> Due to an unknown reason, presumably a bug in your code (or test code),
> the Deferred you are returning from the test method isn't being fired. E.g.
> you're not calling callback()/errback()
Hi!
I have some tests that fail intermittently, i.e. sometimes they fail,
sometimes they don't. These tests were written against real server.
When I run these tests, the following errors may or may not occur:
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError
Hi!
Your replies are very encouraging. Thank you!
> I'm curious, since we rarely get to see the positive impact of
> documentation, and only hear about it when it didn't exist - did you
> discover this testing style from
> http://twistedmatrix.com/documents/current/core/howto/trial.html#auto5 ?
Hi!
I am learning to develop TDD way. I want to create a server that
understands PB protocol. Initially I thought it would be a good idea to
avoid real network connections in my tests, so I tried to use
`proto_helpers.StringTransport`:
--
import cStringIO
from twisted.spread import pb
fro
Thanks for your assistance!
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> Which operating system, and what sort of environment? The UDP failures
> suggest some sort of firewalling.
>
CentOS 6.2.
I use Twisted inside virtualenv http://www.virtualenv.org/en/latest/
Currently, Twisted is the only package installed inside virtual
environment, where I run tests.
I d
I believe in my previous post I launched tests incorrectly (I use twisted
with virtualenv, but I didn't activate it).
Now I run `trial twisted` in the activated virtualenv... But there are
still errors:
http://pastebin.com/6065dX6a
Thanks
On 23 October 2012 11:43, Maxim Lacrima wrote:
Hi!
I tried to run twisted test suite. And there are some errors:
http://pastebin.com/em3NTN2B
Also tests in "twisted.test.test_udp" took too much time to run (trial
hanged for a couple of minutes on these tests).
I wonder if this is something wrong with my Twisted installation.
Thank you.
--
Hi,
I have been developing an application, which I would like to manage in a
fashion similar to scripts placed in /etc/init.d. I.e. I want to start,
stop, restart and monitor the application.
Currently, I am trying to figure out a correct approach for this. Initially
I thought to create a wrapper
Hi Jean-Paul!
Thank you very much for explanation!
On 14 August 2012 13:40, wrote:
> On 07:51 am, lacrima.ma...@gmail.com wrote:
> >Hi Drew,
> >
> >I was referring to the example attached by Glyph. His example helped me
> >to
> >properly handle stdin in my code. In addition to stdin I want to h
y attached example, I have attached it
again.
On 14 August 2012 04:09, Drew Smathers wrote:
> On Mon, Aug 13, 2012 at 8:18 AM, Maxim Lacrima
> wrote:
> > Hi everyone!
> >
> > Thanks for the help! I used an attached example and after implementing
> > IHalfCloseablePro
class
have to implement ITransport or IProducer etc. to talk EchoItemProtocol
similar to StandardIO?
I hope my question is clear.
Thanks in advance.
On 10 August 2012 08:18, Glyph wrote:
>
> On Aug 9, 2012, at 7:39 PM, Andrew Bennetts wrote:
>
> Maxim Lacrima wrote:
> […]
>
Hello!
I am very new to Twisted and I have some problems using stdin.StandardIO.
Here is the code:
# item.py file
from twisted.internet import reactor, stdio
from twisted.protocols import basic
from storage import Item
class EchoItemProtocol(basic.LineReceiver):
delimiter = '\n'
def lin
30 matches
Mail list logo