Re: [Twisted-Python] (no subject)

2018-05-27 Thread Glyph
Sorry for the spam, folks.  I've unsubscribed Justin and let him know that his 
account was used to send this, hopefully we won't see more of it.

-g

> On May 25, 2018, at 3:11 AM, Justin Frost  wrote:

(some spam)
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2017-06-06 Thread Glyph

> On Jun 2, 2017, at 8:18 PM, Hynek Schlawack  wrote:
> 
> Hi Justin,
> 
>> How can I help you with Twisted?  How can you help me move over the cusp 
>> into active, useful contribution?
> 
> Have you seen 
>  >?

OK, let's assume you've read this (have you read it? no? read it.) and that 
you're looking for a more specific starter task rather than the "code reviews" 
/ "python 3" stuff which is a bit broader:

We really need to get off of the legacy logging system (twisted.python.log) and 
move onto the new hotness (twisted.logger).  There is implementation work to be 
done within the Logger system (and thanks to Wilfredo for doing the bulk of 
that!) but that work is only useful if all of Twisted is consistently emitting 
structured messages using that system.

So if you could find something that's calling 'log.msg("foo %s" % (bar,))' and 
make it do 'self._log.info("foo {bar}", bar=bar)', that could move the needle 
on Twisted's operability, and it should hopefully be easy to do.

Thanks for your interest!

-glyph

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2017-06-02 Thread Hynek Schlawack
Hi Justin,

> How can I help you with Twisted?  How can you help me move over the cusp into 
> active, useful contribution?

Have you seen 
>?

Cheers
—h___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-03 Thread Itamar Turner-Trauring
On 05/03/2012 05:27 PM, Dmitriy wrote:
> To add more details, unfortunately, I'm already running SelectReactor with
> pretty recent packages:
> Twisted==12.0.0
> pyasn1==0.1.2
> pycrypto==2.5
>
> After some heavy experimenting, I really think that plink is the weakest
> link:
> the error happens at a random point when my server is accessed from the same
> windows 7 box. There are no issues when running the client on an Ubuntu
> virtual box* though; Twisted doesn't seem to be the one to blame by itself.
When you say "the client", it's still plink? plink on Ubuntu on a 
different machine might also be worth trying, in case there's some bug 
which can only happen due to TCP packet splitting, which might happen 
differently over virtual network driver. Also, have you tried with 
openssh (perhaps on cygwin), or SecureCRT? If other clients are happy 
I'd lean towards a bug in plink.

> 
> That (*) above was Ubuntu client still getting the same error if
> SSHChannel.write()
> would split data in multiple sendData calls when running out of space in
> remoteWindowLeft. But if it is patched it to ignore remote window, it
> shows no
> issues, so I'm not that much concerned with it for now.
Could you file a ticket with a patch for this, if there isn't one 
already, so that this fix can make it into Twisted proper? See our 
ticket tracker at http://twistedmatrix.com/. Thanks!

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-02 Thread gelin yan
On Thu, May 3, 2012 at 3:22 AM, Itamar Turner-Trauring
wrote:

>  On 05/02/2012 02:57 PM, Glyph wrote:
>
>  On May 2, 2012, at 12:37 AM, Itamar Turner-Trauring wrote:
>
> a bunch of serious bugs
>
>
> Can you be more specific?  Let's not spread vague FUD about ourselves :).
>
>  I suspect you're mostly talking about <
> http://twistedmatrix.com/trac/ticket/1551>, which, yes, is somewhat
> embarrassing.
>
>  http://twistedmatrix.com/trac/ticket/4667
> http://twistedmatrix.com/trac/ticket/3525
> http://twistedmatrix.com/trac/ticket/5562 - this was the one I was
> thinking of.
>
> There's probably more!
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
I think those issues has one thing in common: current iocp implementation
has a problem about how to send data in order.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-02 Thread Itamar Turner-Trauring

On 05/02/2012 02:57 PM, Glyph wrote:

On May 2, 2012, at 12:37 AM, Itamar Turner-Trauring wrote:


abunch of serious bugs


Can you be more specific?  Let's not spread vague FUD about ourselves :).

I suspect you're mostly talking about 
, which, yes, is somewhat 
embarrassing.



http://twistedmatrix.com/trac/ticket/4667
http://twistedmatrix.com/trac/ticket/3525
http://twistedmatrix.com/trac/ticket/5562 - this was the one I was 
thinking of.


There's probably more!
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-02 Thread Glyph
On May 2, 2012, at 12:37 AM, Itamar Turner-Trauring wrote:

> a bunch of serious bugs

Can you be more specific?  Let's not spread vague FUD about ourselves :).

I suspect you're mostly talking about 
, which, yes, is somewhat 
embarrassing.

-g___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-01 Thread Itamar Turner-Trauring
On 05/01/2012 04:38 PM, Dmitriy Komarov wrote:
> If anyone had a similar issue before, I'd appreciate any pointers on 
> resolving or avoiding it.
>
Actually, one thing does occur to me - are you using the IOCP reactor? 
If so, try the select() reactor, the IOCP reactor unfortunately has a 
bunch of serious bugs. I'm vaguely considering working on those as my 
next Twisted work, since they're embarrassing and IOCP is so much better 
than select() on Windows.

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-05-01 Thread Itamar Turner-Trauring
On 05/01/2012 04:38 PM, Dmitriy Komarov wrote:
> Hi All,
>
> Our team is setting up Twisted to access Mercurial over SSH.
So this means SSH is on the server side, right?

> SSH connection, key exchange, and receiving large amount of data from 
> the client work nicely,
> but sending server data back to the client ends up with a PuTTY Fatal 
> Error "Incoming packet was garbled on decryption" at a random point.
>
> If plink compression is disabled, the error happens very rarely, but 
> overall SSH performance becomes unacceptable.
> If plink uses compression, the error occurs within 1-10 seconds from 
> starting data download.
>
> To make things more hectic, on a rare occasion, PuTTY reports 
> "Incorrect MAC received on packet" instead of "garbled on decryption".
>
> If anyone had a similar issue before, I'd appreciate any pointers on 
> resolving or avoiding it.
>

What version of Twisted are you using? Likewise, what versions of 
PyCrypto and pyASN1? I imagine issues could be in any of the three. If 
you're using up-to-date versions of each, I don't see any pending 
tickets or post-Twisted-12.0 bugfixes that reflect this, in which case a 
good next step would be a minimal reproducing example.





___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] (no subject)

2012-04-18 Thread Ivan Kozik
On Thu, Apr 19, 2012 at 01:54, joel tremblet  wrote:
> Its is possible to use twistd in Windows console  ?
> I tried
> - twistd -y finger11.tac but twistd is not recognize
> - python finger11.tac, it's run the script but stop and the prompt symbol
> come back
>
> How we can test this script ?

twistd does work on Windows, but doesn't support some features like
daemonization.

This works here:

C:\Python27\python C:\Python27\Scripts\twistd.py -y
./doc/core/howto/tutorial/listings/finger/finger11.tac

Ivan

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python