[Zope-Annce] Silva issues now tracked in Launchpad
3 april 2007 – Infrae is pleased to announce that Silva’s issue tracking is now in Launchpad. This move is part of an effort to enhance collaboration with other components in the software stack. Besides being the home of the GNU/Linux distribution Ubuntu, Launchpad also hosts Zope3 issues, Grok issues, SchoolTool, and has been the development hub of the dLCMS (dynamic Learning Content Management System, developed at ETH Zurich) for the last year. Many Silva users have used Launchpad to translate Silva’s interface languages. Translations are linked with 2,700 other projects on Launchpad, and the website offers suggestions of possible wordings from those projects. This inter-connecting of open source communities is a prime example of the potential of the Launchpad service. Yesterday the Launchpad team announced the release of their 1.0 beta, sporting a redesigned interface and features to link data from a variety of project-specific sources. In the press release was a quote from Infrae: ”Launchpad connects us to our most important communities, and brings synergy to issue tracking for Silva, where problems in one component of the stack affect another up or downstream. Key components of our stack were already there: Infrae’s developers run Ubuntu, we develop with Zope3, and the dLCMS product (which is built on top of Silva) has been using Launchpad for over a year. Locating the Silva issues on Launchpad was like finding ideal office space, hooked into the grid, loaded with amenities, and ripe for networking.“ Using Launchpad Now and in the future, all Silva issues will be tracked at: https://bugs.launchpad.net/silva Users will need to create an account on Launchpad, and adjust to the new environment. A good overview is at: https://help.launchpad.net/FeatureHighlights There is also a Silva Project that groups the Silva CMS and its related products: https://bugs.launchpad.net/silva-project The Silva translations are at: https://launchpad.net/silva/+translations Soon to be in place is a redirecting facility, where bugs from the old tracker will be automatically redirected to the corresponding Launchpad issue. Given an old issue number , you’ll get to the new page on Launchpad at: https://bugs.launchpad.net/bugs/silva- Other projects Note that the Launchpad development team will import bugs from existing bug trackers for projects that want to move to Launchpad. What is Silva? Silva is an enterprise-class CMS designed for large organizations that manage multiple or complex websites. Content is stored in clean and future-proof XML, independent of layout and presentation. Features include a multi-version workflow system, XSLT rendering support, content reuse in multiple publications, sophisticated access management, extensive import/export facilities, fine-grained templating, and hi-res image storage and manipulation. Silva and its extensions are open source software. For more complete information, see the Silva Product Pages at http://www.infrae.com/products/silva. Download The package can be downloaded from http://www.infrae.com/download/Silva. Contact FMI contact Eric Casteleijn, eric at infrae com, +31 10 243 7051. ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Annce] [ATTENTION] Memory leak in IncrementalSearch2
Crosspost: reply-to set to zope@zope.org I detected and fixed a memory leak in IncrementalSearch2. Thus, if you are using IncrementalSearch2, you should upgradeBzope zope Dieter ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Annce] [ATTENTION] Memory leak in IncrementalSearch2
Crosspost: reply-to set to zope@zope.org I detected and fixed a memory leak in IncrementalSearch2. Thus, if you are using IncrementalSearch2, you should upgrade http://www.dieter.handshake.de/pyprojects/zope You probably get this message twice -- a wrong shortcut had sent it prematurely. Sorry! Dieter ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. Extend the requestmethod decorator factory to allow multiple request methods
Log message for revision 73992: Extend the requestmethod decorator factory to allow multiple request methods Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py === --- Zope/trunk/lib/python/AccessControl/requestmethod.py2007-04-03 15:38:16 UTC (rev 73991) +++ Zope/trunk/lib/python/AccessControl/requestmethod.py2007-04-03 15:49:16 UTC (rev 73992) @@ -27,12 +27,17 @@ return 'def _facade%s:\n%s\nreturn _curried%s' % ( args, docstring, callargs) -def requestmethod(method): +def requestmethod(*methods): Create a request method specific decorator -method = method.upper() +methods = map(lambda m: m.upper(), methods) +if len(methods) 1: +methodsstr = ', '.join(methods[:-1]) +methodsstr += ' or ' + methods[-1] +else: +methodsstr = methods[0] def _methodtest(callable): -Only allow callable when request method is %s. % method +Only allow callable when request method is %s. % methodsstr spec = inspect.getargspec(callable) args, defaults = spec[0], spec[3] try: @@ -51,8 +56,8 @@ request = args[r_index] if IBrowserRequest.providedBy(request): -if request.method != method: -raise Forbidden('Request must be %s' % method) +if request.method not in methods: +raise Forbidden('Request must be %s' % methodsstr) # Reconstruct keyword arguments if defaults is not None: Modified: Zope/trunk/lib/python/AccessControl/requestmethod.txt === --- Zope/trunk/lib/python/AccessControl/requestmethod.txt 2007-04-03 15:38:16 UTC (rev 73991) +++ Zope/trunk/lib/python/AccessControl/requestmethod.txt 2007-04-03 15:49:16 UTC (rev 73992) @@ -74,3 +74,15 @@ Traceback (most recent call last): ... Forbidden: Request must be PUT + +You can pass in multiple request methods allow access by any of them:: + + @requestmethod('GET', 'HEAD', 'PROPFIND') + ... def foo(bar, REQUEST=None): + ... return bar + foo('spam', GET) + 'spam' + foo('spam', POST) + Traceback (most recent call last): + ... + Forbidden: Request must be GET, HEAD or PROPFIND ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Mon Apr 2 12:00:00 2007 UTC to Tue Apr 3 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Mon Apr 2 20:51:25 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007533.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Mon Apr 2 20:52:55 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007534.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Mon Apr 2 20:54:25 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007535.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Mon Apr 2 20:55:56 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007536.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Mon Apr 2 20:57:26 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007537.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-PAS] Re: PluggableAuthService question about roles
Previously Tres Seaver wrote: The installer for a 'Plone Site' replaces the root acl_users with a PAS: I've argued that this is poor practice (inexcusably rude, actually), but they seem determined to continue it. Rewriting the PlonePAS install code and checking if we can remove the root acl_users changing logic is on my todo list. The whole PlonePAS install code is somewhat nasty unfortunately. Now I can only add users from the ZODB User Manager under /acl_users/users, there is nowhere to add a user from an Add buttion as in the older version of Zope. Correct. In PAS, there are actually potentially muttiple user sources (e.g,, SQL, LDAP, NTLM, etc.). Adding them to the 'ZODB users' plugin is the cognate of the od Add button. I started writing some PAS documentation recently that may give some useful background information. You can find it at http://plone.org/documentation/manual/pas-reference-manual I can add roles from ZODB Role Manager in /acl_users/roles but these roles don't show up under the Security tab on any page. I can add local roles under the Security tab and they don't show up in /acl_users/roles. Correct. The roles in the PAS plugin are used to control global grants to the users; the roles you set on a folder (even the root), are about local grants. The is (imho) a buglet here: creating new roles now involves creating both in the PAS roles manager and in the ZMI security tab. ZODBRoleManager takes a snapshot of all existing roles in its manage_afterAdd method, but never updates that list later. Following your logic it would make more sense if the ZODBRoleManager did not make a snapshot of existing roles to make the distinction between global and local roles more obvious. The whole local vs global roles thing always seems to get me confused though. Am still searching the WEB and archives in the meantime. The better list for this would be [EMAIL PROTECTED] (CC'ed), which deals with PAS specifics. How do zope-pas@zope.org and [EMAIL PROTECTED] related to each-other? I've always wondered that. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
Re: [Zope-PAS] Re: PluggableAuthService question about roles
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3 Apr 2007, at 09:18, Wichert Akkerman wrote: How do zope-pas@zope.org and [EMAIL PROTECTED] related to each-other? I've always wondered that. They're one and the same thing :) If they're not, we have a problem. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFGEhMKRAx5nvEhZLIRArGKAJkB4QqCn6idMaU98P+HDdJdSvElDgCfcAL7 cpW6gu+S96/PRPTw6UwXiNc= =GwHl -END PGP SIGNATURE- ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] what plugins are needed for authentication
Hi there, I want to write a PAS Plugin that does only the authentication. it should do the authentication and then store it in a session for a coupple of hours. Now I am unsure which services I have to implement. IAuthenticationPlugin ?? IExtractionPlugin ?? in the bygone world off monolithic acl_users I had authenticate just returned True to authenticate the user. and did noth bother about anything else.. thanks for your insight robert begin:vcard fn:robert rottermann n:rottermann;robert email;internet:[EMAIL PROTECTED] tel;work:031 333 10 20 tel;fax:031 333 10 23 tel;home:031 333 36 03 x-mozilla-html:FALSE version:2.1 end:vcard ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
Re: [Zope] setup SecureMail for Plone
http://www.stunnel.org/ Stefan On 3. Apr 2007, at 06:31, marco marco wrote: My email server requires SSL connections for sending email. How can I setup SecureMail in Plone 2.5.1 to send user registration email? -- It doesn't necessarily do it in chronological order, though. --Douglas Adams ___ 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] ip-address vs http-server section
I want zope to listen to two different ip-addrs on two different ports and I'm unsure of how to configure zope to behave correctly. I set ip-address some ip addr then I have two http-server sections ala this: --snip--snip--snip-- ip-address some-goofy-ipaddr http-server # valid keys are address and force-connection-close address some-goofy-ipaddr:8080 # force-connection-close on /http-server http-server # valid keys are address and force-connection-close address some-other-goofy-ipaddr:80 # force-connection-close on /http-server --snip--snip--snip-- When I do this zope doesn't seem to listen to any thing on any port... If it helps I'm using zope-2.7.4 TIA, --timball -- GPG key available on pgpkeys.mit.edu pub 1024D/511FBD54 2001-07-23 Timothy Lu Hu Ball [EMAIL PROTECTED] Key fingerprint = B579 29B0 F6C8 C7AA 3840 E053 FE02 BB97 511F BD54 ___ 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] ip-address vs http-server section
- Original Message - From: Timothy Ball [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, April 03, 2007 11:24 AM Subject: [Zope] ip-address vs http-server section I want zope to listen to two different ip-addrs on two different ports and I'm unsure of how to configure zope to behave correctly. I set ip-address some ip addr then I have two http-server sections ala this: --snip--snip--snip-- ip-address some-goofy-ipaddr http-server # valid keys are address and force-connection-close address some-goofy-ipaddr:8080 # force-connection-close on /http-server http-server # valid keys are address and force-connection-close address some-other-goofy-ipaddr:80 # force-connection-close on /http-server Is there a reason why you don't want to use something like a front-end apache with url rewriting? Jonathan ___ 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] Making pythonscript changes to formulator fields persistent
On Monday 02 April 2007 18:58, Maciej Wisniowski wrote: I was thinking of that... How would you do that? Do you know formulator enough to say? I don't know your use case good enough. Is this just changing attributes of formulator fields? Just asking :) Put the whole thing in the EM, or something simpler? An EM I could just hand off the field object to, to get persisted? I don't understand what you mean. Field objects already are persistent. EM gives you no security restrictions in comparision to Script Python. In hindsight, what I ment, was instead of doing the whole traversal thing in the EM, I could just hand the EM the field, and a dict with the changes to be made, and it would only do the little magic: vals = field.values vals.update(mydict) field.values = vals In general to simply change field.values['required'] to false I'd write function to traverse through ZODB to find all FormulatorForm objects and it's fields. Had that allready. Ended up more or less just pasting that into the EM, then calling the EM from a script and just passing it the context. It just worked, plain and simple. :) (I find it a bit cumbersome to develop in EMs, reloading and all, so I tend to avoid it.) With ExternalMethod you only have to hit save button again to refresh it. I know, I know but that extra step actually adds 1/3 to the usual cycle of editt-reload. And then it ads another layer of indirection when you come back later and have to figure out how it works. Simple external method code that you may use to traverse through ZODB: def checkFolder(self, fld): for obj_name, obj in fld.objectItems( 'FormulatorForm' ): # get form fields here etc for fld_name,fld_obj in fld.objectItems( 'Folder' ): checkFolder( fld_obj ) for fld_name,fld_obj in fld.objectItems( 'Folder (Ordered)' ): checkFolder( fld_obj ) I'm not sure about 'FormulatorForm', this may be 'Formulator Form' or something like that. It's fld.objectItems(['Formulator Form']) Sorry to put you to the trouble, I should have been more clear I had that part. Thank you for your help :) Gaute ___ 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] [ATTENTION] Memory leak in IncrementalSearch2
Crosspost: reply-to set to zope@zope.org I detected and fixed a memory leak in IncrementalSearch2. Thus, if you are using IncrementalSearch2, you should upgradeBzope zope Dieter ___ 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: Zope Digest, Vol 35, Issue 3
I want zope to listen to two different ip-addrs on two different ports and I'm unsure of how to configure zope to behave correctly. Is there a reason why you don't want to use something like a front-end apache with url rewriting? A simple way to do that is to set up Zope to listen on one of the two IP:ports. On the other one set up an Apache webserver. In the httpd.conf file for the Apache webserver say: RewriteEngine on RewriteRule (.*)(\/any_trailing_cruft_you_might_wish_to_remove) http://your_Zope_server:your_zope_port/$1 ___ 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] [ATTENTION] Memory leak in IncrementalSearch2
Crosspost: reply-to set to zope@zope.org I detected and fixed a memory leak in IncrementalSearch2. Thus, if you are using IncrementalSearch2, you should upgrade http://www.dieter.handshake.de/pyprojects/zope You probably get this message twice -- a wrong shortcut had sent it prematurely. Sorry! Dieter ___ 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: ip-address vs http-server section
I want zope to listen to two different ip-addrs on two different ports and I'm unsure of how to configure zope to behave correctly. Is there a reason why you don't want to use something like a front-end apache with url rewriting? A simple way to do that is to set up Zope to listen on one of the two IP:ports. On the other one set up an Apache webserver. In the httpd.conf file for the Apache webserver say: RewriteEngine on RewriteRule (.*)(\/any_trailing_cruft_you_might_wish_to_remove) http://your_Zope_server:your_zope_port/$1 ___ 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] ip-address vs http-server section
Timothy Ball wrote at 2007-4-3 11:24 -0400: I want zope to listen to two different ip-addrs on two different ports and I'm unsure of how to configure zope to behave correctly. I set ip-address some ip addr then I have two http-server sections ala this: --snip--snip--snip-- ip-address some-goofy-ipaddr http-server # valid keys are address and force-connection-close address some-goofy-ipaddr:8080 # force-connection-close on /http-server http-server # valid keys are address and force-connection-close address some-other-goofy-ipaddr:80 # force-connection-close on /http-server --snip--snip--snip-- When I do this zope doesn't seem to listen to any thing on any port... The :80 above requires that Zope is started as root (under *nix) as all ports below 1024 are root only ports. Due to a (long standing) bug in Zope's startup logging, you may not see the resulting exception. Due to another bug, you have to proceed as follows: Enable debug-mode in your configuration file. Otherwise, Zope will refuse to log to the console (a bug). Start Zope in foreground mode (bin/zopectl fg under *nix) Watch out for messages on the console. -- Dieter ___ 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] IOError: [Errno 11] Resource temporarily unavailable for ./zopectl adduser...?
thanks - now get this... 2007-04-03 22:17:11 WARNING Init Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects' /opt/Plone-2.5/dvplone/Products/Marshall/handlers/__init__.py:38: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers warnings.warn('libxml2 not available. Unable to register libxml2 based ' \ /opt/Plone-2.5/dvplone/Products/CMFContentPanels/ContentPanelsTool.py:9: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead. from Products.CMFCore.CMFCorePermissions import ManagePortal 2007-04-03 22:17:12 WARNING Zope OFS.Application: Duplicate Product name:After loading Product 'Five' from '/opt/Plone-2.5/dvplone/Products', I skipped the one in '/opt/Plone-2.5/lib/python/Products'. /opt/Plone-2.5/dvplone/Products/CMFContentPanels/__init__.py:38: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFContentPanels product_name='CMFContentPanels', icon='tool.gif', 2007-04-03 22:17:12 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. 2007-04-03 22:17:12 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2007-04-03 22:17:12 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2007-04-03 22:17:12 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. 2007-04-03 22:17:13 ERROR Zope Couldn't install Five Traceback (most recent call last): File /opt/Plone-2.5/lib/python/OFS/Application.py, line 790, in install_product initmethod(context) File /opt/Plone-2.5/dvplone/Products/Five/__init__.py, line 31, in initialize zcml.load_site() File /opt/Plone-2.5/dvplone/Products/Five/zcml.py, line 41, in load_site _context = xmlconfig.file(file) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 554, in file include(context, name, package) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 490, in include processxmlfile(f, context) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 345, in processxmlfile parser.parse(src) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 109, in parse xmlreader.IncrementalParser.parse(self, source) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 216, in feed self._parser.Parse(data, isFinal) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 364, in end_element_ns self._cont_handler.endElementNS(pair, None) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 326, in endElementNS self.context.end() File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 544, in end self.stack.pop().finish() File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 690, in finish actions = self.handler(context, **args) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 490, in include processxmlfile(f, context) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 345, in processxmlfile parser.parse(src) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 109, in parse xmlreader.IncrementalParser.parse(self, source) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 216, in feed self._parser.Parse(data, isFinal) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 364, in end_element_ns self._cont_handler.endElementNS(pair, None) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 326, in endElementNS self.context.end() File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 544, in end self.stack.pop().finish() File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 690, in finish actions = self.handler(context, **args) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 490, in include processxmlfile(f, context) File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line 345, in processxmlfile parser.parse(src) File /opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py, line 109, in parse
[Zope] Re: [Plone-Users] creating a new user in zope not using ./zopectl ?
I'm not sure I understand the question. This script will generate a file called access -- just place this file in the file directory root of the instance you need to access, make sure it has the correct ownership settings, and restart the instance. Hi - Well I have a Zeo instance with a single zope instance within it which is controlled by the scripts in /bin in the Zeo instance. When I ran the zpasswd.py from within the zope instance it didn't affect the login for the zope instance. On 4/3/07, Ricardo Newbery [EMAIL PROTECTED] wrote: At 10:02 PM +0100 4/3/07, michael nt milne wrote: On 4/3/07,* Ricardo Newbery* [EMAIL PROTECTED] wrote: At 12:45 AM +0100 4/3/07, michael nt milne wrote: Hi I need to create an new user or an emergency user in a Zope instance outside of using ./zopectl adduser. I'm getting a 'resource not available' message for that. Is there another way of creating an emergency user in unix? I haven't tried the zopectl method myself but I believe this is supposed to create a real user with the Manager role -- this is not an emergency user as the term is typically used. If you mean instead to create an emergency user, use the zpasswd.py utility from the Zope installation. python zpasswd.py access Read SECURITY.txt in your Zope installation for details. Ric thanks but how would you do change a pass for a zope instance within the main instance using zpaasswd? it seems to control only the main instance I'm not sure I understand the question. This script will generate a file called access -- just place this file in the file directory root of the instance you need to access, make sure it has the correct ownership settings, and restart the instance. Incidentally, I believe you can also just create this file manually. The assumption is that if you have access to the file system, you naturally also have permission to access the Zope instance. Ric -- michael ___ 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] IOError: [Errno 11] Resource temporarily unavailable for ./zopectl adduser...?
ZopeXMLConfigurationError: File /opt/Plone- 2.5/dvplone/Products/Five/skel/site.zcml, line 7.2-7.37 ZopeXMLConfigurationError: File /opt/Plone-2.5/dvplone/Products/Five/configure.zcml, line 12.2-12.32 ZopeXMLConfigurationError: File /opt/Plone- 2.5/dvplone/Products/Five/formlib/configure.zcml, line 15.2-18.8 ConfigurationError: ('Invalid value for', 'factory', ImportError: Couldn't import zope.formlib.errors, No module named errors in .errors.InvalidErrorView) Maybe you have Five that is not compatible with your zope version. Check compatibility table at codespeak.net. -- Maciej Wisniowski ___ 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 )