Re: [Zope] Re: Java vs Zope
[EMAIL PROTECTED] a écrit : (snip) All said and done, I prefer to use Java over Python for large applications Good for you; there are others that share your tastes, but that's all it is: preference. A good coder could create an equally powerful suitably large application in either language in the same amount of time. My guess is that it will take much less time with Python. And that the "large" Java application will end up as a medium-sized app in Python (the average ratio must be along the line of 5 lines of Java for 1 line of Python). (snip) simply because it's cleaner and has mechanisms in place that support reusability of components and extensibility. Huh? You can do pretty much the same designs, patterns, etc in Python. Why does language make a difference here in re-usability. It does make a difference - but the other way round !-) Almost any (if not all) Java pattern can be translated to Python, but the opposite is not true. Perhaps you are arguing for single-inheritance as a constraint (which you can self-impose in design in Python). But why would you ?-) Python's duck typing makes inheritence much less important than it is in Java, but still, multiple inheritence is handy for mixins (let's talk about componants and reusability...). Also, Python offers a pretty good support for composition/delegation, which allows for better decoupling (than inheritence), which in turns makes reusability easier. ___ 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] Uploading file to Zope
Sune Christiansen wrote at 2006-1-7 11:28 +0100: > ... >ValueError > >Sorry, a site error occurred. > >Traceback (innermost last): > >Module ZPublisher.Publish, line 175, in publish_module_standard >Module ZPublisher.Publish, line 132, in publish >Module Zope.App.startup, line 204, in zpublisher_exception_hook >Module ZPublisher.Publish, line 64, in publish >Module ZPublisher.HTTPRequest, line 385, in processInputs >Module cgi, line 511, in __init__ > >ValueError: Maximum content length exceeded (Also, an error occurred while >attempting to render the standard error message.) Recent Zope versions introduced configuration parameters to limit the size of uploads. Look at the code in "cgi.py:511". Check against what variable the entity size is checked. With a bit of luck, the configuration option has a similar name. Change it as adequate for your site, restart. -- 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-Annce] [ANN] Zope 2.9.0 released
--On 7. Januar 2006 16:06:31 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: - Five 1.2 This should be "Five 1.3" of course, sorry. Andreas pgpeujdBkPYSG.pgp Description: PGP signature ___ 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] [ANN] Zope 2.9.0 released
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.9.0. You can download it from http://www.zope.org/Products/Zope/2.9.0/ Some new features of Zope 2.9: - ZODB 3.6 - Five 1.2 - integration for Zope 3 events for object creation and deletion - Zope 3 i18n integration for page templates For more information on what is new in this release, see the CHANGES.txt files for the release: http://www.zope.org/Products/Zope/2.9.0/CHANGES.txt Please bring all the bugs you have found to the Zope bugtracker: "http://collector.zope.org/Zope":http://collector.zope.org/Zope For more information on the available Zope releases, guidance for selecting the right distribution and installation instructions, please see: http://www.plope.com/Books/2_7Edition/InstallingZope.stx Support Python versions: Zope 2.9 requires Python 2.4.2 (Python 2.4.1 is still acceptable). Older Python versions are no longer supported. Thanks to all being involved in this release. -- Andreas Jung(andreas at zopyx dot com) pgpGcCErZ8JeX.pgp Description: PGP signature ___ 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] Uploading file to Zope
I am not sure if I understand you right but I am using the add File option in the dropdown menu at the left. > just checking, are you sure you've used the right encoding for the upload > form? > Or, are you using plain ZMI File upload. > > On 1/7/06, Sune Christiansen <[EMAIL PROTECTED]> wrote: >> Hei. >> >> I am trying to upload a pdf file to a plone zope server but when I do so >> I >> get the following error massage: >> >> ValueError >> >> Sorry, a site error occurred. >> >> Traceback (innermost last): >> >> Module ZPublisher.Publish, line 175, in publish_module_standard >> Module ZPublisher.Publish, line 132, in publish >> Module Zope.App.startup, line 204, in zpublisher_exception_hook >> Module ZPublisher.Publish, line 64, in publish >> Module ZPublisher.HTTPRequest, line 385, in processInputs >> Module cgi, line 511, in __init__ >> >> ValueError: Maximum content length exceeded (Also, an error occurred >> while >> attempting to render the standard error message.) >> >> >> The file is 246 KB. >> >> When I try to upload a smaller file it works fine, so I presume I have >> to >> change some kind of parameter defining the maximum length. Any >> suggestings >> where to do that? >> >> Thanks, >> Sune >> >> ___ >> 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 ) >> > > > -- > Peter Bengtsson, > work www.fry-it.com > home www.peterbe.com > hobby www.issuetrackerproduct.com > ___ 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] Uploading file to Zope
just checking, are you sure you've used the right encoding for the upload form? Or, are you using plain ZMI File upload. On 1/7/06, Sune Christiansen <[EMAIL PROTECTED]> wrote: > Hei. > > I am trying to upload a pdf file to a plone zope server but when I do so I > get the following error massage: > > ValueError > > Sorry, a site error occurred. > > Traceback (innermost last): > > Module ZPublisher.Publish, line 175, in publish_module_standard > Module ZPublisher.Publish, line 132, in publish > Module Zope.App.startup, line 204, in zpublisher_exception_hook > Module ZPublisher.Publish, line 64, in publish > Module ZPublisher.HTTPRequest, line 385, in processInputs > Module cgi, line 511, in __init__ > > ValueError: Maximum content length exceeded (Also, an error occurred while > attempting to render the standard error message.) > > > The file is 246 KB. > > When I try to upload a smaller file it works fine, so I presume I have to > change some kind of parameter defining the maximum length. Any suggestings > where to do that? > > Thanks, > Sune > > ___ > 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 ) > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ 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] Uploading file to Zope
Hei. I am trying to upload a pdf file to a plone zope server but when I do so I get the following error massage: ValueError Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 175, in publish_module_standard Module ZPublisher.Publish, line 132, in publish Module Zope.App.startup, line 204, in zpublisher_exception_hook Module ZPublisher.Publish, line 64, in publish Module ZPublisher.HTTPRequest, line 385, in processInputs Module cgi, line 511, in __init__ ValueError: Maximum content length exceeded (Also, an error occurred while attempting to render the standard error message.) The file is 246 KB. When I try to upload a smaller file it works fine, so I presume I have to change some kind of parameter defining the maximum length. Any suggestings where to do that? Thanks, Sune ___ 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 )