[Zope3-Users] Many problems with static-apidoc script...

2006-10-27 Thread KLEIN Stéphane
Hi, I've one zope3 instance in : ~/zope/instance/2/ When I do : cd ~/zope/instance/2/bin ./static-apidoc -d ~/zope/doc/ I've this error : Traceback (most recent call last): File "./static-apidoc", line 31, in ? main() File "/home/harobed/zope/opt2//lib/python/zope/app/apidoc/static.py",

Re: [Zope3-Users] Access to persistent Zope tables/classes in ZODB

2006-10-27 Thread Rob J Goedman
Thanks Jim, I had gotten to the following point (although you have now shown me a better way to get there, I was using FileStorage): {'Application': , 'zope.app.generations': 0x1377db0>} print f1[0].keys()[1] Rob's buddies print f1[0].values()[1] print f1[0].values()[1]._

Re: [Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Fred Drake
On 10/27/06, Jim Fulton <[EMAIL PROTECTED]> wrote: Lets not forget: or what might have been left out by the system packager. Good point. We've often encountered systems where distutils has been left out, mistaken for something only needed by developers. -Fred -- Fred L. Drake, Jr. "Eve

[Zope3-Users] viewtemplate

2006-10-27 Thread eXt
Hi all I recently read Stephan Richter's blog post: http://blogs.lovelysystems.com/srichter/2006/09/20/the-skin-browser-and-lovely-systems-new-development-workflow and "intendent scope of viewlets" thread: http://thread.gmane.org/gmane.comp.web.zope.zope3.user/4652/focus=4652. I like the id

Re: [Zope3-Users] Zope3 database activity

2006-10-27 Thread Jim Fulton
Thierry Florac wrote: Zope2 provided a nice tool in his control panel to view database activity (objects loads and stores, cache usage...). Yes. This is wildly useful for improving performance. In many applications, a good way to improve performance is to allocate a larger object cache using m

Re: [Zope3-Users] Access to persistent Zope tables/classes in ZODB

2006-10-27 Thread Jim Fulton
Rob J Goedman wrote: I'm wondering if there is an easy way to get to persistent objects created in Zope and stored in ZODB from a python program outside Zope. Yup. As an example, I would like to iterate over created 'buddies' in buddydemo. The easiest way is to use zopectl, which takes car

Re: [Zope3-Users] zope3, site-packages and easy_install

2006-10-27 Thread Jim Fulton
Fred Drake wrote: ... what to do in deployment environment ? - using zope3 deploment with its very own python interpreter - you never now when anyone will add another piece to site-packages Yep. Every deployment gets a private interpreter. The system interpreter can't be trusted since we don'

[Zope3-Users] Granting roles automatically ?

2006-10-27 Thread Thierry Florac
Hi, I have two kinds of principals in my current application development : - internal ones, which are authenticated via an LDAP directory - external ones, which are authenticated via a simple user's folder stored in Zope database. Everything is handled by a PluggableAuthentication tool withou