[Zope-Checkins] SVN: Zope/trunk/lib/python/reStructuredText/__init__.py docutils 0.4.0 is fine

2006-03-15 Thread Andreas Jung
Log message for revision 66021: docutils 0.4.0 is fine Changed: U Zope/trunk/lib/python/reStructuredText/__init__.py -=- Modified: Zope/trunk/lib/python/reStructuredText/__init__.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/reStructuredText/__init__.py another fix for checking the docutils versions

2006-03-15 Thread Andreas Jung
Log message for revision 66025: another fix for checking the docutils versions Changed: U Zope/trunk/lib/python/reStructuredText/__init__.py -=- Modified: Zope/trunk/lib/python/reStructuredText/__init__.py === ---

[Zope-Checkins] SVN: Zope/tags/Zope-2-8-6/ forgotten to tag r41770 as Zope-2-8.6 release

2006-03-15 Thread Andreas Jung
Log message for revision 66042: forgotten to tag r41770 as Zope-2-8.6 release Changed: A Zope/tags/Zope-2-8-6/ -=- Copied: Zope/tags/Zope-2-8-6 (from rev 41770, Zope/branches/Zope-2_8-branch) ___ Zope-Checkins maillist -

[Zope-Checkins] SVN: Zope/trunk/ - ZClasses are deprecated and should no longer be used. In addition

2006-03-15 Thread Andreas Jung
Log message for revision 66043: - ZClasses are deprecated and should no longer be used. In addition any code related to the ZClasses (re)distribution mechanism is removed. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/App/Product.py -=-

[Zope-dev] Re: names starting with '@' are not reserved

2006-03-15 Thread yuppie
Hi Philipp! Philipp von Weitershausen wrote: Dieter Maurer wrote: Chris McDonough wrote at 2006-3-13 10:21 -0500: ... silly id restrictions ... Here's my current monkeypatch to Zope to unrestrict a good number of characters: def patch_objectmanager_badid(): Causes Zope to be less

Re: [Zope-dev] App.Product - distribution related code?

2006-03-15 Thread Andreas Jung
--On 14. März 2006 21:14:33 +0100 Andreas Jung [EMAIL PROTECTED] wrote: lib/python/App/Product.py contains code that deals *somehow* with distributions (whatever this means). Does any one know what this code is doing?...anyway this code uses the Python rotor module which was removed in Python

Re: [Zope-dev] Re: PDBDebugMode 0.1 Release

2006-03-15 Thread Chris Withers
Paul Winkler wrote: Unfortunately zdb doesn't appear to work with zope 2.9 / python 2.4. I'll file a bug report with Chris. It works great with zope 2.8 / python 2.3. I'll try and fix this today... Chris ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] RE: How to delete an object given a path in Zope

2006-03-15 Thread Takahashi, Michael
Hi Suresh, I've actually tried that. The problem I run into is that the folder in my path contains a dash. When I call manage_delObjects on the following: obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp') id = obj.getId()

[Zope-dev] Re: How to delete an object given a path in Zope

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Takahashi, Michael wrote: Hi Suresh, I've actually tried that. The problem I run into is that the folder in my path contains a dash. When I call manage_delObjects on the following: obj =

[Zope-dev] Re: How to delete an object given a path in Zope

2006-03-15 Thread Max M
Tres Seaver wrote: Takahashi, Michael wrote: I've actually tried that. The problem I run into is that the folder in my path contains a dash. When I call manage_delObjects on the following: obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp') You need to get a reference to

Re: [Zope-dev] How to delete an object given a path in Zope

2006-03-15 Thread Dieter Maurer
Takahashi, Michael wrote at 2006-3-14 12:25 -0800: ... Using restrictedTraverse I'm able to get the object by its path. I then want to delete this object. When you have an object obj inside the site hierarchy, then obj.aq_inner.aq_parent is its container (in this hierarcy). Therefore, an

Re: [Zope-dev] Re: names starting with '@' are not reserved

2006-03-15 Thread Dieter Maurer
yuppie wrote at 2006-3-15 11:23 +0100: ... Zope 2's checkValidId makes sure this doesn't happen with Zope 2 folder methods, Zope 3's NameChooser makes sure this doesn't happen with Zope 3 folder views. Even the bad_id-patch described above doesn't allow to override folder methods. Maybe, the

[Zope-dev] Re: names starting with '@' are not reserved

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: yuppie wrote at 2006-3-15 11:23 +0100: ... Zope 2's checkValidId makes sure this doesn't happen with Zope 2 folder methods, Zope 3's NameChooser makes sure this doesn't happen with Zope 3 folder views. Even the bad_id-patch

[Zope-dev] Re: How to delete an object given a path in Zope

2006-03-15 Thread suresh
Takahashi, Michael wrote: I am trying to figure out how to delete an object in Zope given a path. snip Any help is greatly appreciated. You want to call manage_delObjects on the parent folder and give it the list of ids. ___ Zope-Dev

Re: [Zope] dtml methods and namespace

2006-03-15 Thread Chris Withers
Luca Dall'Olio wrote: I have a simple dtml-method assignment-action that is called upon a form post. Why are you torturing yourself with DTML? I'd urge you to try Python Scripts and Page Templates instead! cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] (Virtual Host, Apache, Proxy, SSL) Proxy

2006-03-15 Thread Chris Withers
Katja Süss wrote: ProxyPass / http://localhost:8580/VirtualHostBase/http/secure-aportal.ch:80/0securesite/VirtualHostRoot/ ProxyPassReverse / http://localhost:8580/VirtualHostBase/http/secure-aportal.ch:80/0securesite/VirtualHostRoot/ These are not the common rules to use. There are

Re: [Zope] Re: Ape

2006-03-15 Thread Chris Withers
Chris Kratz wrote: We are very interested in this as well. We have a large application using Apelib right now to persist our zope application onto the filesystem so we can use subversion. Ouch, DirectoryViews are more likely what you want... ...and maybe GenericSetup for the rest. cheers,

Re: [Zope] Using folder name in macro

2006-03-15 Thread Chris Withers
John Poltorak wrote: metal:macro metal:use-macro=context/[folder_name].pt/macros/page metal:macro metal:use-macro=python:getattr(context,folder_name+'.pt').macros['page'] If you end up doing this, I would suggest your application design is pretty broken and should be thought out different

Re: [Zope] Ape

2006-03-15 Thread Chris Withers
Dennis Allison wrote: I am looking to map a portion of the local file system into Zope. One way to do this is to use LocalFS, another is to use Ape. What's the problem you're trying to solve? I suspect both Ape and LocalFS are the wrong solution ;-) Chris -- Simplistix - Content

[Zope] About Archetypes

2006-03-15 Thread Sergio Gomez
Does anybody know a good tutorial on how to write archetypes from scratch? Thank you very much! Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] About Archetypes

2006-03-15 Thread Andreas Jung
--On 15. März 2006 09:21:49 +0100 Sergio Gomez [EMAIL PROTECTED] wrote: Does anybody know a good tutorial on how to write archetypes from scratch? You want to reimplement Archetypes Or do you want to write something _with_ Archetypes? - Plone Book by Andy McKay - Mysite Tutorial

[Zope] Re: About Archetypes

2006-03-15 Thread Max M
Sergio Gomez wrote: Does anybody know a good tutorial on how to write archetypes from scratch? The best approach today is using eg Poseidon for UML Community Edition, and then ArchegenXML to generate skeletons for your AT content types. It is a bit longwinded until you figure it out, but

[Zope] display results from external source in zpt

2006-03-15 Thread Dean Hale
Hi, Apologies if this is easy to do, cannot find any help in the archives (but then again not sure what to search for) We currently run a script on an external server which returns results depending on the userid of the user, which is added to the link below once the user logs into zope.

Re: [Zope] display results from external source in zpt

2006-03-15 Thread Andreas Jung
--On 15. März 2006 09:14:42 + Dean Hale [EMAIL PROTECTED] wrote: a href= tal:define=uid python:member.getProperty('uid') tal:attributes=href string:http://site.ac.uk/cgi-bin/tasks?uid=$uidfmt=plain;view results/a Look at Python's urllib module. -aj

[Zope] How to get zope to load when server starts

2006-03-15 Thread JulianRead
Hi i have a zope installed on a dedicated server using linux fedora core 3 Does anyone know how to get zope to load when the server is started and how to keep it open whilst the server is running. Thanks -- View this message in context:

Re: [Zope] How to get zope to load when server starts

2006-03-15 Thread Andreas Jung
--On 15. März 2006 01:37:51 -0800 JulianRead [EMAIL PROTECTED] wrote: Hi i have a zope installed on a dedicated server using linux fedora core 3 Does anyone know how to get zope to load when the server is started and how to keep it open whilst the server is running. ln -sf

Re: [Zope] How to get zope to load when server starts

2006-03-15 Thread JulianRead
Thanks When i run chkconfig zopectl on i get the error message service zopectl does not support chkconfig -- View this message in context: http://www.nabble.com/How-to-get-zope-to-load-when-server-starts-t1283585.html#a3412795 Sent from the Zope - General forum at Nabble.com.

Re: [Zope] importing error

2006-03-15 Thread Chris Withers
wavemaster2000 wrote: I have reinstalled zope, but now when I try to import, the files in the import folder dont show up in the drop down box, the box does not show up, I know there somethign you have to do to get zope initialize importing stuff, but I cant remember what exactly it is Sounds

