Re: [Zope] local and global site manager, adapter and utility questions

2013-06-11 Thread Thierry Florac
Hi Tamer, Le Sun, 09 Jun 2013 17:30:26 +0200, Tamer Higazi a écrit: > Hi Thierry! > Thanks for your lat response, meanwhile things are getting more and > more clear to me. > > I got it meanwhile to register utilities through the > globalSiteManager, and I am now very familiar now with zca ba

Re: [Zope] local and global site manager, adapter and utility questions

2013-05-14 Thread Thierry Florac
Hi, Le Tue, 14 May 2013 06:55:38 +0200, Tamer Higazi a écrit: > 1. What is the difference between a global and a localSiteManager from > the zope.component package?! > > How do I have to understand that a "globalSiteManager" resists in > memory, and a localSiteManager is persistent ?! > > C

Re: [Zope] Error: Picked: Jinja2 = 2.6

2013-05-06 Thread Thierry Florac
Le Fri, 03 May 2013 23:16:39 +0200, Tamer Higazi a écrit: > Sorry Martijn, > I am a stupid beginner with bluebream, therefore where is the > "[versions]" section ?! # grep "\[versions\]" * buildout.cfg:[versions] At least, it should be like that! :-) _

Re: [Zope] changing permissions on classes/methods at runtime?

2012-03-02 Thread Thierry Florac
Hi, Le Wed, 29 Feb 2012 15:12:37 +0100, Jürgen Herrmann a écrit: > is it possible to change permissions and roles on classes/methods > at runtime? normally you'd attach security declarations inline in > your class definition code: > > from AccessControl import ClassSecurityInfo > from Acces

Re: [Zope] enhancements to RAM cache manager product

2012-02-09 Thread Thierry Florac
Le Wed, 08 Feb 2012 23:42:58 -0600 (CST), sathya a écrit: > ram cached pages using the ram cache manager product seems to be a > nice way to improve response times. > > As far as I remember it did not work well with ZEO. > > Is there any merit to reengineering this product to use memcached a

[Zope] [zope-dev] zope.app.authentication / zope.pluggableauth problem

2011-05-03 Thread Thierry Florac
gins.py', line 89 in extractCredentials login, password = base64.decodestring(credentials).split(':') ValueError: too many values to unpack So maybe I'm wrong, but shouldn't the last instruction be replaced with : login, password = base64.decodestring(credentials).

Re: [Zope] Save references in a list as object attribut

2010-01-29 Thread Thierry Florac
Le vendredi 29 janvier 2010, Vladislav Vorobiev a écrit : == > I try to save references to objects as attribute in a list. > > object.refList=getattr([self. > context.pfad, 'object'], > [self.context.pfad, 'object1']) > > Afte

Re: [Zope] unittest a component that is using zope.dublincore

2009-03-30 Thread Thierry Florac
{"title": "zope.app.dublincore.change"}) def __init__(self, context): pass title = 'faux title' size = 1024 created = datetime(2001, 1, 1, 1, 1, 1)

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Thierry Florac
think it should be something like : setHeader('Refresh', '5;URL=http://...') Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : thierry.flo...@onf.fr

Re: [Zope] Periodic task in a Zope 2 environment

2009-02-16 Thread Thierry Florac
the user of your choice. It doesn't actually provide any user interface to define task scheduling, but the main base class could probably be used as a good starting point ; at least, it works ;-). I can send you the source code on request... Thierry Florac -- Chef de projet intranet/in

Re: [Zope] writing repozo messaging output to a file....

2009-02-05 Thread Thierry Florac
var/log/repozo.log 2>&1 to have all outputs into specified file. If you only want to log errors, then : repozo.py [your params]2> /var/log/repozo.log With hope this helps, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatiq

[Zope] urllib2 timeout problem inside Zope thread

2008-07-24 Thread Thierry Florac
ide an internal Zope thread, how can I prevent this timeout ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.1

Re: [Zope] Unrestricted threads

2008-07-23 Thread Thierry Florac
I was looking for... Many thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64

[Zope] Unrestricted threads

2008-07-22 Thread Thierry Florac
eventually throught an authentication mecanism) ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.4

Re: [Zope] ZSyncer and Zope-2.8.0

2005-08-05 Thread Thierry FLORAC
8:51 -0500, Paul Winkler wrote: > Note, I have done zero testing of zsyncer with zope 2.8. > It is not officially supported yet. If it works, lucky you ;-) > > -PW > > > Am Freitag, 5. August 2005 09:16 schrieb Thierry FLORAC: > >> Hi, > >> > >> I&#x

[Zope] ZSyncer and Zope-2.8.0

2005-08-05 Thread Thierry FLORAC
  Hi, I'm trying to use ZSyncer 0.6.1 to synchronise simple objects (page templates...) between a Zope-2.7.6 source database and a Zope-2.8.0 destination database (both on Solaris with Python 2.3.4). I'm using a user which have a "Manager" role on both sides, but I can't manage ZSyncer to wor

[Zope] Customizing Zope FTP server

2005-07-12 Thread Thierry FLORAC
  Hi, I'm currently working on a Zope site, providing FTP access to some of it's sub-folders. My questions are : - is it possible to customise Zope FTP server so that a specific banner and a specific message are displayed on login ? - is it possible to "redirect" a user to a specific folder

[Zope] Problem with manage_FTP...

2005-06-13 Thread Thierry FLORAC
Hi, I'm actually building with Zope (2.7.6) , through the development of a custom product, a small file server, available through FTP, HTTP or WebDAV with access controlled by an LDAP server (with LDAPUserFolder). Everything works fine with every protocol concerning access rights. The only th

Re: [Zope] ldap

2005-04-22 Thread Thierry FLORAC
On Fri, 2005-04-22 at 12:46 +0200, Jens Vagelpohl wrote: On Apr 22, 2005, at 11:38, Fabio Marcone wrote: > Hi! > I'm looking for a zope-ldap howto. In particular I need to use a ldap > connection in a zpt and I set Connection and Filter LDAP correctly (in > test > page) but not in a zpt (I