[Zope] Date format question urgent!!!
hi all, i have a few questions about date formating: i work with a sybase database and have tables where i used date fields. My field entrydate is of type Date. on my page i have a textbox to put the date: i will formating it as 2000/01/01 and then put it in a sql query as a parameter. For the formating i use the follow code: and i get 2000/01/01. Here is my dtml-code: with this code : nsadresse = new_nsadresse, nslocation = new_nslocation, nscountry = new_nscountry, nsbirthday = "_.DateTime(new_nsbirthday)" '%s/%s/%s' % (year(), mm(), dd()), nsbirthplace = new_nsbirthplace, nstext = new_nstext, nsstatus = 0, nstype = new_nstype, nssociety = new_nssociety, nsservice = new_nsservice)">i get the folowing error: Invalid attribute name, "_.DateTime(new_nsentrydate)", for tag , on line 4 of addNoteService_html with this code : nsadresse = new_nsadresse, nslocation = new_nslocation, nscountry = new_nscountry, nsbirthday = "_.DateTime(new_nsbirthday)" '%s/%s/%s' % (year(), mm(), dd())", nsbirthplace = new_nsbirthplace, nstext = new_nstext, nsstatus = 0, nstype = new_nstype, nssociety = new_nssociety, nsservice = new_nsservice)"> i don't get Errors, but it doesn't work. Here is my sql code: INSERT INTO noteservice (ns_entrydate, ns_name, ns_adresse, ns_location, ns_country, ns_birthday, ns_birthplace, ns_text, ns_status, ns_type, ns_society, ns_service)VALUES('', '', '', '', '', '','', '', , , , ) when i use this code : i get 1900/01/01 when i use this code : i get 2036/02/07 Why? when i use this code : i get 2036/02/07 Why? when i use this code : i get 2036/02/07 Why? Could you explain me how i must handle date fields in zope? Finally, i want formatting a date as 2000/01/01 and then put in my table with a sql method. Any suggestions or a good example will be apprecieated... $Regards MM
[Zope] SQL and customise screen
Hi, I would like to use an SQL request to search some data in an access database. The request need to be executed when somebody clic on a button (onclick="") The result need to be displayed on the screen, but not on one line. I must be able to place the results in different places on the document. If somebody has any idea. Vincent - Thanks PS : At least, I must be able to customise the array display with the search zope wizard ___ 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] Silly send mail problem
On Thu, 27 Jul 2000, you wrote: > Hi all, > > I had a sendmail problem, whenever I send out a mail from zope, it always > contain an empty "To" ,"From" and "Subject", but I was able to get the body > of the mail, anyone got this problem before ?? Sorry this is probably not much help but may be related I recieve lets say one or three in a hundred emails from the zope mailing list that have the same symptoms ie they arrive with No Subject, To or From but the body contains the question or answer posted ? > > I'm using Zope 2.1.6 on NT and the mail server is from Lotus, and the form > processor syntax as below : > > smtphost="mail.xyz.com" > mailto="[EMAIL PROTECTED]" > mailfrom="[EMAIL PROTECTED]" > Subject="Testing from my machine"> > > mail body > > > Thanks. > > Cheers > > Wai > > > ___ > 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] Silly send mail problem
When using the dtml-sendmail tag you need to structure it like this: To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Testing from my machine mail body hth Phil [EMAIL PROTECTED] - Original Message - From: "Brad Moulton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 7:23 AM Subject: Re: [Zope] Silly send mail problem > On Thu, 27 Jul 2000, you wrote: > > Hi all, > > > > I had a sendmail problem, whenever I send out a mail from zope, it always > > contain an empty "To" ,"From" and "Subject", but I was able to get the body > > of the mail, anyone got this problem before ?? > Sorry this is probably not much help but may be related > I recieve lets say one or three in a hundred emails from the zope mailing list > that have the same symptoms > ie they arrive with No Subject, To or From > but the body contains the question or answer posted ? > > > > > > I'm using Zope 2.1.6 on NT and the mail server is from Lotus, and the form > > processor syntax as below : > > > > > smtphost="mail.xyz.com" > > mailto="[EMAIL PROTECTED]" > > mailfrom="[EMAIL PROTECTED]" > > Subject="Testing from my machine"> > > > > mail body > > > > > > Thanks. > > > > Cheers > > > > Wai > > > > > > ___ > > 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] dtml question from a newbizzzzz I want to access a dtml page under asubfoldersubfolder
I want to access a dtml page under a subfolder - portal (folder) - index1 (dtml) - reunion (folder) - index2 (dtml) I want to acces the index2 variable in the index1 dtml page. How can I do it ? thks for your answer David Sergent ___ 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] ZOracleDA
Aaron Bostick wrote: > > Zope list members, > > I have been developing a zope site with oracle on linux as a backend. > Currently, I run both zope and oracle on the same machine using the > ZOracleDA for connectivity. However, for production, I plan to seperate the > tiers and run zope and and oracle on different servers. From looking at the > build instructions for the DCOracle, it seems as though it will only work > when the web server and database server are on the same filesystem/in the > same memory space. > > Is there a way to have my zope server talk to a remote (across the network > somewhere) database server? Do I have to move to something like ODBC for > this? You do not need ODBC. SQL*Net sufficies. I have not done it with Zope but used it succesfully with Perl/DBI and C++ programs. It is enough to copy libclntsh.so and define tnsnames.ora file (and of course your language - in this case Python/Zope - modules for Oracle) to client machine and run TNS listner on server machine. Sample configuration below. * On the server (where database runs) You should have /opt/oracle/8.0.5/network/admin/listener.ora with sth. like (ORA is my SID, gauss is the server TCP name). LISTENER = (ADDRESS_LIST = (ADDRESS= (PROTOCOL= IPC)(KEY= ORA)) (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY)) (ADDRESS= (PROTOCOL= TCP)(Host= gauss)(Port= 1521)) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (ORACLE_HOME= /opt/oracle/8.0.5) (SID_NAME = ORA) ) ) STARTUP_WAIT_TIME_LISTENER = 0 CONNECT_TIMEOUT_LISTENER = 10 TRACE_LEVEL_LISTENER = OFF Start tns listener with lsnrctl start (from oracle account) * On the client (where application runs) Define /etc/tnsnames.ora with sth. like (you can place multiple entries if you like) GAUSS = (DESCRIPTION = (ADDRESS = (PROTOCOL= TCP)(Host= gauss)(Port= 1521)) (CONNECT_DATA = (SID = ORA)) ) (sid and host must match settings on server) Define TNS_ADMIN to point to directory the file above lies export TNS_ADMIN=/etc Define TWO_TASK to tnsnames.ora variable export TWO_TASK=GAUSS You can run your application. You can also copy tools like sqlplus and run them. -- Marcin.Kasperski | Working overtime sucks the spirit and motivation out @softax.com.pl | of a team. Projects that require overtime to be Marcin.Kasperski | finished on time will be late no matter what you do. @bigfoot.com | (Wells) ___ 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] Your feedback: what should DateTime strftime() behavior be?
+1 -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.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 )
Re: [Zope] dtml question from a newbizzzzz I want to access a dtml page under a subfolder subfolder
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: > > I want to access a dtml page under a subfolder > > - portal (folder) >- index1 (dtml) >- reunion (folder) > - index2 (dtml) have you tried (UNTESTED) : ? bye, Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE ___ 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] Silly send mail problem
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 4:56 AM Subject: [Zope] Silly send mail problem > Hi all, > > I had a sendmail problem, whenever I send out a mail from zope, it always > contain an empty "To" ,"From" and "Subject", but I was able to get the body > of the mail, anyone got this problem before ?? > smtphost="mail.xyz.com" > mailto="[EMAIL PROTECTED]" > mailfrom="[EMAIL PROTECTED]" > Subject="Testing from my machine"> > > mail body > Wrong sintax... the right one is: To: destinationemail From: your email Subject: your subject Date: mail body = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! ___ 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] zwiki mailing list ? RFC
Even if ZWiki and WikiNG are to converge (are they? I'm still not sure of intentions here), we would need keep updates to ZWiki and the new engineering of WikiNG separate in everyone's minds - but not so separate as to seem confusingly competitive. Could this be done by moving joyful/zwiki to zope.org? If so, we could use the same (zope@ and zope-dev@ + wiki) mechanisms so long as there is clarity between the aims of ZWiki and WikiNG (clearly posted on both wikis). Trying to keep abreast of an active sourceforge/zwiki as well as joyful/zwiki, zope/WikiNG, zope@ and zope-dev@ at the same time would be even more of a trial than I find it now. Geoff -Original Message- From: Simon Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 6:59 PM To: [EMAIL PROTECTED] Subject: [Zope] zwiki mailing list ? RFC ... I'm thinking of activating the zwiki mailing list at sourceforge, as a repository for the above and perhaps a testbed for mailing-list/zwikiweb integration. On the other hand I'm against too much fragmentation of our discussions - things are bad enough already! - and I like to use the zope list where possible. If you have any thoughts either way, I'd like to hear 'em. ... ___ 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 question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: > > I want to access a dtml page under a subfolder > > - portal (folder) >- index1 (dtml) >- reunion (folder) > - index2 (dtml) > > > I want to acces the index2 variable in the index1 dtml page. How can I do > it ? > > thks for your answer > David Sergent > OR PM ___ 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] SQL and customise screen
At 09:38 27-7-00 +0100, Vincent DELHOMMOIS wrote: >Hi, > >I would like to use an SQL request to search some data in an access >database. > >The request need to be executed when somebody clic on a button (onclick="") > >The result need to be displayed on the screen, but not on one line. I must >be able to place the results in different places on the document. > May be you could use something like this: mylist (dtml-method): In yourdisplaymethod (dtml-method) you can specify where you want to place your results. Diny DIVA Faculty of Veterinary Medicine Utrecht University The Netherlands http://www.vet.uu.nl ___ 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] Silly send mail problem
At 9:04 am +0100 27/7/00, Phil Harris wrote: >When using the dtml-sendmail tag you need to structure it like this: > >smtphost="mail.xyz.com" >mailto="[EMAIL PROTECTED]" >mailfrom="[EMAIL PROTECTED]" >Subject="Testing from my machine"> >To: [EMAIL PROTECTED] >From: [EMAIL PROTECTED] >Subject: Testing from my machine > >mail body > > >hth > >Phil >[EMAIL PROTECTED] ...and make sure you *don't* put any spaces before the Subject:, To:, From: and Subject: lines, ie have them hard up against the LHS of the textarea box. In other words, for the sendmail tag, whitespace (or rather the lack of it) *is* important. hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2 ___ 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] Réf. : Re: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder
thks for your answer, but I use the variable PARENTS[0] in index2 and with your syntax, the result is not the same. "Marcel Preda" Pour : [EMAIL PROTECTED] Objet : Re: [Zope] dtml question from a Envoyé par : newbiz I want to access a dtml page under a zope-admin@zosubfolder subfolder pe.org 27/07/00 10:54 On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: > > I want to access a dtml page under a subfolder > > - portal (folder) >- index1 (dtml) >- reunion (folder) > - index2 (dtml) > > > I want to acces the index2 variable in the index1 dtml page. How can I do > it ? > > thks for your answer > David Sergent > OR PM ___ 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] Date format question urgent!!!
On Thu, 27 Jul 2000, Marko MARKOVIC wrote: > hi all, > > i have a few questions about date formating: > I'll skip this, were a lot of threads about DateTime format (fmt) Other time.. > > > Finally, i want formatting a date as 2000/01/01 and then put in my table with a sql >method. > > Any suggestions or a good example will be apprecieated... > do something here ... But must be faster, if you have the date in the format: dd.mm. otherway ... > > > $Regards > > MM > PM ___ 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] zzLocale 0-0-3a released on Zope Japan
On Wed, 26 Jul 2000 12:59:32 +0200 "Johan Carlsson" <[EMAIL PROTECTED]> wrote: > That's absolutly brilliant! Thanks for the support. :) > What are the performance impact of the zzLocale? > Do more installed translations effect performance in any way. On our test machines, we did not notice any significant performance loss when using zzLocale. But we made no actual measurement, and these machines were not loaded at all. Performances may degrade: zzLocale creates some overhead at Zope initialization, when it loads all the localized templates, then at every call of a management screen, when it must decide which localized screen to use according to the REQUEST and server settings. Other Zope operations should not be affected. The first overhead may get longer as more localized templates are installed. But anyway, since this matters only once, at initialization, I don't think it will ever be a problem. The second overhead, however, happens every time a management screen is accessed. Luckily it is almost independent from the number of templates installed, and should be reasonably small. But it is here anyway, and on a site with many managers, there might be some loss in performance... Anyone for a quick performance testing? Regards, -- Yves-Eric Martin Digital Garage 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] OQL for ZODB - (SQL like for objects Databases)
Hi, Is there a tool like SQL for ZODB ? Where to find more to do some query on ZODB objects ? Many Thanks. Emmanuel. -- Emmanuel DISCORS Tel & Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ ___ 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] zzLocale 0-0-3a released on Zope Japan
I have another feature that would be nice for the zzLocale framework. Support for localized images. As far as I know the Zope Management Interface doesn't use any images containing strings, but I know that I might use images that needs to be localized in my products. Maybe that's a requirement you can take in consideration? Are there any zzLocale Wiki for frameworks discussions? Regards, Johan ___ 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 start developing in zope
Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, and now eager to port my company's website over to Zope. (The website was originally programmed in PHP) In my original design, I used OOP mainly. I defined each section(e.g. News, Events, Products) as a class by itself, inheriting from a "main" superclass. Each class would contain their own set of attributes(such as font-color, title) and methods(e.g. display news headline, or display events schedule). Common attributes & method that are widely used are placed(shared) in the "main" class(e.g. talking to MySQL database). So, if there's any changes or updates, inheritance will propagate the changes to the rest of the subclasses. (As usual, management will require extra features such as personalised page, membership or web-based email to be added in future. Hopefully, this kind of structure would make adding new features a breeze.) I believe Zope is based on a similar way (and much more powerful). I was wondering how shld i start something like this in Zope - i read abt ZClasses(where you can define your own Folders), Products(for defining yr business logic) and DTML(for dynamic data display). Your opinions will be much appreciated. regards, firestar __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup ___ 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] Question
> Lionel Tafel wrote: > I want to know if i can change the data or > setting the data that this index.php3 have into. I think you mean index_html, with has nothing to do with php! yurch! ;( > > > > This is the Document. > > You could just edit the document/method. If you want to change the default index_html you'll need to change the Zope source code :/ cheers, Chris PS: I agree with Chris about the HTML and 'urgent', neither of which are appeciated by anyone who could solve your problem ;-) ___ 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] Worldpilot+Courier problem
Hi everybody, I have found a strange problem in Worldpilot 1.1.0 alpha. Basically, I was not able to see a message, because the function that performs the parsing of the message (namely, the CreateStruct) was unable to cope with an empty string. I have traced the problem to the QuotedString expression in WPUtil. I have changed it from: QuotedString = re.compile(r'\s*"(?P.*?[^\\](?="))"(?P.*)') to: QuotedString = re.compile(r'\s*"(?P.[\\]?[^"]*(?="))"(?P.*)') and it started working regularly. It is ok that an IMAP server return an empty string ? Or it should give back a NIL value ? If so, perhaps is a bug in courier IMAP. Many thanks for the answers. Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ 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] Strategies to backup Zope?
What should I do to backup Zope (read further...): 1) Can I just backup Data.fs file (and expect that in case of failure I can install zope as usual, copy backed up Data.fs over the installed version, run and be happy)? 2) What can I do in case I wish to backup only part of Zope database contents? In fact, I would like to run usual export on some folder - but I want to do it from cron or sth. similar without employing web interface. Thanks in advance for replies. -- Marcin.Kasperski | Teams do not make linear progress through analysis. @softax.com.pl | They don't start with requirement 1 and analyze it, Marcin.Kasperski | then move to requirement 2 and analyze it. (...) @bigfoot.com | Analysis tends to be revolutionary. (Martin) ___ 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 and Tuxedo?
Has anyone used Zope to act as a Tuxedo client? Is anyone interested in doing this? Mostly it means creating a python extension that acts as a Tuxedo client, and then integrating that into Zope as a ZClass or Product or something. -- cary Tuxedo is pretty slick. You can download a trial version if you want. http://www.bea.com/products/tuxedo/index.html ___ 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] monitoring the zope-process with daemontools
hi, not really a zope-problem, but maybe someone can help me: I have posted a few days ago that I have problems with my zope dying suddenly. Someone suggested to use D. Bernsteins daemon-tools, not as a solution to my problem, but helpful anyway. I made this tool working on my production system, but there's one problem with it: as long as I start it by hand with the command svscan /service & everything works fine. But when I start it automatically at boot time (through an entry in rc.local) then Zope starts up as I wanted it to do, it gets monitored and restarted again in case of a sudden death, but my DCOracle Database Connection tells me "not connected" and when I try to open it, Zope dies. I have trouble connecting to Oracle since month now, it never works as I expect. Is there anybody out there having no problems with Zope and Oracle databases? I'd really like to know that. Yours, Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ 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] WebDAV, FrontPage2000, Save
Hi there, I have problems to save files by using FrontPage2000´s webfolder function via WebDAV to Zope (Zope-2.1.6-linux2-x86). Here is my Z2.log: 192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 2529 "" "MSFrontPage/4.0" 192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "GET /hihi/ HTTP/1.1" 200 544 "" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 192.168.1.3 - - [27/Jul/2000:13:40:38 +0200] "GET /p_/ZopeButton HTTP/1.1" 200 9473 "" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 192.168.1.3 - - [27/Jul/2000:13:40:44 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 192.168.1.3 - - [27/Jul/2000:13:40:45 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 2529 "" "MSFrontPage/4.0" 192.168.1.3 - - [27/Jul/2000:13:40:51 +0200] "OPTIONS /hihi HTTP/1.1" 200 383 "" "Microsoft Data Access Internet Publishing Provider Cache Manager" 192.168.1.3 - - [27/Jul/2000:13:40:51 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" "Microsoft Data Access Internet Publishing Provider DAV" 192.168.1.3 - - [27/Jul/2000:13:41:02 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" "Microsoft Data Access Internet Publishing Provider DAV" 192.168.1.3 - - [27/Jul/2000:13:41:02 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" "Microsoft Data Access Internet Publishing Provider DAV" 192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" "Microsoft Data Access Internet Publishing Provider DAV" 192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 2529 "" "MSFrontPage/4.0" I think it is an authenticaton problem. But where do I give FrontPage the user + password? Thank you very much Marcus P.S.: Is it possible to show Zope-Sites in FrontPage without giving the user the possibiliy to see the standard-header/footer? They should not be able to make changes to header+footer. __ (0> Marcus Schopen //\ Bielefeld, Germany V_/_ __ ___ 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] create an MeetingManagement object in a folder
I use the MeetingManagment object, and it works, but can I define the folder where the objet are created ? David Sergent ___ 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 and Tomcat
Hi all, I'm currently analysing this wonderfull product named Zope and I'm wondering if it is possible to integrate Zope with the JSP technology via why not Tomcat. The reason is the devevelopment team has a good experience with JSP and our current project - write in java - should plugged in a portal like ZOPE can do ! Thanks you for your information Christophe Lombart Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] Call of an SQL Method within a DTML document...
Hi, How can I call and SQL method within a DTML document (HTML code) ? Thanks Vincent ___ 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 and Tomcat
To start you might want to look at some benchmarking I did between Zope and Tomcat http://www.zope.org/Members/BwanaZulia/zope_benchmarks/tomcat1.html (1 of 4 rounds) To answer your question though, since Zope can sit behind Apache (cgi based, proxy pass, etc) and Tomcat can sit behind Apache (writes its own config file NOTE TO DC THIS IS REALLY NICE!) you should be able to mix and match. Tomcat will not server Zope and Zope will not serve Tomcat but you could get them to talk to the same databases and serve off the same instance of Apache. Good luck. J > From: "Christophe Lombart" <[EMAIL PROTECTED]> > Date: Thu, 27 Jul 2000 16:25:05 CEST > To: [EMAIL PROTECTED] > Subject: [Zope] Zope and Tomcat > > Hi all, > > I'm currently analysing this wonderfull product named Zope and I'm wondering > if it is possible to integrate Zope with the JSP technology via why not > Tomcat. The reason is the devevelopment team has a good experience with JSP > and our current project - write in java - should plugged in a portal like > ZOPE can do ! > > > Thanks you for your information > Christophe Lombart > > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] Problems with JavaScript in WinNT + Netscape! Urgent!
Hi I am using JavaScript's in zope and until now I havent experienced any problem. Today something strange happened though.. when editing a JavaScript it suddenly stopped working in WindowsNT with Netscape. It worked however in IE on the same computer and on Netscape running on Linux (RedHat 6.2). When examining the errormessages and the code I have found that the errors seem to be some linebreaks that do not show up when I am looking at the source (not even with w-get). The reason I suspect that is the problem is that the errors are like: "secondsVisi is not defined." when in fact the name of the variable is "secondsVisible". I also saw one linebreak when looking at the source for the html-document once. Can anybody tell me why this happens? I dont suspect this is a browser-bug because the JavaScript works just fine in Netscape running on Linux. This is not a cache-thing either because we have tried everything in that area. Therefore I wonder if this may be an issue in 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] Zope and Tomcat
There is a plan to integrate the java technology (mainly JSP & servlet) into the Zope engine in order to use only one web extension for the content management and java program. Christophe >From: "J. Atwood" <[EMAIL PROTECTED]> >To: Christophe Lombart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: Re: [Zope] Zope and Tomcat >Date: Thu, 27 Jul 2000 10:49:18 -0400 > >To start you might want to look at some benchmarking I did between Zope and >Tomcat > >http://www.zope.org/Members/BwanaZulia/zope_benchmarks/tomcat1.html (1 of 4 >rounds) > >To answer your question though, since Zope can sit behind Apache (cgi >based, >proxy pass, etc) and Tomcat can sit behind Apache (writes its own config >file NOTE TO DC THIS IS REALLY NICE!) you should be able to mix and match. >Tomcat will not server Zope and Zope will not serve Tomcat but you could >get >them to talk to the same databases and serve off the same instance of >Apache. > >Good luck. > >J > > > From: "Christophe Lombart" <[EMAIL PROTECTED]> > > Date: Thu, 27 Jul 2000 16:25:05 CEST > > To: [EMAIL PROTECTED] > > Subject: [Zope] Zope and Tomcat > > > > Hi all, > > > > I'm currently analysing this wonderfull product named Zope and I'm >wondering > > if it is possible to integrate Zope with the JSP technology via why not > > Tomcat. The reason is the devevelopment team has a good experience with >JSP > > and our current project - write in java - should plugged in a portal >like > > ZOPE can do ! > > > > > > Thanks you for your information > > Christophe Lombart > > > > > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 ) > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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] Re: ZEO and 2gb max limit for linux .. not for solaris etc.
Sven Hohage wrote: > > Hallo Jorgen, > I write you cause I've got a question about Zope. > You've posted on the mailing list on my question with the filesize of > the data.fs or in ZEO ZSS. > My problem is that I'd like to know which Unix - versions don't have > this filesize limitations and if there is a linux version without that > limit. > Or do you know another way to solve this problem?? > Many thanks > Sven Hmm.. well .. I can tell you what I know as of today. Linux has this limitation as of today. At least all the variants I have come over (mostly Red Hat and Suse). The limitation is in the filesystem implementation itself; meaning that the number of "references" that can be created cannot exceed the address limit of 2gb. Solaris does not have this limitation and neither does Hp-Ux or SGI Irix. I know previous versions of SunOS (v4.x) had the same limitation as linux is experiencing today. Though.. there are ways "around" the problem. Though; all different over the variuos unix versions as of today. When running Zope you really don't have much choice on linux. When you hit the 2gb barrier .. you have problems. I have not tried it .. but as I can recall there was a product for Zope that made it possible to "mount" several databases at once .. though it was beta. .. this might solve a problem .. and would from my point of view be a nice way to go. This way; the administrator of the system also have some choices as to where he want to put his data. Then you can move certain object databases to fast storage .. and so forth. .. so; if you have those problems; get Solaris v7/v8 for Intel (or if you can afford it-> sparc!) .. and run Zope of that. I do so .. but then again; I am not near the 2gb barrier that many people have come over. ;) .. on the other hand; I am not aware of the various "beta" filesystem implementations and kernel "to-do"'s for linux, but I suspect that it will not be long before that problem is solved. .. oh! When I think of it.. SGI has ported their XFS to linux. Not sure how far that implementation has gone yet.. but the link to check out is; http://oss.sgi.com/projects/xfs/ Looks promising.. and a "production" like filesystem for linux is a "must" as far as I can see. ;) Just read the brief here; Sub-second filesystem recovery after crashes or power failures (never wait for long fscks again) 64-bit scalability: millions of terabytes, millions of files, and a million files per directory (no more 2 GB limits) High reliability and performance from journaling and other advanced algorithms Hope that helped a bit?? .. just shoot if there's more I can help with! ;) -- Med vennlig hilsen, Jørgen Skogstad /\System Specialist \\ \ \ \\ / Sun Microsystems AS / \/ / / Gjerdrums vei 12 / / \//\N-0486 Oslo, NORWAY \//\ / / / / /\ / Phone:+ 47 22 02 39 00 / \\ \ Cellular: + 47 92 41 30 23 \ \\ Fax: + 47 22 02 39 99 \/EMail:[EMAIL PROTECTED] Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer. ___ 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's wrong with this snippet?
hi all, i tried and searched to find the error but i couldn't solve it. Could anyone help me with this code: Where i can find infos about sql calls with dtml-in? $Reagrds MM ___ 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 and Tomcat
Do you have a timeframe for this to avaiable ? >There is a plan to integrate the java technology (mainly JSP & servlet) into > the Zope engine in order to use only one web extension for the content > management and java program. >Christophe ___ 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 stability problems under Linux SuSe 6.4 (Kernel 2.2.14)
Quite regularily I encounter stability problems with Zope: Suddenly without heavy use My Zope process rises the below mentioned error message and then does not accept any IP connections and must be manually stopped and restarted. These lockups happen under SuSe 6.4, I can reproduce it on two different machies : - celeron 400 MHz single processor 256 MB and - Pentium III 650 MHz dual processor 256 MB Also the seem to be independent of the Zope version ,I encountered them with the versions 2.1.4, all 2.2.0 betas 2.2.0 release The problems happen with standard config and with multiple threads (-t 10 option) --2000-07-27T14:58:02 ERROR(200) ZServer uncaptured python exception, closing channel (exceptions.TypeError:unpack non-sequence [/usr/local/Zope-2.1.4-linux2-x86/ZServer/medusa/asyncore.py|poll|59] [/usr/local/Zope-2.1.4-linux2-x86/ZServer/medusa/asyncore.py|handle_read_event|285] [/usr/local/Zope-2.1.4-linux2-x86/ZServer/medusa/http_server.py|handle_accept|609] ) -- Any hints? it's quite annoying, I dont want to run Zope under Windows (it runs stable there). I have no clue because I did not fiddle around in the Zope source nor in the Linux kernel (2.2.14), but considering that zope.org runs under linux there must be a solution thanks in advance Philipp Auersperg (zwork)
Re: [Zope] Problems with JavaScript in WinNT + Netscape! Urgent!
> I am using JavaScript's in zope and until now I havent experienced any > problem. Today something strange happened though.. when editing a > JavaScript it suddenly stopped working in WindowsNT with Netscape. It > worked however in IE on the same computer and on Netscape running on > Linux (RedHat 6.2). When examining the errormessages and the code I have > found that the errors seem to be some linebreaks that do not show up > when I am looking at the source (not even with w-get). The reason I > suspect that is the problem is that the errors are like: "secondsVisi is > not defined." when in fact the name of the variable is "secondsVisible". > I also saw one linebreak when looking at the source for the > html-document once. > > Can anybody tell me why this happens? I dont suspect this is a > browser-bug because the JavaScript works just fine in Netscape running > on Linux. This is not a cache-thing either because we have tried > everything in that area. Maybe is better to give us a link or a pice of code.. On NN [probablly] you must call something like `document.variable' insted of just 'variable' or depends, the `document' is necessary [usually a lot of people don't do this and have problems] I dont know if you know, but if you type in the NN 'javascript:' will give you a JavaScript Console, is very usefull >Therefore I wonder if this may be an issue in > Zope? No way PM ___ 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] Netscape & Open session with NT active user
Hi, In fact, it is not just a question about Zope, it is a question about Netscape : When you protect a directory and ask for a password, I would like to know if Netscape is able to access to the parameters of the loged user (under NT). PS : In fact, I would like that the users do not need to enter twice their login/password. Thanks Vincent ___ 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 and Tuxedo?
Cary O'Brien wrote: > > Has anyone used Zope to act as a Tuxedo client? > > Is anyone interested in doing this? > > Mostly it means creating a python extension that acts as a Tuxedo > client, and then integrating that into Zope as a ZClass or Product or > something. > Writing python extension should not be hard, but Tuxedo used to have problems in multithreaded environment. Check whether Tuxedo client works in multithreaded program before further attempts (I do not know how does it look now, I used Tuxedo ~ 2 years ago). -- Marcin.Kasperski | Most of the bad things that can happen to a project @softax.com.pl | are the result of miscommunication. Marcin.Kasperski | (Booch,Martin,Newkirk) @bigfoot.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] Zope and Tomcat
That is a seriously lofty goal, but good luck. J > From: "Christophe Lombart" <[EMAIL PROTECTED]> > > There is a plan to integrate the java technology (mainly JSP & servlet) into > the Zope engine in order to use only one web extension for the content > management and java program. > > Christophe > ___ 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] (no subject)
hi, do you know any zope's competitors ? Kate ___ 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: ZEO and 2gb max limit for linux .. not for solaris etc.
If you don't wan't to run Sun or HP-UX you could always look at one of the open *BSD clones. As I can recall both OpenBSD and FreeBSD have filsystems that manage >2GB files. /Johan > Sven Hohage wrote: > > > > Hallo Jorgen, > > I write you cause I've got a question about Zope. > > You've posted on the mailing list on my question with the filesize of > > the data.fs or in ZEO ZSS. > > My problem is that I'd like to know which Unix - versions don't have > > this filesize limitations and if there is a linux version without that > > limit. > > Or do you know another way to solve this problem?? > > Many thanks > > Sven > > Hmm.. well .. I can tell you what I know as of today. Linux > has this limitation as of today. At least all the variants I > have come over (mostly Red Hat and Suse). The limitation is in > the filesystem implementation itself; meaning that the number > of "references" that can be created cannot exceed the address > limit of 2gb. > > Solaris does not have this limitation and neither does Hp-Ux > or SGI Irix. I know previous versions of SunOS (v4.x) had the > same limitation as linux is experiencing today. > > Though.. there are ways "around" the problem. Though; all different > over the variuos unix versions as of today. When running Zope > you really don't have much choice on linux. When you hit the > 2gb barrier .. you have problems. I have not tried it .. but > as I can recall there was a product for Zope that made it possible > to "mount" several databases at once .. though it was beta. > > .. this might solve a problem .. and would from my point of view > be a nice way to go. This way; the administrator of the system > also have some choices as to where he want to put his data. > Then you can move certain object databases to fast storage .. > and so forth. > > .. so; if you have those problems; get Solaris v7/v8 for Intel > (or if you can afford it-> sparc!) .. and run Zope of that. > > I do so .. but then again; I am not near the 2gb barrier that > many people have come over. ;) > > .. on the other hand; I am not aware of the various "beta" > filesystem implementations and kernel "to-do"'s for linux, > but I suspect that it will not be long before that problem > is solved. > > .. oh! When I think of it.. SGI has ported their XFS to linux. > Not sure how far that implementation has gone yet.. but the > link to check out is; > > http://oss.sgi.com/projects/xfs/ > > Looks promising.. and a "production" like filesystem for linux > is a "must" as far as I can see. ;) Just read the brief here; > > Sub-second filesystem recovery after crashes or power > failures (never wait for long fscks again) > > 64-bit scalability: millions of terabytes, millions of files, > and a million files per directory (no more 2 GB limits) > > High reliability and performance from journaling and other > advanced algorithms > > Hope that helped a bit?? > > .. just shoot if there's more I can help with! ;) > > -- > > > Med vennlig hilsen, > Jørgen Skogstad > > > /\System Specialist > \\ \ > \ \\ / Sun Microsystems AS >/ \/ / / Gjerdrums vei 12 > / / \//\N-0486 Oslo, NORWAY > \//\ / / >/ / /\ / Phone:+ 47 22 02 39 00 > / \\ \ Cellular: + 47 92 41 30 23 > \ \\ Fax: + 47 22 02 39 99 > \/EMail:[EMAIL PROTECTED] > Web: www.sun.no > > BTW; Opinions formed by myself in informal mailings are > mine and not of my employer. > > ___ > 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] zope's competitors
hi, do you know zope's competitors? Kate ___ 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: MySQL as backend for a website
Heiko Stoermer wrote: > Try Zope ! (www.zope.org) > it enables you to do many things without a > database very easily. and: yes, it can also connect to mysql. What is the best (latest?!) implementation of a db connector for Zope? Seems to be several outthere.. but I have not yet tried any. ;) Thanks! ;) -- Med vennlig hilsen, Jørgen Skogstad /\System Specialist \\ \ \ \\ / Sun Microsystems AS / \/ / / Gjerdrums vei 12 / / \//\N-0486 Oslo, NORWAY \//\ / / / / /\ / Phone:+ 47 22 02 39 00 / \\ \ Cellular: + 47 92 41 30 23 \ \\ Fax: + 47 22 02 39 99 \/EMail:[EMAIL PROTECTED] Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer. ___ 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] Starting Zope
Hello All, How can I to start Zope whit a different user than root and cath the default HTTP port? If I try for example: su - -c './start -w 80 -u zope' I receive an error becouse root hasn't granted the need privileges on /Zope/var/ directory. Thanx -- >< / * * / / < / __oOOo__/__/_oOOo (°> Giovanni Costagliola (jancos) //\ email: [EMAIL PROTECTED] V_/_voice: +39 (0)347 1174139 _ / / / / ( (__ \ \ / /#*** * ** \ \/ /*** * * \ /###*** * ** \ /##*** * * \___/#*** * ** ___ 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's competitors
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: > do you know zope's competitors? Offtopic, er? :) I coolected some on the page: http://zope.net.ru/Zope/rivals/ Some texts are in Russian there, but mostly the text is in English; anyway links are just, hm, links. :) Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ 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] R: [Zope] What's wrong with this snippet?
___ "Will I be using Python today?" and if the answer is "yes" I know that it's going to be a good day. - Original Message - From: Marko MARKOVIC <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 5:12 PM Subject: [Zope] What's wrong with this snippet? > hi all, > > > i tried and searched to find the error but i couldn't solve it. Could anyone > help me with this code: > > (sentrydate[6:],sentrydate[3:5],sentrydate[:2])) ORDER BY ns.ns_entrydate > desc')" size=10 start=query_start> > > > Where i can find infos about sql calls with dtml-in? try something like Dont forget about ESCAPE character: \ ' \'%s%s%s%s\`...' PM ___ 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] Downloadable Zope reference and products?
Is it possible to download in some way complete zope reference and zope products? In case anyone is interested why do I need it: I have fast internet link at work. I have time to study Zope at home. -- Marcin.Kasperski | Users typically do not know exactly what they want @softax.com.pl | and are unable to articulate all that they know. Marcin.Kasperski | (Parnas) @bigfoot.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] Starting Zope
On Thu, 27 Jul 2000, Costagliola Giovanni wrote: > How can I to start Zope whit a different user than root and cath the > default HTTP port? Use different way - start Zope as root, catch port 80 and drop uid. > I receive an error becouse root hasn't granted the need privileges on > /Zope/var/ directory. This is a different error, not a problem with port 80, ah? Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ 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: ZEO and 2gb max limit for linux .. not for solaris etc.
Jørgen Skogstad wrote: > > Sven Hohage wrote: > > > > Hallo Jorgen, > > I write you cause I've got a question about Zope. > > You've posted on the mailing list on my question with the filesize of > > the data.fs or in ZEO ZSS. > > My problem is that I'd like to know which Unix - versions don't have > > this filesize limitations and if there is a linux version without that > > limit. > > Or do you know another way to solve this problem?? > > Many thanks > > Sven > > Hmm.. well .. I can tell you what I know as of today. Linux > has this limitation as of today. At least all the variants I > have come over (mostly Red Hat and Suse). The limitation is in > the filesystem implementation itself; meaning that the number > of "references" that can be created cannot exceed the address > limit of 2gb. > Not quite true. The problem only exixts in Linux on 32 bit x86 hardware. Wherever Linux is 64 bit, the problem is non-extant. BTW, both RedHat and Suse (and Debian, IIRC) have distribions for the Alpha platform. Also, all this is detailed several times in the archives. Bill Anderson -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] DA, MySQL and Unix socket
hi... There'a any DA around there that allow a unix socket connection to a MySQL server? And if it is, it will be fast than a TCP connection? I'm running zope and mysql on the same server Thanks -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr) ___ 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] Full path var on Zope.org login link (Ethan!)?
What DTML-VAR do they use on Zope.org to populate the came_from variable for the 'login' link? I have used dtml-var absulute_url but it does not seem to return the full path 'http://www.thedomain.com/folder/page.html' Any help would be great. Thanks, J ___ 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: Zope Tutorial
> I'm an absolute newbie at zope, and I can't get your tutorial running > (Windows 2000, cookies enabled). Here's what to do: * Get Zope 2.2, download it, install it. * Log in to Zope with the super user account. * Create a manager account by going to the User Folder and adding a new user, and giving them the Manager role. * Quit your browser to log out. * Log into Zope as the manager you just created. * Create a Zope Tutorial, by adding it from the product add list. * Now do the tutorial. Good luck! -Amos -- Amos Latteier mailto:[EMAIL PROTECTED] 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] Starting Zope
Il gio, 27 lug 2000, Oleg Broytmann ha scritto: > On Thu, 27 Jul 2000, Costagliola Giovanni wrote: > > How can I to start Zope whit a different user than root and cath the > > default HTTP port? > >Use different way - start Zope as root, catch port 80 and drop uid. > > > I receive an error becouse root hasn't granted the need privileges on > > /Zope/var/ directory. > >This is a different error, not a problem with port 80, ah? > I see Oleg, more exactly I would start ZServer with an user like 'zope', for example, but at the same time I want it links the port 80! I could use the root user simply but I'll lose my sleep :^) Can you give me some input? > Oleg.(All opinions are mine and not of my employer) > > Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] >Programmers don't die, they just GOSUB without RETURN. -- >< / * * / / < / __oOOo__/__/_oOOo (°> Giovanni Costagliola (jancos) //\ email: [EMAIL PROTECTED] V_/_voice: +39 (0)347 1174139 _ / / / / ( (__ \ \ / /#*** * ** \ \/ /*** * * \ /###*** * ** \ /##*** * * \___/#*** * ** ___ 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] DA, MySQL and Unix socket
Diego Rodrigo Neufert wrote: > There'a any DA around there that allow a unix socket connection to a MySQL > server? There is, but I'm afraid there seems to be a bit of voodoo around WRT to which version to use and how to install it :S I know we've got it up and running happily... Steve, a bit of advice perhaps? 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 )
[Zope] FindOneOf?
ColdFusion (I know, a dirty word ;-) ) has a nifty string function called "FindOneOf" which returns the index of the occurrence of any character in a string. Example: FindOneOf("ghd", "abcdefghij", 1) Will return a "4" because "d" is the fourth letter in the string "abcdefghij". If no match is made, a 0 is returned. This is especially useful when building a change password form, because I can easily check to see that the new password contains at least one special character, upper case character, number, etc. Is there anything similar to FindOneOf in ZOPE? If not, does anyone have any hints on how I can go about doing this kind of thing through dtml or python? -=Brad=- ___ 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's competitors
Oleg Broytmann wrote: >I coolected some on the page: http://zope.net.ru/Zope/rivals/ Disney's Open Source Tea project looks interesting: http://opensource.go.com/ Is here anyone with enough time to check it out? :-) Cheers, Nils -- [EMAIL PROTECTED] | [EMAIL PROTECTED] (preferred) [EMAIL PROTECTED] | [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] FindOneOf?
"Mabe, Brad" wrote: > Will return a "4" because "d" is the fourth letter in the string > "abcdefghij". If no match is made, a 0 is returned. This is especially > useful when building a change password form, because I can easily check to > see that the new password contains at least one special character, upper > case character, number, etc. You haven't got an 'x' in your stuff Yay! That'll do for starters, you might want to look into the python re module (you'll need an external method as I don't think python methods support re...) 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] Zope and Tuxedo? (fwd)
- Forwarded message from Marcin Kasperski - >From digest Thu Mar 9 07:50:32 EST 2000 Date: Thu, 27 Jul 2000 17:28:34 +0200 From: Marcin Kasperski <[EMAIL PROTECTED]> To: Zope List Submission <[EMAIL PROTECTED]> Subject: Re: [Zope] Zope and Tuxedo? Marcin wrote... > Cary O'Brien wrote: > > > > Has anyone used Zope to act as a Tuxedo client? > > > > Is anyone interested in doing this? > > > > Mostly it means creating a python extension that acts as a Tuxedo > > client, and then integrating that into Zope as a ZClass or Product or > > something. > > > > Writing python extension should not be hard, but Tuxedo used to have I got partway through using SWIG for client wrappers, but I haven't had time to actually run them yet. Soon I hope. The more interesting part is to have a Tuxedo server that registers services and fires off python code to execute the services. You have to start a Python interpreter and call it from C. It seems fully documented, and not too much more complicated than doing the same thing from TCL. > problems in multithreaded environment. Check whether Tuxedo client works You are right. It did cause problems in a multi-threaded environment. I'll refrain from recounting my HP/UX horror story here... > in multithreaded program before further attempts (I do not know how does > it look now, I used Tuxedo ~ 2 years ago). > The current documentation says that the current version (7.1) is thread safe. I have yet to test this out. Soon, I hope. You can download a copy for Linux from www.bea.com if anyone is interested. -- cary > -- > Marcin.Kasperski | Most of the bad things that can happen to a project > @softax.com.pl | are the result of miscommunication. > Marcin.Kasperski | (Booch,Martin,Newkirk) > @bigfoot.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] web publishing from frontpage/webdav support
hi everyone, i want to publish my html files directly from frontpage2000. how can i do this. i tried to use 'web publish' and gave ftp://localhost:8021 as the sitename but frontpage was not able to connect to it. btw i am running zope on win2000. otherwise i have heard about webdav support in zope, how do use webdav from frontpage. the frontapge and zope are on the same system. please help. thanks for any tips. Rajil Saraswat ___ 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] Netscape & Open session with NT active user
Hi, It doesn't work if you think of the NT chalenge response authorization of IIS. This needs IE on the client side. But if you want to access this file through the file system then Netscape behaves as any other win32 application. Arpad On 27-Jul-2000 Vincent wrote: > Hi, > > In fact, it is not just a question about Zope, it is a question about > Netscape : > > When you protect a directory and ask for a password, I would like to know if > Netscape is able to access to the parameters of the loged user (under NT). > > PS : In fact, I would like that the users do not need to enter twice their > login/password. > > Thanks > > Vincent > > > ___ > 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 ) -- E-Mail: Arpad Kiss <[EMAIL PROTECTED]> Date: 27-Jul-2000 Time: 21:56:24 This message was sent by XFMail -- ___ 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] DA, MySQL and Unix socket
On Thu, 27 Jul 2000, you wrote: > Diego Rodrigo Neufert wrote: > > There'a any DA around there that allow a unix socket connection to a MySQL > > server? > > There is, but I'm afraid there seems to be a bit of voodoo around WRT to > which version to use and how to install it :S Can you just say the name of the adpter? I've found nothing about it in ZMySQLDA... > I know we've got it up and running happily... If u tell me the URL to get it, or just the name I will try to run it happily too.. :) I wanna do some benchs btw a tcp and a unix socket connection... Thanks... > Steve, a bit of advice perhaps? > > cheers, > > Chris -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr) ___ 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 on Linux - Oracle 7.3 Solaris connect question... ZOracleDA how tocompile?compile?
Zelp! (: I have a Linux based Zope installation that I need to connect up with a copy of Oracle 7.3 Workgroup Server running on a Solaris machine. I understand from a recent post that I will need to install Oracle client libraries for Linux in order for the ZOracleDA on the Linux box that is running Zope to compile- I don't have an older Oracle client for Linux, if indeed one was made.. (you can tell that I'm new to this here..) So...ta da... I have several newbie questions.. Obviously Oracle 7.3 is not the current rev. so... 1.) Can I use the current Linux version of the Oracle client to compile the ZOracleDA, then use that install to connect to Oracle 7.3 without errors? 2.) If I cant, does anyone have any suggestions on ways to solve this problem? 3.) Are there any particular caveats in considering this kind of configuration, or anything not covered in the docs.. I'm a relative newcomer to Zope, so *any* help is welcome and highly appreciated... Thank you very much... Chris Beaumont [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] SV: [Zope] Re: ZEO and 2gb max limit for linux .. not for solaris etc.
> > Hmm.. well .. I can tell you what I know as of today. Linux > > has this limitation as of today. At least all the variants I > > have come over (mostly Red Hat and Suse). The limitation is in > > the filesystem implementation itself; meaning that the number > > of "references" that can be created cannot exceed the address > > limit of 2gb. > Not quite true. The problem only exixts in Linux on 32 bit x86 hardware. > Wherever Linux is 64 bit, the problem is non-extant. > BTW, both RedHat and Suse (and Debian, IIRC) have distribions for the Alpha platform. Yep.. didn't think of that as I have never reasoned for running linux on any of those platforms. ;) I've used to running Solaris on sparc.. and when needed linux on x86 hardware (when solaris for intel was not the correct choice). Though; I look forward for SGI's implementation og XFS when it arrives in beta this summer. Though; are there any possibilities that Zope may implement "Oracle style" distribution og the databases in due time? Like then you have a bit more "control" over where you put your data .. and what kind of devices you put them on? .. possibly this can be done through ZEO and the beta shared object database (mount more than one instance of the Data.fs files). Have a real nice day! ;) Kindest, Jørgen Skogstad ___ 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] newbie DTML namespace
Brad Moulton writes: > I would like to build a table depending on some tests peformed on stuff > returned form a Z SQL method > > 1. I have a form with a name="spam" value="egs" > this value is passed onto next dtml document > - > table > > // displays 'eggs' to test spam is OK > > // this does a join of two tables > > sqlstuff.spam} > etc > > > -- Your problem is solved by renaming. You can either rename your DTML var or your SQL column result name: DTML var: SQL column result name: select spam as sqlspam ... You now access the "spam" column under the name "sqlspam". I, regularly, use SQL column renaming. 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] monitoring the zope-process with daemontools
Andy Pahne writes: > I have posted a few days ago that I have problems with my zope dying > suddenly. > > Someone suggested to use D. Bernsteins daemon-tools, not as a solution to my > problem, but helpful anyway. I made this tool working on my production > system, but there's one problem with it: as long as I start it by hand with > the command > svscan /service & > everything works fine. > > But when I start it automatically at boot time (through an entry in > rc.local) then Zope starts up as I wanted it to do, it gets monitored and > restarted again in case of a sudden death, but my DCOracle Database > Connection tells me "not connected" and when I try to open it, Zope dies. It seems that your environment is different for interactive start and start during boot. Remember, that Oracle requires a set of environment variables set, especially ORACLE_HOME. > I have trouble connecting to Oracle since month now, it never works as I > expect. Is there anybody out there having no problems with Zope and Oracle > databases? I'd really like to know that. We have little problems Beside something corrupting the heap. I do not yet know, what is to blame -- but maybe in a few days. 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] Re: [Zope-dev] Need for "aq_base" in DTML(was: Re: [Zope] Dumb DTMLquestion - existance check of an object)question - existance check of an object)
Steve Alexander writes: > > * Existence check: "_.hasattr(object,what)" > > NOTE, that this is the sloppy part. > > > > - "_.hasattr" will return true, if "object" has > > attribute "what" (that is what we want) > > *OR* when it has acquired such an attribute > > (we do *NOT* want that here). > > > > What we would need is a DTML accessible version > > of "aq_base". This is trivially handled by > > an external method. > > Can you do this with the following in DTML? > > > > ...stuff... > > It may work for "PARENTS[-1]" but it can not be generalized: The DTML namespace is essentially a stack of mappings. The "with" tag with the "only" attribute starts a new stack and pushes the object onto this new stack. Inside the "with", you will only see attributes of the object itself *or* attributes that the object acquired. This "or" is the problem. Acquisition and namespace stacking are orthogonal. You strip the namespace stacking with the "only" attribute (of the "with" tag), you strip the acquisition context with the "aq_base" attribute (of the object). 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] Strategies to backup Zope?
Marcin Kasperski writes: > 1) Can I just backup Data.fs file (and expect that in case of failure I > can install zope as usual, copy backed up Data.fs over the installed > version, run and be happy)? This is a FAQ. Look into the list's archive. > 2) What can I do in case I wish to backup only part of Zope database > contents? In fact, I would like to run usual export on some folder - but > I want to do it from cron or sth. similar without employing web > interface. You can use "export/xmlexport" via ZClient. There is a HowTo at zope.org about how to control Zope via ZClient from cron. 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 )
[Zope] Znolk - Not recognizing ODBC
I have downloaded the latest Znolk which claims to now support the Z ODBC DA. When I try to run the Znolk wizard it tells me I have no DB connections when I do. Any suggestions? __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ ___ 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] FindOneOf?
In a Python external method: import re def FindOneOf(to_find, search_str): match_obj = re.search("[%s]" % to_find, search_str) if match_obj: return match_obj.start() + 1 else: return 0 So, calling FindOneOf("ghd", "abcdefghij") returns 4. This will work as is unless searching for a '-' (which will work ok as long as it is at the start of to_find). Not quite sure what the third argument 1 is for in the ColdFusion version, so say something if it is important. On Thu, Jul 27, 2000 at 03:44:54PM -0400, Mabe, Brad wrote: > ColdFusion (I know, a dirty word ;-) ) has a nifty string function called > "FindOneOf" which returns the index of the occurrence of any character in a > string. > > Example: > FindOneOf("ghd", "abcdefghij", 1) > > Will return a "4" because "d" is the fourth letter in the string > "abcdefghij". If no match is made, a 0 is returned. This is especially > useful when building a change password form, because I can easily check to > see that the new password contains at least one special character, upper > case character, number, etc. Is there anything similar to FindOneOf in > ZOPE? If not, does anyone have any hints on how I can go about doing this > kind of thing through dtml or python? > > -=Brad=- -- Patrick Lewis <[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] Call of an SQL Method within a DTML document...
Vincent writes: > How can I call and SQL method within a DTML document (HTML code) ? Read the Z SQL Method Guide (zope.org -> Documentation). If you have more questions after that, the list will surely answer them. 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 )
[Zope] Newbie question on page counters
I'm in the process of learning Zope hacking, and I'm having a really hard time getting a page counter to work. It isn't even that page counters are all that important to me, it's that I feel that if I can't even do something this simple, what hope do I have doing something really hard? Here's what I've done. (1) Under "Properties" I've created two properties (both ints) counter_starting_value, which I've set to 11 (arbitrarily) counter_value, which I've set to 0 (2) I then created a DTML method. I spent some time pouring through the DTML Reference, but I really didn't find a lot on how to modify variables. Here's what I tried: This didn't work. The error message reported that the syntax in the first (and probably the second, but I never got past the first) dtml-let command was wrong. I also tried things like # got a syntax value for dtml-var here #same problem here. Is there an easy way to do this? Thanks in advance, Rick -- Richard P. Muller, Ph.D. [EMAIL PROTECTED] http://www.wag.caltech.edu/home/rpm ___ 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] Newbie question on page counters
"Richard P. Muller" wrote: > I'm in the process of learning Zope hacking, and I'm having a really > hard time getting a page counter to work. It isn't even that page > counters are all that important to me, it's that I feel that if I can't > even do something this simple, what hope do I have doing something > really hard? The ZODB is a _really_ bad place to store a page counter, especially on a busy site. Data.fs will grow each time your counter increments. This is because it's a transactional daatbase with undo ability... > Here's what I've done. > (1) Under "Properties" I've created two properties (both ints) > counter_starting_value, which I've set to 11 (arbitrarily) > counter_value, which I've set to 0 Sounds good :-) > > > > > > > > > This didn't work. The error message reported that the syntax in the > first (and probably the second, but I never got past the first) dtml-let > command was wrong. Whoops, just remember this: DTML is not a programming language, it is designed for data presentation and form processing. Or something like that ;-) To do what you want, you probably want something like: Which isn't pretty :S 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 )
[Zope] working with datetime
Is there an easy way to increment the month or year of the DateTime object? Adding a numeric value increments the day. Incrementing the year is easily doable, but incrementing the month is significantly more difficult. So I'm just curious if there's a function that will actualy modify the parts of a DateTime object, or something way that I'm not thinking of to easily increment the month. ___ 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] Newbie question on page counters
Chris Withers wrote: > To do what you want, you probably want something like: > > >"manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)"> Erk, maybe this: 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 )
[Zope] Would you like to see Jim Fulton and Paul Everitt in Portugal?
ZopersORG team is organizing the ZWP2000 (Zope World Portugal 2000) event. So we're having a poll about Jim and Paul comming to Portugal in our main site: http://www.zopers.org We hope ZWP2000 is the first of many international Zope events in Portugal. It would be great to have Jim and Paul here for the first event but we really need to know how people feel about this... so please vote! For those who aren't portuguese here's the poll's translation: Would you like to assist an international Zope conference in Portugal? 1- Claro que sim (Yes! Of course) 2- Não (No) 3- Zope??? (hehe) 4- Sou surdo (I'm deaf) :-) We hope this can turn into a really big event!!! = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! ___ 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] Newbie question on page counters
Chris Withers wrote: > > Chris Withers wrote: > > To do what you want, you probably want something like: > > > > > >"manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)"> > > Erk, maybe this: > > >"manage_changeProperties(counter_value=getProperty('counter_value',getProperty(counter_starting_value,0)-1)+1)"> > > Chris Words simply cannot express my gratitude. Can you clue me in a bit more on the functions you called. Looks like they are manage_changeProperties(), getProperty(). I'm guessing these are both Python functions. Where are they documented, so I can learn more? You mentioned that (1) DTML is not a programming language, and that (2) ZODB is a bad place to start on Zope programming. By these two points, should I infer that learning how to write external methods in Python *is* a good place? Can you, or someone else on the list, give me a suitable homework assignment for a first Zope programming project? I was toying with the idea of writing a checkbook register in Zope, but I think it might be beyond my capacities right now. Thanks again, Rick -- Richard P. Muller, Ph.D. [EMAIL PROTECTED] http://www.wag.caltech.edu/home/rpm ___ 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] Newbie question on page counters
"Richard P. Muller" wrote: > > >"manage_changeProperties(counter_value=getProperty('counter_value',getProperty(counter_starting_value,0)-1)+1)"> > Words simply cannot express my gratitude. Wow, guess it worked then... that was a bit of luck (I didn't actually test it ;-) > Can you clue me in a bit more > on the functions you called. Looks like they are > manage_changeProperties(), getProperty(). I'm guessing these are both > Python functions. Where are they documented, so I can learn more? They are APIs/Interfaces exposed by Zope for manipulating properties (a notoriously difficult thing to do in Zope :S) See http://www.zope.org/Members/michel/Projects/Interfaces/PropertyManager for the full list. > You mentioned that (1) DTML is not a programming language, A half joke. DTML, IMHO, is not supposed to be a programming language but until Python and Perl methods become freely available, you have little option but to program in it. External Methods can be a real pain (do NOT try using them with Zope versions ;-) > ZODB is a bad place to start on Zope programming. Not quite. My point was that storing highly dynamic data (such as a page counter) in a transactional database like the ZODB's normal FileStorage is a bad idea since you'll use up loads of disk space very quickly... > By these two points, > should I infer that learning how to write external methods in Python > *is* a good place? Er, maybe, but that's not what I'd recommend. > Can you, or someone else on the list, give me a suitable homework > assignment for a first Zope programming project? I was toying with the > idea of writing a checkbook register in Zope, but I think it might be > beyond my capacities right now. My first port of call was the Zope Content Managers Guide (http://www.zope.org/Documentation/Guides/ZCMG) I worked through that to get the basics (The DTML Reference (http://www.zope.org/Documentation/Guides/DTML) can help but is _really_ out of date) Beehive (www.beehive.de) do what is allegedly quite a good guide to ZClasses, which you'll want to know at some point. You should be using Zope 2.2 as well. This has a Tutorial you can go through which may cover the stuff above better (it should certainly be a lot more up to date ;-) as well as a great 'help' button. It should also have all the decent stable API's from http://www.zope.org/Members/michel/Projects/Interfaces documented in it by now. There should also be a Zope Book on its way from O'Reilly which hopefully make the whole thing a lot easier... If I've missed something, I hope someone else will jump in and say so :-) Hope this helps, 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 )
[Zope] Re: SV: [Zope] Re: ZEO and 2gb max limit for linux .. not for solarisetc.etc.
Jørgen Skogstad wrote: > > > > Hmm.. well .. I can tell you what I know as of today. Linux > > > has this limitation as of today. At least all the variants I > > > have come over (mostly Red Hat and Suse). The limitation is in > > > the filesystem implementation itself; meaning that the number > > > of "references" that can be created cannot exceed the address > > > limit of 2gb. > > Not quite true. The problem only exixts in Linux on 32 bit x86 hardware. > > Wherever Linux is 64 bit, the problem is non-extant. > > BTW, both RedHat and Suse (and Debian, IIRC) have distribions for the Alpha >platform. > > Yep.. didn't think of that as I have never reasoned > for running linux on any of those platforms. ;) I've > used to running Solaris on sparc.. and when needed > linux on x86 hardware (when solaris for intel was not > the correct choice). > > Though; I look forward for SGI's implementation og > XFS when it arrives in beta this summer. I believe, though I may be wrong, that the 2.4 kernel also removes the problem. Which also is due out RSN. :) I am given to understand though, that some have had no success in getting python to create (and use?) a >2GB file, even though the uiderlying mechanisms could (this was on Linux ). So I am hopefull, yet cautios. ANd yes, I am eagerly awaiting for XFS to be done. I already have played with a snapshot of it. Not bad, needs work, but hey, it isn't released yet so, what could I expect, eh? ;) > Though; are there any possibilities that Zope may > implement "Oracle style" distribution og the databases > in due time? Like then you have a bit more "control" > over where you put your data .. and what kind of devices > you put them on? > > .. possibly this can be done through ZEO and the beta > shared object database (mount more than one instance > of the Data.fs files). not quite! You can _either_ use ZEO OR the MountedFileStorage product, but not both. I was working on a MountedZEOStorage, but haven't had as much time for it as I thought I would. Should be relatively easy though. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] Starting Zope
Costagliola Giovanni wrote: > > Il gio, 27 lug 2000, Oleg Broytmann ha scritto: > > On Thu, 27 Jul 2000, Costagliola Giovanni wrote: > > > How can I to start Zope whit a different user than root and cath the > > > default HTTP port? > > > >Use different way - start Zope as root, catch port 80 and drop uid. > > > > > I receive an error becouse root hasn't granted the need privileges on > > > /Zope/var/ directory. > > > >This is a different error, not a problem with port 80, ah? > > > I see Oleg, more exactly I would start ZServer with an user like 'zope', for > example, but at the same time I want it links the port 80! > > I could use the root user simply but I'll lose my sleep :^) > > Can you give me some input? If you want to bind to ports <1024 you _must_ be root. ZXope can run as another user (the -u option), but it must be _started_ as root, if you want to bind to port 80. Period. Sorry, there is no other way, short of making Sope SUID, which is a very, very, very, very, very, very bad idea. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] Newbie question on page counters
Richard, I'd recommend getting the Zope Quick Reference (ZQR) from http://zdp.zope.org (the zope documentation project). I'ts invaluable. Phil [EMAIL PROTECTED] - Original Message - From: Richard P. Muller <[EMAIL PROTECTED]> To: Chris Withers <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 11:44 PM Subject: Re: [Zope] Newbie question on page counters > Chris Withers wrote: > > > > Chris Withers wrote: > > > To do what you want, you probably want something like: > > > > > > > > "manage_changeProperties(counter_value=getProperty(counter_value,counter_sta rting_value-1)+1)"> > > > > Erk, maybe this: > > > > > "manage_changeProperties(counter_value=getProperty('counter_value',getProper ty(counter_starting_value,0)-1)+1)"> > > > > Chris > > Words simply cannot express my gratitude. Can you clue me in a bit more > on the functions you called. Looks like they are > manage_changeProperties(), getProperty(). I'm guessing these are both > Python functions. Where are they documented, so I can learn more? > > You mentioned that (1) DTML is not a programming language, and that (2) > ZODB is a bad place to start on Zope programming. By these two points, > should I infer that learning how to write external methods in Python > *is* a good place? > > Can you, or someone else on the list, give me a suitable homework > assignment for a first Zope programming project? I was toying with the > idea of writing a checkbook register in Zope, but I think it might be > beyond my capacities right now. > > Thanks again, > > Rick > -- > Richard P. Muller, Ph.D. > [EMAIL PROTECTED] > http://www.wag.caltech.edu/home/rpm > > ___ > 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 on Linux - Oracle 7.3 Solaris connect question... ZOracleDA how tocompile?compile?
Hi Chris, You can connect to Oracle 7.3 database from ZOracleDA on Linux compiled against Oracle8/8i client. I've a production environment where Zope 2.1.3 runs on a Redhat 6 machine with Oracle 8.0.5 clients. It connects to an Oracle 7.3 database on HP-UX. All you need to make sure is that your SQL*Net connection in the Zope machine is set properly. Your Solaris machine should be added to $ORACLE_HOME/net/admin/tnsnames.ora properly. [EMAIL PROTECTED] http://vsbabu.csoft.net - Original Message - From: Chris Beaumont <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 4:31 PM Subject: [Zope] Zope on Linux - Oracle 7.3 Solaris connect question... ZOracleDA how tocompile?compile? > Zelp! > > (: > > I have a Linux based Zope installation that I need to connect up with a > copy of Oracle 7.3 Workgroup Server running on a Solaris machine. > > I understand from a recent post that I will need to install Oracle > client libraries for Linux in order for the ZOracleDA on the Linux box > that is running Zope to compile- I don't have an older Oracle client for > Linux, if indeed one was made.. (you can tell that I'm new to this here..) > > So...ta da... I have several newbie questions.. > > Obviously Oracle 7.3 is not the current rev. so... > > 1.) Can I use the current Linux version of the Oracle client to compile > the ZOracleDA, then use that install to connect to Oracle 7.3 without errors? > 2.) If I cant, does anyone have any suggestions on ways to solve this problem? > 3.) Are there any particular caveats in considering this kind of > configuration, or anything not covered in the docs.. > > I'm a relative newcomer to Zope, so *any* help is welcome and highly appreciated... > > Thank you very much... > > Chris Beaumont > [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 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] ZOracleDA
Thanks for the reply... I was planning to install Zope on the database server, compile DCOracle there, and then just copy the *.so files to the webservers, where the real Zope install is. Do you need the oracle client libraries on the webservers to make the connection or are the two shared libraries that you compile, (oci_.so and Buffer.so) enough to make the connection to the web server? Thanks for your help, Aaron Bostick Network Architect Exodus Professional Services -Original Message- From: Satheesh Babu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 3:29 PM To: Aaron Bostick; [EMAIL PROTECTED] Subject: Re: [Zope] ZOracleDA Hi, If you are running Zope on 1. Linux: You need to install Oracle client libraries to compile ZOracleDA. As far as I know, Oracle does not give any easy way to install only the clients. So, if you've enough disk space, install Oracle with the minimum DB options, and compile ZOracleDA. You DON'T NEED to run Oracle DB on your Zope machine, to have zope connect to your actual DB machine. 2. Win NT/2000/98 You can install only the client libraries from the Oracle CD, get ZOracleDA compiled and run Zope. I've used it both ways. Somewhere on the net there was a tarred version of client-only-oracle-4-linux. Check freshmeat.net and gnome.org for some GTK apps for accessing Oracle. It was there in the homepage for that suite of apps. - Original Message - From: Aaron Bostick <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 26, 2000 4:45 PM Subject: [Zope] ZOracleDA > Zope list members, > > I have been developing a zope site with oracle on linux as a backend. > Currently, I run both zope and oracle on the same machine using the > ZOracleDA for connectivity. However, for production, I plan to seperate the > tiers and run zope and and oracle on different servers. From looking at the > build instructions for the DCOracle, it seems as though it will only work > when the web server and database server are on the same filesystem/in the > same memory space. > > Is there a way to have my zope server talk to a remote (across the network > somewhere) database server? Do I have to move to something like ODBC for > this? > > Thanks for your help! > Aaron Bostick > Network Architect > Exodus Professional Services > > ___ > 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] working with datetime
will give you a datetime object one month in the future - Original Message - From: "Leichtman, David J" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 5:19 PM Subject: [Zope] working with datetime Is there an easy way to increment the month or year of the DateTime object? Adding a numeric value increments the day. Incrementing the year is easily doable, but incrementing the month is significantly more difficult. So I'm just curious if there's a function that will actualy modify the parts of a DateTime object, or something way that I'm not thinking of to easily increment the month. ___ 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] Re: zscheduler question
Here's a simple DTML method that adds a simple ZEvent. You'll have to modify it for your subclass and parameters. -- HTH -- Loren > hello, > > i would like to use zscheduler for an internal zope site managing > budget matters within our institute along the following scenario: > > staff members can apply for some money from the overall budget, > those applications are recorded and the members of the > commission which have to decide upon get informed by mail > about new applications > > then they can vote on that application using there browser. > > if there are enough positively votes within two weeks starting from > the original application date then the money becomes available to the > corresponding staff member, here i thought to bring zscheduler into: > > with the application recording there should be set up a zevent at > ZopeTime+14 which, when triggered, starts the voting evaluation then > informing all people involved. > > i could not figure out how to create zevents form dtml or py methods!? > > could you please help me ?? > > thanx in advance > > best regards > > k ahrens ___ 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] Zboard 0.2.3 released
Hello. I was done some bug fix. http://www.zope.org/Members/rainlood/Zboard/ Thanks all zope hacker. good bye. == ¿ì¸® ÀÎÅͳÝ, Daum Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀÏ³Ý Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼ºñ½º Daum FIREBALL http://www.daum.net ___ 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] anyone skilled in the ways of changing page properties?
::: on a standard page served by zope, user enters pagename into a field and presses submit ::: createwikipage is a dtml method to which pagename is passed onto ::: a ZWiki page is now successfully created with the pagename specified by the user as the id ::: thanks to Geoff Gardiner's managed mode additions, the ZWiki page has an extra boolean property called managed_mode, which i would like to set to true (1) : this is where, my troubles begin, and i have tried with the help of those helpful souls in #zope on irc.openprojects.net, many many combinations the above proceeds with no problems, but doesnt change the managed_mode to 1 which again "works" but without any change like the first one, and after digging through the mailing list archive, i tried: which unfortunately leads to an attribute error with Error Value: 'string' object has no attribute 'propertysheets' i have tried god knows how many different combinations along similar lines, but they either give me zope errors or even worse, "work" but without having changed the value of the property. i would appreciate it if anyone could point me to what i am doing wrong here. i believe the main problem lies in "passing" the pagename to the dtml method for it to change the properties of. other than that, i have no idea what i am doing wrong, and i am close to tearing out my hair in frustration ::: now, if ever, i get that solved, i would also like to set the user who submitted the pagename as the page_owner of the new page. again, page_owner is a new ZWiki property due to Geoff's work =) and for this, i presume, whatever dtml works with the above change for managed mode, with the slight change of : manage_changeProperties(page_owner=AUTHENTICATED_USER) or manage_changeProperties('page_owner', 'AUTHENTICATED_USER.getUserName()', 'string') ::: now, i would like to create a new property on the ZWiki page, called page_creation_time, and set the the creation time/date as the value manage_addProperty('page_creation_time',ZopeTime(),'date') ::: and finally, the user is redirected to the editform of the page (and i am proud to say that this is working ;) if anyone can help me with the setting of the managed_mode, i would be delighted and they would earn a big spot on this site of mine and, if anyone can also provide code that works to set the page_owner and page_creation_time, then i will do anything to make you happy. thanks in advance for any help -- best regards, tav [slackware, running zope 2.2, served through Apache ProxyPass + Site Access, with ZWiki 0.6.1 with Geoff Gardiner's mm3 and the CVS version of PTK from two days ago] ___ 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] Moving site from dev to prod.
I can't quite seem to figure out how to move my web site from my development machine to my production machine with Zope v2.1.x. Under Zope v1.0.9, I simply copy the data.bbb file. Under Zope v2.1.x, this file seems to be data.fs, but copying it doesn't seem to work as I get a NameError on REQUEST. I've also tried to use the import/export capability, but I can't figure out how to get the entire site to export. I been through the zope.org sites, docs and recent emails, but can't seem to find guidance on this topic. My development machine is Zope v2.1.4 on NT and the production machine is Zopev2.1.6 on NT. Both installs use FSSession v0.3.1 and LocalFS v0.1.5 If someone could guide me to documentation, or give me the basics of what needs to happen, I would appreciate it. Thanks. --- Jeff Nielsen http://www.UgoFast.com/ "Where U Go Fast" ___ 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] dtml-tree question
What is the difference between using the dtml-tree tag in a dtml method and using it in a dtml document? I have code that works perfectly in a dtml method but when I try the exact same code in a dtml document it doesn't display anything. Is it because the document is at the top of the namespace stack instead of the request object in the dtml document case, but not in the dtml method case? My branches method is a zsqlmethod that acquires its parameter from the namespace. Here's the code, if that helps: edit select_subprojects is a zsqlmethod, the fields are project_id, project_name, and task_count. It takes one parameter, project_id which it acquires from the result set of the previous call to itself. I'm stumped. I could just use a dtml method instead of a document but I want to understand this. Thanks, --jfarr ___ 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] hypothetically simple Login Manager Question
OK, I am working on a rather large scope site. In this site, I will have the need to create Objects (called Clubs). These Clubs will need their own membership setup, but stil be authenticate against the overall site. I have considered a few ways of doing this... to wit: A. A Membership folder in each tree that 'fails' to the next higher leve. - Advantage: Can scale all the way up the domain. - Advantage: Should be easy enough, have the LM pass fails up the chain ..somehow. - Disadvantage: Don;t know if LM can handle this B. A single site-wide membership object, with each club storing a subset of members. - Disadvantage: sounds complicated - Disadvantage: I don't think it scales well - Advantage: simple to implement C. The wild idea... If I had a MountableZEOStorage mountpoint, I could use a single domain Membership object, and just 'mount' the Membership section where needed. In the member properties. I would store the sections they belong to. - Advantage: Damn that's cool. - can scale - Disadvantage: MountableZEOStorage is vaporware ATM For an Idea of the scope of the site, think yahoo's 'member' setup. You can join/create clubs, each with it's own membership they have different services on different servers (mail.yahoo.com, personal.yahoo.com, clubs.yahoo.com, classifieds.yahoo.com, etc), yet only the one account suffices. I would like to keep a ZODB based solution, and stay away from RDBMSes (if for nothing other than I'd rather not be the one to write a login/membership product that uses SQL ... yet). I like using the ZODB, it makes sense to me, ad I will be making my 'management' tools in Python/GTK-GNOME (or FLTK) on Linux. I can do the second one again but don't want to. the third one looks the coolest by far. and the first one looks the easiest, non-ugly one. urgh. I am open to recommendations. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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 )