[Zope] Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Kirk Strauser
My company has a Zope server that has no editing rights for external persons - only employees have management permissions. We also have a company-specific hierarchy of several hundred Python modules that I'd like to access from Zope. Rather than modifying each and every module as per the

Re: [Zope] Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 07:26:32 -0600 Kirk Strauser [EMAIL PROTECTED] wrote: My company has a Zope server that has no editing rights for external persons - only employees have management permissions. We also have a company-specific hierarchy of several hundred Python modules that I'd like to

[Zope] how to??

2007-01-24 Thread javi lopez
hello I want to do it this: a plugin for PAS to validate users, i put user and password and if user is a correct user, log in plone. class ValidaPlugin(BasePlugin, Cacheable): meta_type = 'ValidaPlugin' security = ClassSecurityInfo() def __init__(self, id, title=None):

[Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirk Strauser wrote: My company has a Zope server that has no editing rights for external persons - only employees have management permissions. We also have a company-specific hierarchy of several hundred Python modules that I'd like to access

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 11:30:11 -0500 Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirk Strauser wrote: My company has a Zope server that has no editing rights for external persons - only employees have management permissions. We also have a

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-24 Thread yacine chaouche
As Gabriel Genellina said earlier in this discussion, the probleme could come from the dicoLignes variable that is stored in the session.I don't get it, the exception says that the Increaser object is responsible of the conflict error : ZODB.POSException.ConflictError database conflict error

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Kirk Strauser
On Wednesday 24 January 2007 10:30 am, Tres Seaver wrote: The most straighforward hack to do what you want would be to monkey-patch 'AccessControl.ZopeGuards.guarded_import', which is the function that does the current checking. Before I start on such an adventure, what is the Python/Zope

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 13:16:15 -0600 Kirk Strauser [EMAIL PROTECTED] wrote: However, your *best* bet is to implement your Zope applications as filesystem-based products, rather than in untrusted code (Python scripts). At that point, the modules are easily importable. Maybe so, but I'm not

[Zope] debugging a wayward zope process

2007-01-24 Thread Timothy Ball
I have a zope server (2.7.4) that I maintain and every now and then the python process that's running zope goes heywire and eats all of the cpu resources and basically make my website stop responding. Does anyone have any clues as to how I can debug this problem? I'm not the best python coder

Re: [Zope] Key Error in Catalog Reindex

2007-01-24 Thread Dieter Maurer
Never send zope related questions to me privately, please. List readded! KJZZ Webmaster wrote at 2007-1-23 16:07 -0700: Dieter, Before I post to the list, let me be sure this is what you are suggesting: finally: security.removeContext(self) if

Re: [Zope] debugging a wayward zope process

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 15:11:52 -0500 Timothy Ball [EMAIL PROTECTED] wrote: I have a zope server (2.7.4) that I maintain and every now and then the python process that's running zope goes heywire and eats all of the cpu resources and basically make my website stop responding. Does anyone have

Re: [Zope] debugging a wayward zope process

2007-01-24 Thread Jonathan
Here's one methodology to try to resolve the problem: http://www.zopelabs.com/cookbook/1073504990 You can also google for 'spinning zope' Jonathan - Original Message - From: Timothy Ball To: zope@zope.org Sent: Wednesday, January 24, 2007 3:11 PM Subject: [Zope]

Re: [Zope] debugging a wayward zope process

2007-01-24 Thread Paul Winkler
Google for deadlock debugger and debug spinning zope. -PW On Wed, Jan 24, 2007 at 03:11:52PM -0500, Timothy Ball wrote: I have a zope server (2.7.4) that I maintain and every now and then the python process that's running zope goes heywire and eats all of the cpu resources and basically make

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-24 Thread Maciej Wisniowski
But the Increaser class has a _p_resolveConflict method : (...) And still the same exception is raised ! Is _p_resolveConflict method of Inceraser executed at all? I wonder if traceback you see in console is from the code you added: traceback.print_exc(file=stdin) or it is always shown when

[Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-24 Thread Murdock
I am implementing a new site using Zope/Plone. This site replaces an old one built in ColdFusion. The problem that I am having is that a portion of our site (Our customer login area) will need to remain on ColdFusion for a while. Is their a method to get most things to Zope/Plone but certain

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-24 Thread Jaroslav Lukesh
- Original Message - From: Murdock [EMAIL PROTECTED] I am implementing a new site using Zope/Plone. This site replaces an old one built in ColdFusion. The problem that I am having is that a portion of our site (Our customer login area) will need to remain on ColdFusion for a while. Is

[Zope] Re: zope/zeo on multiprocessor machines?

2007-01-24 Thread Maurits van Rees
cristopher pierson ewing, on 2007-01-23: I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of zope. I've read a few articles that mention

[Zope-Checkins] SVN: Zope/branches/2.10/ - Collector #2269: fixed broken FTP support for ZPT

2007-01-24 Thread Andreas Jung
Log message for revision 72205: - Collector #2269: fixed broken FTP support for ZPT Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Products/PageTemplates/ZopePageTemplate.py U

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py added test for manage_FTPget()

2007-01-24 Thread Andreas Jung
Log message for revision 72210: added test for manage_FTPget() Changed: U Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

[Zope-dev] Zope Tests: 7 OK

2007-01-24 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Jan 23 12:00:00 2007 UTC to Wed Jan 24 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Jan 23 21:04:16 EST 2007

[Zope-dev] Re: RFC: Eggifying Zope's extension mechanism (Products)

2007-01-24 Thread Philipp von Weitershausen
Daniel Nouri wrote: Philipp von Weitershausen wrote: For their upcoming versions, Zope 2 consuming platforms such as Plone are creating standard Zope3-style Python packages while still having Zope 2 products around. This proposal aims at unifying the deployment of products and Python packages

[Zope-dev] After migrate to 2.10.1 ManagableIndex throws TraversalErrors

2007-01-24 Thread Ian McCracken
I'm migrating the Zenoss code to Zope 2.10.1. I've moved to Five 1.5.1, CMFCore 1.6.2. Does anyone know if there's a quick fix for this problem? Traceback (most recent call last): File /usr/local/zenoss/Products/ZenEvents/zenxevent.py, line 87, in ? z = ZenXEvent() File

[Zope-PAS] plugin webservice

2007-01-24 Thread javi lopez
hello i want to do a plugin to webservice: I put this in my class class ValidatePlugin(BasePlugin, Cacheable): meta_type = 'ValidaPlugin' security = ClassSecurityInfo() def __init__(self, id, title=None): self._id = self.id = id self.title = title