Re: [Zope-dev] zope3docs
On Mon, 02 Feb 2009 09:16:38 -0800, Paul Carduner wrote: it would be nice if these docs could somehow magically appear on the plone site (I'm told plone has some product for syncing content from subversion?). http://dev.plone.org/collective/browser/FSReST ___ 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 )
[Zope-dev] git mirror of svn://svn.zope.org/repos/main ?
I was going to ask this question anyway, but perhaps it's more timely with the scheduled server move: Has anyone made a git clone of svn://svn.zope.org/repos/main suitable for public mirroring on github, etc.? ___ 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 )
[Zope-dev] Re: Zope on Python 2.5?
Would it be possible to have a non-system python installed (by default into /opt/python24) by the system python easy_install? I think it would be useful to have eggs that provide commands on the path such as easy_install_nonsystem24, virtualenv_nonsystem24, python_nonsystem24. With a better spelling, of course. Perhaps if non-system pythons were packaged in a way that setuptools could install them, they might become ordinary dependencies of Zope/Plone eggs, which could detect and configure to use them in a virtualenv at setup time. I don't know if setuptools is currently capable of installing packages completely separate from the running environment, or executing another python during setup. However, It seems to me that the most expedient way to encourage widespread use of non-system python is to make them available as a dependency for applications and frameworks that prefer them. After my distribution (Gentoo) updated to python2.5, I made the overdue switch to a buildout-based non-system python. I greatly appreciate the fact that it has no packages installed and never changes, obliging me to use buildout or virtualenv always. I'd like to have the best-practice setup available as an easy_installable package. On my distribution, tools are already available to package complete/correct PyPI entries. Thanks. ___ 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 )
[Zope-dev] Re: PILwoTk egg to PyPI?
Jim Fulton wrote: Binaries, except for Windows, should never never be uploaded to PyPI (or download.zope.org). There are just too many variables to building binaries. Yes, that's what I meant to ask for, PILwoTk-1.1.6.3 to PyPI as a source release. I'm currently using http://download.zope.org/distribution/PILwoTk-1.1.6.3.tar.gz A more interesting questions is whether the source release should be uploaded. I wish someone could convince Fredrik Lundh to make a saner release of PIL. Maybe someone could pursue this on the image- sig mailing list (http://mail.python.org/pipermail/image-sig/). Yes, that's what I was hoping to avoid asking ;) since I don't know the PIL packaging rationale. The effbot.org release pages are so thorough, I presumed that PIL was going to continue to be packaged as-is. Thanks. ___ 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 )
[Zope-dev] PILwoTk egg to PyPI?
Would someone be willing to add the PILwoTk-1.1.6.3(-py2.4-linux-i686).egg to PyPI? If PILwoTk becomes a PyPI entry, I'd like to ask a follow-up on the Plone list to see if ploneout buildouts can/should by default depend on PILwoTk to satisfy Plone-3.0's PIL dependency. I'm able to use PILwoTk for this purpose while still running from a python with no installed pacakges, making ploneout very easy to use. Thanks. ___ 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 )
[Zope] Re: z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!
Something in z3c.formdemo r77305 gives the following error (r77253 builds and runs): $ ./bin/buildout Develop: '/software/formdemo/.' Develop: '/software/formdemo/z3c.form' Traceback (most recent call last): File /tmp/tmpeS3r2n, line 10, in ? execfile('/software/formdemo/z3c.form') IOError: [Errno 2] No such file or directory: '/software/formdemo/z3c.form' While: Installing. Processing develop directory '/software/formdemo/z3c.form'. An internal error occured due to a bug in either zc.buildout or in a recipe being used: AssertionError: (end) ___ 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] z3c.form 1.3.0, z3c.formui 1.0.1, and z3c.formdemo 1.1.0 released!
On Sun, 24 Jun 2007 22:42:35 -0400, Stephan Richter wrote: Yes, thanks for the report. Cheeseshop was slow on Friday, so I could not try the package. I just released formdemo 1.1.1, which fixes the problem. Thanks for the z3c.form package and the demo. There is an optionalChoiceField addition to browser.py which fixes an error on the 'All Widgets' demos: $ svn diff Index: src/z3c/formdemo/widgets/browser.py === --- src/z3c/formdemo/widgets/browser.py (revision 77026) +++ src/z3c/formdemo/widgets/browser.py (working copy) @@ -44,6 +44,7 @@ bytesField = FieldProperty(interfaces.IAllFields['bytesField']) bytesLineField = FieldProperty(interfaces.IAllFields['bytesLineField']) choiceField = FieldProperty(interfaces.IAllFields['choiceField']) +optionalChoiceField = FieldProperty(interfaces.IAllFields['optionalChoiceField']) dateField = FieldProperty(interfaces.IAllFields['dateField']) datetimeField = FieldProperty(interfaces.IAllFields['datetimeField']) decimalField = FieldProperty(interfaces.IAllFields['decimalField']) ERROR SiteError http://localhost:8081/++skin++Z3CFormDemo/widgets.html Traceback (most recent call last): File /software/formdemo/eggs/tmpdsM7XZ/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py, line 133, in publish File /software/formdemo/eggs/tmpK-tlc_/zope.app.publication-3.4.0a1_2-py2.4.egg/zope/app/publication/zopepublication.py, line 167, in callObject File /software/formdemo/eggs/tmpdsM7XZ/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py, line 108, in mapply - __traceback_info__: security proxied z3c.pagelet.zcml.AllFieldsForm instance at 0x8b9038c File /software/formdemo/eggs/tmpdsM7XZ/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py, line 114, in debug_call File /software/formdemo/src/z3c/formdemo/widgets/browser.py, line 86, in __call__ self.update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/form.py, line 139, in update super(Form, self).update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/form.py, line 88, in update self.updateWidgets() File /software/formdemo/src/z3c/formdemo/widgets/browser.py, line 82, in updateWidgets super(AllFieldsForm, self).updateWidgets() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/form.py, line 200, in updateWidgets self.widgets.update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/field.py, line 255, in update widget.update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/browser/select.py, line 46, in update super(SelectWidget, self).update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/widget.py, line 176, in update super(SequenceWidget, self).update() File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/widget.py, line 96, in update value = zope.component.getMultiAdapter( File /software/formdemo/eggs/z3c.form-1.3.0-py2.4.egg/z3c/form/datamanager.py, line 48, in get return getattr(context, self.field.__name__) AttributeError: 'AllFields' object has no attribute 'optionalChoiceField' ___ 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-dev] Twice-annual releases and bugfixes?
What does the twice-annual release policy say about bugs and/or packaging errors that are identified and fixed within a very short time of the official release announcement? Log message for revision 41228: Merge r41227 from 2.9 branch: Update Five to bugfix release 1.3.1. Changed: U Zope/trunk/lib/python/Products/Five/CHANGES.txt U Zope/trunk/lib/python/Products/Five/site/localsite.py U Zope/trunk/lib/python/Products/Five/site/tests/sitemanager.txt U Zope/trunk/lib/python/Products/Five/tests/adapters.py U Zope/trunk/lib/python/Products/Five/version.txt (...) +* Fix an adapter look-up bug in the local site implementation +that was due to an oversight during the port to Zope 3.2. I'm building from svn, so it doesn't make much difference to me, but I was curious whether the circumstances (if any) that would trigger bugfix releases were documented anywhere. ___ 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 )
[Zope-dev] Re: [RfC] Removal of old stuff in Zope 2.10
Andreas Jung wrote: I'll raise the question again: what are the benefits of the HelpSys for a Zope user? I can't recall clicking on top frame of the ZMI or a 'Help!' link in the past few years, either. Perhaps an equivalent or greater benefit would be to rip out locally installed static help facilities, and spend the effort migrating* zope.org to a plone version that could run PloneHelpCenter: http://plone.org/documentation * or a clean-slate docs.zope.org, just as well. ___ 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 )
[Zope-dev] zope-2.9 r40780 make install doesn't finish, files missing from bin
I didn't receive any feedback on zope-general, but it could just be a problem with my environment that fails silently. Can anyone confirm that this isn't pilot error before I file a bug? Thanks. --- I'm having some trouble with the 'make install' stage of Zope-2.9 svn. Using python-2.4.2 on Gentoo linux. Zope-2.9.0b1 installed fine, but I needed the fix for get_transaction() ASAP. URL: svn://svn.zope.org/repos/main/Zope/branches/2.9 Revision: 40853 # ./configure --prefix=/usr/lib/zope-2.9.0 # make # make install (...) copying lib/python/zope/app/recorder/zope.app.recorder-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/pluggableauth/zope.app.pluggableauth-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/securitypolicy/securitypolicy-meta.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/testbrowser/testbrowser-ftesting.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/formlib/formlib-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/securitypolicy/securitypolicy.zcml - /usr/lib/zope-2.9.0/zopeskel/etc [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Zope binaries installed successfully. Now run '/usr/lib/zope-2.9.0/bin/mkzopeinstance.py' This leaves (most visibly) many missing files in /usr/lib/zope-2.9.0/bin/. Only the 'python' symlink, and 'zconfig zconfig_schema2html zdctl.py zdrun.py' are installed there. Other files may be missing if they came afterwards, I don't have information on that. Is this line indicating a terminating error in make install? [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Subsequent runs don't resume installing the remaining files: # make install /usr/bin/python /home/jtk/software/svn/Zope/setup.py \ build_ext -i \ install --home=/usr/lib/zope-2.9.0 running build_ext running build_headers running install running build running build_py running build_scripts running install_lib running install_headers running install_scripts changing mode of /usr/lib/zope-2.9.0/bin/zconfig to 755 changing mode of /usr/lib/zope-2.9.0/bin/zconfig_schema2html to 755 changing mode of /usr/lib/zope-2.9.0/bin/zdctl.py to 755 changing mode of /usr/lib/zope-2.9.0/bin/zdrun.py to 755 running install_data [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Zope binaries installed successfully. Now run '/usr/lib/zope-2.9.0/bin/mkzopeinstance.py' Thanks for any insight on the issue. I don't think I want to run Zope in-place from the working copy. ___ 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 )
[Zope] zope-2.9 r40780 make install doesn't finish, files missing from bin
I'm having some trouble with the 'make install' stage of Zope-2.9 svn. Using python-2.4.2 on Gentoo linux. Zope-2.9.0b1 installed fine, but I needed the fix for get_transaction() ASAP. URL: svn://svn.zope.org/repos/main/Zope/branches/2.9 Revision: 40780 # ./configure --prefix=/usr/lib/zope-2.9.0 # make # make install (...) copying lib/python/zope/app/recorder/zope.app.recorder-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/pluggableauth/zope.app.pluggableauth-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/securitypolicy/securitypolicy-meta.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/testbrowser/testbrowser-ftesting.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/formlib/formlib-configure.zcml - /usr/lib/zope-2.9.0/zopeskel/etc/package-includes copying lib/python/zope/app/securitypolicy/securitypolicy.zcml - /usr/lib/zope-2.9.0/zopeskel/etc [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Zope binaries installed successfully. Now run '/usr/lib/zope-2.9.0/bin/mkzopeinstance.py' This leaves (most visibly) many missing files in /usr/lib/zope-2.9.0/bin/. Only the 'python' symlink, and 'zconfig zconfig_schema2html zdctl.py zdrun.py' are installed there. Other files may be missing if they came afterwards, I don't have information on that. Is this line indicating a terminating error in make install? [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Subsequent runs don't resume installing the remaining files: # make install /usr/bin/python /home/jtk/software/svn/Zope/setup.py \ build_ext -i \ install --home=/usr/lib/zope-2.9.0 running build_ext running build_headers running install running build running build_py running build_scripts running install_lib running install_headers running install_scripts changing mode of /usr/lib/zope-2.9.0/bin/zconfig to 755 changing mode of /usr/lib/zope-2.9.0/bin/zconfig_schema2html to 755 changing mode of /usr/lib/zope-2.9.0/bin/zdctl.py to 755 changing mode of /usr/lib/zope-2.9.0/bin/zdrun.py to 755 running install_data [ -f /usr/lib/zope-2.9.0/bin/python ] || ln -sfn /usr/bin/python /usr/lib/zope-2.9.0/bin/python Zope binaries installed successfully. Now run '/usr/lib/zope-2.9.0/bin/mkzopeinstance.py' Thanks for any insight on the issue. I don't think I want to run Zope in-place from the working copy. ___ 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] SiteAccess (Enh. VHM) still needed, or merged to Zope?
Most references I find (google, The Plone Book - McKay, Building Websites W/ Plone - Cooper) on virtual hosting Zope behind Apache recommend starting with sfm's SiteAccess enhanced Virtual Host Monster product: http://www.zope.org/Members/sfm/SiteAccessEnhanced/view Reportedly last updated 2001-08-19, is SAE really so mature that it has not subsequently needed updates or merited a merge into Zope's own VHM? I need to map the incoming URL http://(*.)foo.com/new/* to a Plone instance at http://localhost:8080/foo/*; , and later change the inbound mapping to http://(*.)foo.com/* after customer acceptance. I'm guessing that this is the most vanilla virtual hosting requirement possible, and I want to use the simplest configuration to accomplish it. If the old SEH 2.1.0 is the recommended tool with Zope-2.8.1, I'm sure the existing docs will be enough to figure it out. Thanks. ___ 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: ECommerce?
Shane Graber wrote: I'm looking for an e-commerce solution for Zope / Plone. My specific requirements are that we want to make available files for download that customers would have to pay for before they could download them. Does anyone have any suggestions on what Zope and/or Plone products to look for? http://www.plonemall.com/ should be a good fit. See the Plonemall mailing list for status, etc. ___ 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: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error
Malcolm Cleaton wrote: The only thing I can think of which matches your symptoms is this. Is it possible you have misconfigured this new Zope 2.8 instance, and it's trying to use direct access to the Data.fs via FileStorage, instead of contacting zeo? I feel like a guy who brought the lawn mower in for repair, and they tell you 'its got no gas in it'. That was it of course, thanks for the catch. I normally diff-merge my zope.conf with each successive version, to pick up any new directives, comments, etc. I guess I forgot the zodb section at the tail end when moving from 2.7 to 2.8. It might be helpful to have the list of mounted databases (and thus ZEO vs. FS distinction) in the control panel summary, that seems like useful configuration summary information. Thanks again, and sorry to take up list traffic with a simple configuration mistake. ___ 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] zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error
I am trying to use 'zopectl debug' for the first time with zope-2.8.0, local ZEO setup. It worked fine with zope-2.7.x and earlier. I am now getting a file locking error on Data.fs.lock, which stops the debug initialization at that point. The problem occurs whether I run zopectl as root or as the effective user ('zope') Can anyone familiar with local ZEO debugging on linux spot what might be the cause of the file locking error? Thanks. Zope Version : (Zope 2.8.0-final, python 2.4.1, linux2) Python Version : 2.4.1 (#1, Jun 17 2005, 09:31:29) [GCC 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)] System Platform : linux2 SOFTWARE_HOME : /usr/lib/zope-2.8.0/lib/python ZOPE_HOME : /usr/lib/zope-2.8.0 INSTANCE_HOME : /var/lib/zope/zope-2.8.0 CLIENT_HOME : /var/lib/zope/zope-2.8.0/var Network Services : ZServer.HTTPServer.zhttp_server (Port: 8080) in /var/lib/zope/zope-2.8.0/etc/zope.conf: # Directive: effective-user effective-user zope # /var/lib/zope/zope-2.8.0/var $ ls -al drwxr-xr-x 3 zope zope 336 Jul 4 14:59 . drwxr-xr-x 9 root root 280 Jun 25 03:08 .. -rw-r--r-- 1 zope zope 4849715 Jul 4 14:59 Data.fs -rw-r--r-- 1 zope zope 55987 Jul 3 18:05 Data.fs.index -rw-r--r-- 1 zope zope 6 Jul 4 14:59 Data.fs.lock -rw-r--r-- 1 zope zope 4874585 Jul 3 18:04 Data.fs.old -rw-r--r-- 1 zope zope 154247 Jul 4 14:59 Data.fs.tmp -rw-rw-r-- 1 zope zope 299 Jun 25 03:08 README.txt -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.lock -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.pid drwxr-xr-x 2 zope zope 14648 Jul 4 14:08 pts srwx-- 1 root root 0 Jul 4 14:59 zopectlsock # /var/lib/zope/zope-2.8.0/bin/zopectl debug /usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module DeprecationWarning) Starting debugger (the name app is bound to the top-level Zope object) /usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module DeprecationWarning) /usr/lib/zope-2.8.0/lib/python/Products/CMFCore/CMFCorePermissions.py:24: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead. the new module instead., DeprecationWarning) 2005-07-04 14:59:58 WARNING PortalTransforms Unable to find binary rtf-converter in /usr/(snip) 2005-07-04 14:59:58 WARNING PortalTransforms Unable to find binary rtf2xml in /usr/(snip) 2005-07-04 14:59:58 WARNING PortalTransforms Unable to find binary lynx in /usr/(snip) /usr/lib/zope-2.8.0/lib/python/Products/CMFCore/utils.py:622: DeprecationWarning: format_stx() will be removed in CMF 1.6. Please use StructuredText.StructuredText.HTML instead. DeprecationWarning) 2005-07-04 15:00:03 ERROR ZODB.lock_file Error locking file /var/lib/zope/zope-2.8.0/var/Data.fs.lock Traceback (most recent call last): File /usr/lib/zope-2.8.0/lib/python/ZODB/lock_file.py, line 63, in __init__ lock_file(self._fp) File /usr/lib/zope-2.8.0/lib/python/ZODB/lock_file.py, line 42, in lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable Traceback (most recent call last): File string, line 1, in ? File /usr/lib/zope-2.8.0/lib/python/Zope2/__init__.py, line 51, in app startup() File /usr/lib/zope-2.8.0/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /usr/lib/zope-2.8.0/lib/python/Zope2/App/startup.py, line 56, in startup DB = configuration.dbtab.getDatabase('/', is_root=1) File /usr/lib/zope-2.8.0/lib/python/DBTab/DBTab.py, line 96, in getDatabase db = self._createDatabase(name, is_root) File /usr/lib/zope-2.8.0/lib/python/DBTab/DBTab.py, line 113, in _createDatabase db = factory.open() File /usr/lib/zope-2.8.0/lib/python/Zope2/Startup/datatypes.py, line 163, in open DB = self.createDB() File /usr/lib/zope-2.8.0/lib/python/Zope2/Startup/datatypes.py, line 160, in createDB return ZODBDatabase.open(self) File /usr/lib/zope-2.8.0/lib/python/ZODB/config.py, line 97, in open storage = section.storage.open() File /usr/lib/zope-2.8.0/lib/python/ZODB/config.py, line 133, in open quota=self.config.quota) File /usr/lib/zope-2.8.0/lib/python/ZODB/FileStorage/FileStorage.py, line 114, in __init__ self._lock_file = LockFile(file_name + '.lock') File /usr/lib/zope-2.8.0/lib/python/ZODB/lock_file.py, line 63, in __init__ lock_file(self._fp) File /usr/lib/zope-2.8.0/lib/python/ZODB/lock_file.py, line 42, in lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable Other than this problem with debug, this zope is functioning normally. The only modification I
[Zope] Re: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error
Chris McDonough wrote: File permissions. The user who is the effective user does not have permission to overwrite the Data.fs.lock file. effective-user zope # /var/lib/zope/zope-2.8.0/var $ ls -al drwxr-xr-x 3 zope zope 336 Jul 4 14:59 . drwxr-xr-x 9 root root 280 Jun 25 03:08 .. -rw-r--r-- 1 zope zope 4849715 Jul 4 14:59 Data.fs -rw-r--r-- 1 zope zope 55987 Jul 3 18:05 Data.fs.index -rw-r--r-- 1 zope zope 6 Jul 4 14:59 Data.fs.lock -rw-r--r-- 1 zope zope 4874585 Jul 3 18:04 Data.fs.old -rw-r--r-- 1 zope zope 154247 Jul 4 14:59 Data.fs.tmp -rw-rw-r-- 1 zope zope 299 Jun 25 03:08 README.txt -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.lock -rw-r--r-- 1 zope zope 5 Jul 4 14:59 Z2.pid drwxr-xr-x 2 zope zope 14648 Jul 4 14:08 pts srwx-- 1 root root 0 Jul 4 14:59 zopectlsock I get a little fuzzy on when the changeover from user root to user zope happens, but this is the confusing point, and why I originally excerpted the directory listing: doesn't (effective) user zope already have read-write on the Data.fs.lock file? Should I add user root to group zope, or would that defeat the security purpose of the effective-user? Or can you recommend the correct chmod setting for this setup, I don't want to 755 the thing into wide-open access without knowing what I'm doing. Thanks. ___ 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: Re: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error
Chris McDonough wrote: If you dont think it's file permissions, one thing this could also be... is your data.fs on an NFS partition? flock doesn't work well on NFS. This is a local ReiserFS partition. The zope and zeo are on the local machine, communicating over port . I just checked, and it is not the 'zopectl debug' that fails, it is the second connection to the running zeo; if you run zopectl debug first, that starts, and the normal zope service will fail instead. I just did a chmod 666 Data.fs.lock -rw-rw-rw- 1 zope zope 6 Jul 4 22:15 Data.fs.lock And to my surprise, that doesn't change the second zeo connection problem, either. ___ 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-dev] Re: CVS Head: Error Value: iterable argument required when adding objects
I forgot to check event.log, that gives information about the problem. Thanks. 2004-01-17T17:07:23 PROBLEM(100) ZODB FS FS21 warn: Ignoring index for /var/zope/var/Data.fs -- 2004-01-17T17:07:24 INFO(0) Zope Ready to handle requests -- 2004-01-17T17:07:48 PROBLEM(100) Zope Security Policy 'PermissionRole object at 0x40940db8' passed as roles during validation of 'manage_access' is not a sequence. -- 2004-01-17T17:07:48 PROBLEM(100) Zope Security Policy 'PermissionRole object at 0x40940db8' passed as roles during validation of 'manage_access' is not a sequence. -- 2004-01-17T17:08:04 PROBLEM(100) Zope Security Policy 'PermissionRole object at 0x40e4cec0' passed as roles during validation of 'manage_addFolder' is not a sequence. ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
[Zope-dev] FileStorage instance has no attribute '_serial'
I'm not sure whether the collector issue 1164 I posted is simply a missing configuration step on my part. At any rate, I'm still unable to start the current checkout of Zope HEAD. The only edit I make to /var/zope/etc/zope.conf is 'effective-user zuser', and the problem below also occurs if I then bin/runzope as root. Can anyone tell me if I'm missing something, or is this a bug? Thanks. [EMAIL PROTECTED] Zope]$ ./configure [EMAIL PROTECTED] Zope]$ make [EMAIL PROTECTED] Zope]$ make install [EMAIL PROTECTED] var]# /opt/Zope-2.8/bin/mkzopeinstance.py [EMAIL PROTECTED] Zope]# chown -R zuser /var/zope/var [EMAIL PROTECTED] Zope]# chgrp -R zuser /var/zope/var [EMAIL PROTECTED] Zope]$ /var/zope/bin/runzope -- 2004-01-04T23:06:08 INFO(0) ZServer HTTP server started at Sun Jan 4 23:06:08 2004 Hostname: localhost.localdomain Port: 8080 -- 2004-01-04T23:06:08 INFO(0) ZServer FTP server started at Sun Jan 4 23:06:08 2004 Hostname: laptop Port: 8021 -- 2004-01-04T23:06:10 DEBUG(-200) FileStorage create storage /var/zope/var/Data.fsTraceback (most recent call last): File /opt/Zope-2.8/lib/python/Zope/Startup/run.py, line 49, in ? run() File /opt/Zope-2.8/lib/python/Zope/Startup/run.py, line 19, in run start_zope(opts.configroot) File /opt/Zope-2.8/lib/python/Zope/Startup/__init__.py, line 50, in start_zope starter.startZope() File /opt/Zope-2.8/lib/python/Zope/Startup/__init__.py, line 218, in startZope Zope.startup() File /opt/Zope-2.8/lib/python/Zope/__init__.py, line 46, in startup _startup() File /opt/Zope-2.8/lib/python/Zope/App/startup.py, line 54, in startup DB = configuration.dbtab.getDatabase('/', is_root=1) File /opt/Zope-2.8/lib/python/DBTab/DBTab.py, line 96, in getDatabase db = self._createDatabase(name, is_root) File /opt/Zope-2.8/lib/python/DBTab/DBTab.py, line 113, in _createDatabase db = factory.open() File /opt/Zope-2.8/lib/python/Zope/Startup/datatypes.py, line 172, in open DB = self.createDB() File /opt/Zope-2.8/lib/python/Zope/Startup/datatypes.py, line 169, in createDB return ZODBDatabase.open(self) File /opt/Zope-2.8/lib/python/ZODB/config.py, line 101, in open version_cache_size=section.version_cache_size) File /opt/Zope-2.8/lib/python/ZODB/DB.py, line 98, in __init__ storage.store('\0\0\0\0\0\0\0\0', None, file.getvalue(), '', t) File /opt/Zope-2.8/lib/python/ZODB/FileStorage.py, line 791, in store newserial=self._serial AttributeError: FileStorage instance has no attribute '_serial' [EMAIL PROTECTED] var]$ ls -l /var/zope/var total 24 -rw-rw-r--1 zuser zuser 4 Jan 4 23:06 Data.fs -rw-rw-r--1 zuser zuser 103 Jan 4 23:06 Data.fs.index -rw-rw-r--1 zuser zuser 5 Jan 4 23:06 Data.fs.lock -rw-rw-r--1 zuser zuser 0 Jan 4 23:06 Data.fs.tmp -rw-r--r--1 zuser zuser 299 Jan 4 23:01 README.txt -rw-rw-r--1 zuser zuser 4 Jan 4 23:06 Z2.lock -rw-rw-r--1 zuser zuser 4 Jan 4 23:06 Z2.pid ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
[Zope-dev] Best practice for Zope-private copy of Python 2.1 on Linux?
With the RH7.3 release today, the default Python2 installation is that much more likely to be Python 2.2 (it's the base package in RH7.3), instead of Python 2.1. Rather than ask the FAQ of why and what parts of Zope can't handle Python 2.2, I'll ask if there is, or suggest if there isn't, a shift due in the installation procedures on Linux to optionally use a private copy of Python 2.1, much like the Windows version of Zope does. That version allows me to use Python 2.2 without any interference. I'd prefer that the file layout matched WinZope as closely as possible. In this case, I'm willing to give up some disk space to have a sandbox that Zope can run in with its configuration uninterrupted. FWIW, I'd like to see an expanded tarball of Zope available that builds the whole thing, including its own Python and the most common c-extensions, in a unified makefile. Maybe that would get the possibility of RPM releases back on track, too. Can anyone suggest a best practice to get Zope 2.5.1 on Linux running with a private Python2.1, keeping the new Python releases separate from the one Zope will use? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Medusa 0.5.1 maint release, planned for inclusion in Zope?
From the Daily-URL: Andrew Kuchling: Medusa 0.5.1 released: Medusa is a framework for writing asynchronous socket-based servers. It was originally written by Sam Rushing. However, no new releases have been made in about a year. I've therefore taken the original Medusa package, and reformatted the code, removed various outdated modules, ran PyChecker over it, wrote a Distutils script, and made a new maintenance release of Medusa. [Jeff] Will this version of the Medusa code be making its way into the Zserver core for the 2.5.x maintenance releases, or the 2.6 timeframe? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Medusa 0.5.1 maint release, planned for inclusion in Zope?
[Chris] Does Zope 3 use Medusa at all? [Stephan] No. Shane rewrote all of the HTTP Server and I am writing right now the FTP server (which copies some of the Medusa code, but much is cleaned). We added interfaces and made it more component-based. [Jeff] That's good news about an interface refactoring, it was a little confusing researching the present customized version. My interest in (the Medusa revision) was to keep alive the idea of setting up hooks for developers to build support for other protocols (IMAP, NNTP, Jabber, SMTP, SMS etc.) in a standard, configurable way in Zope3. Will your rewritten components form on a general-purpose server framework like Medusa? Ideally, the support would be as easily added as other 3rd party Zope3 product/components, inheriting from the base components you guys are writing now. The topic kind of thudded when I brought it up last week, but I think it is important to keep an open mind about it while Zope3 is still brewing. Interfaces to external mail and other servers is only part of it, since that makes workflow programming on the messages much less direct, and reduces the cross-platform flexibility of Zope deployments, where most extensibility is done in Python. Lots of *small* businesses need what MS Exchange offers, but can't afford it nor safely maintain its staggering complexity. As these python protocol implmentations crop up, I'd like to see Zope3 offer those writers a mature, cross-platform back-end to store their messages in, if they are willing to implement a few well-defined interfaces. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZMI: IE6 TextArea width bug: fix on tap for 2.6?
I was wondering if there was any consensus on how best to fix or compensate for the unfortunate behaviour of IE6 with regards to the width calculation of textarea boxes. For anyone who hasn't seen it, the full-width texareas that are everywhere in the ZMI suddenly started pushing the width out in IE6, causing the horizontal scrollbar to become active, and generally making ZMI editing life miserable. Would it be possible to include in 2.6 (or 2.5.1, even better) a user preference, sitewide configuration setting, or other means of suppressing a few pixels/percent of that default width? I'm loathe to apply a massive search-replace to put 95% in my local ZMI source, and IE6 must be a common enough platform for Zope users to warrant a workaround. I wouldn't hold my breath that MS would fix IE or anything sensible like that. It would be a shame to slow the whole thing down with browser detection logic for this one bug, unless that opened up the door for some of the Javascript/DHTML editors as a per-user preference for editing certain metatypes. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Impact of additional protocols handled by Zope?
I'm curious what the impact on overall performance would be if products eventually came into existence that extended Zope to directly handle additional protocols and their data requirements, primarily intended for low-volume workgroup kind of traffic. Jabber, IMAP and LDAP are the ones that come to mind immediately, since you'd be that much closer to having Zope fulfill a role that MS Exchange really doesn't; inexpensive, easily maintained groupware for small organizations that need custom workflow app development. Is it practical to consider that Zope might extend into other protocols this way, and can it be done with modular products, or does integration require deep Zope modifications (beyond adding a few lines to Z2.py?) Just a hypothetical, I guess. FWIW, it would be really cool to see a general, host-a-protocol-here hook for plugin products as Zope3 takes shape, configuration in the ZMI if the product writer goes that far. Something that would define a standard interface for Zope3 events to respond to signals the protocol handler might generate, and vice-versa. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Impact of additional protocols handled by Zope?
[Eron] Yeah, this is something I'd be very interested in knowing, too. In fact, this particular ability could make or break a community project I'm going to be developing with Zope in the near future. Do you mean like the pluggable access that ZServer provides? I imagine there would also have to be some kind of pass-through backend storage to the actual service layer (like IMAP, for instance). This is definitely something I've been thinking about. [Eron] Getting my gears turning, Eron My thinking is that the protocol(s) that people might develop would be action-interfaces to Zope objects and methods. The canon example is IMAP, I guess. Someone might finish up something like http://www.zope.org/Members/michel/MyWiki/IMAPServer , and access/create/control Zope objects persisted directly in ZODB, using variations on the classes people already have for the various Zope Email Clients. Add Binari's IMAP Plug-In to the ubiquitous Outlook, and you've got a poor-man's Exchange Server*. To get public folder workflow, you'd need to use CMF (or Openflow), but that should change by the time Zope3 takes shape, workflow will apparently be native to Zope. (Can't wait) Jabber (or IRC, etc.) would be a slightly different use case. Jabber.py's maturation might mean that you could have a small number of users conferences authenticated against Zope's users. The users would use normal Jabber clients, but this should make web-chat interfaces very doable, too. A Zope Jabber protocol server might implement active conversations in session memory, and persist to Zope objects in response to a Jabber command. Jabber's logging idioms produce XML documents in the jabber.org implementation, ours would be Zope objects or whatever was needed by the developer. The back-end would be all Zope's turf. As for LDAP, existing LDAP products connect to external LDAP servers. But wouldn't it be useful if Zope's user database, and other folderish resources could be exposed as LDAP, with Zope as the server? A Dynamic DNS protocol handler could pump authenticated user's IP info into the LDAP tree, and so on. I'm probably getting ahead of myself here, its not like python implementations of these sophisticated protocols grow on trees. But they do seem to get started in the python community from time to time, and if Zope offered an easy way to hook a budding protocol implementation in to a mature application server, there might be a lot of can-do attitude to getting them beyond alpha stage. The key would be if the developer could add/delete/configure protocol products as easily as content products. As I said, It wouldn't take much for Zope to be a great Exchange drop-in replacement in your typical small business. It wouldn't really matter that much if python implementations of these protocols didn't have the scalability of their C-based brethren, lots of small Zopes doing big-server work would be a nice thing to develop against. * Better than Exchange, IMHO, because you'd have to be nuts to deploy Exchange or Small Business Manager in a real small business with no on-site IS Manager to handle backups or Active Directory admin duties. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause scrolling inconvenience
[Jeff] You're right, I wonder if this is a documented change in IE6, or a bug they plan to fix? I can't imagine in what universe that including the scrollbar-obscured area in the 100% width makes sense. I'd hate to see all browsers' HTML get munged to cover this bug up. But given the pervasiveness of IE6, maybe the ZMI should make some accomodation for a preference that 9x%'s the width of the right frame. [Joachim] I think the problem is more severe. IE 6 has obviously changed behaviour compared to IE 5.5. I'd call it a bug. It now always calculates 100% with the right-hand bar's width INCLUDED, so there are other side-effects than the one you are describing, like the last tab on the right being partially covered by the scroll bar. So if we change the HTML, it should limit the width of the WHOLE right-hand frame, not just the textarea's width ... Unfortunately this will only work automatically with some browser detection ... Joachim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause scrolling inconvenience
On my Zope 2.5.0 running on WindowsXP/IE6, the ZMI's textarea boxes, for things like editing PageTemplates, becomes too wide for the frame when the vertical scrollbar is required, causing an inconvenient side-scrolling behavior. The frame must be scrolled sideways to view the text areas's scrollbars, which then obsures the far left of the textarea. This is the code in question (for a PT edit page, there are many others) Expand macros when editing /td /tr tr td align=left valign=top colspan=4 div style=width: 100%; textarea name=text:text wrap=off style=width: 100%; cols=40 rows=15lt;html metal:define-macro=pagegt; Would it not help to make the textarea and div width 90% or so to account for the potential width of the side-scroll bar on the right-hand ZMI frame? Or even better, this could become a preference setting, since some users will have very narrow scrollbars or extreme vertical resolutions. After all, there is a cols/rows insertion right next to it, perhaps a new preference setting is easy enough to add... ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] RE: Experiments with ORMapping
I was thinking there would be a default table where everything gets stored by default. A programmer then tells the ORMapping about specific classes and how to store them. I wouldn't think it would be practical to use unless the ORMapping managed the tables by examining the class signature as metadata. ADO.NET has this in reverse, the tools can define classes that mirror a SQL recordset. Similarly, references to other objects would need to be supported with joins. BTW, I was going to mention this article http://www.vbpj.com/upload/free/features/vbpj/2001/07jul01/sqlpro0107/re in0107/rein0107p.asp As a 'rah-rah zope' example of RDBMS complexity Zope/ZODB spares us, but now it brings up something the ORMapping layer would have to do (perhaps with more savvy) to support mixed folder hierarchy among class instances. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )