Re: [Twisted-Python] XMPP server connection question

2008-12-05 Thread Ralph Meijer
On 2008-12-05 11:42, Phil Mayers wrote: Christopher Zorn wrote: Yeah, the t.w.p.j.xmlstream.XmlStreamFactory inherits from ReconnectingClientFactory, which is IMHO wrong. See also: http://twistedmatrix.com/trac/ticket/3492 Wrong? It was just a design choice for this particular factory, mad

Re: [Twisted-Python] raw xml to element, char encoding/decoding error

2009-02-18 Thread Ralph Meijer
On 2009-02-18 12:14, Gabriel Rossetti wrote: Hello, I wrote some code to transform a raw XML string into a domish.Element, and I keep on getting char encoding/decoding errors : [..] parser.parse(tmp.toXml()) > [..] Parser input is expected to be a string, not unicode. Try this in

Re: [Twisted-Python] raw xml to element, char encoding/decoding error

2009-02-18 Thread Ralph Meijer
On 2009-02-18 14:57, Gabriel Rossetti wrote: Ralph Meijer wrote: On 2009-02-18 12:14, Gabriel Rossetti wrote: [..] >> Parser input is expected to be a string, not unicode. Try this instead: parser.parse(tmp.toXml().encode('utf-8')) ralphm Hello Ralphm, yes, I had fixed

Re: [Twisted-Python] copy domish element

2009-06-08 Thread Ralph Meijer
On Mon, 2009-06-08 at 18:03 +0100, Phil Mayers wrote: > Jack Bates wrote: > > i have a domish element - when i try the following, > > > message = element > del message['from'] > element['from'] > > > > - i get a key error > > Well, yes. That's how python works ;o) > > > > > to a

Re: [Twisted-Python] Twisted Words

2009-06-09 Thread Ralph Meijer
On Mon, 2009-06-08 at 11:33 -0400, Alex Patino wrote: > I am looking for a chat system to add to my Django-based chat site. I > don't need something ready-made but I don't want to build it on a > framework that is no longer supported. What's the status of the > Twisted Words project? Although, a

Re: [Twisted-Python] twisted.names.error.DNSNameError on MacOsX but not on linux

2009-08-13 Thread Ralph Meijer
On Tue, 2009-08-11 at 18:30 +0200, Gabriel Rossetti wrote: > [..] Apparently you modified the original example here: > [..] > connector = XMPPClientConnector(reactor, "10.204.232.117", f) > connector.connect() This would never work properly. XMPPClientConnector is designed to do

Re: [Twisted-Python] An XMPP client with SSL support

2009-09-17 Thread Ralph Meijer
On Wed, 2008-08-27 at 17:31 -0400, Pedro Sanchez wrote: > Hello, > > I have a sample XMPP client with the following structure: > > from twisted.words.protocols.jabber import client, jid > from twisted.internet import reactor > ... > factory = client.basicClientFactory(myJid, myPasswd) > reactor.c

Re: [Twisted-Python] An XMPP client with SSL support

2009-09-17 Thread Ralph Meijer
On Thu, Sep 17, 2009 at 04:33:43PM +0200, Ralph Meijer wrote: > On Wed, 2008-08-27 at 17:31 -0400, Pedro Sanchez wrote: Oh, ahum. That's quite the latency... -- Groetjes, ralphm ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.

Re: [Twisted-Python] twisted-wave?

2009-10-02 Thread Ralph Meijer
On Fri, 2009-08-21 at 11:40 -0400, Stephen Waterbury wrote: > Just curious what the twisted minions think of google wave > and whether anyone is considering or working on a twisted > implementation of the federation protocol, > . In general, impleme

Re: [Twisted-Python] copy.deepcopy domish.Element works in python 2.5 but not in 2.6

2009-12-18 Thread Ralph Meijer
On Thu, 2009-12-17 at 18:11 +, exar...@twistedmatrix.com wrote: > On 05:40 pm, gabriel.rosse...@arimaz.com wrote: > >Hello everyone, > > > >for some reason copy.deepcopy forks great on a domish.Element on 2.5 > >but > >not in 2.6 : > > Actually, it looks like it works about equally well on eit

