[Zope-dev] method attribute __roles__ in Zope 2.8

2005-02-20 Thread Andreas Jung
I can across the following problem while trying to fix the broken FTP service for Zope 2.8: ObjectManager.manage_FTPstat() tries to access self.manage_FTPlist.__roles__ whose value is ('Manager',') in Zope 2.7. In 2.8 this attribute is not available. Can someone explain how and where is

Re: [Zope-dev] method attribute __roles__ in Zope 2.8

2005-02-20 Thread Dieter Maurer
Andreas Jung wrote at 2005-2-20 12:33 +0100: I can across the following problem while trying to fix the broken FTP service for Zope 2.8: ObjectManager.manage_FTPstat() tries to access self.manage_FTPlist.__roles__ whose value is ('Manager',') in Zope 2.7. In 2.8 this attribute is not available.

Re: [Zope-dev] method attribute __roles__ in Zope 2.8

2005-02-20 Thread Andreas Jung
--On Sonntag, 20. Februar 2005 19:42 Uhr +0100 Dieter Maurer [EMAIL PROTECTED] wrote: You can use the getattr above to resolve the attribute. That really did not help: - print getattr(self.manage_FTPlist, '__roles__') (Pdb) AttributeError: 'function' object has no attribute '__roles__'

[Zope-dev] zope and python2.3.5

2005-02-20 Thread Radosław Stachowiak
Hello zope-2.7.4 and zopex3-3.0.0 stops 'configure' with error on python 2.3.5. is it safe to force zope to use python 2.3.5 instead of 2.3.4 ? i ask, because, on possitive answer, we (Gentoo Linux) change default zope installation to use python2.3.5 At present default python on Gentii from 2.3