Re: [Zope] batch processing with CMFPhotoAlbum
I think the Silva product has that feature, if I remember correctly... perhaps there's a clue there. -Jon Malthe Borch wrote: Hello list, --- In the sake of usability, I'd like to offer my users the ability to upload a compressed archive (i.e. zip og tarball) of photos, so that uploading a roll of film isn't a days work, but rather two or three clicks. Obviously, there still would be a need to do a group-rename afterwards, but the idea is pretty solid I think. I'll want to use the standard way of adding a photo, only also allow for archives in the submission process. Would anyone care to collaborate or share ideas on such a patch? I assume it would be useful with other media as well. \malthe ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
On 4/22/05, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: > If you are not seeking user folder functionality then I would suggest > doing it from python. Or use CPS, which has LDAP directories where you can do this easily. :-D -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Refcounts, ZODB Cache and memory leaks?
Hi, I'm trying to track down some memory leaks using LeakFinder. I get some custom objects with refcounts that keep going up on use. When I patch them using leakfinder I get no results which should be correct as they should be loaded from the ZODB rather than created. The problem is, why won't they go away after GC or clearing the ZODB cache? If anyone has experience with finding these kind of rouge references I'd really appreciate any tips. Dylan Jay Web Builder [EMAIL PROTECTED] --- www.pretaweb.com - Reliable & responsive CMS website development www.meetmemap.com - makes giving directions easy www.eatmanifesto.com - Traditional Sustainable and Delectable Ph:+61(0)423198306 ~ Y!+Skype:dylan_jay ~ ICQ:520341 ~ SIP:[EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
On Apr 22, 2005, at 13:32, Fabio Marcone wrote: I don't know I install it using debian Sarge package. but exists documentation about it? or exist another similar product? I need to access and modify a ldap directory from zope. Do you think I have to do it from python? If you are not seeking user folder functionality then I would suggest doing it from python. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
On Apr 22, 2005, at 13:52, David wrote: I think I read that some people have successfully used exUserFolder (XUF) for linking Zope and LDAP users. Go to: http://sourceforge.net/search/index.php? type_of_search=mlists&group_id=36318&forum_id=190 And search on LDAP. Andrew Milton (author of XUF) is very helpful. Just post to the exuserfolder-users list. I'm using XUF to sync with users stored in PostgreSQL and found the product to be great. The original poster does not seem to talk about a user folder, but about a product to manipulate LDAP directories directly from within Zope. The standard for LDAP-enabled user folders on the other hand is LDAPUserFolder: http://www.dataflake.org/software/ldapuserfolder/ jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
On Apr 22, 2005, at 15:32, Thierry FLORAC wrote: I actually use the LDAPUserFolder (release 1.6) product with Zope-2.6.1. I plan to upgrade to Zope-2.7.x in a few months. Is this product always maintained and functional with Zope-2.7 ? ZopeLDAP != LDAPUserFolder LDAPUserFolder has no connection to ZopeLDAP. LDAPUserFolder has been maintained for over 4 years and is continuing to be developed. See http://www.dataflake.org/software/ldapuserfolder/ (That's also the first Google hit if you search for LDAPUserFolder) jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
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 have a key error on ldap filter) > > Anyone can help me? If you are talking specifically about the ZopeLDAP product, that's been deprecated years ago and has not seen any maintenance for 4 years or so. Hi, I actually use the LDAPUserFolder (release 1.6) product with Zope-2.6.1. I plan to upgrade to Zope-2.7.x in a few months. Is this product always maintained and functional with Zope-2.7 ? Thanks, Thierry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Adding Carriage return/line feed to a text field
MCDONNELL, LARRY wrote: > I have a form that the field length for that element is set to 65k in > the database. Using a textbox, the person can enter their information. I > now want to view the text. I can again use a text box but what I want to > do is this –> > >> If I use this format, the text is one line. Are there arguments or a > script that will add carriage return/line feed after you set the parameters? You can wrap it in HTML tags. This preserves formatting on layout. Otherwise, you'll have to replace the newlines in your text with tags. Products.PythonScripts.standard.newline_to_br will do this for you, as will the newline_to_br attribute on the dtml-var tag. (You can find this in the Zope online help.) --jcc Thanks for the help, it seems my company blocks lists so I did not get your response until this morning when I checked the archives. Thanks, Larry McDonnell Coordinator of Educational Technology New Haven Public Schools 54 Meadow Street New Haven, CT 06519 [EMAIL PROTECTED] (203) 946-2440 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Question regarding changing Zope site to another distro
Hi Mario, This is my system for upgrading: http://zopezone.com/faq/1063992383 I have moved my Zope installation more than a few times from server to server and here are the basics. - Get the new installation up and running first, just plain Zope/Plone/CMF etc. You might want to start with a newer version as it is a good time to upgrade but that is up to you, more work, bigger payout. - Copy over the /Products/ (or the ones that you didn't already install) and restart Zope. Check for errors. - Copy over the Data.fs, repeat. Finally, make sure to grab all the logs etc. That is to go from a old zope version to a new one. If you just want to transfer it, shut it down, zip it up and unzip it in the same location. I have never found this to work very well though. You will have to edit the config and start files to make sure they are pointing at the new locations. The other way to do it, would be to try the first method but use the exact same versions. So, just install the same versions in a normal manner, and copy over Products and Data.fs. Good luck (this is why I try only to do it a few times a year). Jake -- http://www.ZopeZone.com Mário Gamito said: > Hi, > > I run this Zope/Plone site - www.dte.ua.pt > I am no Zope guru. I've just managed, with my years on administrating > Linux servers, to install it, as well as plone and a bunch of Products, > and get it running. That's all. > Just made after, a few hacks in Plone code, mainly to support > authentication through HTTPS and a few more minor thingies. > > The server running Zope has been there for about three years (more or > less), is running SuSE 9.0 and it was compiled as well as Pyhton. > > The latest versions of Zope and Python, were by that time 2.6.1 and > 2.1.3 respectively. > > So, to live on the edge, i've instaled this versions under: > /usr/local/zope > and > /usr/local/python > > > I start zope with: > /usr/local/zope/start & > > and in /usr/local/zope/start file, i have > exec /usr/local/python/bin/python $cwd/z2.py -L 'pt_PT' -u zope "$@" > > > > I'm moving this machine to a more powerful one in which i'm going to > install Red Hat Enterprise Linux 4. > > I remeber having installed it first in RedHat 9, and then switching it > after a few days to SuSE 9.0, just by backing up /usr/local/zope > directory and restoring it after in SuSE. > No major issues with this. > A couple of symbolic links did to tweaks that were needed. > > > Now... > I think my Zope is suffering from arthritis :( > I can't undo any more, either in Zope nor Plone and i can't compress > Zope's database without getting an error and... no database compressed. > As if you care to rapidly browse the site, you will see it is indeed a > small one, but the /usr/local/zope .bz2 tarball is already at 1 GB and > increasing. > > > Does this sympthoms means that i'm going to have troubles now migrating > to RHEL 4 ? > Maintaining the Zope and Python version of course and the same scheme. > I don't want to upgrade Zope, nor Python, nor Plone. > > Any help would be apreciated. > > Warm Regards, > -- > Mário Gamito > Bastard Administrator in $hell > $Users, you better make your backups > Key FingerPrint: 0x90DA8E3C > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
I think I read that some people have successfully used exUserFolder (XUF) for linking Zope and LDAP users. Go to: http://sourceforge.net/search/index.php? type_of_search=mlists&group_id=36318&forum_id=190 And search on LDAP. Andrew Milton (author of XUF) is very helpful. Just post to the exuserfolder-users list. I'm using XUF to sync with users stored in PostgreSQL and found the product to be great. HTH Dr I don't know I install it using debian Sarge package. but exists documentation about it? or exist another similar product? I need to access and modify a ldap directory from zope. Do you think I have to do it from python? Thanks, Fabio Alle 12:46, venerdì 22 aprile 05, Jens Vagelpohl ha scritto: 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 have a key error on ldap filter) Anyone can help me? If you are talking specifically about the ZopeLDAP product, that's been deprecated years ago and has not seen any maintenance for 4 years or so. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
I don't know I install it using debian Sarge package. but exists documentation about it? or exist another similar product? I need to access and modify a ldap directory from zope. Do you think I have to do it from python? Thanks, Fabio Alle 12:46, venerdì 22 aprile 05, Jens Vagelpohl ha scritto: > 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 have a key error on ldap filter) > > > > Anyone can help me? > > If you are talking specifically about the ZopeLDAP product, that's been > deprecated years ago and has not seen any maintenance for 4 years or > so. > > jens > > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ldap
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 have a key error on ldap filter) Anyone can help me? If you are talking specifically about the ZopeLDAP product, that's been deprecated years ago and has not seen any maintenance for 4 years or so. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie - Cannot cut and paste objects in ZMI
Phillip Hutchings wrote: Just got Zope 2.7.5 up and running on my Win2003 server with IIS. Was working my way through the Book and the "Elvis" tutorial and I cannot cut/copy objects and paste them in to other folders though the ZMI. I'll check the object click cut...toolbar changes to display the paste button but then I click to the object (folder) I want to move it to and bam Paste button goes away... Check that you have cookies enabled, the ZMI uses cookes to store the clipboard data. Given the Windows and IIS references, I suspect he's also suffering from IE caching... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Product data acquisition by
Anders Karlsson wrote: I am working some on a product where I have some problems making a nice interface to the calling dtml-code. My product grabs and caches RSS data for a feed, and now I would like to make an interface much like the one that is provided by the "Z SQL Method". Like ZSQL method in what respect exactly? My problem is that I can't find any documentation or examples of how to make this work with the acquisition. What "this" are you referring to? I have found out that I in my product class can have a __len__() function that returns the result size and a __getitem__() function that returns a numbered element. If I return a mapping from that function I can access the resulting values as I want, but to make it work I need to add the "mapping" attribute to my -tag. I would like to get the same result without having to tell dtml-in that it's a mapping, just like "Z SQL Method" does. Then looks at returning Result objects, or whatever theyr'e called, like ZSQL methods do... objects of a result class from the __getitem__() function. Is there any specifications telling which functions such a class needs to implement? Nope, I'd suggest you just re-use that class, since it likely does exactly what you want ;-) Error Value: unbound Python method must be called with RSSItem 1st argument Okay, so lets see a full traceback and the code the traceback refers to. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] ldap
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 have a key error on ldap filter) Anyone can help me? Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Question regarding changing Zope site to another distro
Hi Mário Now... I think my Zope is suffering from arthritis :( I can't undo any more, either in Zope nor Plone and i can't compress Zope's database without getting an error and... no database compressed. As if you care to rapidly browse the site, you will see it is indeed a small one, but the /usr/local/zope .bz2 tarball is already at 1 GB and increasing. Well, if you want somebody able to help you, you should post the error you got + a traceback. Does this sympthoms means that i'm going to have troubles now migrating to RHEL 4 ? Perhaps your Data.fs is corrupted or something like that. If I'm not wrong, there was a bug when packing the ZopeDB on that zope version. Somewhere on the zope hirarchy there is a script to repair this (look the archives). Anyway, if I were you, I would try to solve the problem before migrating and off course do a backup before trying something. Maintaining the Zope and Python version of course and the same scheme. I don't want to upgrade Zope, nor Python, nor Plone. You don't have to upgrade, but the new versions have some important bug fixes. I'm also using the same zope as you and I really want to migrate it. But first I have to migrate some ZClasses stuff :-( Regards, Josef ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )