Re: [Zope3-Users] So, there is going to be no Zope4... how to handle maintenance a couple of years from now?

2014-09-07 Thread Thierry Florac
on the Zope3 projects. It was > later, thankfully, that we came across the negative opinion. ZCA did > require a mindset change for some, but more often than not it has > helped them in their future work on other platforms too. > But that was 10 years ago... Don't know about

Re: [Zope3-Users] So, there is going to be no Zope4... how to handle maintenance a couple of years from now?

2014-09-06 Thread Thierry Florac
Hi, Le Sun, 7 Sep 2014 09:26:43 +0530, Milind Khadilkar a écrit: > Seems there will be no Zope4. Puts a fond hope to rest. > > I have one large Zope2 (Zope 2.6) project, one large Zope3 (Zope 3.4) > project, two medium sized Grok projects, one GAE project, allof them > need to be maintained

Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-23 Thread Thierry Florac
I tried it globally as well as in a virtualenv > > > > Tamer > > > On 07/20/13 01:19, Thierry Florac wrote: > > > > Hi, > > > > Le Sat, 20 Jul 2013 01:09:50 +0200, > > Tamer Higazi a écrit: > > > >> I believe also that it is

Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-23 Thread Thierry Florac
Could you give me your versions of setuptools, distribute and zc.buildout ? Thierry Le Sat, 20 Jul 2013 01:36:34 +0200, Tamer Higazi a écrit: > Same result as before. > > I tried it globally as well as in a virtualenv > > > > Tamer > > > On 07/20/

Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Thierry Florac
Hi, Le Sat, 20 Jul 2013 01:09:50 +0200, Tamer Higazi a écrit: > I believe also that it is not related to ztfy packages, because the > same result is being displayed with bluebream as well. > > I am using Python 2.7.5 on Gentoo Linux 64 Bit. I already had a few installation problem with zc.b

Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Thierry Florac
Hi, Le Fri, 19 Jul 2013 23:43:54 +0200, Tamer Higazi a écrit: > Hi peeople! > I sent by mistake this question to the zope2 Mailinglist, and I hope > you forgive me. I have this problem: > > I am trying to install zope3 /ztfy webapp, and I face quickly a > problem by running "python bootstrap

Re: [Zope3-Users] SSL permission error

2013-04-18 Thread Thierry Florac
Hi, > my server sometimes stops running. I use apache2 in front of zope3 with > rewrite rules. Here's the transcript.log : > > Traceback (most recent call last): > File "/var/lib/zope3/instance/www.test.com/bin/runzope", line 48, in ? > run() > File "/var/lib/zope3/instance/www.test.com/bin/ru

Re: [Zope3-Users] Choosing between Bluebream, Zope2 and Grok

2012-10-23 Thread Thierry Florac
Hi, Le Wed, 24 Oct 2012 07:45:50 +0530, Milind Khadilkar a écrit: > Hello all Zope Users! > We are trying to decide on a Zope platform for, say, the next five > years. We have developed small products on Zope2 and Zope3 between > 2000 and 2008, and in Grok over the past couple of years, off a

[Zope3-Users] KGS for ZTK 1.1.1 ?

2011-05-27 Thread Thierry Florac
Hi, I've seen that ZTK and ZopeApp packages have been released in version 1.1.1 since april, 2011. Is there any KGS, mainly for zc.* and z3c.* packages, matching this release ? Thanks, Thierry ___ Zope3-users mailing list Zope3-users@zope.org https://ma

Re: [Zope3-Users] Referencing objects

2011-02-04 Thread Thierry Florac
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Le vendredi 4 février 2011, Michael Seifert a écrit : == > Hello everyone, > > I recently started a Zope3 project, but I am stuck at the very > beginning. Although I have so

Re: [Zope3-Users] Bluebream

