Re: [Zope] Overriding DateTime

2009-03-23 Thread Tim Knapp
On Mon, 2009-03-23 at 06:25 +0100, Andreas Jung wrote: > > > On Mon, Mar 23, 2009 at 06:21, Tim Knapp wrote: > Hi, > > I would like to override the DateTime.DateTime class within my > functional tests. > I have tried mocking (via mocker) and injecting the > >

[Zope] FTP server problem

2009-03-23 Thread Gareth Allen
Hello, I'm experiencing a strange problem. I've enabled FTP access to my Zope instance, but when I try and login it throws an exception: 2009-03-23T11:14:42 INFO ZServer Successful login. -- 2009-03-23T11:15:07 ERROR ZServer uncaptured python exception, closing channel (exceptions.Attribut

Re: [Zope] Overriding DateTime

2009-03-23 Thread Chris Withers
Tim Knapp wrote: > I would like to override the DateTime.DateTime class within my > functional tests. I have tried mocking (via mocker) and injecting the > subclassed DateTime class into sys.modules (results in a > TraversalError). The fartherest I've gotten is to set DateTime.DateTime > = MySubcla

Re: [Zope] zopectl does not terminate

2009-03-23 Thread Chris Withers
Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris Withers wrote: >> Tres Seaver wrote: >>> - abort the current transaction >>> - sync its database connection (to pick up the changed objects) >> I'm pretty sure the abort has done the sync for quite some time now... >

Re: [Zope] Overriding DateTime

2009-03-23 Thread Tim Knapp
Hi Chris, On Mon, 2009-03-23 at 12:45 +, Chris Withers wrote: > Tim Knapp wrote: > > I would like to override the DateTime.DateTime class within my > > functional tests. I have tried mocking (via mocker) and injecting the > > subclassed DateTime class into sys.modules (results in a > > Travers