Re: [Zope] Editors [OT]
On 25 Jan 2001, 10:08 Chris Withers wrote: > Tres Seaver wrote: > > > > I'm liking it a lot -- the last reason to even consider using > > emacs is gone :) > > Hmmm... interesting, maybe it's time to find a new editor... Why not use Riaan Booysens Boa Constructor IDE or Mark Hammonds PythonWin IDE? Boa: http://sourceforge.net/projects/boa-constructor/ Use the cvs checkout, not the 0.0.4 download from September, which is almost unuseable. PythonWin: http://www.activestate.com/Products/ActivePython/ Both use the scintilla control (http://www.scintilla.org/), btw. For pure Python work, especially for Windows specific stuff, I prefer PythonWin. But for platform independent work and Zope works Boa Constructor looks very promising. It's pure Python and wxPython (i.a. wxWindows) based, it even comes with a first attempt of a Zope interface! I wonder that it doesn't get more publicity here. On the other hand, I noticed that Shane Hathaway is listed as one of the developers ... > > My wishlist would be: > > - Runs nicely on NT4 Well, I use Boa on Windows 2000, but I don't see any reason why it shouldn't run as nicely on NT4, too. > - Syntax highlighting for Python, C, XML, HTML (and, although this is > dreamworld stuff, DTML ;-) - Well, it does Python and DTML. :-) Scintilla comes with syntax colouring for many languages and seems pretty extendable. I haven't checked the above list, though. > FTP or WebDAV editing built in as > standard (or alternative solution, like cadaver making it work ;-) - > Regular Expression search & replace - search & replace of multiple > files I've used the builtin ftp client for editing my Zope sites a few times for editing zope. It's a bit rough at the edges, but usable. > > and my dream list would be: > > - can run multiple copies of the editor at once Well, it's possible to run multiple copies of Boa. It's only usefull when working on different projects concurrently, though. Usually I prefer opening many files in a single instance. > - class browser for python, with expand/collapse of code (like the > editor for Python 2) That's a scintilla feature, so it comes for free (so to speak) with both PythonWin and Boa Constructur (and SciTE, Scintillas own tiny editor, of course). -> http://www.scintilla.org/SciTE.html -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] z2.py
While analyzing a problem, I had a quick look into z2.py, and frankly, I don't understand the logic behind the so called "required path hackery for the win32 binary distribution". This hack unnecessarily makes the z2.py location dependant. The installer rewrites the z2.py source, inserting the absolute path of the zope home into a variable, from where it is used in getting some python folders in front of the python path. IMHO, this is nonsense. A few lines down in z2.py, the absolute path to the zope home is constructed from sys.arg and os.cwd anyway. Why not use that? I removed the superflous stuff from the hack and moved the remaining lines down a few lines, now it comes right after the definition of 'here' and reads: import sys sys.path.insert(0, '%s/bin/lib' % here) sys.path.insert(1, '%s/bin/lib/plat-win' % here) sys.path.insert(2, '%s/bin/lib/win32' % here) sys.path.insert(3, '%s/bin/lib/win32/lib' % here) Works like a charm, both from a service (on win2000) and standalone. ws ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trivial challenge ?
On 23 Jan 2001, at 14:17, Chris Withers wrote: > Olivier Deckmyn wrote: > > > > this is not what I need !!! > > > > Yes : displays the content of the document... But > > I don't need this. The example I gave is a simplified pb of my > > __real_world__ problem ... Just to show the interessting point ! > > > > My __real_world__ document has several properties, etc... > > and a I have a lot of renderers (this explains that...) > > Have you considered that you might have simplified out the problem > too much, so that the actual problem isn't present in your example? Funny. I think he gave a good description of the problem. I've fallen into this trap too, when I started using Zope. I too consider the behaviour somewhat odd, and don't like the current state of affairs, where fiddling around with various partially implemented syntactic constructs gives quicker results than searching the documentation, or having a simple mental model of how it "is assumed to work". Olivers mental model of how the evaluation of a dtml constructs obviously doesn't give him the right clues. IMHO, this isn't Olivers fault, but an indication that there is something wrong with dtml. Btw, I believe that is the easiest way to express what he wants. But what do I know. :-} -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope on Win2K stable ?
On 9 Jan 2001, at 9:13, Andreas Jung wrote: > - is Zope under Win2K stable enough to be used in a production > environment ? IMHO, yes. Neither Zope nor Win2K can protect you against a buggy driver on the kernel level which happens to crash the machine, though. > > - is it possible to start Zope under Win2K as a service > (controlable through the system management console) ? Yes. It's no different from NT 4 in this respect. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Non-ASCII-form-input -> HTML-entities?
On 3 Jan 2001, at 22:53, Dieter Maurer wrote: > I would instead include a "charset" declaration and > no longer worry about HTML entities for latin 1 characters. > > This is rendundant. ISO-8859-1 is the default encoding for http, anyway, and has ever been. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ImportError on Zope 2.3.0 alpha 1
The following method worked on 2.2.4, but fails on 2.3.0a1: Actually, "manage_addProperty" doesn't seem to work at all, throwing an error message like Error Type: ImportError Error Value: cannot import name checkValidId Traceback (innermost last): ... File /home/strobl/Zope-2.3.0a1-src/lib/python/OFS/PropertyManager.py, line 247, in _setProperty (Object: testdoc) ImportError: (see above) Indeed, line 247 (and 248) contain a mistake. Changing from ObjectManager import checkValidId checkValidId(self, id) to from ObjectManager import check_valid_id check_valid_id(self, id) fixes the problem. A quick search only finds a single definition/use of check_valid_id aka checkValidId. What do the Zope naming rules say about how such a method has to be named? On 11 Dec 2000, 16:59 Brian Lloyd wrote: > http://www.zope.org/Products/Zope/2.3.0a1/ -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Path problem?
On 21 Dec 2000, 9:22 Tim Cook wrote: > Otto Pichlhoefer wrote: > > > > Hope someone can help, although it might be related to WindowsNT :-) > > > > I asked this before but it really gives me some headache. > > > > I have a problem with the Export/Import feature. When trying to > > import a *.zexp file from the \Import\ directory Zope complains: > > > Error Type: Bad Request > > Error Value: File does not exist: G:\PROG_I~1\ZopeSite\import\ > > Rename Import to import. This doesn't make any difference. FAT and NTFS aren't case sensitive. The name of the file is missing! -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Path problem?
On 21 Dec 2000, 15:43 Otto Pichlhoefer wrote: > Hope someone can help, although it might be related to WindowsNT :-) Actually, it isn't related to Windows NT. > > I asked this before but it really gives me some headache. > > I have a problem with the Export/Import feature. When trying to import > a *.zexp file from the \Import\ directory Zope complains: > > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: Bad Request > Error Value: File does not exist: G:\PROG_I~1\ZopeSite\import\ The import handler hasn't got a filename. You didn't type anything into the edit field to the right of "Import file name", before pressing the "Import" button. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problem with 2.2.4b1
On 24 Nov 2000, at 9:48, [EMAIL PROTECTED] wrote: > I installed 2.2.4b1 over 2.2.3, and everything seems to work fine, but, when > I IE5.5 to manage my sites, I loose some icons and graphics (not all!). > But, if I clear my cache, The icons reappears, but only for a while! Am I > the only only experiencing this problem? No. I reported this on Tuesday, and Brian Lloyd answered that it is fixed for final, on the very same day. See Message-ID -- eMSK / Wolfgang Strobl / [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] You are currently working in version No
On 21 Nov 2000, 9:57 Andy McKay wrote: > Zope figures out what version you are in by saving a cookie. Close > your browser and or delete all cookies and go back to Zope, you should > then be out of any version. Sorry, I forgot to mention that I tried this before asking the list. That's why I called this error "strange". I wasn't aware of any way to start a new "session" in a version, without entering it first. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: You are currently working in version No
On 21 Nov 2000, 18:41 [EMAIL PROTECTED] wrote: > I'm just figthing with a somewhat strange and annoying error on one of > my production sites. > > After saving and leaving a version named "neu", I'm now confronted > with a system which says "You are currently working in version No " > right after I enter a management screen, and before I really enter > anything. > > Well, there is no Object called "No" at all on this site. To follow-up on my own posting: I somehow managed to fuddle me out of this mess. After noticing that "version management" told me something about working in "neu", I concluded that it might just become confused about the name, and tried to rename version "neu" to "No". No luck. neu may not be renamed. [OK] [Cancel] Oh well. What about adding a third button labeld "Retry"? :-} Hm, "Ok" seems appropriate here. Nice traceback (see below), but magically, now I'm not working in a version anymore. So I tried to start working in "neu". Works. But now I notice that it is claiming to work in a version "neu" in a _different_ parent folder. Do empty versions remember the name of their parent folders? Why? Anyway, I deleted and recreated the empty version, just to be sure. Traceback (innermost last): File F:\zope\ntklotz1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File F:\zope\ntklotz1\lib\python\ZPublisher\Publish.py, line 187, in publish File F:\zope\ntklotz1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File F:\zope\ntklotz1\lib\python\ZPublisher\Publish.py, line 171, in publish File F:\zope\ntklotz1\lib\python\ZPublisher\mapply.py, line 155, in mapply (Object: manage_renameObjects) File F:\zope\ntklotz1\lib\python\ZPublisher\Publish.py, line 117, in missing_name File F:\zope\ntklotz1\lib\python\ZPublisher\HTTPResponse.py, line 551, in badRequestError BadRequest: (see above) -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] You are currently working in version No
I'm just figthing with a somewhat strange and annoying error on one of my production sites. After saving and leaving a version named "neu", I'm now confronted with a system which says "You are currently working in version No " right after I enter a management screen, and before I really enter anything. Well, there is no Object called "No" at all on this site. Trying to start working in version "neu" yields | Another version is active! | You cannot start working in this version while another version, No | is active. Leave No first and then you may work in this version. Clicking "Quit Working in No" doesn't have any effect at all. I'm stuck. Any ideas what to do? How am I assumed to quit working in a version that doesn't exist? Naturally, I don't want to rebuild my whole site from scratch, so I'd like to know what to do about. What makes Zope beleive that it is working in a non existing version? Arrgg. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...
On 20 Nov 2000, 15:07 Brian Lloyd wrote: > Zope 2.2.4 beta 1 has been released - you can download it > from Zope.org: > > http://www.zope.org/Products/Zope/2.2.4b1/ I'm not quite sure wether it's me, my system or this beta, but a fresh installation of 2.2.4 beta 1 says: Zope Error Zope has encountered an error while publishing this resource. exceptions.AttributeError ... line 140, in index_html (Object: zope_button.jpg) AttributeError: _p_mtime when trying to access http://klotz:8080/p_/ZopeButton Actually, none of the images in p_ is accessible - Zope version: Zope 2.2.4b1 (binary release, python 1.5.2, win32- - Complete traceback: Sorry, a Zope error occurred. Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~3\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~3\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~3\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~3\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File E:\var\disk2\sites\WEBSIT~3\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File E:\var\disk2\sites\WEBSIT~3\lib\python\App\ImageFile.py, line 140, in index_html (Object: zope_button.jpg) AttributeError: _p_mtime -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Risks. Was ZopeLDAP 1.0b4 breaks the root directory security tab
On 16 Nov 2000, 9:02 Kyler B. Laird wrote: > Remember the satellite that blew up because of a > missed comma? (O.k., something like that. Is it > an urban legend?) "MARINER 1, the first U.S. attempt to send a spacecraft to Venus, failed minutes after launch in 1962. The guidance instructions from the ground stopped reaching the rocket due to a problem with its antenna, so the onboard computer took control. However, there turned out to be a bug in the guidance software, and the rocket promptly went off course, so the Range Safety Officer destroyed it. Although the bug is sometimes claimed to have been an incorrect FORTRAN DO statement, it was actually a transcription error in which the bar (indicating smoothing) was omitted from the expression "R-dot-bar sub n" (nth smoothed value of derivative of radius). This error led the software to treat normal minor variations of velocity as if they were serious, leading to incorrect compensation." (From http://www.asi.org/adb/m/02/probe-history-space-faq.html) It was a kind of standard example in software engineering courses at these times. (Remember RPG? Ahh ...:-) Vol 1 No 1 of the Risk Digest (anno '85) (http://catless.ncl.ac.uk/Risks/1.01.html) claimed "Mariner 1: Atlas booster launch failure DO 100 I=1.10 (not 1,10) " Vol 4 Issue 1 (http://catless.ncl.ac.uk/Risks/4.1.html) claimed "Mariner 1: Atlas booster launch failure DO 3 I=1.3 (not 1,3)? " and the version from 9 November 2000 (http://www.csl.sri.com/neumann/illustrative.html) now states "Mariner 1 Venus probe: HW fault plus programmer missed superscript bar in `R dot bar sub n'. See Paul Ceruzzi, Beyond the Limits - Flight Enters the Computer Age, Smithsonian, 1989, Appendix (S 14 5). (Earlier reports had suggested DO I=1.10 bug (see next item) or a garbled minus sign (or hyphen.)" Funny, eh? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problems reading tar file
On 12 Nov 2000, at 12:47, Robert Rottermann wrote: > I have problems reading tar files when I download them from the zope web site. > I am working on a NT2000 box. > Winzip does recognize the tarfiles as compressed archives but balks when trying to >open them. Rename xyz.tar to xyz.tgz locally. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog scalability?
On 8 Nov 2000, 15:54 Júlio Dinis Silva wrote: > Does anyone has a Catalog with more than 1500 items catalogued? > If yes does anyone can do searches to this Catalog in a > resonable time without freezing ZServer until it ends? I did some experiments over the weekend, for example cataloging about ten thousand news messages into a catalog in one step. Searching isn't the problem (this is quite fast) - cataloging is. This takes a lot of time and a lot of memory. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] catalog DTML Document
On 7 Nov 2000, 10:37 Chris Withers wrote: > Wolfgang Strobl wrote: > > There is a How-To "Adding ZClass Instances Programmatically", > > and a lot of gobbledigoop about when, how and why. But I haven't > > found anything about how to "index" or "reindex" a plain and simple > > DTML Document. > > In Python: > > your_catalog.catalog_object(your_dtml_document,your_dtml_document.abso > lute_url()) Thanks, that's just what I was looking for. > > This sort of thing shouldn't be done in DTML! :P Of course not! I prefer Python to DTML (and dislike ZClasses for that reason) for more than the most simple programming tasks, anyway. But it comes handy for trying something out. Btw, shouldn't that be In DTML: ? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] catalog DTML Document
On 6 Nov 2000, at 21:46, Dieter Maurer wrote: > Wolfgang Strobl writes: > > "Finding"a bunch of DTML Documents into a Zcatalog is easy. > > But how to do that programmatically? I haven't even found a way > > of doing that for a single DMTL Document. > You call the catalog with your search terms as keyword paramters: > > > > > > Have a look at the two ZCatalog tutorials on zope.org. Who said anything about searching? :-) A ZCatalogs management interface contains a function "Find Items to ZCatalog". This function performs a recursive search and adds all objects matching the specified criteria to the Catalog. This works quite well with DMTL Documents, as long as one does it via the management interface. I asked about how to perform this function (to spell it out again: _adding_ a _DTML Document_) programmatically, i.e. via DTML, of from Python code. There is a How-To "Adding ZClass Instances Programmatically", and a lot of gobbledigoop about when, how and why. But I haven't found anything about how to "index" or "reindex" a plain and simple DTML Document. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] catalog DTML Document
"Finding"a bunch of DTML Documents into a Zcatalog is easy. But how to do that programmatically? I haven't even found a way of doing that for a single DMTL Document. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
On 31 Oct 2000, at 12:54, Michel Pelletier wrote: > That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta
On 31 Oct 2000, at 10:39, Amos Latteier wrote: > I believe that O'Reilly doesn't want the book redistributed before it is > printed. It's gone. > I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? >Take a look at the copyright stuff info > on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Book Beta
On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT:NT and rebooting
[...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope 2.2.2 breaks YihawDirectory ?
When installing the actual Version of YihawDirectory (http://www.zope.org/Members/Roug/Yihaw) by importing it into a 2.2.2 Zope, I got the following traceback. This happens both with and without the current hotfixes. Importing it into 2.2.1 equipped with the current hotfixes works without flaws. Any ideas what's going on here? I don't want to go back to 2.2.1 :-/ Zope has encountered an error while publishing this resource. Error Type: Could not load oid 5, pickled data in traceback info may contain clues Error Value: None Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 526, in manage_importObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 278, in _setObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 447, in setstate File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info: 5) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\0225', '(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq \002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012 U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U \007#ccq\021U\016contextMessageq\022U\011Event Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000 \000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0 30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03 2U\0013U\014titleFgColorq\033U\007#00q\034U\011meta_type q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5 0D1IjExz+kMxPcyw==q U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\ 003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\ 000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00 3MWpq,ttq- QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01 5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add EventDocumentsq3)(U\007Managerq4tq5t(U\017Add EvDocAddersq6)h5t(U\016Add EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00 0\000\000\022Oq:(h\015U\003MWpq;ttq(h\015U\003MWpq?ttq@QU\ 014titleBgColorqAU\007#ccqBU\004iconqCU9Control_Panel/Prod ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0 [EMAIL PROTECTED]\010nicknameqGU\011Event LogqHU\023docGridDisplayColorqIU\007#ccqJU\017mgmt_bat ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\ 000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\ 0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0 00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU \00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003 MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000 \022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\ 000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0 03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000 \022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0 13bordercolorqwU\007#33qxU\012_p_changedqyK\001U\007__ doc__qzU\037Folder to contain event objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00 0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000 \000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00 0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l astDayOfMonthq\211(U\01
Re: [Zope] bobobase_modification_time and .zexp
On 17 Oct 2000, 20:18 Marcin Kasperski wrote: > Wolfgang Strobl wrote: > > > > import/export obviously doesn't preserve time stamps (i.e. > > bobobase_modification_time). This is unfortunate for any content > > which depends on those timestamps. How do you people out there solve > > this problem when it comes to moving content from different Zope > > installations into a single one? > > > > I just developed custom document ZClass which basically: > - inherits from CatalogAware and DTML Document > - contains custom property sheet which contains creationTime attribute > (and some others, like meta_keywords or meta_summary) - constains > constructor method which sets creationTime to current time. > > Wherever I need information when the page has been created, I use my > creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? > > I do not know how to implement 'modificationTime' attribute (or > better: how to change it whenever someone edits or uploads the > document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] bobobase_modification_time and .zexp
import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Stored Procedures
Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: > This is a multi-part message in MIME format. > > --=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/plain; > > --=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Microsoft Zope
On 16 Oct 2000, 12:27 Damien Morton wrote: > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > ignKMS ols.htm > > Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Reading/Parsing HTML Files from another server
On 28 Sep 2000, 16:01 Dicken, Peer wrote: > I want to include a HTML file from another server (e.g. > www.foo.com/include.html ) into the output of one of my DTML methods > (index_html). See http://www.zope.org/Members/lstaffor/ZClientMethod "Using ZClient to Access Another Server" -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] DTML entity syntax: was Nested properties (addition)
On 27 Sep 2000, 12:46 Lars Heber wrote: > I forgot something: > > > By the way: Is it possible to insert special characters in > > properties, > > like ä? > > I meant, that properties with special characters in it are not > displayed correctly, when called with the shortened syntax > &dtml-VARNAME;. Are special characters not allowed in the short > syntax? ä -> ä See How-To: Using the DTML entity syntax The entity notation is an alternate syntax for the tag. It is available since Zope 2.0. Here is a text snippet from the ZopeDir\doc\CHANGES.txt file for the 2.0.1 distribution (in a slightly adapted form) that explains it all: Zope 2.0 introduces a new HTML DTML syntax that, among other things, allows simple 'var' tags to be entered using the entity-reference syntax, as in: The entity reference syntax is mainly intended for use when a var tag is used to insert text into an HTML tag. In these cases, the text needs to be html-quoted. For this reason, use of the entity reference syntax now implies html quoting. For example, the DTML snippet above is equivalent to: -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Stack overflow on DEC OSF1 alpha
While browsing through the collector, I noticed 1515: ZServer Bug: Stack overflow on DEC UNIX 4.0 E | Compiled Python 1.5.2 from source using cc compiler(Configure-d with | option --with-dec-threads). | Compiled and installed from the source zope-2.2.0. | Started zope. | When trying to access the Quick_start or the Management screen | (with superuser and its password) zope stops and a message like | tihs is displayed: | Stack overflow: pid 19902, proc python, addr 0x140929f58, pc 0x12003a790 | About two months ago I got the very same stack overflow, when trying to install Zope 2.1.6 on one of our DEC servers. I finally solved the problem by making the following change to the Makefile, after running ./configure: 146c146 < OPT= -O -Olimit 1500 --- > OPT= -D_REENTRANT -threads Disabling optimization alltogether, i.e. removing "-O" finally made the difference and got rid of the aformentioned stack overflow. Fiddling with stack sizes didn't help in any way, as far as I remember. This is in slight contradiction to the recommendation given by Brian Lloyd in http://classic.zope.org:8080/Collector/1515/view and might hint at the slight possibility that the stack overflow is just a symtom of an optimizaitiion bug in gcc, instead of a too-small stack. Perhaps somebody more knowlegeable about OSF1, alpha and gcc might investigate this further. Personaly, I'm happy with my solution: that specific zope instance has an uptime of 64 days now, and I don't care much about optimization for that not so heavily used internal server anyway. Context: OSF1 V4.0 1229 alpha gcc 2.95.2 -- Wolfgang Strobl, [EMAIL PROTECTED] or [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Ann: ZGDChart 0.4.2.b
On 16 Sep 2000, 16:17 Chui Tey wrote: > ZGDChart with more chart styles, data from non-SQL sources, plus Linux > binaries. After installing ZGDChart, I noticed a handfull of new permissions with strange one-letter names, including a blank one, but no "Add ZGDCharts" permission. Changing permissions = 'Add ZGDCharts', to permission = 'Add ZGDCharts', in __init__.py and restarting Zope fixes the problem. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope 2.2.1 as NT service
On 27 Aug 2000, 12:50 Alexander Chelnokov wrote: > The option seems to be unavailable under W2000. 2.1.6 could be run > that way without any trouble. Could you please elaborate? I just installed 2.2.1 final on my developement machine, under win2000 prof us. The installer asked the usual questions, I answered "run as service", added "-P 0" in the registry, and finally started it by commanding "net start in a command window. Worked like a charm. Later I changed the userid for this service from "System" to "Zope". After restarting the service, it ran without trouble, too. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope CVS on Windoze
On 24 Aug 2000, 7:31 Chris Withers wrote: (I asked) > > Is there perhaps a better way for installing a cvs checkout on > > windows? It's obvious that none of the c modules get compiled, but > > these seem to change rather rarely ... > > I'd love to know the answer to this too :-) > > (mindyou, I might just switch to Unix anyway ;-) Which Unix? There are so many to choose from. ;-) I am plagued by at least two different variants I've installed Zope on, and a few more where I just use it, which differ in a sometimes subtle, sometimes not so subtle way. Getting Zope working on a DEC Alpha OSF1, for example, is about as funny as installing a RPM made for Redhat on a Suse distribution. Speaking about Linux - I just noticed that the upcoming Suse distribution (V7) will contain Zope in the "professional edition", see http://www.suse.de/de/produkte/susesoft/linux/Pakete_prof/pak_diff. html and http://www.suse.de/de/produkte/susesoft/linux/Pakete_prof/paket_z ope.html It's a bit old, though: 2.1.6 -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] compiling on windows
On 23 Aug 2000, 15:23 Toby Dickenson wrote: > On Wed, 23 Aug 2000 15:47:36 +0200, "Wolfgang Strobl" <[EMAIL PROTECTED]> > wrote: > > >Well, actually I have. But there aren't any workspace and project > >files (*.dsw and *.dsp). > > Hmmm, no. If you can wait, Ill send you the ones I use early next > week. Sure, thanks! > > >most probably a somewhat modifie Python src dist > > Zope builds happily on a stock python 1.5.2 and the cvs versions of > 2.0 too. Huh? I was under the impression that building python C extensions needs some stuff from the source dist. But I might be wrong here. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] compiling on windows
On 23 Aug 2000, 14:21 Toby Dickenson wrote: > On Wed, 23 Aug 2000 10:49:15 +0200, "Wolfgang Strobl" <[EMAIL PROTECTED]> > wrote: > > >Speaking about cvs: How do you people out there who run Zope on > >Windows too, do install cvs versions of zope? I do it simply by > >using the latest installer (i.e. Zope-2.2.1b1-win32-x86.exe, > >currently) for creating a local installation, and copy an actual cvs > >checkout into the destination directory, afterwards, using the > >robocopy.exe utility from the nt4 resource kit (it works great on > >win2000, too). > > > >Is there perhaps a better way for installing a cvs checkout on > >windows? It's obvious that none of the c modules get compiled, but > >these seem to change rather rarely ... > > I cant think of a better way if you don't have the compiler to hand. Well, actually I have. But there aren't any workspace and project files (*.dsw and *.dsp). I guess the build environment for Windows (most probably a somewhat modifie Python src dist) isn't part of the cvs tree. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Yihaw on 2.2.1b1, boolean properties
On 22 Aug 2000, 22:15 R. David Murray wrote: > On Tue, 22 Aug 2000, Wolfgang Strobl wrote: > > 9. Uncheck "Highlight" and push Save Changes. > > > > Result: The boolean Highlight property checkbox is still checked. > > There is no way of making it unchecked, again. > This *sounds* like the boolean property bug that appeared in 2.2 (I > think) and was supposedly fixed in 2.2.1. (The story continues) I just installed an actual version of Yihaw into a cvs version of zope, and it seems that this solved the problem. Thanks! Speaking about cvs: How do you people out there who run Zope on Windows too, do install cvs versions of zope? I do it simply by using the latest installer (i.e. Zope-2.2.1b1-win32-x86.exe, currently) for creating a local installation, and copy an actual cvs checkout into the destination directory, afterwards, using the robocopy.exe utility from the nt4 resource kit (it works great on win2000, too). Is there perhaps a better way for installing a cvs checkout on windows? It's obvious that none of the c modules get compiled, but these seem to change rather rarely ... -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Yihaw on 2.2.1b1, boolean properties
On 22 Aug 00, at 22:15, R. David Murray wrote: > On Tue, 22 Aug 2000, Wolfgang Strobl wrote: > > 9. Uncheck "Highlight" and push Save Changes. > > > > Result: The boolean Highlight property checkbox is still checked. > > There is no way of making it unchecked, again. > > This *sounds* like the boolean property bug that appeared in 2.2 (I > think) and was supposedly fixed in 2.2.1. Well, I think I had the very same behaviour on 2.1.6. Anyway, I tried it on an old 2.1.2 server which still awaits upgrading, and, indeed, here those boolean properties work.. > > By any chance does Yihaw use manage_changeProperties instead of > manage_editProperties in its propertysheet edit method? I already checked this, and no, it doesn't. But I prefer pure Python and so don't claim knowing much about Zclasses. In /Control_Panel / Products / YihawDirectory / YihawChannel / propertysheets / methods / YihawBase / propertysheets / methods / manage_baseproperties it says That would > lead to the observed behavior since unchecked boolean check > boxes do not appear in REQUEST and thus are not affected by > a manage_changeProperties call. Sure. In seems to have a different cause in this case, though. Any other ideas what to look out for? I think I'll just wait for 2.2.1 final to arrive ... Thanks! -- Wolfgang Strobl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Yihaw on 2.2.1b1, boolean properties
On 22 Aug 2000, 11:15 Soren Roug wrote: > I don't know why your boolean properties are "sticky". What version of > Zope have you installed Yihaw on? Various, starting with 2.1.6. On what version of Zope doesn't doesn't it display this behaviour, IYO? Anyway. 1. Install Zope 2.2.0 on Windows 2000, create user id with manager role. 2. Copy yhawdirectory.zexp into import folder 3. log in, go to product folder 4 import yihawdirectory.zexp 5. create "Catalog" in root folder 6. Add "Yihaw folder" to root folder 7. Add "Yihaw News Item" to that folder, fill in some test data, into Title and Description, display it. 8. Now check "Highlight" , push Save Changes and display it again. The Highlight checkbox is checked now. So far so good. 9. Uncheck "Highlight" and push Save Changes. Result: The boolean Highlight property checkbox is still checked. There is no way of making it unchecked, again. [...] > > I'm still looking for a way to get rid of the "checked" state of > > some boolean properties, i.e. "toplevel" or "highlight" and such. > > Once it is set, it sticks. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Yihaw on 2.2.1b1, boolean properties
I just tried installing a freshly downloaded copy of YihawDirectory.zexp into a relatively new 2.2.1b1, but in vain. Error Type: Permission mapping error Error Value: Attempted to map a permission to a permission, Add Yihaw Objects, that is not valid. This should never happen. (Waaa). I'm still looking for a way to get rid of the "checked" state of some boolean properties, i.e. "toplevel" or "highlight" and such. Once it is set, it sticks. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Cannot "uncheck" boolean properties in 2.2b3
On 3 Jul 2000, 1:55 Ron Bickers wrote: > In 2.2b3, after setting a boolean property to "checked", it will not > save when trying to "uncheck" it. I reported this to the Collector > already (751). > > As a workaround, you can just delete it and readd it since it defaults > to unchecked. I tried that, by modifying yihaw, but in vain. "Cannot delete property". -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope is memory intensive?
On 18 Jul 2000, 2:15 Firestar wrote: > Hi, i have installed Zope on a RH6 box, and looking at the processes, > Zope(running as 'python') consumes abt 20% of the memory usage! A > single apache daemon only takes abt 9-10%. Is Zope supposed to be so > memory intensive? Well, I'm running both IIS and Zope side to side, on one of our intranet servers a four year old NT4 box. Both are moslty idle. Zope currently consumes 7.5 M, IIS needs 6.5 M. IMHO, these numbers represent the lower bound, more or less. I wouldn't call that "memory intensive". A eight line http-server written in python consumes much less memory, though. :-) -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to deactivate HTML tags ... (??)
On 18 Jul 2000, 9:39 Wolfgang Klinger wrote: > I've a problem. I'm working on an address collection and I don't want > html tags to work. e.g someone enters html tags in the name field. How > can I deactivate or remove them? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Cannot "uncheck" boolean properties in 2.2b3 fixed in 2.2?
On 3 Jul 2000, 1:55 Ron Bickers wrote: > In 2.2b3, after setting a boolean property to "checked", it will not > save when trying to "uncheck" it. I reported this to the Collector > already (751). > > As a workaround, you can just delete it and readd it since it defaults > to unchecked. The collector reports this as "fixed" in 2.2. I notice that for example "yihawdirectory", a zclass based product from www.zope.org, still displays this behaviour in 2.2. final, when changing any boolean property (like "highlight" or "topstory") using manage_baseproperties. Changing non-boolean properties in the very same same form works, so it looks like a problem with bools, not within yihaw. Perhaps the problem is specific to zclasses? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope on NT - port problem
On 14 Jun 2000, 8:06 - - wrote: > How do I customise the port number that Zope installs to? I'm > running NT and there is already a service running on the default > port 8080. Modify the start value in HKLM/SYSTEM/CurrentControlSet/Services//Parameters, by adding a -P or -w at the end of the string. See other answers for the meaning of -P and -w. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] getSize()? was [Zope] Zope 2.2 beta 1 released
On 12 Jun 2000, 17:36 Brian Lloyd wrote: > Zope 2.2.0 beta 1 has been released - you can download it from ... After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple This works in 2.1.6, but throws the aforementioned exception in 2.2b1, too. Is this a bug or a feature? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Win98 and WEBDAV - you ought to see it if you can
On 22 May 2000, 6:41 Paul Browning wrote: > Question: If WEBDAV works so well under Win98 does it > also work just as well under Win2K? Perhaps someone > who will admit to using Win2K can confirm this? It might > even motivate me to upgrade from NT . I'm using Win2000 at work. Opening a webdav folder works, so does renaming or moving objects around. Copying from a local folder to a remote zope works too. But the reverse direction results in a "Error Copying File or Folder: An error occured while copying the file. The requested header was not found" sometimes. Copying a different file got me "The current operation cannot be completed because an unexpected error has occured". In short, it's too buggy for doing real work. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )