[Zope] Touching an object / updating the modification time

2009-03-27 Thread Jakob Schou Jensen
Is it possible to update the modification time of an object (in this case an Image object)? (I need to do this from a python script) Thanks, Jakob ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] Touching an object / updating the modification time

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 7:40 Uhr, Jakob Schou Jensen wrote: Is it possible to update the modification time of an object (in this case an Image object)? The modification date is stored as 'bobobase_modification_date' attribute (DateTime instance). - -aj

[Zope] How to add existing folder in Zope

2009-03-27 Thread amol kumbhar
Hi, I want to add existing folder in zope. As we can add files by browsing how could I add existing folder. Thanks, Amol. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 8:00 Uhr, amol kumbhar wrote: Hi, I want to add existing folder in zope. As we can add files by browsing how could I add existing folder. This question does not make any sense. Anything existing can not be added. What do you

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread amol kumbhar
Actually I want to use SmartClient for my web site and for this I have to add the SmartClient Library folder into zope so using this I can write JS which include these libraries. On Fri, Mar 27, 2009 at 6:33 PM, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Eric Bréhault
Hello, The best way to do it is probably to create a Zope product, and to put your js library into this product. Regards, Eric 2009/3/27 amol kumbhar amol.kumbha...@gmail.com: Actually I want to use SmartClient for my web site and for this I have to add the SmartClient Library folder into

Re: [Zope] Touching an object / updating the modification time

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 07:53:33AM -0500, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 7:40 Uhr, Jakob Schou Jensen wrote: Is it possible to update the modification time of an object (in this case an Image object)? The modification date is

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Tim Nash
Or you may be able to use CMF 'Filesystem directory view'. The easiest way to do that is to use Plone 3. I support the extjs javascript library two ways. In Plone I put the whole extjs directory into a filesystem directory view. In Zope I drop extjs into a directory served by apache. -Tim On

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 27, 2009, at 18:11 , Tim Nash wrote: Or you may be able to use CMF 'Filesystem directory view'. The easiest way to do that is to use Plone 3. Telling someone to install all of Plone just to make filesystem content available seems

Re: [Zope] Importing .zexp files

2009-03-27 Thread Dieter Maurer
Bobby wrote at 2009-3-25 13:17 -0700: I___ 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

Re: [Zope] help with running a dtml method

2009-03-27 Thread Dieter Maurer
Dvir Bar-lev wrote at 2009-3-26 10:12 +0200: I have a site with the following folder structure in zope: Dvir WebSite contentPages I have and index_html in the WebSite folder, in it I call a dtml method that's in the contentPages folder named overview_html, in the same folder

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Dieter Maurer
amol kumbhar wrote at 2009-3-27 18:39 +0530: Actually I want to use SmartClient for my web site and for this I have to add the SmartClient Library folder into zope so using this I can write JS which include these libraries. If you have a web server before Zope (recommended for production use),

[Zope] (another) Zope job in Bonn, Germany

2009-03-27 Thread Michael Vartanyan
FRAMEWORK CONVENTION ON CLIMATE CHANGE - Secretariat SUSTAINABLE DEVELOPMENT MECHANISMS PROGRAMME CLEAN DEVELOPMENT MECHANISM (CDM) PROCESS MANAGEMENT Information System Unit Associate Information Systems Officer, P-2 You want: - To work in an international environment - Make your direct

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread thedagdae
Telling someone to install all of Plone just to make filesystem content available seems insane, sorry. There are several products out there which can do the job, like LocalFS. LocalFS has been updated since 2006. There is nothing in the zope world that is as well maintained as plone. Sorry.

Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread thedagdae
make that: LocalFS hasn't been updated since 2006. There was a time when I would have agreed with you Jens, but the relentless changes to Zope has worn me down. Now I use what Plone uses and I only change zope versions when plone changes. On Mar 27, 2009 5:16pm, thedag...@gmail.com

[Zope-Checkins] SVN: Zope/trunk/buildout.cfg Simplified buildout configuration by removing references to '${buildout:eggs}'.

2009-03-27 Thread Baiju M
Log message for revision 98428: Simplified buildout configuration by removing references to '${buildout:eggs}'. They are not needed because there is only one egg (Zope2) required for each part. Changed: U Zope/trunk/buildout.cfg -=- Modified: Zope/trunk/buildout.cfg

[Zope-dev] Zope Tests: 6 OK

2009-03-27 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Mar 26 12:00:00 2009 UTC to Fri Mar 27 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Thu Mar 26 21:23:23 EDT 2009 URL:

Re: [Zope-dev] Zope and Cygwin

2009-03-27 Thread Cesar Canassa
Thanks! I replaced the code with the one from this link and compiled it again, worked like a charm :-) http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py Regards, Cesar Canassa 2009/3/26 Ross Patterson m...@rpatterson.net Cesar Canassa cesar.cana...@gmail.com writes: I

[Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Hey All, I'm trying to get Zope 2.12 working with buildout, in the absence of docs, I thought I'd try: [buildout] parts = zopetest [zopetest] recipe = zc.recipe.egg interpreter = py eggs = zope2 ...and was rewarded with: Got zope.principalregistry 3.7.0. While: Installing zopetest.

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 15:47 Uhr, Chris Withers wrote: Hey All, I'm trying to get Zope 2.12 working with buildout, in the absence of docs, I thought I'd try: [buildout] parts = zopetest [zopetest] recipe = zc.recipe.egg interpreter = py eggs =

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Chris Withers wrote: Got zope.principalregistry 3.7.0. While: Installing zopetest. Error: There is a version conflict. We already have: zope.component 3.5.1 but zope.app.security 3.7.0 requires 'zope.component=3.6.0'. Okay, so I thought I'd be smart and try the following buildout.cfg:

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 16:02 Uhr, Chris Withers wrote: Chris Withers wrote: Got zope.principalregistry 3.7.0. While: Installing zopetest. Error: There is a version conflict. We already have: zope.component 3.5.1 but zope.app.security 3.7.0 requires

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Andreas Jung wrote: Stop with your approach right now until we have understood what's going wrong. Working with a SVN checkout from the trunk works (as said). I'm interested in actually solving what's wrong ;-) This feels like buildout doing something wrong, at the very least. It has a

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
On Fri, Mar 27, 2009 at 16:11, Chris Withers ch...@simplistix.co.uk wrote: Andreas Jung wrote: Stop with your approach right now until we have understood what's going wrong. Working with a SVN checkout from the trunk works (as said). I'm interested in actually solving what's wrong ;-)

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 16:11 Uhr, Chris Withers wrote: Andreas Jung wrote: Stop with your approach right now until we have understood what's going wrong. Working with a SVN checkout from the trunk works (as said). I'm interested in actually solving

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Andreas Jung wrote: One last hint: you might try using 'pip' (instead of 'easy_install'). 'pip -v' gives you better information about the dependencies pulled in and where (but it does not tell you why - at least not obviously). Engage brain ;-) I'm not using easy_install, I'm using

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 04:27:31PM -0500, Chris Withers wrote: Andreas Jung wrote: One last hint: you might try using 'pip' (instead of 'easy_install'). 'pip -v' gives you better information about the dependencies pulled in and where (but it does not tell you why - at least not obviously).

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Paul Winkler wrote: I'm not using easy_install, I'm using buildout... (yeah, I know buildout uses easy_install, but...) One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ? I need to be totally upfront about this: I'm interested in finding out why something that *should*

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 04:34:43PM -0500, Chris Withers wrote: Paul Winkler wrote: I'm not using easy_install, I'm using buildout... (yeah, I know buildout uses easy_install, but...) One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ? I need to be totally upfront about

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Jim Fulton
On Mar 27, 2009, at 4:47 PM, Chris Withers wrote: Hey All, I'm trying to get Zope 2.12 working with buildout, in the absence of docs, I thought I'd try: [buildout] parts = zopetest [zopetest] recipe = zc.recipe.egg interpreter = py eggs = zope2 ...and was rewarded with: Got

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Jim Fulton
On Mar 27, 2009, at 5:27 PM, Chris Withers wrote: (yeah, I know buildout uses easy_install, but...) Not in a significant way. (It uses easy_install to build eggs from source distributions, and nothing else. It really should use bdist_egg instead.) Jim -- Jim Fulton Zope Corporation

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Paul Winkler wrote: Well, yeah. The point of the suggestion was specifically to help you get more info about the dependency chain, since pip is more verbose about that than easy_install is. Well, running buildout -v gives some good clues, a piece of which is this: Getting required

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Chris Withers wrote: Paul Winkler wrote: Well, yeah. The point of the suggestion was specifically to help you get more info about the dependency chain, since pip is more verbose about that than easy_install is. Well, running buildout -v gives some good clues, a piece of which is this:

Re: [Zope-dev] Zope and Cygwin

2009-03-27 Thread Cesar Canassa
One more question. Does Zope requires that a root user should exist on system in order to run properly? I am asking this because when I try to run Zope as a daemon I got this: $ ./plonectl start instance: . . . . . . . . . . . . . . . . . . . Unlinking stale socket

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
Hi, had the same issue tonight. I'm using attached versions.cfg for now. That works quite well for me. Cheers, Tobias [buildout] versions = versions [versions] Acquisition = 2.12.0a1 DateTime = 2.11.2 ExtensionClass = 2.11.1 Persistence = 2.11.1 tempstorage = 2.11.1 zLOG = 2.11.1 ClientForm

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote: Hi, had the same issue tonight. I'm using attached versions.cfg for now. That works quite well for me. Which issue is this supposed to help with? Chris ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
On 28.03.2009, at 00:30, Chris Withers wrote: Tobias Rodäbel wrote: Hi, had the same issue tonight. I'm using attached versions.cfg for now. That works quite well for me. Which issue is this supposed to help with? Using zc.buildout. This is my buildut.cfg: [buildout] parts = zope zopepy

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote: On 28.03.2009, at 00:30, Chris Withers wrote: Tobias Rodäbel wrote: Hi, had the same issue tonight. I'm using attached versions.cfg for now. That works quite well for me. Which issue is this supposed to help with? Using zc.buildout. There are currently two

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
On 28.03.2009, at 00:36, Chris Withers wrote: There are currently two seperate issue with specifying zope2 as an egg in a buildout.cfg. Which of these two issues is your solution designed to address? My versions.cfg resolved all version conflicts mentioned within this thread.

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote: My versions.cfg resolved all version conflicts mentioned within this thread. Cool, I'll bear it in mind, but right now I want to try and actually fix things so they work like they should :-) cheers, Chris ___ Zope-Dev