Re: [Zope] Define Permissions in ZMI Products

2006-03-15 Thread Chris Withers
Jeff Gentry wrote: I've made a few python based external products and am comfortable setting default permissions with those but this is my first foray into a ZMI based product. Stop right there ;-) Go back to external products, they're the right way to do this stuff. ZMI-based products

Re: [Zope] How to get zope to load when server starts

2006-03-15 Thread Chris Withers
JulianRead wrote: When i run chkconfig zopectl on i get the error message service zopectl does not support chkconfig Well, that's a pretty explicit error message... View this message in context: http://www.nabble.com/How-to-get-zope-to-load-when-server-starts-t1283585.html#a3412795 Sent

Re: [Zope] Re: No module named rotor

2006-03-15 Thread Andreas Jung
--On 15. März 2006 07:14:02 +0100 Andreas Jung [EMAIL PROTECTED] wrote: Now that ZClasses are deprecated in Zope 2.10 I will remove the related distribution code from the trunk. This has happened on the trunk :-) -aj pgpSg3fxJZfsY.pgp Description: PGP signature

Re: [Zope] display results from external source in zpt

2006-03-15 Thread Dean Hale
Hi Andreas,Thanks for this i'm trying to use an example belowfrom urllib import *url = ''">http://site.ac.uk/cgi-bin/evisiontasks?uid=xxx0xxxfmt=plain'html = urlretrieve(url).read()however am receiving the errorError Value: "from urllib import *" is not allowedi have followed the readme in 

Re: [Zope] display results from external source in zpt

2006-03-15 Thread Andreas Jung
--On 15. März 2006 12:03:48 + Dean Hale [EMAIL PROTECTED] wrote: Hi Andreas, Thanks for this i'm trying to use an example below from urllib import * url = 'http://site.ac.uk/cgi-bin/evisiontasks?uid=xxx0xxxfmt=plain' html = urlretrieve(url).read() however am receiving the error

[Zope] Re: display results from external source in zpt

2006-03-15 Thread Max M
Dean Hale wrote: Hi, Apologies if this is easy to do, cannot find any help in the archives (but then again not sure what to search for) We currently run a script on an external server which returns results depending on the userid of the user, which is added to the link below once the user

Re: [Zope] About Archetypes

2006-03-15 Thread Floyd May
On 3/15/06, Sergio Gomez [EMAIL PROTECTED] wrote: Does anybody know a good tutorial on how to write archetypes from scratch? There is a rather dated developers' guide at plone.org: http://plone.org/products/archetypes/documentation/old/ArchetypesDeveloperGuide/index_html I would recommend

Re: [Zope] importing error

2006-03-15 Thread wavemaster2000
found the problem with the permissions, but still no luck. I have found 2 web papges that was kinda helpful http://www.devshed.com/c/a/Zope/Zope-And-MySQL/2/ and http://www.transana.org/developers/setup/MySQLPython_Win_MU.htm for the later one, I installed mysql4.1.14, but the file that they

[Zope] Re: installation security best practice question

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca Olivetti wrote: En/na Tres Seaver ha escrit: Note that I think the original poster must not have done 'make install', but rather was using an inplace build directly from the unpacked tarball: the install process would have fixed up the

Re: [Zope] Re: installation security best practice question

2006-03-15 Thread Andreas Jung
--On 15. März 2006 11:00:03 -0500 Tres Seaver [EMAIL PROTECTED] wrote: OK, after some investigation: the issue is not the weird UID/GID on the files (which get preserved when unpacking the tarball as root); the issue is that the person making the file had their umask set to harshly (0077,

Re: [Zope] importing error

2006-03-15 Thread wavemaster2000
I have now installed visual studio express 6, in the compiler dos promt, i type in the setup.py build, it still gives me that same error -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3420331 Sent from the Zope - General forum at Nabble.com.

Re: [Zope] Re: Ape

2006-03-15 Thread Paul Winkler
On Tue, Mar 14, 2006 at 10:29:05PM +, Chris Withers wrote: Chris Kratz wrote: We are very interested in this as well. We have a large application using Apelib right now to persist our zope application onto the filesystem so we can use subversion. Ouch, DirectoryViews are more likely

[Zope] Zope + Apache on Quad Debian machine

2006-03-15 Thread Hugo Ramos
Yellow, I'm using Zope+Apache on a 4 xeon's/4GB ram machine running Debian. I've noticed that the CPU's never go beyond 30% top occupation... but on rush hours the site takes too long to load... I've been reading about process affinity and how it could speed up everything by making zope run on 1

Re: [Zope] Define Permissions in ZMI Products

2006-03-15 Thread Jeff Gentry
Stop right there ;-) Go back to external products, they're the right way to do this stuff. ZMI-based products (aka ZClasses) are now deprecated and will finally be going away in Zope 2.10... Fair enough then. :) That raises two followup questions for me. a) One of the reasons I was doing

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Max M
Hugo Ramos wrote: Yellow, I'm using Zope+Apache on a 4 xeon's/4GB ram machine running Debian. I've noticed that the CPU's never go beyond 30% top occupation... but on rush hours the site takes too long to load... I've been reading about process affinity and how it could speed up everything by

Re: [Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Hugo Ramos
Yes... But I'm looking for more specific answers about how to create the affinity between 1 of the zope processes and the CPU n.2, for example... How to make that a permanent choice? Cheers Hugo On 3/15/06, Max M [EMAIL PROTECTED] wrote: Hugo Ramos wrote: Yellow, I'm using Zope+Apache

Re: [Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Jens Vagelpohl
On 15 Mar 2006, at 21:11, Hugo Ramos wrote: Yes... But I'm looking for more specific answers about how to create the affinity between 1 of the zope processes and the CPU n.2, for example... How to make that a permanent choice? This question has nothing to do with Zope. You will need to find

Re: [Zope] AttributeError on SESSION

2006-03-15 Thread Peter Bengtsson
On 13 Mar 2006, at 22:53, Jeff Gentry wrote: Okay ... I figure I've probably managed to really hose up my Zope instance somehow but I can't figure out what it would be. Whenever I'm trying to access the SESSION data, I get an AttributeError on SESSION. This used to work for me and on

Re: [Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Hugo Ramos
Has any1 tried this before? Can you point me to some documentation? What's your experience? is it true that not doing this the 4 cpu's will not be 100% used? I think these questions are very ZOPE RELATED since I asked them in a Zope mailing list don't you think? I'm asking about Zope

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hugo Ramos wrote: Yes... But I'm looking for more specific answers about how to create the affinity between 1 of the zope processes and the CPU n.2, for example... How to make that a permanent choice? That question is not Zope specific -- you

[Zope] Using Twisted rather than ZServer with Zope = 2.9.0

2006-03-15 Thread Dennis Allison
I know Twisted is used in the Zope 3 space. Has anyone experimented with replacing ZServer? A quick Google search turned up litte information. Pointers? Experience? -- ___ Zope maillist - Zope@zope.org

Re: [Zope] Using Twisted rather than ZServer with Zope = 2.9.0

2006-03-15 Thread Chris McDonough
Only minimally, AFAIK. A sprint in 2004 had this as the topic: http://www.zope.org/Members/adytumsolutions/pycon2004/TwistedZope - C On Mar 15, 2006, at 8:38 PM, Dennis Allison wrote: I know Twisted is used in the Zope 3 space. Has anyone experimented with replacing ZServer? A quick

Re: [Zope] Using Twisted rather than ZServer with Zope = 2.9.0

2006-03-15 Thread Dennis Allison
Ummm well the sprint code does not look like it's production ready. :-) I was hoping that the experiment had been taken a bit further. On Wed, 15 Mar 2006, Chris McDonough wrote: Only minimally, AFAIK. A sprint in 2004 had this as the topic:

Re: [Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Jeff Donsbach
On 3/15/06, Tres Seaver [EMAIL PROTECTED] wrote: That question is not Zope specific -- you would need to modify the start scripts for your appservers to make whatever kernel / libc-specific calls are needed (on Solaris, it would be invoking the 'pbind' command). In the worst case, you would

[Zope] Re: Using Twisted rather than ZServer with Zope = 2.9.0

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: Ummm well the sprint code does not look like it's production ready. :-) I was hoping that the experiment had been taken a bit further. Twisted has substanitally more per-request overhead than ZServer, which has meant

Re: [Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Tino Wildenhain
Hugo Ramos schrieb: Has any1 tried this before? Can you point me to some documentation? What's your experience? is it true that not doing this the 4 cpu's will not be 100% used? I think these questions are very ZOPE RELATED since I asked them in a Zope mailing list don't you think? I'm

Re: [Zope-DB] DCOracle2 on AIX5.2 -- issues

2006-03-15 Thread Matthew T . Kromer
It's probably the TRACE macro which is generating a lot of these messages, if you don't need to be able to do runtime tracing (for diagnostics) then you can tweak the #define TRACE(condition,args) to be a no-op macro -- just delete the body of the macro. On Mar 14, 2006, at 2:54 PM,

Re: [Zope-DB] DCOracle2 on AIX5.2 -- issues

2006-03-15 Thread mfmorss
Obviously, your compiler does not like thing (to be precise: the implicit conversion between short and unsigned short) that the author did not expect to hurt compilers (and which most compilers accept). Your options: * use a different (less strict) compiler * fix the code (such that even