[Twisted-Python] New release of ldaptor

2019-07-09 Thread Thomas Westfeld
Dear all, I would love to see a new release of ldaptor, which incorporates the recent compatibility fixes with python 3. Furthermore I have submitted a new pull request for ticket #9596 and revised my pull request about documentation fixes #9243. Best regards, Thomas __

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-05 Thread Thomas Westfeld
t; >On 5/7/19 8:27 pm, Thomas Westfeld wrote: >>>> Dear all, >>>> >>>> I am having an issue with logging of my Twisted application. I am using >>>> the new >>> twisted.logger framework. The output produced by twist or twistd when >>&g

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-05 Thread Thomas Westfeld
>> Dear all, >> >> I am having an issue with logging of my Twisted application. I am using the >> new >twisted.logger framework. The output produced by twist or twistd when runnning >my >plugin is nice. >> >> However when running a test suite using py.test I only get this as an output >> to >std

[Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Thomas Westfeld
Dear all, I am having an issue with logging of my Twisted application. I am using the new twisted.logger framework. The output produced by twist or twistd when runnning my plugin is nice. However when running a test suite using py.test I only get this as an output to stdout: {"log_io": "\"12

Re: [Twisted-Python] Returning Failure when requestAvatarID to indicate a failed login is not working for me

2019-06-12 Thread Thomas Westfeld
Subject: Re: [Twisted-Python] Returning Failure when requestAvatarID to indicate a failed login is not working for me On Jun 5, 2019, at 4:52 AM, Thomas Westfeld wrote: Dear all, Hi Thomas! I am experiencing a problem with a custom credential checker for twisted cred based on an external server

[Twisted-Python] Returning Failure when requestAvatarID to indicate a failed login is not working for me

2019-06-05 Thread Thomas Westfeld
Dear all, I am experiencing a problem with a custom credential checker for twisted cred based on an external server. @defer.inlineCallbacks def requestAvatarId(self, credentials): user = try: # Check password with external server, raises InvalidCredentials e

Re: [Twisted-Python] ldaptor problem with STARTTLS and python 3

2019-05-29 Thread Thomas Westfeld
>On Wed, 29 May 2019 at 08:21, Thomas Westfeld > wrote: >> > >[snip] > >> Dear all, >> >> it turns out to be an issue with binary vs. string. The __str__ method was >> called by >the errback only. This has been fixed in pull request #147 already. A

Re: [Twisted-Python] ldaptor problem with STARTTLS and python 3

2019-05-29 Thread Thomas Westfeld
n Tue, 28 May 2019 at 11:22, Thomas Westfeld > wrote: >> >> Dear all, >> >> I am experiencing an error when trying to use the quick usage example posted >> on >the ldaptor github page https://github.com/twisted/ldaptor . I have included >the >startt

Re: [Twisted-Python] Binary wheels for Twisted on Windows?

2019-05-28 Thread Thomas Westfeld
>On Tuesday, 28 May 2019 12:04:05 BST Griatch Art wrote: >> Hi, >> >> I'm investigating installing the Evennia MU* server on Windows. We use >> Twisted and will be requiring Python3.7 in our next release. I need to make >> easy-to-use install instructions since a lot of Windows users use our >> lib

[Twisted-Python] ldaptor problem with STARTTLS and python 3

2019-05-28 Thread Thomas Westfeld
Dear all, I am experiencing an error when trying to use the quick usage example posted on the ldaptor github page https://github.com/twisted/ldaptor . I have included the starttls command to promote the connection to an encrypted one, but I am experiencing an deprecation warning: DeprecationWa

Re: [Twisted-Python] Twisted Agent Python 2 ->3 Porting Pitfalls

2019-05-27 Thread Thomas Westfeld
sn't work right > > now. Would you file a bug at https://twistedmatrix.com/trac/newticket? > > > > ---Tom > > > > -- > > Tom Most > > t...@freecog.net > > > > On Mon, May 20, 2019, at 12:22 AM, Thomas Westfeld wrote: > >> Dear all, &g

[Twisted-Python] Twisted Agent Python 2 ->3 Porting Pitfalls

2019-05-20 Thread Thomas Westfeld
ake things easier to make a type check in the request method if the method parameter is of type Unicode and raise an error? Best regards, Thomas Westfeld ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin

Re: [Twisted-Python] Running a twisted application as windows service

2018-04-16 Thread Thomas Westfeld
+1 never seen NSSM crash Werner On 04/12/2018 07:50 AM, Ray Cote wrote: On Thu, Apr 12, 2018 at 12:12 PM, Thomas Westfeld wrote: Hello all, I have written a nice twisted-based TCP-server as a twistd plugin or an application as a .tac file and I would like to run it as a windows service. Hi

[Twisted-Python] Running a twisted application as windows service

2018-04-12 Thread Thomas Westfeld
Hello all, I have written a nice twisted-based TCP-server as a twistd plugin or an application as a .tac file and I would like to run it as a windows service. It works when started from cmd.exe but I would like to run it as a native service. I have seen that the pywin32 package has a win32serv

Re: [Twisted-Python] Incompatible changes to twistd 16.3.2 to 16.4.0

2017-07-17 Thread Thomas Westfeld
Hello Daniel, Indeed you were correct, the PYTHONPATH made the difference. Thank you! Thomas This is a PYTHONPATH thing if I remember correctly. '.' was removed from the path as a side effect of making twistd a 'console script' and this was seen as a good/safer thing. I believe the proper solu

[Twisted-Python] Incompatible changes to twistd 16.3.2 to 16.4.0

2017-07-11 Thread Thomas Westfeld
Dear all, I am experiencing an issue with my twistd plugin. It is in a project_plugin.py file in the twisted/plugins directory of my project. Calling "twistd --help" works fine up to twistd version 16.3.2 but in 16.4.0 the plugin is not recognized anymore. This is how it looks like: from zope