2010-10-30 Thread Thierry Florac
__ Le samedi 30 octobre, Albert DURANTON a écrit : > I learn bluebream with bluebream documentattion. After chap1 i run > bin/paster serve debug.ini. I get : > r...@mamachine:/home/albert2/bluebream/ticketcollector# bin/paster

Re: [Zope3-Users] Zope3-users Digest, Vol 71, Issue 2

2010-10-11 Thread Thierry Florac
__ Le dimanche 10 octobre, david ally a écrit : > Ok, I couldn't create a project however, please see the error I got > when tried zopeproject LearningZope; > > da...@ubuntu104:~$ zopeproject LearningZope > Enter user (Name of

Re: [Zope3-Users] Zope3-users Digest, Vol 71, Issue 2

2010-10-09 Thread Thierry Florac
__ Le samedi 9 octobre, david ally a écrit : > I installed version 3.2 from svn repository on Ubuntu Linux 10.04, > but all i want is the right way to install zope version 3 to learn > how to write zope applications. _

Re: [Zope3-Users] problems installing and starting zope3

2010-10-08 Thread Thierry Florac
Le vendredi 8 octobre 2010, david ally a écrit : == > Hi All, > > I'm newbie and i'm running zope3 on ubuntu 10.04, I got this error > while trying to run zope; =

Re: [Zope3-Users] Zope 3.4.1 KGS released!

2010-06-25 Thread Thierry Florac
Le jeudi 24 juin 2010, Adam GROSZER a écrit : == > == > Zope 3.4.1 Released! > == > > June 22, 2010 - The Zope 3 development team announces the Zope 3.4.1 > release. > > The 3.4.1 is the

Re: [Zope3-Users] ZEO multi-processes client setup with WSGI

2010-06-24 Thread Thierry Florac
Le jeudi 24 juin 2010, Jim Fulton a écrit : == > On Thu, Jun 24, 2010 at 6:09 AM, Thierry Florac > wrote: > > > > Hi, > > > > I'm currently going to setup a new Zope3 web site. > > I&#

[Zope3-Users] ZEO multi-processes client setup with WSGI

2010-06-24 Thread Thierry Florac
Hi, I'm currently going to setup a new Zope3 web site. I'd like to setup this site using : - a remote ZEO server - several physical web servers, each hosting a set of ZEO clients and using WSGI (with mod_wsgi). My main question is about mod_wsgi multi-processes setup, and actually : if defi

[Zope3-Users] reStructuredText sections question

2010-04-14 Thread Thierry Florac
Hi, Sorry for cross-posting but I don't know where to ask for this little question... I use reST to produce contents which can be : - generated as standalone HTML pages - included into an existing CMS (via Zope3) While generating HTML from my CMS, how can I produce sections headers starting,

[Zope3-Users] Multi-database settings for Zope3

2010-04-06 Thread Thierry Florac
Hi, I have to build a new application, including several virtual hosts each matching a different ZODB accessed via ZEO. Is there any easy way to handle such a configuration in a single Zope3 instance (I still use Zope-3.4) ? I used to use ZODB mount points with old Zope2 applications, but didn't

Re: [Zope3-Users] Paul carduner z3c tutorial

2010-03-11 Thread Thierry Florac
Le jeudi 11 mars 2010, Albert DURANTON a écrit : == > I learn the paulcarduner/z3ctutorial. > I am the form but when i click add i get:URL: > http://localhost:8080/%2B%2Bskin%2B%2BZContact/%40%40addContact.html > > Module zconta

Re: [Zope3-Users] CRM based on zope3 or grok?

2010-02-19 Thread Thierry Florac
Le vendredi 19 février 2010, Massimiliano della Rovere a écrit : == > At work we are planning move from Sugar CRM PRO to something else > free. I'd love moving to something python based, but it seems the only > free and reliable

Re: [Zope3-Users] Accessing Annotations

2009-09-22 Thread Thierry Florac
__ Le lundi 21 septembre, Paul Wilson a écrit : > I'm writing a web service that presents objects that additionally > contain metadata in the form of annotations. I want clients to be able > to manipulate (GET/PUT) this informa

Re: [Zope3-Users] Assigning programmatically a Role to a Principal

2009-05-12 Thread Thierry Florac
Le mardi 12 mai 2009, paftek a écrit : == > I created a Role and a Permission affected to it : > > > > > My users are store in a PostgreSQL database, not in the ZODB. > I use the Zope authentication system to return a Princi

Re: [Zope3-Users] Error on adding an index: "ComponentLookupError: (, '') "

2009-05-06 Thread Thierry Florac
== Le mercredi 6 mai 2009, Chetan Kumar a écrit : > On Wed, May 6, 2009 at 1:17 PM, Thierry Florac > wrote: ... > > Did you register your "ind" component as default provider of IIntIds > > interf

Re: [Zope3-Users] Error on adding an index: "ComponentLookupError: (, '') "

2009-05-06 Thread Thierry Florac
== Le mercredi 6 mai 2009, Chetan Kumar a écrit : > Hi all > What could be the issue here [1]? 'ind' is added as seen in [2] > > I also see this [3], [4] > > This error stops me from adding an index to the catalog. Did you

[Zope3-Users] TextIndexNG question...

2009-02-18 Thread Thierry Florac
hing. I suppose that all this is a splitter/stopwords problem, but I can't manage to make this work correctly so any help would be greatly appreciated. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint

Re: [Zope3-Users] Run starup code with zope 3.

2009-02-12 Thread Thierry Florac
>principalPermissionManager.grantAllPermissionsToPrincipal("user") To run code automatically at application startup, I think that you should have a look at the IDatabaseOpenedWithRootEvent (defined in zope.app.appsetup.interfaces). I use this event to check a set of persistent databas

Re: [Zope3-Users] Interface Use Cases

2009-01-28 Thread Thierry Florac
ents(IAbc) attr1 = FieldProperty(IAbc['attr1']) Like that, each time attr1 will receive a new value, this value will be checked to ensure it provides IAbc, otherwise a SchemaNotProvided exception will be raised. Hope this will help you, Thierry Florac -- Chef de

Re: [Zope3-Users] zc.catalog NormalizationWrapper question...

2008-12-18 Thread Thierry Florac
Le jeudi 18 décembre 2008 à 11:03 -0500, Gary Poster a écrit : > On Dec 18, 2008, at 9:52 AM, Thierry Florac wrote: > > > Hi, > > > > I'm currently using zc.catalog package for value and set indexes on a > > Zope-3.3 application. > > > &

[Zope3-Users] zc.catalog NormalizationWrapper question...

2008-12-18 Thread Thierry Florac
n and queries... Did I missed something or is there an error somewhere ?? Thanks for any advise... 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 T

[Zope3-Users] Zope3 and SQLAlchemy

2008-11-18 Thread Thierry Florac
: - what package is the best to plug into my Zope (3.3.1) application ? - do all these packages handle the same features ?? Thanks for any information, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 7

[Zope3-Users] Last zc.async package for Zope-3.3.1

2008-10-20 Thread Thierry Florac
Hi, Actually using Zope-3.3.1, I'm looking at zc.async package but the last release is no more compatible with my Zope release. Could anyone point me to the last compatible release ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Départ

[Zope3-Users] How to add content in HTML head ?

2008-09-18 Thread Thierry Florac
is displayed in any template ? I already use zc.resourcelibrary package, which handles the same kind of problem for JS/CSS resources... Thanks for any help or link... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Sain

Re: [Zope3-Users] Copying Objects from/in the ZODB

2008-07-27 Thread Thierry Florac
Le dimanche 27 juillet 2008 à 15:15 -0300, Tim Cook a écrit : > Hi All, > > Another basic question but I can't seem to find the easy way to do this. > > > I have a group of instances stored in the ZODB. They are basically > skeletons that I want to copy, edit and store as new instances elsewher

