RE: [Zope] submit buttons
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: [EMAIL PROTECTED] Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like some action here does anyone have an example hope this helps - thanks again Mark ___ 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] submit buttons
Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like some action here does anyone have an example thanks again Mark ___ 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-sqlvar quote
On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > . > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one, Curtis Maloney ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] dtml-sqlvar quote
Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this . group by foo,blah order by thanks mark ___ 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 do I format date/time in dtml from a ISO-8601 SQL timestampfield?field?
I am probably missing something simple here, however I can not get this to work properly Given mtime = -MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? This returns: Errot Type: ValueError Error Value: unsupported format character 'a' (0x61) If i drop the %a from the fmt string as follows: I get the following Zope Error: Error Type: Type Error Error Value: illegal argument type for built-in operation Mtime was initially declared as a string in the ZSQL Method arguments list, and changing it to date had no effect. I have searched the documentation and all examples I have found that use strftime formatting indicate that this should work. I have successfully been able to change the format using the to_char(mtime) PostgreSQL function, but then order by mtime does not work properly and besides, I would like to make the format style customizable from within Zope instead of on the SQL server. Thanks in advance for any suggestions Regards, Jarrod Kinsley ___ 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] Why doesn't this method work?
On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney <[EMAIL PROTECTED]> wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doesn't use the getitem() function. -- Graham Chiu ___ 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] Why doesn't this method work?
On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeError > Error Value: 'string' object has no attribute > 'manage_editData' > This error is the giveaway. table is a "string", not a "tiny table". > -- > Graham Chiu Have a better one, Curtis Maloney. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Why doesn't this method work?
I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu ___ 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] Bypass ZODB and use File System
As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, not even as much as a 'title' property. If you need that ability then LocalFS is not the way to go. I don't see how Michael's wget solution will help you there either, though. --jfarr - Original Message - From: "Michael Bernstein" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 19, 2000 7:59 AM Subject: Re: [Zope] Bypass ZODB and use File System > Noah wrote: > > > > What we really want to do is to provide a second view to > > /var/www/htdocs for Apache. I understand that Apache won't > > serve up our dynamic content, but that's not important. > > Zope is just viewed as a better solution for managing our > > static documents. The problem we have in my organization is > > that there is a lot of resistance to my prototype Zope > > document management system due to the fact that everything is > > stored in ZODB. We think this risky -- possibly a data prison. > > The way my organization does it, is to manage the content > within Zope, and to regularly run 'wget' on the server to > replicate it all to static files, which are then served by > Apache on another server. Doing that, plus regular backups > of the Data.fs file (you're already making regular backups > of your Apache based system, right?), and you should be > guarded against any but the most catastrophicly unlikely > disaster scenarios (you do have a disaster recovery plan, > right?). > > wget is really a very easy way to get documents back out of > Zope, and if your system is designed to do this as a matter > of course (perhaps by using 'cron'), it should silence those > particular criticisms. > > > Also people don't want to change from their current habits of > > editing files via NFS or Samba mounted directories. My original > > plan was to allow them some sort of syncronization process, > > but now I think that would be crazy. > > Hmm. I guess it depends on what percentage of your users > want to keep doing this. You can certainly combine LocalFS > with the approach that I outlined above. I would make it a > special case. Keep the CMS server separate from the Apache > server, and only allow the mounted directories on the CMS > server. I've found that people appreciate being able to > manage their content from anywhere through a browser, and > they tend to gravitate toward that as a matter of course, > once it's there, if they're not forced to do it. > > In short, give people options, and see which ones they > actually use. > > HTH, > > Michael Bernstein. > > ___ > 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] dtml-if problem
Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is: Length of the 'strip'ped value of Area is: If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you have either white space in your Area variable or a linefeed charater, or... If that's the case, here's a working if statement: You could also try: 0"> which will search for an instance of 'BIS' in the value of the Area variable Hope it helps, Eric. // -Original Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Terry // Babbey // Sent: Thursday, October 19, 2000 1:37 PM // To: [EMAIL PROTECTED] // Subject: [Zope] dtml-if problem // // // The following will not evaluate true and I am stumped again. // // // // Area is a variable I am passing to my method and I want to check to // see if the variable is set to BIS, but it never returns true even // though a displays BIS. // // Confused as always, // Terry // // -- // __ // Terry Babbey // Technical Support Specialist // Lambton College, Sarnia, Ontario, Canada // __ // // // // ___ // 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 ) // __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-if problem
Could be that you are not evaluting the string of Area try: - Original Message - From: "Terry Babbey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. > > > > Area is a variable I am passing to my method and I want to check to > see if the variable is set to BIS, but it never returns true even > though a displays BIS. > > Confused as always, > Terry > > -- > __ > Terry Babbey > Technical Support Specialist > Lambton College, Sarnia, Ontario, Canada > __ > > > > ___ > 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-if problem
The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- __ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __ ___ 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] Roxen & Zope, not working
I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what I get when I try mysite.com:Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: / Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET / HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive * And this is what I get when I try mysite.com/Zope.cgi:Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: /Zope.cgi Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET /Zope.cgi HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive Any ideas? Anybody running both Zope and Roxen on a Windows machine? Adrian MadridDo You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE.
[Zope] pcgi authentication
We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "allow anonymous" and "challenge response" through IIS. When we try to access the root level "manage" screen in Zope we are getting the manage_menu page in the left frame, but we are getting the index_html document in the right frame instead of the mnage_workspace page. ___ 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] Want to access ZClass Instance from external program
This works like a charm. Thanks much for the help. -jon Ender <[EMAIL PROTECTED]> writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the web via xml-rpc it must have a doc string as well as have > proper credentials. > > looking through propertysheets there is no 'proper' way to do this... > but i lead you down the path, so here is a way back out... > > there are a couple of options. > > the easiest is to have dtml_method for this zclass that functions as a > helper method, > like > > dtml method -- external_helper > > > > and in the client > > x = root.subfolder.zclass.external_helper() > meta_info=eval(x) > print meta_info > ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', > 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': '', 'type': > 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', > 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, > 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) > > or if external_helper returned propertyItems() > > [('vvv', 1), ('aaa', ['']), ('', ['ss', 'aa1113', '3', '4']), > ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] > > > if you're working with DateTime values in your propertysheets this will > be trickier as you'll need to either retrieve the property you want > independently or import Zope's DateTime module. also remember to set the > security on the helper method so its not helping somebody hack your > site. > ___ 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] Solaris,iPlanet,Oracle and Zope
Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring these? I am having problems and you are my only source. Thanks in advance... turhan ___ 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 mysql and sql methode
Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICEfrom MERCHANTPAYMENT, PAYMENTwhere MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT - MPID int(30) MEID int(30) PYID int(30) - PAYMENT - PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) - the statement runs under MS ACCESS (link over myODBC) and I get the correct resut but under zope sql methode I get no result. (There was no data matching) Any ideas Jens Grewen
RE: [Zope] Question!
Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server name. Let me know what else you need to know. Troy -Original Message- From: Carlos Vasconez [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the database Can you help me? Thanks Carlos --- - Original Message - From: Farrell, Troy <[EMAIL PROTECTED]> To: 'Carlos Vasconez' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 16, 2000 8:04 PM Subject: RE: [Zope] Question! > Yes you can. You will need ZODBC to connect to the SQLServer. Make sure > that SQL server is available as a "System DSN" on it's host. You will also > need a username and password to connect. Zope will ask you for this in the > DSN string. Best of luck to you. > > Troy > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:[EMAIL PROTECTED] > http://www.williams.com > > > -Original Message- > From: Carlos Vasconez [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 16, 2000 6:48 AM > To: [EMAIL PROTECTED] > Subject: [Zope] Question! > > > Hi > > I am read about zope. > Question? > I can use Zope with NT Server, IIS 4 and SQLServer ? > I have a Database in SQLServer > > Thanks > > Carlos > - > ___ 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] Python/Perl methods?
Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope Book is being compiled as a draft of a document to be delivered in the future. Some of the stuff refered to isn't really "there yet", in terms of inclusion as a standard part of the Zope download package. Python Methods are available, but as an add-on. Perl methods too, but they are even newer, as in less mature / stable / all those positive adjectives. So if you really want to try Python Methods, look here: http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal download from here: http://www.zope.org/Members/4am/PythonMethod and for Perl Methods look here: http://www.zope.org/Wikis/zope-perl/FrontPage and download from here: ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz Later, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2
I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production. Would upgrading Python to 1.6 or 2.0 solve some problems on MacOS X Server (Rhapsody)? Steve Spicklemire wrote: > Hmmm.. I'm running Zope on mosxb and it works fine... > > http://www.zope.org/Members/sspickle/MacOSXBHFS > > -steve > > > "Jeff" == Jeff Forsyth <[EMAIL PROTECTED]> writes: > > Jeff> I currently have Zope and Python installed from the source > Jeff> code from the > > Jeff> excellent instructions by JShell. But there is one little > Jeff> problemCPU Utilization shoots above 97% as soon as I > Jeff> access the management screen. If anybody has any ideas or > Jeff> solutions. > > Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST > Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC > Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All > Jeff> Rights Reserved. Power Macintosh > > Jeff> 320Mb..G4 > > Jeff> Thanks Jeff > > Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com > > Jeff> ___ Zope > Jeff> maillist - [EMAIL PROTECTED] > Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jeff> posts or HTML encoding! ** (Related lists - > Jeff> http://lists.zope.org/mailman/listinfo/zope-announce > Jeff> 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] Bypass ZODB and use File System
Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my organization is > that there is a lot of resistance to my prototype Zope > document management system due to the fact that everything is > stored in ZODB. We think this risky -- possibly a data prison. The way my organization does it, is to manage the content within Zope, and to regularly run 'wget' on the server to replicate it all to static files, which are then served by Apache on another server. Doing that, plus regular backups of the Data.fs file (you're already making regular backups of your Apache based system, right?), and you should be guarded against any but the most catastrophicly unlikely disaster scenarios (you do have a disaster recovery plan, right?). wget is really a very easy way to get documents back out of Zope, and if your system is designed to do this as a matter of course (perhaps by using 'cron'), it should silence those particular criticisms. > Also people don't want to change from their current habits of > editing files via NFS or Samba mounted directories. My original > plan was to allow them some sort of syncronization process, > but now I think that would be crazy. Hmm. I guess it depends on what percentage of your users want to keep doing this. You can certainly combine LocalFS with the approach that I outlined above. I would make it a special case. Keep the CMS server separate from the Apache server, and only allow the mounted directories on the CMS server. I've found that people appreciate being able to manage their content from anywhere through a browser, and they tend to gravitate toward that as a matter of course, once it's there, if they're not forced to do it. In short, give people options, and see which ones they actually use. HTH, Michael Bernstein. ___ 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] Determining permissions in a Product
Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if it's 'cos you got > your password wrong. If you see what I mean ;-) I see what you mean here, Chris, but wouldn't this come under the heading of a 'security through obscurity' hole? ie. you're saying that the system isn't obscure enough? Michael. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT: documentation systems.
Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/license.html) prohibits use starting one year after the first commercial release. On Thu, Oct 19, 2000 at 09:01:58AM -0400, Aaron Straup Cope wrote: > I've been using the RadioUserland (nee Frontier) outliner to document the > Zope system I am building. It saves the outline files as XML documents so > I get to have a full-featured outliner to organzie my thoughts and a > (sort of) universal file format to share with people. -- Fred Yankowski [EMAIL PROTECTED] tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA ___ 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] MacOS X Server + Python 1.5.2 + Zope 2.2.2
Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve > "Jeff" == Jeff Forsyth <[EMAIL PROTECTED]> writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions by JShell. But there is one little Jeff> problemCPU Utilization shoots above 97% as soon as I Jeff> access the management screen. If anybody has any ideas or Jeff> solutions. Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Jeff> Rights Reserved. Power Macintosh Jeff> 320Mb..G4 Jeff> Thanks Jeff Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com Jeff> ___ Zope Jeff> maillist - [EMAIL PROTECTED] Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross Jeff> posts or HTML encoding! ** (Related lists - Jeff> http://lists.zope.org/mailman/listinfo/zope-announce Jeff> 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] Help needed with news articles
Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco ___ 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] ZDiscussions for Zope 2.2.2
Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a few places. 3) Fix a check for "Cancel" 4) fix the size of __ac_permissions__ I uploaded it to www.zope.org (never done that before, it is pretty nice!). I left the RCS files in place in case anyone wants to critique my um-er work. http://www.zope.org/Members/cobrien/ZDiscussions_zope22 You may be happier with ZUBB or Squishdot. -- cary ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] OT: documentation systems.
I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com There's alreast atleast one XML stylesheet for the outline documents : http://www.whump.com/www/xmlone/source/outline/outline.xsl On Thu, 19 Oct 2000, Terry Kerr wrote: > Hi, > > What documentation systems to people use for developing offline hardcopy > and online user documentation for applications that they develop? I am > writing an extensive application using zope, and it needs a lot of user > documentation. The system I use won't necessarily have to be web > based...I just wants something that is effect. > > terry > > > -- > Terry Kerr ([EMAIL PROTECTED]) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 708 124 > ICQ: 79303381 > > > > > ___ > 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] ZopeTime Questions
Hello, - I'm using the following code. - I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always ->>> I'm starting my Zope with option -L pt_BR. Any comments or help? Thanks in advance. Marcus Mendes ___ 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] Python/Perl methods?
Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver mailto:[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] Z2.log question
The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Z2.log question
Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > ___ 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] Tiny tables
On Fri, 13 Oct 2000 19:40:08 -0400 [EMAIL PROTECTED] wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as such. One > quick way to get around this is to quote your field value > - > > "criteria:tokens" Hi, I tried this, and the tinytables just discarded the column. As a temporary fix, I've just created a ZClass to hold the tokens. What I would like to do now is feed the tokens into a sqlmethod, which then populates a tinytable with new values. My zclass has a string attribute called p_tinytable which holds the name of the tinytable to be changed. However, if I call the function as follows: I get: Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' or I get: Error Type: AttributeError Error Value: manage_editData -- Graham Chiu ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Z2.log question
Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George ___ 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] debugging zope?
Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio [EMAIL PROTECTED] 09-862 60764 ___ 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 )