[Zope-dev] XML-RPC does not work under the paster process
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When using paste.httpserver instead of twisted.wsgi server zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when reading 0 Bytes from the request (wsgi.input ). As i found the zope.publisher.http.HTTPInputStream.readlines() signature was changed 3 years ago from readlines(self, hint=None) to readlines(self, hint=0) http://svn.zope.org/Zope3/trunk/src/zope/publisher/http.py?rev=66941&r1=66940&r2=66941 Do you think we could revert the change? Bugs reported: zopeproject: https://bugs.launchpad.net/zope3/+bug/283089 grokproject: https://bugs.launchpad.net/grok/+bug/332063 Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJvRDVl0uAvQJUKVYRAuMZAJ0eZBKjoInmx5CigwgjUf2gDpQyXQCfTBh5 IVbnn5i1v5WAwGPJxUJWCZs= =+cQ+ -END PGP SIGNATURE- ___ 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-dev] XML-RPC does not work under the paster process
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Haubenwallner wrote: > When using paste.httpserver instead of twisted.wsgi server > zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when reading 0 > Bytes from the request (wsgi.input ). > > As i found the zope.publisher.http.HTTPInputStream.readlines() signature > was changed 3 years ago > from readlines(self, hint=None) > to readlines(self, hint=0) > http://svn.zope.org/Zope3/trunk/src/zope/publisher/http.py?rev=66941&r1=66940&r2=66941 > > Do you think we could revert the change? > > Bugs reported: > zopeproject: https://bugs.launchpad.net/zope3/+bug/283089 > grokproject: https://bugs.launchpad.net/grok/+bug/332063 > Bump - maybe my description was too complicated, but the issue is serious: XMLRPC is broken at least with paste.httpserver Any input on the implications of reverting the change in revision #66941? Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJwOU0l0uAvQJUKVYRAnILAKCOSnA3YfUXilqoTD74/ukemGPkyACgil0O 1F0ZmR11vhodC33S6Wcg0z0= =JX17 -END PGP SIGNATURE- ___ 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-dev] Zope 4.0, maybe not such a bad idea...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: > Chris Withers wrote at 2009-4-2 21:29 +0100: >> Andreas Jung wrote: >>> Andrew & others have been working on this issue at the sprint. There is >>> consensus that www.zope.org must be turned into landing page with some >>> mission statement and then links to the related subprojects. The current >>> zope.org site should be moved to old.zope.org (it must remain >>> available for the time being (with URL redirections to the Products >>> and Member area). >> Why does it need to keep living even at old.zope.org? > > Because members put there content (product implementations) still usable? > > There really should be not problem to integrate current www.zope.org/Products and www.zope.org/Members including the LDAP authentication service into an new www.zope.org. No need to break any links - we already did similar with moving DevHome wikis out to wiki.zope.org. I'd be happy to adjust the current skins (Plone1.0.3) to whatever look is needed. Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ2GPfl0uAvQJUKVYRAs8rAJ49vcytk452m3tLmAx8zAO76SsmXgCdEXPT 6VfdYi9qIEwq4tcIojsxFSQ= =P5SS -END PGP SIGNATURE- ___ 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-dev] Zope 4.0, maybe not such a bad idea...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > Lennart Regebro wrote: >> On Sun, Apr 5, 2009 at 08:32, Dieter Maurer wrote: >>> Because members put there content (product implementations) still usable? >> Absolutely right. In the long run that should probably be moved over >> to PyPI though. > > > PyPI won't work for non-eggified products. > What do you mean by "won't work" here? Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ2PUdl0uAvQJUKVYRAsSDAJ4sQhE99PcNCAvCRUDptC+du0dxHgCeJa5G 4lLYtwf8EstVj6a5cNmF5W4= =kYa4 -END PGP SIGNATURE- ___ 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-dev] leaving zope.org to work...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: > On Mon, Apr 6, 2009 at 15:21, Chris Withers wrote: >>> Sure. But I don't really see it as necessary to keep old.zope.org >>> around forever and ever. >> Some people do, and doing that means they're happy, so I'm happy :-) > > Fair enough. The correct path is I guess as always that those who want > to keep it get to be responsible for maintaining it. Problem solved. > :) > I won't support anything called 'old.zope.org'. Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ2iuIl0uAvQJUKVYRAjmEAKCG+cIitCfHQoAuRdSV7o5LAUB9nACglMtG o7MYqPpBA1kwyUnl6oNZH2o= =HO3T -END PGP SIGNATURE- ___ 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-dev] Zope 2.12.0a4 easy_installable - please test
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > I just created a new Zope 2.12.0a4 that should easy_install nicely. > > Howto? > > virtualenv foo > cd foo > source bin/activate > bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0a4 Zope2 > > Please give feedback. > Works for me - thanks! Btw, how to add (now eggified) products - like Products.CMF* - to that release? regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ8YkSl0uAvQJUKVYRAty5AKCrHQwGDxtwhxB+oPVzb4HSRvCZAwCdEf7N uZu5uANo9U0Ky9yfy7P4kio= =oYwW -END PGP SIGNATURE- ___ 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-dev] Zope 2.12.0a4 easy_installable - please test
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Haubenwallner wrote: > Andreas Jung wrote: >> I just created a new Zope 2.12.0a4 that should easy_install nicely. > >> Howto? > >> virtualenv foo >> cd foo >> source bin/activate >> bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0a4 Zope2 > >> Please give feedback. > > > Works for me - thanks! > FTR: ubuntu8.04, python2.6 (built from source) - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ8bg+l0uAvQJUKVYRAiSgAJ91gCce/+LVQCV6bgDjgCyk4yESQgCgm3W8 OtdTS52KL5F77YtL0cdIWHI= =qeRY -END PGP SIGNATURE- ___ 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-dev] zope 2.12.0b1 bugs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürgen Herrmann wrote: > i found two bugs in the current zope 2.12 beta: > > 2."Script Python" instances don't execute anymore. not the ones already in >the db from the zope 2.10 install i used before nor newly created ones. >traceback: > * Module ZPublisher.Publish, line 208, in publish_module_standard > * Module ZPublisher.Publish, line 151, in publish > * Module Zope2.App.startup, line 249, in __call__ > * Module ZPublisher.Publish, line 120, in publish > * Module ZPublisher.mapply, line 77, in mapply > * Module ZPublisher.Publish, line 43, in call_object > * Module Shared.DC.Scripts.Bindings, line 324, in __call__ > * Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec > * Module App.special_dtml, line 185, in _exec > * Module DocumentTemplate.DT_In, line 634, in renderwob > * Module DocumentTemplate.DT_Raise, line 68, in render >RuntimeError: http://new-manage.xlhost.local/bliss/cms > >no clues on this one. > No idea whats going on there too, i get the same traceback when clicking the 'Test' button in ZMI (.../ZScriptHTML_tryForm). But if you click the objects 'Interfaces' button in ZMI (.../manage_interfaces) the script is rendered ok. Also looking at the object in the browser works for me. Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKAVSbl0uAvQJUKVYRAiSsAKCZWOdYwL+LqjzbG9QWF5u8Ru9YQQCgo2cE uabB8JNRMIHeRYlUdsE9qdU= =EpE0 -END PGP SIGNATURE- ___ 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-dev] XML-RPC does not work under the paster process
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: > On Wed, 2009-03-18 at 13:12 +0100, Michael Haubenwallner wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Michael Haubenwallner wrote: >>> When using paste.httpserver instead of twisted.wsgi server >>> zope.publisher.xmlrpc.XMLRPCRequest.processInputs() hangs when reading 0 >>> Bytes from the request (wsgi.input ). >>> >>> As i found the zope.publisher.http.HTTPInputStream.readlines() signature >>> was changed 3 years ago >>> from readlines(self, hint=None) >>> to readlines(self, hint=0) >>> http://svn.zope.org/Zope3/trunk/src/zope/publisher/http.py?rev=66941&r1=66940&r2=66941 >>> >>> Do you think we could revert the change? >>> >>> Bugs reported: >>> zopeproject: https://bugs.launchpad.net/zope3/+bug/283089 >>> grokproject: https://bugs.launchpad.net/grok/+bug/332063 >>> >> Bump - maybe my description was too complicated, but the issue is serious: >> >> XMLRPC is broken at least with paste.httpserver >> >> Any input on the implications of reverting the change in revision #66941? > > I've looked at the various APIs of actual objects that need to consume > the size hint parameter (cStringIO, StringIO, file, socket._fileobject). > > All of them should be fine getting a 0 as an argument, but file and > cStringIO will break if they get `None` instead of 0: > > Type| readlines() | readlines(None) | readlines(0) > +-+-+-- > file| works | TypeError | works > StringIO| works | works | works > cStringIO | works | TypeError | works > socket._fileobject [1]_ | works | works | works > > .. [1] I've only looked at the code and reasoned about this. > > What I'm puzzled about is that the commit message of 66491 mentions > compatibility to StringIO but that would have worked just fine with > `None`. So this either actually means "compatibility with file" or > "compatibility with cStringIO". > > Nevertheless: passing in 0 seems to be the safe bet in general and I > wonder what is actually breaking. I haven't seen a traceback be attached > at either bug. Also, those bugs should probably be marked as duplicates. > You are right, looking at the problem again i suggest to add this change to zope.publisher.xmlrpc - --- src/zope/publisher/xmlrpc.py (revision 100356) +++ src/zope/publisher/xmlrpc.py(working copy) @@ -46,10 +46,14 @@ 'See IPublisherRequest' # Parse the request XML structure - -# XXX using readlines() instead of lines() - -# as twisted's BufferedStream sends back - -# an empty stream here for read() (bug) - -lines = ''.join(self._body_instream.readlines()) +# XXX using readline() instead of readlines() +# as readlines() is not working with +# paster.httpserver +line = 1 +lines = '' +while line != '': +line = self._body_instream.readline() +lines += line self._args, function = xmlrpclib.loads(lines) The fix was proposed by jens Klein, see https://bugs.launchpad.net/zope3/+bug/283089/comments/3 If noone objects i will add it to the zope.publisher 3.4 branch and make a release (3.4.8). The fix is needed at least for Grok to make XMLRPC work with paster.httpserver. Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKGrR4l0uAvQJUKVYRAh1hAKCJDDSM/MDeuuzOn9jddnZWsfI2IACgnWOi lMnwK3vbJcAYu5miFKXjAH8= =Fxqf -END PGP SIGNATURE- ___ 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-dev] XML-RPC does not work under the paster process
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Theune wrote: > On Mon, 2009-05-25 at 17:08 +0200, Michael Haubenwallner wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Christian Theune wrote: >>> [...] >>> >>> Nevertheless: passing in 0 seems to be the safe bet in general and I >>> wonder what is actually breaking. I haven't seen a traceback be attached >>> at either bug. Also, those bugs should probably be marked as duplicates. >>> >> You are right, looking at the problem again i suggest to add this change >> to zope.publisher.xmlrpc > > Uhhhm. Why are we changing this? IMHO passing 0 should work and I don't > see what the actual breakage is. > There is another bugfix related to paster.httpserver in zope.publisher 3.5.3 (2008-06-20) Bugs fixed: * It turns out that some Web servers (Paste for example) do not send the EOF character after the data has been transmitted and the read() of the cached stream simply hangs if no expected content length has been specified. Could be the same reason as with XMLRPC >> - --- src/zope/publisher/xmlrpc.py (revision 100356) >> +++ src/zope/publisher/xmlrpc.py (working copy) >> @@ -46,10 +46,14 @@ >> 'See IPublisherRequest' >> # Parse the request XML structure >> >> - -# XXX using readlines() instead of lines() >> - -# as twisted's BufferedStream sends back >> - -# an empty stream here for read() (bug) >> - -lines = ''.join(self._body_instream.readlines()) >> +# XXX using readline() instead of readlines() >> +# as readlines() is not working with >> +# paster.httpserver >> +line = 1 >> +lines = '' >> +while line != '': >> +line = self._body_instream.readline() >> +lines += line >> self._args, function = xmlrpclib.loads(lines) > > I'm fine with the patch. I just don't understand why we need it. :/ > > Here's a small readability suggestion: > > lines = '' > while True: > line = self._body_instream.readline() > if not line: > break > lines += line > > I think assigning assigning an unused value can lead to confusions and > the head-controlled loop obfuscates whats actually going on. > Thanks for your suggestion, will use it. Regards Michael - -- http://blog.d2m.at http://planetzope.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKG5S6l0uAvQJUKVYRAlajAJ4+TXIVNtFBzwN5F253rqfc2wqH0QCeJvCq CMumYwCnLWCeCKNocCmkbp0= =X7uK -END PGP SIGNATURE- ___ 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: Builtins on Zope 2.6.3
Tres Seaver wrote: Christian Theune wrote: Hi, i have the strange feeling that somebody forgot to include the AccessControl.ZopeGuard.safe_builtins for DTML. See DT_Utils.py around line 56 and the corresponding imports as well as the definition of safe_builtins in ZopeGuard.py. Could someone verify this? Could you suggest a fragment of DTML which would serve as a test case? Such a fragment would either: - fails if your suspicion is true, but shouldn't? - doesn't fail, but should. What i found with a fresh 2.6.3-win32 and CMF-1.4.2 was this: Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Products.CMFCore.utils, line 348, in manage_propertiesForm Module Shared.DC.Scripts.Bindings, line 261, in __call__ Module Shared.DC.Scripts.Bindings, line 292, in _bindAndExec Module App.special_dtml, line 174, in _exec Module DocumentTemplate.DT_In, line 703, in renderwob Module DocumentTemplate.DT_Let, line 76, in render Module DocumentTemplate.DT_Util, line 201, in eval - __traceback_info__: select_variable Module , line 0, in ? AttributeError: min This is in part already mentioned here: http://zope.org/Collectors/Zope/1169 The bad with the missing "min" is, that it is used in CMF at portal_types/{typename}/manage_propertiesForm (OFS/properties.dtml) to create the size of the multiple select boxes. So TTW/ZMI type-property administration is not possible. -- Michael ___ 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] Re: Adapters in Zope 2
Casey Duncan wrote: Zope2 folders are designed for this. They are really just "blank objects" where you can specify your own methods in instance space. Traditionally in Zope2, there are two ways to do this: by adding "method" objects (External Methods, DTML methods, python scripts, ZPT) directly to the folder. Or by adding these objects "above" the folders and aquiring them which is a type of environmental inheritance. In the CMF this is codified in the skins tool which contains global methods which can be applied to basically any object in the site. Great explanation - would you give me a hint on the CMF part ? Which global methods do you speak of ? -- michael ___ 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] Re: Uploading Windows release 2.8b1
Christian Theune wrote: Hi, the upload didn't work again. If someone could put the file located at http://amy.gocept.com/~ctheune/Zope-2.8.0-b1-win32.exe to the right place? The proxy on Zope.org caught me again. Hi Christian, just tried it and got an error too: 'The request or reply is too large.' (Upload size is more than 15MB) Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow
Tim Peters wrote: Later: Zope-2.8.0-b2-win32.exe is built now, and after some more testing I'll upload it to http://www.zope.org/Products/Zope/2.8.0b2 Windows users please give this a try -- it's your last (and in some sense, also your first ) chance to try "the real" Zope 2.8 on Windows. Just tried that on my Win2K Laptop - after starting "runzope.bat" is was presented with a windows alert box and no startup messages written to the command window. It took me some time to realize that Zope was already running. Login is possible and ZMI is working ok. Here is some data for you (especially the Alert-box content): http://www.zope.org/Members/d2m/zope-2.8.0-b2_windows/startup.txt http://www.zope.org/Members/d2m/zope-2.8.0-b2_windows/event.log The 'signal handler' problem seems to persist. Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow
Andreas Jung wrote: --On 5. Juni 2005 19:14:52 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote: "Run Zope in console" fails for me with "application has failed to start because pywintypes23.dll was not found..." After copying PyWintypes32.dll to $INSTANCE_HOME/bin I now get this PySECURITY_ATTRIBUTES error :-/ crap Must be yesterdays version then (i had just that error message, after removing an ancient pywintypes23.dll from C:\WINNT\system32). There are 2 pywintypes23.dlls now: $ZOPE_HOME\bin\PyWinTypes23.dll $ZOPE_HOME\bin\Lib\site-packages\pywin32_system32\pywintypes23.dll Zope starts fine now (although there are no messages in the console window anymore). Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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] fresh install zope3.1.0 (binary installer) on windows
Could we create some docs on 'Newbie: How-to install the recent Zope3.1.0 on windows using the binary installer' provided at zope.org ? At the moment http://dev.zope.org/Zope3/Zope310 is the only available doc. It says 'Installation instructions for both Windows and Un*x/Linux are now available in the top level README.txt file of the distribution. The binary installer is recommended for Windows.' Which means, you need to download the tarball to get to install instructions. Would you like to comment on the questions below ? Questions when using the binary installer on windows: * already installed zope3 versions are recognized by the installer * the user is prompted to uninstall first * user knows where to uninstall * user knows the name of the program to uninstall * installer uninstalls on demand * installer installs and exits * user knows the place of the installation * zope program group is created with contents of the program group * start.bat - startup zope * nt-service - install as a windows service * uninstall * documentation * zope docs * online docs * create a new zope instance * install and start zeo * ...and your questions here I will add your comments to http://zopewiki.org/ZopeOnWindowsInstaller for a quick start. Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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 2.9 releases for Windows?
Wolfgang Strobl wrote: Sidnei da Silva <[EMAIL PROTECTED]> schrieb am Tue, 28 Feb 2006 10:13:15 -0300: Run 'inst/WinBuilders/buildout zope'. I'v just built 2.9.1 using the instructions in winbuilders and uploaded the result to zope.org. http://www.zope.org/Members/strobl/Zope-2.9.1-win32.exe/file_view The output from running the unittests was Ran 6740 tests with 2 failures and 0 errors in 2028.750 seconds. Tests with failures: testFmt (zope.documenttemplate.tests.testdt_var.TestDT_Var) C:\var\build\Zope\inst\build\lib\python\zope\formlib\form.txt Frankly, I don't know what that means. When running the aforementionend unittest alone, it just says C:\var\build\Zope\inst\build>bin\python C:\var\build\Zope\inst\build\lib\py zope\documenttemplate\tests\testdt_var.py ... -- Ran 3 tests in 0.000s OK I haven't done much functional testing, but it installs fine and seems to run my bread and butter application well. There are lots of ugly looking deprecation warnings, though. For example. C:\sites\Zope-2.9.1\lib\python\OFS\Uninstalled.py:74: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG('ZODB', WARNING, 'Could not import class %s ' and so on. Hi Wolfgang, did you recieve any private feedback on this (there is no followup in the newsgroup) ? In case your file is to be taken as the Zope-2.9.1 windows release i'd need it at the Zope-2.9.1 release folder and not at your member folder. How can we proceed ? Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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: 2.9.4? reStructuredText support?
Chris Withers wrote: Jim Fulton wrote: BTW, I suspect that a less violent patch could be created, if anyone wants to champion TTW reStructuedText support in Zope 2. Personally, I'm for dropping it. +1 on dropping it completely, but then I hate all types of structured text so I doubt I'm in the majority... zwiki for example just recently switched to rst as default page type. how about making usage of directives configuable ? Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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] Alternative to reload()
Sorry for the crosspost, i think it is of interest to both zope-dev and zope3-dev. Guido van Rossum on Edu-sig mailing list just posted some code to reload a module in place, updating classes, methods and functions. [Edu-sig] Reloading code (was Re: OLPC: first thoughts) http://mail.python.org/pipermail/edu-sig/2007-February/007787.html """Alternative to reload(). This works by executing the module in a scratch namespace, and then patching classes, methods and functions. This avoids the need to patch instances. New objects are copied into the target namespace. """ Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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-dev] Zope 3 wiki frontpage busted
Christian Theune wrote: > Hi, > > the restructured Text layout is busted. I just reverted some spam, but > that wasn't the issue. Could someone enlightened have a look, please? > (Worked ok when looking at the 'Preview' page) I managed to get it into good shape again (saving with a wrong format, then reverting back to a prior version) Regards Michael ___ 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 )