Re: [Zope3-Users] Preferred languages

2008-04-17 Thread Thierry Florac
quot;Accept-Language: en,de-de;q=0.5" , > the result is unexpected. Zope returns german translations although english > strings are available (hardcoded into the application). > > Is there a way to tell Zope to use the hardcoded strings, when 'en' is > requested? Hi,

Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
n a set (containing final results set intersection) and a list (containing TextIndexNG results, ordered by ranking), is it possible to EFFICIENTLY get items of the set in the order in which they are stored in the list ?? Thanks, Thierry Florac -- Chef de projet intranet/internet O

Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
an easy way to "intersect" the results of several distinct queries, so that the results order provided by TextIndexNG and following ranking is kept ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de S

[Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
alue which could be used to display to users the relevance of found results ? 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.

{Spam?} Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-27 Thread Thierry Florac
On mer, 2008-03-19 at 06:33 -0700, garz wrote: > have some views for some content: > class SomeContentDisplayForm(z3c.formui.layout.FormLayoutSupport, > z3c.form.form.DisplayForm): > fields = z3c.form.field.Fields(ISomeConcent) > class SomeContentEditForm(z3c.formui.layout.FormLayoutSupport,

Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi, On ven, 2008-03-14 at 23:12 +0100, Thierry Florac wrote: > I'm trying to use a few z3c.* packages to build a little test > application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet... > > What I've done until now is : > - create a custom layer

[Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi, I'm trying to use a few z3c.* packages to build a little test application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet... What I've done until now is : - create a custom layer : class ITestLayer(z3c.form.interfaces.IFormLayer, z3c.layer.pagelet.IPageletBrowserLaye

[Zope3-Users] Dynamic interfaces ?

2008-03-10 Thread Thierry Florac
I suppose I should need a king of "interface factory", but couldn't find any link about that. 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

Re: [Zope3-Users] UnpickleableError when adding object with reference

2008-01-15 Thread Thierry Florac
_car = None def _getCar(self): return self._car def _setCar(self, value): self._car = removeSecurityProxy(value) car = property(_getCar,_setCar) ... Like that, any way the car property is modified, it's automatically unproxied and can be stored safely. Th

Re: [Zope3-Users] Object-deleted-events

2008-01-07 Thread Thierry Florac
or is not called when an object is removed from it's container, but when it's references count in Python interpretor is decremented to 0. For your use case, the only thing you should do is just to implement a subscriber to IObjectRemovedEvent (defined into zope.app.container.interface

Re: [Zope3-Users] How to persist an attribute of list type

2007-11-30 Thread Thierry Florac
Le samedi 01 décembre 2007 à 02:34 +0800, Yuan HOng a écrit : > Hi, > > It seems that I can not get list attribute of an persistent object > changed. I have the following class, which has a list as one of its > attributes: > > class Cart(Persistent): > items = [] > amount = 0 > > In the

Re: [Zope3-Users] Zope3, ZEO and RAMCache

2007-11-22 Thread Thierry Florac
Le jeudi 22 novembre 2007 à 14:46 +, Chris Withers a écrit : > Thierry Florac wrote: > > Hi, > > > > I have a simple question : I'm using RAMCache > > What's RAMCache? I'm just talking about the RAMCache utility, which is defined into zope.app.c

[Zope3-Users] Zope3, ZEO and RAMCache

2007-11-22 Thread Thierry Florac
Hi, I have a simple question : I'm using RAMCache with ZEO and several Zope frontends ; when calling cache.invalidate(), are the selected entries invalidated only on the Zope frontend which handled the request, or are they invalidated on each frontend ?? Thanks for any information, Th

[Zope3-Users] Installing Twisted with ZopeProject

2007-11-20 Thread Thierry Florac
Hi, Until now, I was using Zope (3.3) installed from source (on Linux) without problem. Actually, I'm trying to discover ZopeProject and other eggs based distributed packages, which seems to become the default (only ?) distribution mode for future releases of Zope3. My problem is simple : I'm cur

Re: [Zope3-Users] Re: lack of security declaration: bug or feature?

2007-11-05 Thread Thierry Florac
hing like: I want Public > permission for reading an ordered folder and I want ManageContent > permission for writing *and* changing the folder order. I've done this configuration, which seems OK for me until now : Thierry Florac -- Chef de projet intranet/in

Re: [Zope3-Users] Weird error for a certain named attribute

2007-10-23 Thread Thierry Florac
a list of strings to join them as one string (if this > is even a good solution at all, I'm not sure). Just have a look at SetIndex component ; I think it's included into zc.catalog SVN package. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts

Re: [Zope3-Users] zmi in zope 3.3.1

2007-08-28 Thread Thierry Florac
old release of Zope. Many changes have occured since this release ; you may get the second (excellent !) edition of his book, published in 2007, which is based on Zope-3.3. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Aven

Re: [Zope3-Users] hurry.workflow - retrieve item's history with timestamps of states transitions

2007-07-31 Thread Thierry Florac
eeded) filter them easilly, but implementing another cleaner adapter to handle this should be very easy. 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 : [E

[Zope3-Users] z3c.zalchemy / z3c.sqlalchemy

2007-07-17 Thread Thierry Florac
ny or both of them... Thanks for any information. 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: [Zope3-Users] Zope3 PID file ?

2007-07-17 Thread Thierry Florac
Le mardi 17 juillet 2007 à 12:23 +0200, Martijn Pieters a écrit : > On 7/17/07, Thierry Florac <[EMAIL PROTECTED]> wrote: > > > What about "zopectl logreopen"? > > > > > > > "zopectl logreopen" works, but it seems that a SIGUSR2 sign

Re: [Zope3-Users] Zope3 PID file ?

2007-07-17 Thread Thierry Florac
Zope process is respawned. So I don't see any difference with "zopectl restart"... :-( Am I wrong ? Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex

[Zope3-Users] Zope3 PID file ?

2007-07-17 Thread Thierry Florac
Hi, I need to write scripts to handle Zope3 logfiles rotation. But I can't find any PID file for the running instance. Do I have to call for Zope restart or is there any other way which could avoid restarting Zope and flushing all caches ? Thanks for any advise, Thierry Florac --

[Zope3-Users] View or content provider

2007-07-11 Thread Thierry Florac
of performances, CPU usage and/or memory usage ?? Thanks for any advise for this simple "problem", as both methods work perfectly... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570

Re: [Zope3-Users] Using RAMCache

2007-07-03 Thread Thierry Florac
return result > else: > return query > > but that won´t work, the cache looses it´s entry, if i call the browser-view > again. First of all, I thing that you can implement a RAM cache manager as a utility into your site, and then just get to it via zapi.queryUtility('I

Re: [Zope3-Users] Custom Schemas, form widgets

2007-07-03 Thread Thierry Florac
for date/datetime fields. Hi, I currently use "zc.datetimewidget" package for date/time inputs. It's available throught SVN, and works very well (currently with formlib for me). Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informati

Re: [Zope3-Users] Getting view result from Python

2007-06-28 Thread Thierry Florac
Le mercredi 27 juin 2007 à 20:17 +0300, Marius Gedminas a écrit : > On Wed, Jun 27, 2007 at 04:59:07PM +0200, Thierry Florac wrote: > > Le mercredi 27 juin 2007 à 14:31 +0200, Christophe Combelles a écrit : > > > Thierry Florac a écrit : > > > > I'd like to get

Re: [Zope3-Users] Getting view result from Python

2007-06-27 Thread Thierry Florac
Le mercredi 27 juin 2007 à 14:31 +0200, Christophe Combelles a écrit : > Thierry Florac a écrit : > > Hi, > > > > I'd like to get a view output from some Python code. > > > > Actually, I don't have any problem if I use a page template with a > >

[Zope3-Users] Getting view result from Python

2007-06-27 Thread Thierry Florac
ctly from Python code, which I don't actually manage to do... So any advise to this probably simple problem would be welcome. Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex

[Zope3-Users] Zope3 profiler ?

2007-06-12 Thread Thierry Florac
Hi, I'm looking for a simple solution to profile a Zope3 application, some kind of 'ZopeProfiler' product which was available for Zope2. Any link or advise would be welcome... Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêt

[Zope3-Users] zope.conf options

2007-05-28 Thread Thierry Florac
Hi, I'm looking for the set of parameters that can be used in zope.conf file, including those relatives to ZODB caching options and ZEO configuration. Any link would be greatly welcome... Thanks for any help, Thierry -- This message has been scanned for viruses and dangerous content by MailSca

[Zope3-Users] Small skinning question...

2007-05-10 Thread Thierry Florac
know easilly (without hardcoding virtual hosts, in fact) if I'm on a back-office page or not and, in fact, if a specific skin has already been applied ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2,

[Zope3-Users] Getting values of catalog index in a given "context" ?

2007-05-02 Thread Thierry Florac
uite huge !) ? 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.40.19.59.85

[Zope3-Users] Single formlib widget for several fields

2007-04-20 Thread Thierry Florac
gle interface, for which I can create and declare a custom widget, or can I handle such things without modifying my current interface (which I'd prefer). Thanks for any advise, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2,

[Zope3-Users] ZEO security examples

2007-04-13 Thread Thierry Florac
this for Zope3 would be very nice. 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

[Zope3-Users] "boolean" value of adapted objects

2007-04-03 Thread Thierry Florac
odify this code with two tests instead of one, but I'm sure there's an easy way to handle such things, so any information would be really great !! Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Sain

[Zope3-Users] Formlib and custom validation constraints

2007-03-19 Thread Thierry Florac
ndle such custom constraints, which are applied to only one field and which I don't want to define via invariants (because I'd like the error message to be displayed correctly next to the required widget) ? Until now I've tried a few methods (via "widget._error" property f

[Zope3-Users] Cancelling AddForm

2007-03-12 Thread Thierry Florac
lib controls (actually, for example, even a simple "Cancel" button which should just redirect the browser actually raises an exception when required fields are missing). Any help ? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Départ

[Zope3-Users] Internationalisation of a viewlet property

2007-03-06 Thread Thierry Florac
Hi, I've created a custom viewlet to display a menu entries with the following declaration : My problem is simple : how can I get the "label" property to be correctly included by the I18n extraction machinery in my gettext ".pot" file ? Thanks, Thierry -- This message has been scanned

Re: [Zope3-Users] Question about IOrderedContainer interface

2007-02-27 Thread Thierry Florac
Le lundi 26 février 2007 à 19:39 +0200, Marius Gedminas a écrit : > On Mon, Feb 26, 2007 at 05:28:12PM +0100, Thierry Florac wrote: > > I have a little question about the "IOrderedContainer" interface. > > > > Actually, this interface is derived from "IContai

[Zope3-Users] Question about IOrderedContainer interface

2007-02-26 Thread Thierry Florac
ntainer instead of IContainer (what I've done until now !) - make IOrderedContainer a separate interface, so that I could do something like : - wait for someone else to give me another solution, which wouldn't need to modify Zope source code :-) Thanks for any help or advise,

[Zope3-Users] Problem with zc.table content internationalization

2007-01-30 Thread Thierry Florac
My problem is that the "StateLabels" are translated correctly in several templates, but not when used inside this table (I can only see the "status-..." translation key in generated output). So any help or advise would be very helpful... Thanks, Thierry Florac -- Chef

Re: [Zope3-Users] Security related questions

2007-01-17 Thread Thierry Florac
f zope.app.securitypolicy. Writing the same adapter to get the list of permissions (by iterating throught the list of granted or denied roles and using the IRolePermissionManager interface) shouldn't be too difficult... Hope this will help you, Thierry Florac -- Chef de projet intrane

Re: [Zope3-Users] Content cloning ?

2007-01-16 Thread Thierry Florac
Le mardi 16 janvier 2007 à 07:27 -0500, Gary Poster a écrit : > On Jan 16, 2007, at 6:24 AM, Thierry Florac wrote: > > The last problem I still have is that some of the informations stored > > into object's annotations have to be indexed into a set of catalogs. > > Wh

Re: [Zope3-Users] Content cloning ?

2007-01-16 Thread Thierry Florac
Le lundi 15 janvier 2007 à 16:36 +0100, Christian Theune a écrit : > Am Montag, den 15.01.2007, 16:06 +0100 schrieb Thierry Florac: > > Hi, > > > > In an application I'm currently building with Zope3, I need to be able > > to "clone" several kinds o

[Zope3-Users] Content cloning ?

2007-01-15 Thread Thierry Florac
e in Python/Zope3 to clone data ?? Thanks for any help or advise... 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

[Zope3-Users] Required choice without default value in formlib

2007-01-12 Thread Thierry Florac
Hi, I use formlib to handle my forms. In a AddForm, how can I have a required choice property, using a dynamic vocabulary, without a default selected value ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique

Re: [Zope3-Users] Periodically refresh RSS feeds

2006-12-19 Thread Thierry Florac
cific interface IAlert - when the AlertManager is launched, it opens a new connection (via ZEO.ClientStorage), search for registered components (via zapi.getAllUtilitiesRegisteredFor(IAlert)) and call one of the interface's methods which may raise the alert. In my use case an email is sent, b

Re: [Zope3-Users] Database conflicts errors ?

2006-12-08 Thread Thierry Florac
Le vendredi 08 décembre 2006 à 15:08 +0100, Thierry Florac a écrit : > Hi, > > I'm currently writing an image management adapter for Zope3. > It's goal is just to create and store thumbnails "on the fly" when an > image is requested with an additional spe

[Zope3-Users] Database conflicts errors ?

2006-12-08 Thread Thierry Florac
of view. I'm not completely sure to understand what DatabaseConflictErrors are, so any explanation about this kind of problem would be greet. I'll just add for your information that I'm using ZEO... Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Offi

Re: [Zope3-Users] Scheduler package usage

2006-11-22 Thread Thierry Florac
Le mercredi 22 novembre 2006 à 08:12 +1100, Tom Dossis a écrit : > Thierry Florac wrote: > > - as I use virtual hosting, my utilities are located and registered in > > a "sub-site". How can I get access to these components in my scheduler > > tasks throught zap

Re: [Zope3-Users] how to access the root folder in normal operation

2006-11-17 Thread Thierry Florac
abaseOpenedWithRootEvent(event): db = event.database connection = db.open() root = connection.root() root_folder = root.get(ZopePublication.root_name, None) ... And in ZCML : Thierry Florac -- Chef de projet intranet/inte

Re: [Zope3-Users] Utilities naming convention

2006-11-17 Thread Thierry Florac
" a set of shortcuts to get access to functions provided elsewhere... 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

[Zope3-Users] Needed help with zc.table selection column

2006-11-15 Thread Thierry Florac
is trivial : as items names are base64 encoded into form widgets and form data, is there an already defined way to easilly get the list of selected keys, without decoding base64 input fields ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêt

Re: [Zope3-Users] Handling deletion rights ?

2006-10-31 Thread Thierry Florac
Le lundi 30 octobre 2006 à 11:13 -0400, Stephan Richter a écrit : > On Friday 06 October 2006 08:40, Thierry Florac wrote: > > I can easilly give access rights for managers and contributors so that > > each of them can only create given objects. > > But what concerning deletio

[Zope3-Users] Granting roles automatically ?

2006-10-27 Thread Thierry Florac
tool without any problem. What I'd like to do is to be able to grant a set of roles automatically to my internal principals authenticated via LDAP. Is it possible ? Thanks for any answer, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Inform

[Zope3-Users] Zope3 database activity

2006-10-26 Thread Thierry Florac
Hi, Zope2 provided a nice tool in his control panel to view database activity (objects loads and stores, cache usage...). Two questions : - is there any way to get access to such information with Zope3 ? - is it possible with Zope3 to setup cache size ?? Thanks for any answer, Thierry

[Zope3-Users] Problem with ZODB...

2006-10-25 Thread Thierry Florac
n't find how to manage this problem. Of course, any help would be really appreciated... Thanks in advance, 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 PROTEC

[Zope3-Users] Synchronizing with a remote host

2006-10-24 Thread Thierry Florac
andle my problem. There may be several approachs (using XML-RPC ?) and as I'm not a great ZODB or ZEO specialist, any advise would be greatly welcome. Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint

Re: [Zope3-Users] Problem with Python 2.4.4

2006-10-24 Thread Thierry Florac
ks like Zope's file stream object that it passes to > the CGI module needs to grow a maximum size. Hi, I had the same problem on Debian GNU/Linux. Problem is due to a security patch applied on "cgi.py" in Debian's unstable release. Thierry Florac -- Chef de projet in

Re: [Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-18 Thread Thierry Florac
Le mercredi 18 octobre 2006 à 13:31 +0200, Thierry Florac a écrit : > Hi, > > I'm trying to use the "hurry.workflow" package (loaded from CVS) to > handle a simple workflow. > I've created a ViewletManager to display available transitions, but a > Forbidde

[Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-18 Thread Thierry Florac
method : File ".../onf/publication/browser/viewlets/transition/__init__.py", \ line 45, in update ids = info.getManualTransitionsIds() ForbiddenAttribute: ('getManualTransitionsIds', \ ) I've also tried to use a simple content provider with an adapter but g

Re: [Zope3-Users] Custom DateWidget with Month/Day/Year

2006-10-18 Thread Thierry Florac
Le mardi 17 octobre 2006 à 13:46 +0200, FB a écrit : > Hi, > > On Mon, Oct 16, 2006 at 05:46:29PM +0200, Thierry Florac wrote: > > [snip] > > > Installation is fine, as well as widget, but I can't get dates displayed > > or entered in a french way (DD/MM/

Re: [Zope3-Users] Custom DateWidget with Month/Day/Year

2006-10-16 Thread Thierry Florac
M/). I've tried to modify browser settings as well as a few parameters, but nothing is doing it correctly (and when date is displayed correctly in a form, Zope 'normally' says that dates are not correctly formatted while submitting !). Thanks for any help... Thierry Florac

Re: [Zope3-Users] ForbiddenAttribute on "locate" method

2006-10-11 Thread Thierry Florac
Le mercredi 11 octobre 2006 à 00:52 +0200, Thierry FLORAC a écrit : Hi, I try to setup a little application but have a probably little problem with a ForbiddenAttribute exception on "location.locate" method. Here is my setup : class IPhoto(IContainer,

[Zope3-Users] ForbiddenAttribute on "locate" method

2006-10-10 Thread Thierry FLORAC
Hi, I try to setup a little application but have a probably little problem with a ForbiddenAttribute exception on "location.locate" method. Here is my setup : class IPhoto(IContainer,IContained): """Photo handling interface""" ... image = Bytes(...)

Re: [Zope3-Users] Seeking a ZCML Example for a CSSViewlet

2006-10-09 Thread Thierry Florac
ot;..BRSPublicLayerLayoutCSSViewlet" layer="barrysmithgallery.layer.public.IBRSPublicBrowserLayer" weight="2" /> Maybe I'm wrong, but it seems that the "weight" parameter is not used by the default implementation of the CSS viewlet manager... Correct ?

  1   2   >