Re: [Twisted-Python] Sending domish.Element results to Unpersistable

2009-12-28 Thread Ralph Meijer
On Mon, 2009-12-28 at 10:14 +0800, Enrique Samson Jr. wrote: > Hi, > > I'm using PB to to send copies of domish.Element instances to another > application. I just don't want to parse XML again and thought it would > be better to send Element copies and save parsing on the other end. But > receivin

Re: [Twisted-Python] Log rotates not as expected

2010-01-28 Thread Ralph Meijer
On Thu, 2010-01-28 at 09:46 +0100, Pet wrote: > [..] > > I'm getting an error while starting my service: > > Failed to load application: 'module' object has no attribute 'ILogObserver' ILogObserver was introduced in Twisted 8.2. You are probably using an older version. ralphm _

Re: [Twisted-Python] [ANNOUNCE] Twisted 10.0.0pre1 is now released

2010-02-24 Thread Ralph Meijer
On Wed, 2010-02-24 at 11:20 -0500, Glyph Lefkowitz wrote: > [..] > > Much as I don't like ReST, it's a heck of a lot better than trac markup. You > can't really manipulate trac markup with anything but trac, but ReST gives > you all of docutils. > > If we used ReST, we could integrate it with t

Re: [Twisted-Python] twisted xmpp-router component interface problem

2010-03-03 Thread Ralph Meijer
On Wed, 2010-03-03 at 14:32 -0500, Drew Smathers wrote: > On Wed, Mar 3, 2010 at 1:56 PM, Werner Thie > wrote: > [..] > > After some fiddling around it seems that the code at line 282 > in > twisted\words\protocols\jabber\xmlstream.py presets the sid of > the >

Re: [Twisted-Python] twisted xmpp-router component interface problem

2010-03-03 Thread Ralph Meijer
On Wed, 2010-03-03 at 22:25 +0100, Ralph Meijer wrote: > On Wed, 2010-03-03 at 14:32 -0500, Drew Smathers wrote: > > On Wed, Mar 3, 2010 at 1:56 PM, Werner Thie > > wrote: > > [..] > > > > After some fiddling around it seems that the code at line 282 &

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Ralph Meijer
On Fri, 2011-01-28 at 09:29 +0100, Albert Brandl wrote: > Hi! > > In our project, we accumulate data from various sources. Some of them are > connected via serial line (e.g. a GPS receiver and a weather station). > > I'd like to run the application with twistd. But it looks as if SerialPort > doe

Re: [Twisted-Python] Using six for Python3 porting

2015-04-24 Thread Ralph Meijer
On 2015-04-24 08:41, Adi Roiban wrote: > Hi, > > I feel that twisted.python.compat is slowly duplicating / reinventing > an important part of the six code. > > Code which does not import from twisted.python.compat will have all > kind of ad-hoc / in module code to handle differences between py2

Re: [Twisted-Python] overview: new review queue venue

2016-05-22 Thread Ralph Meijer
On May 22, 2016 9:36:28 AM GMT+02:00, Glyph wrote: >[..] >(Please nobody try to do the clever thing where you configure buildbot >to automatically pull all PRs, that would effectively negate any >security protections...) > >I've been assuming that in the worst-case scenario, we'd do what >Cryptogr

Re: [Twisted-Python] Twisted Project Jobs Volunteer

2011-11-17 Thread Ralph Meijer
On Thu, 2011-11-17 at 14:46 +1100, Tim Allen wrote: > On Wed, Nov 16, 2011 at 08:17:51AM -0600, Jeffrey Ollie wrote: >[..snip..] > > > One feature that I'd like to add before calling this final is > > converting SVN usernames to "proper" names/email addresses like Git > > prefers to use. > > I see

[Twisted-Python] Unknown constants

2011-12-26 Thread Ralph Meijer
Hi, I've been looking into using twisted.python.constants for representing the status codes of the XMPP Multi-User Chat protocol [1]. I will have objects representing messages, of which one of the attributes is 'mucStatuses', a set of status codes. This works out great for the initial set of a

[Twisted-Python] [Twisted-Jabber] [ANNOUNCE] Wokkel 0.7.0

2012-01-23 Thread Ralph Meijer
Hi! I am proud to announce version 0.7.0 of Wokkel, a set of enhancements on the Jabber/XMPP support in Twisted Words. http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz The highlights: * Protocol support for Publish-Subscribe subscription options, subscription identifiers and no

Re: [Twisted-Python] Must avatarId always be a string?

2013-01-09 Thread Ralph Meijer
On 2013-01-09 15:40, Adi Roiban wrote: > On 9 January 2013 15:04, Jan UrbaƄski wrote: >> On 09/01/13 13:49, Peter Westlake wrote: >>> http://twistedmatrix.com/documents/current/core/howto/cred.html says >>> that the avatarId parameter to IRealm.requestAvatar must be a string, >>> not even a Unicod

[Twisted-Python] [Twisted-Jabber] [ANNOUNCE] Wokkel 0.7.1

2013-01-12 Thread Ralph Meijer
Hi! I am proud to announce version 0.7.1 of Wokkel, a set of enhancements on the Jabber/XMPP support in Twisted Words. http://wokkel.ik.nu/releases/0.7.1/wokkel-0.7.1.tar.gz The highlights: * This release addresses an incompatibility with Twisted 12.3.0, which made it impossible for

Re: [Twisted-Python] Twisted Names strings

2013-01-17 Thread Ralph Meijer
David Reid wrote: >Honestly, if you have comprehensive automated testing and plan to >upgrade >Twisted regularly or to try and support the latest release it is worth >the >effort to setup testing against Twisted trunk. > >https://github.com/dreid/treq/blob/master/.travis.yml shows how I do >this

Re: [Twisted-Python] Twisted Names strings

2013-01-17 Thread Ralph Meijer
On 2013-01-17 23:09, Ralph Meijer wrote: > David Reid wrote: > > Honestly, if you have comprehensive automated testing and plan to > upgrade Twisted regularly or to try and support the latest release > it is worth the effort to setup testing against Twisted trunk

Re: [Twisted-Python] maintenance release - a security issue and a regression

2013-01-30 Thread Ralph Meijer
I'll look at #6245 again tomorrow. -- ralphm ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Jabber client, tls and iqauth

2013-03-17 Thread Ralph Meijer
On 2013-03-15 08:32, rakdeFR wrote: > Hi! > > I did some searches about my problem and didn't find any thing that > match in the archives. > > I'm trying to do a simple jabber client with the twisted framework in > order to automatically send messages. > > The server is a prosody server, and enable

Re: [Twisted-Python] Deprecated Modules

2013-04-12 Thread Ralph Meijer
On 2013-04-12 08:43, RJ Ewing wrote: > If I import a deprecated module and then run the test-suite should I be > seeing an error? I think that I should be seeing an error, but I am not. > I am not sure if I am doing something wrong or if my local environment > is weird. Twisted should always emit

Re: [Twisted-Python] github, again

2013-06-03 Thread Ralph Meijer
On 2013-06-03 22:59, Glyph wrote: Hi Twisted developers, [..] > One suggestion that almost everybody made immediately was: we should use Github for code reviews. As mentioned on IRC, the only comment I have is about the lack of proper e-mail addresses associated with commits. Tom is investi

Re: [Twisted-Python] Can't check elements without uri in twisted.words.xish.domish.Element

2013-09-05 Thread Ralph Meijer
On 2013-09-04 16:43, Goffi wrote: > G'day, > > in the method "elements" of twisted.words.xish.domish.Element, the > function "generateElementsQNamed" is called event if the uri if None, so > the uri is checked against None instead of not checked at all. > > I think the function "generateElementsN