[Zope] Ergonomically correct Laptop usage!
Title: Untitled Document Dear Friends, I invite you to view and experience ergonomically correct laptop/notebook computer usage. The "The Revolutionary LapGenie" is a fully adjustable, portable tabletop with emphasis on ergonomics for laptop computing, reading & writing! You have received this invitation to view the "LapGenie" because you have expressed an interest in laptop/notebook computers or you are a laptop/notebook computer user. If you wish to be removed from future mailings or if you have received this message in error, please reply with the subject "Remove" and this software will automatically block you from future mailings THANK YOU & HAPPY HOLIDAYS. ___ 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] just curious
What? - Original Message - From: "michael angelo ruberto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 7:33 PM Subject: [Zope] just curious > hi, > > how do i remove all of the 7000 + company documents from Zope? > > -- > > ___ > 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 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] version 2.2.4 just blew up!
The Dr. Watson log won't help us at this stage. Can you turn on debug logging by inserting the following to the beginning of your Zope's start.bat file: set STUPID_FILE_LOG=var\debug.log Then report back what comes up in the var\debug.log file when you click on the link that crashes Zope, if anything. Python is dying? That's a little rude even given your frustration, dontcha think? - Original Message - From: "michael angelo ruberto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 5:16 PM Subject: [Zope] version 2.2.4 just blew up! > hi, > > i just performed the upgrade from 2.2.2 to 2.2.4 and it blew up after > running for a few minutes. it happened as i clicked the link to Debug > Information from the control panel. Zope does start up again and the same > thing occurs each time i click this link. i can send you the Dr. Watson > error log if you think it will help you but i prefer not to send it to a > public list. please send me a personal email address for this. i can also > send a screen shot of the error message. > > Python is dying. > > -- > > > ___ > 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 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] the day of zope headaches
Yup, this is very likely. The catalog does subcommits by default, which take up lots of temp space if you're cataloging lots of stuff in a batch. - Original Message - From: "Kevin Teague" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 11:00 PM Subject: Re: [Zope] the day of zope headaches > > > Zope has encountered an error while publishing this resource. > > > > IOError > > > > Sorry, a Zope error occurred. > > > > such a very helpful message. this happened while reindexing the ZCatalog > > View the HTML source for the error page - the Python traceback contained > in there will be more helpful. However, the last time I had an IOError > while re-indexing a ZCatalog was when Python was ran out of space in the > /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit > Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py > on Debian systems) from: > > attempdirs = ['/usr/tmp', '/tmp', pwd] > > To: > > attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd] > > -- > Kevin Teague, Zopista > http://www.stormix.com > > ___ > 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 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] 2.2.4 bombs
hi, i have a couple old zope installations that i'm trying to replace. i downloaded 2.2.4 and untarred/zipped it as /web/Zope-2.2.4-src/ i ran python w_pcgi.py and it seemed to go cleanly. i want to use it with apache, which is already installed and happy. that's how my other installations are set up. when i run the start script, however, it dies thus: jon@w2:/web/zope# ls .cvsignore Zope.cgilib utilities wo_pcgi.pyc Extensions access loggy var z2.py LICENSE.txt doc pcgiw_pcgi.py z2.pyc README.txt import start w_pcgi.pyc zpasswd.py ZServer inststopwo_pcgi.py zpasswd.pyc jon@w2:/web/zope# ./start Traceback (innermost last): File "/web/Zope-2.2.4-src/z2.py", line 554, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/web/Zope-2.2.4-src/lib/python/Zope/__init__.py", line 94, in ? import ZODB, ZODB.ZApplication, imp File "/web/Zope-2.2.4-src/lib/python/ZODB/__init__.py", line 85, in ? import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: /web/Zope-2.2.4-src/lib/python/ExtensionClass.so: Undefined symbol "PyMethod_Type" jon@w2:/web/zope# /usr/bin/python /web/zope/z2.py -p /web/zope/Zope.cgi -t 1 jon@w2:/web/zope# Traceback (innermost last): File "/web/zope/z2.py", line 554, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/web/Zope-2.2.4-src/lib/python/Zope/__init__.py", line 94, in ? import ZODB, ZODB.ZApplication, imp File "/web/Zope-2.2.4-src/lib/python/ZODB/__init__.py", line 85, in ? import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: /web/zope/lib/python/ExtensionClass.so: Undefined symbol "PyMethod_Type" jon@w2:/web/zope# jon@w2:/web/zope# uname -a FreeBSD w2.chaffee.com 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Mon Nov 13 20:27:14 GMT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/CHAFFEE i386 jon@w2:/web/zope# pwd /web/Zope-2.2.4-src jon@w2:/web/zope# the second try is using my modified start script from the previous installation. it seems to not make a difference. any ideas to make it work? thanks, -jon -- Jon Nathan [EMAIL PROTECTED] http://www.rupture.net/~jon/ ___ 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] the day of zope headaches
> Zope has encountered an error while publishing this resource. > > IOError > > Sorry, a Zope error occurred. > > such a very helpful message. this happened while reindexing the ZCatalog View the HTML source for the error page - the Python traceback contained in there will be more helpful. However, the last time I had an IOError while re-indexing a ZCatalog was when Python was ran out of space in the /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py on Debian systems) from: attempdirs = ['/usr/tmp', '/tmp', pwd] To: attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd] -- Kevin Teague, Zopista http://www.stormix.com ___ 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] How to edit ZClass methods in HTML-Kit?
Good question! YGIAGAA -me too ___ 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-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
On Tue, 5 Dec 2000, Bill Anderson wrote: > So, what would you suggest for the following scenario? > > o Site distirbuted via ZEO > o Using SiteAccess2 for virtual hosting sites under > /vhosts/thissite /vhosts/thatsite > o each site is actually it's own full Data.fs > > Under non-zeo, it's simple, use a mounted filestorage, and it works > quite well. Unfortunately, it doesn't work under zeo, for obvious > reasons. If I had time, I'd do a mountedZEOstorage, but time is too much > a precious commodity for the next few weeks/months. :/ What do you mean it doesn't work under ZEO? Set it up just like zope.org. Either create two storage servers or one that provides access to both FileStorages. Then write an external method for each storage, each of which creates a ClientStorage and wraps a DB around it. Then mount those external methods. Thus you don't even need to write MountedZEOStorage. Shane ___ 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] How to edit ZClass methods in HTML-Kit?
Has anybody tried to edit ZClass methods in HTML-Kit? Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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] version 2.2.4 just blew up
i was thinking of doing just that. thanks Jimbo! -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jimbo Sent: Tuesday, December 05, 2000 7:57 PM To: [EMAIL PROTECTED] Subject: [Zope] version 2.2.4 just blew up Same thing happened to me on upgrading from 2.2.2. I just reinstalled the full version over the hosed upgrade and it worked again. -Jimbo ___ 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 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] Comment elimination...
Greetings, Whilst developing, i often out some part of a document so I can test an replacement/option/something. Sometimes, due to interruptions or just my poor memory, I don't remove the old code... I was just wondering if there were some convenient way I could search all of my DTML[Documents|Methods] and ZSQL Methods, for comments, so I could review them? Perhaps it's time I learned how to use ZCatalog? Have a better one, Curtis Maloney. ___ 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] version 2.2.4 just blew up
Same thing happened to me on upgrading from 2.2.2. I just reinstalled the full version over the hosed upgrade and it worked again. -Jimbo ___ 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] just curious
hi, how do i remove all of the 7000 + company documents from Zope? -- ___ 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] Newbie question, help with navigation method
I've a Zope newbie, trying to set up a Zope site at zope.org, and I'm running into problems with what seems like it should be a fairly simple navigation method. I've replaced the standard_html_header and footer methods with my own, which create a simple two column table; I'm trying to get the navigation information into the left column. I've established a nav_title property on the two pages that I want to show up in the navigation list, with the values "Home" and "Biography", and I've written a nav_vertical method to display the list: I've embedded a call to that method in the standard_html_header method: http://www.zope.org/Members/rblumberg/images/rbRight" width="50" height="60"> (The table cells are closed in the standard_html_footer.) Now, the nav_vertical method works exactly as planned when I call it directly: http://www.zope.org/Members/rblumberg/nav_vertical The header method also displays correctly (even without the closing tags, at least in MSIE 5) when it is called directly: http://www.zope.org/Members/rblumberg/standard_html_header But the pages which call the new header don't display the navigation list: http://www.zope.org/Members/rblumberg/index_html Is this a bug in Zope, or am I doing something wrong? Richard ___ 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] the day of zope headaches
ok, i'm not that superstitious but today must be Zopes equivalent of friday the 13th. i've nothing but headaches with it all day today. maybe the warranty expired ;) here we go the new problem is this: Zope has encountered an error while publishing this resource. IOError Sorry, a Zope error occurred. such a very helpful message. this happened while reindexing the ZCatalog used for the main site search. i do this every week without problems. it takes a bit longer each week but never got this error before. have i maxed it out or something? has anyone else come across this? as always, help greatly appreciated! thanks -- ps: the catalog is now empty. ___ 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] FTP in HTML-Kit? Sussed it!
Thanks for the tips. Here's how I mapped a local folder in order to use the preview feature. I'm not talking about right click preview. Look under edit/preference/preview Server mappings Server Address c:\work http://www.myhost.com:8080 "c:\work" holds my dtml files like index_html and such. This little proggie for windows rocks! -jimbo ___ 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-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
Shane Hathaway wrote: > > On Mon, 4 Dec 2000, Bill Anderson wrote: > > > Shane Hathaway wrote: > > > Just packaged up. > > > > > > http://www.zope.org/Members/hathawsh/ExternalMount > > > > And there was almost much rejoicing. > > It doesn't seme to want to mount the root of a Data.fs, at least > > according to the add form. Is this by design? Were there problems with > > mounting the root of a Data.fs, or is it just a limitation of the add > > form? > > It is by design. If you were to mount the root of a Data.fs, you'd be > mounting an Application object with no ID. This would play havoc with the > pseudo-filesystem. > > The correct solution is to make it so folder objects do not contain their > own ID (but rather determined by the parent folder) and make Application > objects go away, replacing them with simple Folder objects. > > Shane So, what would you suggest for the following scenario? o Site distirbuted via ZEO o Using SiteAccess2 for virtual hosting sites under /vhosts/thissite /vhosts/thatsite o each site is actually it's own full Data.fs Under non-zeo, it's simple, use a mounted filestorage, and it works quite well. Unfortunately, it doesn't work under zeo, for obvious reasons. If I had time, I'd do a mountedZEOstorage, but time is too much a precious commodity for the next few weeks/months. :/ Bill ___ 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] Sort broken on zope.org site...
Darin Lee wrote: >Zopistas, > >Following up on my question yesterday, regarding sorting on the >results columns of keyword/text based searches, I have noticed that >if I do a text search on the zope.org site and then try to sort on a >column - the same error comes up: > >Error type: TypeError >Error value: loop over non-sequence > >I looked through the collector - but couldn't find anything related >to this issue. Does anyone have any insight on how to fix this? > >Thanks, >-Darin Lee Actually, I believe it's a known bug. I hit this problem on zope.org last week and searched the collector before going to report a bug. I found an entry that said something like "Catalog sort_on fails with Keyword index". Don't have the link, but I'm pretty sure it's in there somewhere. Itai -- Itai Tavor"Je sautille, donc je suis." C3Works[EMAIL PROTECTED] - Kermit the Frog "If you haven't got your health, you haven't got anything" ___ 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] ZMySQLDA traceback
On Wednesday 06 December 2000 08:47, Rodrigo Leme de Mello wrote: > Hi All, > > I am trying to install ZMySQLDA and as a result of my installation, i am > getting the following traceback > > ZMySQLDA Import Traceback > Traceback (innermost last): > File "/home/zope/224/lib/python/OFS/Application.py", line 397, in > import_products > product=__import__(pname, global_dict, global_dict, silly) > File "/home/zope/224/lib/python/Products/ZMySQLDA/__init__.py", line 106, > in ? > import sys, os, Globals, DA > File "/home/zope/224/lib/python/Products/ZMySQLDA/DA.py", line 108, in ? > from db import DB > File "/home/zope/224/lib/python/Products/ZMySQLDA/db.py", line 106, in ? > import _mysql, regex, sys > ImportError: No module named _mysql > > Any help will be welcome > You have not installed the Python MySQL module. Depending on which MySQL Zope product you downloaded, this either came with it, or you will have to download it seperately. Last time I installed a fresh Zope/Python combo, I used ZMySQLDA 1.2.0, which comes with the MySQLdb Python module sources. I found it to be a fairly simple and painless install. Previous versions did require you to download the MySQLdb module seperately. Both are on www.zope.org. > Regards > > Rodrigo > > Have a better one, Curtis Maloney ___ 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] Cataloguing on zope.org
I've had quite a few things waiting in the catalog, is anything happening there? -- Andy McKay, Developer. ActiveState. ___ 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] Large XML files
Paul, The XMLDocument type is rather 'expensive' and you may be able to 'get away' with using a simpler type such as DTMLDocument. If you don't need the DOMification of your XML when you put it into Zope this is something i'd look at.. I have done this with large documents and then used an external method to process them with XSLT, XPath etc. hth Phil [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 10:01 PM Subject: [Zope] Large XML files > I am testing the possibilities of delivering the content of XML Documents > through the Zope environment. Unfortunately, some of the proposed file are > rather large (up to 760KB) and just uploading them and viewing them on our > current Zope server is prohibitively slow. Our server, running Z2 is a > blazing P133 running NT 4.0 with 32 MB of RAM (I get the bottom feeders). > Is the bottleneck the hardware; is there something I can do software-wise > to improve performance; or is development not yet advanced enough to handle > this scenario efficiently? Any opinions on this? > > Thanks, > > P. Johnson > > > > ___ > 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 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] python book
Learning Python. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Lee Reilly CS1997" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 8:40 AM Subject: [Zope] [ot] python book > Hi, > > I'm going through the tutorials available on Python.org but can anyone > recommend a good book? > > I've always been impressed by O'Reilly's books and I see that there are > a number of them available: > > - Python Programming on Win32 > - Learning Python > - Programming Python > > Which one of the above (or indeed, any others) would be best for me? > Me? I've got some C experience and will be using Python with Zope to > create a portal, & some simple apps. > > Any advice would be greatly appreciated. > > - Best regards, > Lee > > ___ > 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 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] Large XML files
You could check into the ExtFile product (search on zope.org) and see if that makes a perf difference. That said, just about anything on that setup is going to be slow!! Please excuse the os advocacy, but given that this is likely all you'd dream of running on this server anyways (ie it's not like it's also going to be your Exchange server), you might consider putting something that will leave more spare RAM and cpu time for Zope on that box, e.g. Linux or some other OS more suited towards the low end server hardware market. Or buy a nicer box to run this on. If you don't have existing unix skills in-house then throwing money at hardware might be less expensive than investing in human resources to get a Linux box going. (Whew, being even-handed is so much harder than being an OS bigot...;-) Sorry that's probably not what you wanted to hear. =) jim On Tue, 5 Dec 2000 [EMAIL PROTECTED] wrote: > I am testing the possibilities of delivering the content of XML Documents > through the Zope environment. Unfortunately, some of the proposed file are > rather large (up to 760KB) and just uploading them and viewing them on our > current Zope server is prohibitively slow. Our server, running Z2 is a > blazing P133 running NT 4.0 with 32 MB of RAM (I get the bottom feeders). > Is the bottleneck the hardware; is there something I can do software-wise > to improve performance; or is development not yet advanced enough to handle > this scenario efficiently? Any opinions on this? > > Thanks, > > P. Johnson > > > > ___ > 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 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 Beginner
Mark, Here's the line from my Zope start script, it may help: "D:\zope\bin\python.exe" "D:\zope\z2.py" -X -w20080 -f20021 %1 %2 %3 %4 %5 %6 %7 %8 %9 This line turns off 'debugging' mode (note the absence of -D), it also shuts down all servers by default (-X), then explicitly starts http on port 20080 (-w20080) and ftp on 20021 (-f20021). You should also look at the docstrings in /z2.py for more options. hth Phil [EMAIL PROTECTED] - Original Message - From: "Mark A. Pappas" <[EMAIL PROTECTED]> To: "Zope User Maillist" <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 9:56 PM Subject: [Zope] Zope Beginner > Hi All, > I'm new to Zope. Just installed it a few minutes ago. Everything installed > fine. Logged in > > http://localhost:8080/manage > > worked great. I'm trying to figure out the web server portion of zope. I was > reading the docs the chart that talks about ZServer Command Line Switches. > It tells me the default port is 8080. To change that do a > > -w 80 > > after the -D. In the start.bat. I tried all kinds of things and never was > able to get zope up on port 80 as a web server (www.whatever.com_ or > XXX.XXX.XXX.XXX). What am I missing? > > Thanks > Mark A. Pappas > > > Ashecca Communications, Inc. > 1550 Creighton, Rd. > Suite 6 > Pensacola, FL 32504 > > Phone: (850) 474-4027 > Fax: (850) 474-3647 > > > ___ > 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 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] mod_fastcgi
Ron, > > i was wondering what if any difference there is for zope if i > install it to > access mod_fastcgi through a port as opposed to a socket. which is the > recommended/safest approach? In theory (and maybe in practice) the socket should be faster since it does not go through the networking process. However, since it uses a local file, Zope and Apache must be one the same system. Using a TCP port would be slower, but it allows you to run Zope and Apache on different machines. As to how much faster or slower, I have no idea if anyone has done any testing. As for safest/recommended, avoiding the network is probably always safer (although with the loopback, I'm not sure it makes any difference). But if you need to run them on different servers, you don't have a choice. I've found mod_fastcgi very easy to configure in Apache and have had no problems using it through a port. ___ thanks for the info! my co-worker just informed me that he thinks it is faster to use the port when dealing with a firewall. since it seems easier this way i guess i'll go with the port. much appreciated! -- ___ 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 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] version 2.2.4 just blew up!
hi, i just performed the upgrade from 2.2.2 to 2.2.4 and it blew up after running for a few minutes. it happened as i clicked the link to Debug Information from the control panel. Zope does start up again and the same thing occurs each time i click this link. i can send you the Dr. Watson error log if you think it will help you but i prefer not to send it to a public list. please send me a personal email address for this. i can also send a screen shot of the error message. Python is dying. -- ___ 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] Large XML files
I am testing the possibilities of delivering the content of XML Documents through the Zope environment. Unfortunately, some of the proposed file are rather large (up to 760KB) and just uploading them and viewing them on our current Zope server is prohibitively slow. Our server, running Z2 is a blazing P133 running NT 4.0 with 32 MB of RAM (I get the bottom feeders). Is the bottleneck the hardware; is there something I can do software-wise to improve performance; or is development not yet advanced enough to handle this scenario efficiently? Any opinions on this? Thanks, P. Johnson ___ 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.3 plan updated...
Hi all - We're gearing up for getting a new feature release out so for those interested I've updated the Zope 2.3 plan at: http://dev.zope.org/Resources/zope_230_plan.html The main changes from the prior version are that it is much more detailed, some items have been added and the item for updating ZDOM to DOM level 2 has been dropped (until there is a clearer justification for it). I hope to make an alpha 1 release on Monday the 11th with the new Python Scripts and fixed user bootstrapping, among other things (see the plan for details). Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ 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] "Simple" site - hard to make ?
Michael Jenner writes: > I would like to set up a site with the following contents / > requirements: > > 1. One main-page (no header / footer). Mainly a clickable image + a few > links. > > 2. A section with articles. Including the "Print this page" option. This > section should use one set of headers and footers. Contents and > formatting should be separated. Authors should be allowed to correct > articles. > > 3. A section with news. This section should use another set of headers > and footers. > > 4. A section with exits. > > All pages except the main page should have a common navigation system. > (simple is fine). > > Is this easy to do in Zope or ?? It is easy. Have a look at the Zope book (via zope.org). Dieter ___ 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] mod_fastcgi
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > michael angelo ruberto > Sent: Tuesday, December 05, 2000 3:36 PM > To: [EMAIL PROTECTED] > Subject: [Zope] mod_fastcgi > > > hi, > > i was wondering what if any difference there is for zope if i > install it to > access mod_fastcgi through a port as opposed to a socket. which is the > recommended/safest approach? In theory (and maybe in practice) the socket should be faster since it does not go through the networking process. However, since it uses a local file, Zope and Apache must be one the same system. Using a TCP port would be slower, but it allows you to run Zope and Apache on different machines. As to how much faster or slower, I have no idea if anyone has done any testing. As for safest/recommended, avoiding the network is probably always safer (although with the loopback, I'm not sure it makes any difference). But if you need to run them on different servers, you don't have a choice. I've found mod_fastcgi very easy to configure in Apache and have had no problems using it through a port. ___ Ron Bickers Logic Etc, Inc. [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 )
[Zope] Database Image Publishing
Hey Guys and Gals, Can anyone help me to Retrieve, Update, Insert image files into a Database in Zope. I am running zope on linux mandrake and use ZSever The database I am currently using is MySQL on MySQLDA (MySQLdb non-binary dist.) Mo. ___ 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 Beginner
Hi All, I'm new to Zope. Just installed it a few minutes ago. Everything installed fine. Logged in http://localhost:8080/manage worked great. I'm trying to figure out the web server portion of zope. I was reading the docs the chart that talks about ZServer Command Line Switches. It tells me the default port is 8080. To change that do a -w 80 after the -D. In the start.bat. I tried all kinds of things and never was able to get zope up on port 80 as a web server (www.whatever.com_ or XXX.XXX.XXX.XXX). What am I missing? Thanks Mark A. Pappas Ashecca Communications, Inc. 1550 Creighton, Rd. Suite 6 Pensacola, FL 32504 Phone: (850) 474-4027 Fax: (850) 474-3647 ___ 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] python book
> > What I'm still missing is something like the perl cookbook but for Python :( I don't know the perl cookbook, but the eff-bot guide to the Python library has some 300 scripts in it. You can get it from fatbrain.com. It is in pdf version only (or at least a print-it-yourself-with-some-fancy-epublishing-wrapping-by-fatbrain-version) URL: http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=EB00019352&vm= hth Rik ___ 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] FTP in HTML-Kit? (Or other editor on MS-Windows)
On Mon, Dec 04, 2000 at 11:09:00PM +0100, Oliver Bleutgen wrote: > A very interesting feature for zope seems to be the following: > > " Ability to map local folders to remote servers, for the purpose > of previewing files with server-side scripting through the server > ("Edit | Preferences... | Preview | Edit Preview Rules..."). > The user interface for this option has not been finalized." I haven't yet been able to get this to work; I don't think it applies to files retrieved from FTP. You can, however, rightclick on a file in the Workspace and choose preview to open it in a browser window. -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ 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] ZMySQLDA traceback
Hi All, I am trying to install ZMySQLDA and as a result of my installation, i am getting the following traceback ZMySQLDA Import Traceback Traceback (innermost last): File "/home/zope/224/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/home/zope/224/lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? import sys, os, Globals, DA File "/home/zope/224/lib/python/Products/ZMySQLDA/DA.py", line 108, in ? from db import DB File "/home/zope/224/lib/python/Products/ZMySQLDA/db.py", line 106, in ? import _mysql, regex, sys ImportError: No module named _mysql Any help will be welcome Regards Rodrigo ___ 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] mod_fastcgi
hi, i was wondering what if any difference there is for zope if i install it to access mod_fastcgi through a port as opposed to a socket. which is the recommended/safest approach? thanks -- ___ 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] Link counter
FSCounter happily counts things effeciently on the file system and could be used for counting, followed by a redirect as Chris says. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Chris Gray" <[EMAIL PROTECTED]> To: "Brendon Grunewald" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, December 03, 2000 8:47 AM Subject: Re: [Zope] Link counter > You want something like this in your linking page: > > > http://www.zope.org/"> > > > OR > > Go to > Zope.org > > Then you need a 'count_and_pass' DTML Method like: > > > > > and a ZSQL Method called 'increment' that takes 'target_url' as an > argument and increments the count for that URL. Or you can get fancier > and use the ZSQL method to record each click through along with date and > info like the users IP and the refering page. These last will be in the > REQUEST from the linking page. > > Cheers, > Chris > > On Sun, 3 Dec 2000, Brendon Grunewald wrote: > > > I have recently been asked by a partner site to provide them with a count of how many times someone links from my site to theirs. Since there are many ways they could hyperlink to that site (Squishdot articles, normal links, banner ads etc), is there a way in zope to keep track or to extract that info? OR am I stuck with the server logs? > > > > Regards, > > Brendon > > -- > > 70South: the No.1 source for Antarcticles. > > For the latest news and views on Antarctica visit : http://www.70south.com > > > > > > > > ___ > 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 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] FTP in HTML-Kit? Sussed it!
Yes interesting + thanks again. Also there is radio button in "Edit | Preferences | Workspace" 'Transfer mode' = use text mode to transfer files with extensions and then a long list: al;asa;asc;asp;aspc;aspx;bas;bat;c;c++;cat;cc;cfm;cfml;cgi;cnf;conf;cpp;cs;c ss;css1;css2;css3;csv;cxx;dcl;decl;dtd;dtml;el;ent;etx;f90;h;h++;hh;hkh;hks; hpd;hpp;htaccess;htm;html;htt;htx;hxx;inc;inf;ini;inl;iss;j;jav;java;javascr ipt;js;jscript;l;latex;lcd;lisp;log;lsp;m;pas;pc;perl;php;php2;php3;php4;php 5;php6;pht;phtml;pl;pl3;pl4;pl5;pl6;pl7;pll;plx;pm;py;rtf;rtx;scm;shtm;shtml ;soc;sql;stm;sys;tex;text;tsv;txt;vb;vbs;xml;xsd so I added > dtml; << not sure what side efect there but seems to be ok :-) - Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From: Stefan H. Holek <[EMAIL PROTECTED]> Subject: Re: [Zope] FTP in HTML-Kit? Sussed it! > > I found an option in "Edit | Preferences | Workspace" named > "Ignore file type when opening/inserting" > > It may have (yet undetected) side effects, but doubleclicking > index_html now does what I would expect it to... ;) ___ 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] Does 2.2.4 solve Proxy+ZCatalog bugs?
It works fine for me. I dont know if that proves anything except I cant find the problem again. -- Andy McKay, Developer. ActiveState. - Original Message - From: "ethan mindlace fremen" <[EMAIL PROTECTED]> To: "Marcin Kasperski" <[EMAIL PROTECTED]> Cc: "Zope List Submission" <[EMAIL PROTECTED]> Sent: Wednesday, November 29, 2000 12:29 PM Subject: Re: [Zope] Does 2.2.4 solve Proxy+ZCatalog bugs? > Marcin Kasperski wrote: > > > The question as in the title. In changes for 2.2.3 I found: > > > >- Resolved known condition in the Catalog where objects are > > not guaranteed to be unindexed before indexing happens > > again. Now objects are guaranteed to be unindexed correctly > > first. This should resolve all outstanding KeyErrors with > > Catalog, although currently broken Catalogs will require a > > reindex to resolve them. > > > > Has anyone verified whether this in fact corrects the infamous ZCatalog > > key errors when one tried to reindex site proxied with Apache? > > > > Regards > > > Zope.org has been updated to 2.2.4 and we're still getting key errors. > However, the current suspicion is that one of our products isn't playing > nice with the catalog. More information when we get it. > > Thanks, > > ethan mindlace fremen > Zopatista Community Liason. > > > ___ > 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 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 specify to z sql methods, the connection object to use at runtime...time...
I haven't actually tried this, but it seems it should work: / /db1- folder connection- a DB connection object to db 1 /db2- folder connection- a DB connection object to db 2 query- a ZSqlMethod, set to use the connection 'connection'. Note, you may have to add a temporary DB connection to the root, to allow you to setup these methods. After you have created your methods, remove the /connection object. Then use urls like http://your.server/db1/query to run the query using the first database connection, and http://your.server/db2/query to run query using the second database connection. -Randy - Original Message - From: "Tino Wildenhain" <[EMAIL PROTECTED]> To: "Frederic Quin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 4:56 AM Subject: Re: [Zope] How to specify to z sql methods, the connection object to use at runtime...time... > Hi Frederic, > > Frederic Quin schrieb: > > > > Hi all, > > > > I have the same querry to execute on different servers. I don't want to > > create as many z sql methods as servers I have. I would like to specify > > to my z sql method, the connection object to use at run time. Do I have > > to patch the files of z sql methods ? Can I use directly the connection > > object ?? > A clean approach would be subclassing the zsql-method > for your purpose. I would not recommend a free-form > string as argument for the Datasource. May be an integer index > (first, second, third... database server) > or something like that? > > Regards > Tino > > ___ > 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 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] string splitting in dtml
I tried what you recommended and got the following error: Error Type: AttributeError Error Value: __getslice__ The problem I think is that the variable is drawn from the database as type date (Microsoft Access 2k) and somehow is cast into a date type. Is there a way to re-cast this variable as a string type? Or is there another reason it's not working (I've tried it with my other varibles pulled from the database in the same query and it's only the date types that are giving this error, all other variables work fine)? I also tried the solution but got the error: Error Type: TypeError Error Value: argument 1: expected read-only character buffer, instance found Thanks very much for everyone's help so far! Mike Kelland [EMAIL PROTECTED] - Original Message - From: "Spicklemire, Jerry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 04, 2000 4:38 PM Subject: [Zope] string splitting in dtml > Mike asked: > > > I have a date string (ie dd/mm/yy) which I'm drawing out of a database > > (ODBC connection to Access) with a Z SQL method and I need to use that > > data to set the initial condition of a set of 3 select items (ie day, > > month and year). Is there a way to split this date (it'll come out > > looking like dd/mm/yy) to get the components of it > > You could use the Python "string slice" syntax, like so: > >month_of_year="_['start_date'][3:5]" > year_of_century="_['start_date'][6:8]"> > The day, > of the month, > of the year 20 > > > Later, > Jerry S. > > ___ > 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 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] HTML - ZOPE?
You either have to refresh / reload the page after the first combo box, go for two pages or go for javascript. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Oliver Bleutgen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 10:51 AM Subject: Re: [Zope] HTML - ZOPE? > > Hi, > > > I'm not sure if this is a strictly zope question, but I hope some people > > can give me an idea on how to solve this problem. > > > I'm creating a form which has amonng it's input tags 2 comboboxes. > > > Now, the content of one combobox, depends on the selection of the first > > combobox. > > > How can I handle this in Zope, Html? > > > Is this even possible in html? I assume, yes if you refresh the page each > > time the user makes a selection in the first combobox, but how? > > > Thanks, Tom. > > The only way I see to do this with plain html is to just > make 2 forms, the second is served depending on the users > input on the first and has hidden input fields. > > But if you decide to go with javascript, you might as well > do the whole logic in one page. > See for instance > http://www.acenetglobal.com/JSMulti.asp > or just enter some of the right words into google, there > are a lot of sites about that stuff. > > cheers, > oliver > > > > ___ > 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 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] FTP in HTML-Kit? Sussed it!
On Tue, 5 Dec 2000, Jason Cunliffe wrote: > Thanks for your notes, especially the "open as text" tip. I found an option in "Edit | Preferences | Workspace" named "Ignore file type when opening/inserting" It may have (yet undetected) side effects, but doubleclicking index_html now does what I would expect it to... ;) Regards, Stefan ___ 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] HTML - ZOPE?
> Hi, > I'm not sure if this is a strictly zope question, but I hope some people > can give me an idea on how to solve this problem. > I'm creating a form which has amonng it's input tags 2 comboboxes. > Now, the content of one combobox, depends on the selection of the first > combobox. > How can I handle this in Zope, Html? > Is this even possible in html? I assume, yes if you refresh the page each > time the user makes a selection in the first combobox, but how? > Thanks, Tom. The only way I see to do this with plain html is to just make 2 forms, the second is served depending on the users input on the first and has hidden input fields. But if you decide to go with javascript, you might as well do the whole logic in one page. See for instance http://www.acenetglobal.com/JSMulti.asp or just enter some of the right words into google, there are a lot of sites about that stuff. cheers, oliver ___ 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] manage_main in python product
I'm developping a python simple product. I want to define a tab in the management interface as the manage_main of a subobject in it. Is it possible, and if it is, how can I do that? Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations *(514) 840-3000 poste 3939 * (514) 840-5585 * [EMAIL PROTECTED] * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 ___ 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] HTML - ZOPE?
Hi, I'm not sure if this is a strictly zope question, but I hope some people can give me an idea on how to solve this problem. I'm creating a form which has amonng it's input tags 2 comboboxes. Now, the content of one combobox, depends on the selection of the first combobox. How can I handle this in Zope, Html? Is this even possible in html? I assume, yes if you refresh the page each time the user makes a selection in the first combobox, but how? Thanks, Tom.
Re: [Zope] [ot] python book
Learning Python is good and has good "english". But Python The Quick Book (ugly cover) has brilliant english writing, and is probably more pedagogic than others. > Hi, > > I'm going through the tutorials available on Python.org but can anyone > recommend a good book? > > I've always been impressed by O'Reilly's books and I see that there are > a number of them available: > > - Python Programming on Win32 > - Learning Python > - Programming Python > > Which one of the above (or indeed, any others) would be best for me? > Me? I've got some C experience and will be using Python with Zope to > create a portal, & some simple apps. > > Any advice would be greatly appreciated. > > - Best regards, > Lee > > ___ > 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 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] python book
I read Learning Python and still love it and would highly recommend it. The book is very good! Apart from that I'm using the Python Essential Reference more often nowadays. It's handier than a printout of the lib.pdf but actually you don't really need if if you are comfy with the pdf stuff. What I'm still missing is something like the perl cookbook but for Python :( Ragnar >Hi, > >I'm going through the tutorials available on Python.org but can anyone >recommend a good book? > >I've always been impressed by O'Reilly's books and I see that there are >a number of them available: > >- Python Programming on Win32 >- Learning Python >- Programming Python > >Which one of the above (or indeed, any others) would be best for me? >Me? I've got some C experience and will be using Python with Zope to >create a portal, & some simple apps. > >Any advice would be greatly appreciated. > >- Best regards, >Lee > >___ >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 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] [ot] python book
Hi, I'm going through the tutorials available on Python.org but can anyone recommend a good book? I've always been impressed by O'Reilly's books and I see that there are a number of them available: - Python Programming on Win32 - Learning Python - Programming Python Which one of the above (or indeed, any others) would be best for me? Me? I've got some C experience and will be using Python with Zope to create a portal, & some simple apps. Any advice would be greatly appreciated. - Best regards, Lee ___ 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] On DTML and Python Script
Jason Leach pointed out that Document Template could include ASP/PHP style Python escapes to embed code. This may seem a good idea at first but part of the really nice thing about Zope is that it goes a fair way to ensure you organise your work cleanly and seperate logic from the layout. In PHP I always use FastTemplate which offers pretty much only what does (that doesn't include or anything "clever"). The benefit of having no logic in your HTML is huge when you have multiple people working on the project. The "creep" of template systems to hold more and more logic such as Loops, Conditions etc is forgivable as it allows basic programming to be done by the HTML people but strictly it isn't necessary as long a variable insertion / tag replacement is possible. If you are "having to [use] all those dtml tags" then you're probably at the point where replacing that big chunk with is in order. This could be anything you want (Python method, External Method, DTML method etc) which does the real logic and conditionally returns its output to the master template (that content possibly from another smaller, reused DTML method - it amazing how many sites use the same text all over it (like Next 10, Prev 10 for example!). At that point you've removed any fear of the HTML people walking over your code with a bulldozer and it means they can update things while you do. What I'm suggesting is that <%, , and tags could be argued to be Bad Things but they are convenient in some cases (they are easy for HTML writers to understand and can be used for simple things by them). I don't really see the "convenience" of a Python code escape as its just as easy to make a Python Method and pop in its place keeping things neat. Still, I suppose it'd hardly matter if it was available, those who agree with the above would probably ignore it, much as I ignore it in PHP and use FastTemplate instead. Phill ___ 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] On DTML and Python Script.
Jason Leach writes... >Message: 9 >Date: Mon, 4 Dec 2000 12:36:26 -0800 (PST) >From: "Jason C. Leach" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [Zope] On DTML and Python Script. > >hi, > >For Christmas I'd like a way to be able to use PHP or ASP type scripting >rather than DTML. > >like: > >%py> > >My python Script or Code. > > >Or > > >My DTML. > > > >Having to manager all those dtml <> and tags is not as good as it could >be. I suspect it's more of a deturant than anything else. I do agree that >DMTL should be use as little as possible with Python used for anything >over 10 lines. But why have a scripting language for both methods over >and under 10 lines? > >j. > >.. >. Jason C. Leach >... University College of the Cariboo. Yekk, no ! I use Progress WebSpeed at work. Webspeed does something similar to what you suggest, only with Progress 4GL embedded in the HTML between certain tags. This is OK at first, but it often gets ugly, especially where you are jumping in and out of 4GL just to do simple conditionals or iterations that DTML makes not too painful with and . OK, I am one of those poor fools who is trying to do too much in DTML. But it's not too bad as long as you factor it out well and keep any messy code in DTML methods rather than mixed in with your HTML. Just my opinion, though. Peter Harris This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee. If you have received this communication in error, please delete the message and notify JBB (Greater Europe) Plc immediately on 0141-249-6285. The views expressed in this email are not necessarily the views of JBB (Greater Europe) PLC. As it has been transmitted over a public network, JBB (Greater Europe) PLC makes no representation nor accepts any liability for the email's accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify JBB (Greater Europe) Plc immediately on 0141-249-6285. ___ 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] python book
Python Essential Reference by David M. Beazley (New Riders) The name says it all really ;-) cheers, Chris ___ 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] The not-very-Super user
Brian Lloyd wrote: > > > > > I notice there were some CVS checkins about renaming it to the > > > > 'emergency user'. Cool, does this mean you're going to be > > able to define > > > > a manager at install-time? > > > > > > Yes - the whole lame login-as-superuser-create-a-manager-and-relogin > > > process will be gone in 2.3. At install time you'll create a first > > > manager and just use that. > > > > Yay! > > > > As Max asked, any 2.3 timeframe? Python Scripts and no Super User alone > > make it _very_ enticing :-)) > > I would reaaally like to see a beta by the end of > Dec. - but don't quote me yet. Part of what I'm doing > today is figuring what the resource situation looks like. > > > > He can un-screw permissions or users if you ever manage to > > > get totally locked out of your site. Think of it as a user mounted > > > in a box on the wall labeled "in case of emergency, break glass". > > > > How does this differ from a normal manager and how would you 'create a > > super user' as you descriebd in the bit I snipped? > > An example might be: if somehow someone took all permissions > away from all of your managers, they'd be out of luck. The > superuser could still log in and fix that though. > > I don't know the exact details of how a superuser is created > yet - I expect that you will run zpasswd.py with a special > option though (and restart). The relevant install docs will > be updated to outline this when that branch is merged. Here's how it is implemented right now. The details could change if someone can see any holes. When Zope is started, there is already some initialization code that gets run and has the opportunity to modify the ZODB if necessary. A procedure has been added that allows the root user folder to set up the initial user. If there are no users listed in the root user folder, it checks for a file named "inituser" which has the same format as the "access" file. If found, it adds that user and tries to delete "inituser". If, on the other hand, there is already at least one user, the code that checks for "inituser" is never executed. The file named "access" now defines the emergency user. It is no longer required to exist--if it doesn't exist, no one can log in as the emergency user. Creating the emergency user or the initial user is easily done with the zpasswd.py script. You use it just as before. The only difference is that wo_pcgi.py calls a method which generates "inituser" rather than "access". So, to create an emergency user, execute: python zpasswd.py access Or to create the inital user, execute: python zpasswd.py inituser The Windows installer is an unfinished detail: there's a script that executes "python zpasswd.py access". It needs to execute "python zpasswd.py inituser" instead. There will be some problems with alternate user folders. They expect to be able to call methods on the SpecialUsers.super object. When there is no emergency user, the value of SpecialUsers.super is None. The quick solution is to create an emergency user. The long-term solution is to fix the user folders. Shane ___ 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] FTP in HTML-Kit? Sussed it!
On Tue, 5 Dec 2000 13:56:04 + Robin Becker <[EMAIL PROTECTED]> wrote: > I'm a bit puzzled as to how you get things like index_html to appear. My > homesite seems to need an extension list. For me it just works (index_html included). Mind you I declined all offers to set preferences for browsers and file extensions when HMTL-Kit started up for the first time. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: [EMAIL PROTECTED] URL: http://www.bris.ac.uk/ ___ 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] FTP in HTML-Kit? Sussed it!
Jason, Working on the HTML-Kit plugin as we speak. ;) Phil - Original Message - From: "Jason Cunliffe" <[EMAIL PROTECTED]> To: "Paul Browning" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 3:05 PM Subject: Re: [Zope] FTP in HTML-Kit? Sussed it! > Paul > > Thanks for your notes, especially the "open as text" tip. > > Very fast and easy. > HTML-Kit Preview is very useful too for changing forms in Zope. > > Now if only someone would create an HTML-Kit library Zope extension complete > with all essential DTML and pythonisms for auto tag completion > > - Jason > ___ > Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] > > - Original Message - > From: Paul Browning <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 05, 2000 8:04 AM > Subject: RE: [Zope] FTP in HTML-Kit? Sussed it! > > > 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server. > >Do the obvious (all familiar to Homesite users). > >A blue coloured ftp source will appear in the File pane > >on the RHS. Expand/collapse trees to navigate to the > >file you want to open. > > > > 2. Right-click and "Open As Text". Haven't yet fathomed > >the significance of this as opposed to other options. > >What I do know is that "Save" then does the business - > >saves it back to your FTP source. > > > > > ___ > 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 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] FTP in HTML-Kit? Sussed it!
Paul Thanks for your notes, especially the "open as text" tip. Very fast and easy. HTML-Kit Preview is very useful too for changing forms in Zope. Now if only someone would create an HTML-Kit library Zope extension complete with all essential DTML and pythonisms for auto tag completion - Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] - Original Message - From: Paul Browning <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 8:04 AM Subject: RE: [Zope] FTP in HTML-Kit? Sussed it! > 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server. >Do the obvious (all familiar to Homesite users). >A blue coloured ftp source will appear in the File pane >on the RHS. Expand/collapse trees to navigate to the >file you want to open. > > 2. Right-click and "Open As Text". Haven't yet fathomed >the significance of this as opposed to other options. >What I do know is that "Save" then does the business - >saves it back to your FTP source. ___ 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] Dreamweaver
Yes, DW4 has been released. I used it yesterday at work. Knight On Tue, 5 Dec 2000, Yvonne Totty wrote: > Well, I mean how can I make it 'write' the tags right? > > For instance, I have this legacy page that needs to be > reworked visually. I want to keep the code, but move > the stuff around. > > I open it in DW3, and it is a HUGE mess. > > Have they released DW4? > > -y > > ~~~ > Yvonne Totty > Database Engineer > - > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > > > In Dreamweaver 4, you can also use WebDAV to talk to Zope. > > > > --- > > "Sardonic Slaughterer of Sacred Cows" > > Todd Coram - mailto:[EMAIL PROTECTED] > > Digital Creations, Inc - http://www.digicool.com > > Publishers of Zope - http://www.zope.org > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max M > > > Sent: Monday, December 04, 2000 7:47 PM > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Subject: RE: [Zope] Dreamweaver > > > > > > > > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Yvonne > > > Totty > > > > > > >I heard a nasty rumor that Dreamweaver could be made > > > >to use Zope. Is this true? If so, how do I do it? > > > > > > You just log onto Zope via ftp and do a "get site" > > > > > > getting to the dtml tags in the editor can be a bother though. > > > > > > I believe Dreamweaver 4.0 is better in this regards. > > > > > > Regards Max M > > > > > > > > > Max M. W. Rasmussen,Denmark. New Media Director > > > private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] > > > - > > > Specialization is for insects. - Robert A. Heinlein > > > > > > > > > > > > ___ > > > 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 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 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 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] Dreamweaver
Well, I mean how can I make it 'write' the tags right? For instance, I have this legacy page that needs to be reworked visually. I want to keep the code, but move the stuff around. I open it in DW3, and it is a HUGE mess. Have they released DW4? -y ~~~ Yvonne Totty Database Engineer - Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? > In Dreamweaver 4, you can also use WebDAV to talk to Zope. > > --- > "Sardonic Slaughterer of Sacred Cows" > Todd Coram - mailto:[EMAIL PROTECTED] > Digital Creations, Inc - http://www.digicool.com > Publishers of Zope - http://www.zope.org > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max M > > Sent: Monday, December 04, 2000 7:47 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: [Zope] Dreamweaver > > > > > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Yvonne > > Totty > > > > >I heard a nasty rumor that Dreamweaver could be made > > >to use Zope. Is this true? If so, how do I do it? > > > > You just log onto Zope via ftp and do a "get site" > > > > getting to the dtml tags in the editor can be a bother though. > > > > I believe Dreamweaver 4.0 is better in this regards. > > > > Regards Max M > > > > > > Max M. W. Rasmussen,Denmark. New Media Director > > private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] > > - > > Specialization is for insects. - Robert A. Heinlein > > > > > > > > ___ > > 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 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 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] What difference between subclassing from OFS:Folder and ObjectManager
You can get both if you derive from ObjectManager and then use the "Subobjects" tab in the Zope management interface. "Stefan H. Holek" <[EMAIL PROTECTED]> writes: > Deriving from OFS:Folder will only give you global meta types in the > Addbox, whereas deriving from ObjectManager will only give you the > included ZClasses. I have not yet found a way to have both ;( ___ 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] FTP for ZClass hierarchies
As an avid emacs user I am delighted to be able to access DTML objects via FTP. Recently I have been creating some ZClass hierarchies and have been disappointed to discover that while I can access, via FTP, the methods of a top-level ZClass, I can't access any methods of ZClasses defined inside of a top-level ZClass. Is this a known limitation of the FTP interface? Interestingly, but perhaps merely coincidental, I notice that the URLs of contained ZClasses as generated by the Zope management interface have a "%20" immediately following the name of each contained ZClass (but not the top-level ZClasss) - e.g, http://blah.blah/Control_Panel/Products/newprod/toplev/propertysheets/methods/seclev%20/propertysheets/methods Upon observing this, I had hoped that I could find success by similarly modify my emacs FTP spec, as in: [EMAIL PROTECTED]:/Control_Panel/Products/newprod/toplev/propertysheets/methods/seclev%20/propertysheets/methods or, [EMAIL PROTECTED]:/Control_Panel/Products/newprod/toplev/propertysheets/methods/seclev /propertysheets/methods (yes, I used C-q space) But neither of these worked. ___ 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-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
On Mon, 4 Dec 2000, Bill Anderson wrote: > Shane Hathaway wrote: > > Just packaged up. > > > > http://www.zope.org/Members/hathawsh/ExternalMount > > And there was almost much rejoicing. > It doesn't seme to want to mount the root of a Data.fs, at least > according to the add form. Is this by design? Were there problems with > mounting the root of a Data.fs, or is it just a limitation of the add > form? It is by design. If you were to mount the root of a Data.fs, you'd be mounting an Application object with no ID. This would play havoc with the pseudo-filesystem. The correct solution is to make it so folder objects do not contain their own ID (but rather determined by the parent folder) and make Application objects go away, replacing them with simple Folder objects. Shane ___ 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] FTP in HTML-Kit? Sussed it!
I'm a bit puzzled as to how you get things like index_html to appear. My homesite seems to need an extension list. -- Robin Becker ___ 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] Sort broken on zope.org site...
Zopistas, Following up on my question yesterday, regarding sorting on the results columns of keyword/text based searches, I have noticed that if I do a text search on the zope.org site and then try to sort on a column - the same error comes up: Error type: TypeError Error value: loop over non-sequence I looked through the collector - but couldn't find anything related to this issue. Does anyone have any insight on how to fix this? Thanks, -Darin Lee ___ 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] FTP in HTML-Kit? Sussed it!
Like others I was a bit puzzled as to how to Save As FTP in HTML-Kit. I've just downloaded build 290 and got it all working (the stuff may have lain undiscovered in earlier verions - RTFM .). The keys to cracking it are: 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server. Do the obvious (all familiar to Homesite users). A blue coloured ftp source will appear in the File pane on the RHS. Expand/collapse trees to navigate to the file you want to open. 2. Right-click and "Open As Text". Haven't yet fathomed the significance of this as opposed to other options. What I do know is that "Save" then does the business - saves it back to your FTP source. As a 24-day-old (6 days to go ) Homesite evaluation user I'm really, really impressed so far with HTML-Kit. My thanks to Phil Harris et al for the tip. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: [EMAIL PROTECTED] URL: http://www.bris.ac.uk/ ___ 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 specify to z sql methods, the connection object to use at runtime...time...
Hi Frederic, Frederic Quin schrieb: > > Hi all, > > I have the same querry to execute on different servers. I don't want to > create as many z sql methods as servers I have. I would like to specify > to my z sql method, the connection object to use at run time. Do I have > to patch the files of z sql methods ? Can I use directly the connection > object ?? A clean approach would be subclassing the zsql-method for your purpose. I would not recommend a free-form string as argument for the Datasource. May be an integer index (first, second, third... database server) or something like that? Regards Tino ___ 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] The not-very-Super user
> An example might be: if somehow someone took all permissions > away from all of your managers, they'd be out of luck. The > superuser could still log in and fix that though. I actually got bit by this with what I suspect was a web browser having severe mental problems - a submit of the security page cleared _every_ single button. Double-plus ungood - I plan to make a patch that won't allow you to turn off all the buttons. Anthony -- Anthony Baxter <[EMAIL PROTECTED]> It's never too late to have a happy childhood. ___ 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] What difference between subclassing from OFS:Folder andObjectManager
On Tue, 5 Dec 2000, Dirksen wrote: > What is the difference between subclassing from OFS:Folder and ObjectManager? Is it >the > ONLY difference that the ObjectManager is able to limit kinds of object to contain? > Deriving from OFS:Folder will only give you global meta types in the Addbox, whereas deriving from ObjectManager will only give you the included ZClasses. I have not yet found a way to have both ;( Stefan ___ 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 with list?
Maybe?!?!? - Original Message - From: "Tony McDonald" <[EMAIL PROTECTED]> To: "Zope List" <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 10:43 AM Subject: [Zope] Problems with list? > I've had no email from this list since Friday at 06:50am. > > Is there anything wrong with it? > Tone > > -- > Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ > The Medical School, Newcastle University Tel: +44 191 222 5116 > A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope > > > ___ > 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 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] FTP in HTML-Kit? Sussed it!
Like others I was a bit puzzled as to how to Save As FTP in HTML-Kit. I've just downloaded build 290 and got it all working (the stuff may have lain undiscovered in earlier verions - RTFM .). The keys to cracking it are: 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server. Do the obvious (all familiar to Homesite users). A blue coloured ftp source will appear in the File pane on the RHS. Expand/collapse trees to navigate to the file you want to open. 2. Right-click and "Open As Text". Haven't yet fathomed the significance of this as opposed to other options. What I do know is that "Save" then does the business - saves it back to your FTP source. As a 24-day-old (6 days to go ) Homesite evaluation user I'm really, really impressed so far with HTML-Kit. My thanks to Phil Harris et al for the tip. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: [EMAIL PROTECTED] URL: http://www.bris.ac.uk/ ___ 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] Problems with list?
I've had no email from this list since Friday at 06:50am. Is there anything wrong with it? Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope ___ 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] "Simple" site - hard to make ?
From: Michael Jenner [mailto:[EMAIL PROTECTED]] >Is this easy to do in Zope or ?? VERY easy if you know how. But it also depends on you abilities Regards Max M ___ 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] What difference between subclassing from OFS:Folder and ObjectManager
What is the difference between subclassing from OFS:Folder and ObjectManager? Is it the ONLY difference that the ObjectManager is able to limit kinds of object to contain? Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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] Windows NT, Zope, PostgreSQL, PoPy, and ZPoPyDA
Am Freitag, 1. Dezember 2000 22:26 schrieben Sie: > Is anyone using NT (or W2K), Zope, PostgreSQL, PoPy and ZPopyDA? > Do PoPy and ZPoPyDA build on NT? with cygwin? Yes, cygwin should do the trick. My colleague is successfully using PoPy to access a Postrgres DB, well under Linux :-) > Thanks for any type of input you have. > > Troy > > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:[EMAIL PROTECTED] > http://www.williams.com > > ___ > 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 ) -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel : +49 40 890 646-0 Info: 0700 catWorkX ( 0700 22 89 67 59 ) Fax : +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ 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 )