Re: [Zope] TOC ondelete event
Hi Jonathan, I'm sure that what you said is right but 1) I tried to change my script performing a manage_add that should be performed after timeout. Nothing happened. 2) However the only way I see is: a- keep the session id in the request b- if request.savedsessionid<>session.id then alert "session timed out" thank you for your help -- Initial Header --- >From : "Jonathan" [EMAIL PROTECTED] To : [EMAIL PROTECTED],"zope" zope@zope.org Cc : Date : Sat, 28 Jul 2007 08:17:08 -0400 Subject : Re: [Zope] TOC ondelete event > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "zope" > Sent: Saturday, July 28, 2007 7:15 AM > Subject: [Zope] TOC ondelete event > > > I'm setting up a Session data Manager with a Transient Object Container > > that call a python script session_delete? > >(sdo,toc). > > > > I want to show a message like ("your session was terminated due > > inactivity") so I tried to write this > > > > #PYTHON SCRIPT (NOT EXTERNAL) session_delete(sdo,toc) > > request = container.REQUEST > > RESPONSE = request.RESPONSE > > RESPONSE.redirect(container.mywarningpage.absolute_url()) > > > > Launched manually it gives me no errors but when the session is terminated > > only "onadd" script make effects. > > > > Are there not permitted operations in this case? > > Could anyone explain me where I mistake or another way to do tha same > > thing? (AFAIK sdo parameter is the old > > session so I can't store any info in it) > > The TOC invokes your script when the "data object timeout value" is reached > (eg. if the timeout value is set for 5 minutes, then the TOC will invoke the > "script to call when objects are deleted" when there has been no activity > for 5 minutes). > > The TOC invokes the delete script as a result of the timeout, not because of > an incoming user request and therefore there is no user to be 'redirected'. > You are trying to push out a message to a user that is no longer "there". > > You need to revise your application logic so that if a user comes back > (makes another request) after the 'timeout' they receive your warning > message. > > hth > > Jonathan > > -- Scegli infostrada: ADSL gratis per tutta lestate e telefoni senza canone Telecom http://click.libero.it/infostrada ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] TOC ondelete event
Hi, I'm setting up a Session data Manager with a Transient Object Container that call a python script session_delete(sdo,toc). I want to show a message like ("your session was terminated due inactivity") so I tried to write this #PYTHON SCRIPT (NOT EXTERNAL) session_delete(sdo,toc) request = container.REQUEST RESPONSE = request.RESPONSE RESPONSE.redirect(container.mywarningpage.absolute_url()) Launched manually it gives me no errors but when the session is terminated only "onadd" script make effects. Are there not permitted operations in this case? Could anyone explain me where I mistake or another way to do tha same thing? (AFAIK sdo parameter is the old session so I can't store any info in it) Thank you so much Jary Busato -- Scegli infostrada: ADSL gratis per tutta lestate e telefoni senza canone Telecom http://click.libero.it/infostrada ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Setting REQUEST on next page
Using sessions I can solve the problem but I prefer other solutions (even if possible). > Why do you not want to pass info in the URL? For security reasons that fields should not be viewed by users Thank you -- Initial Header --- >From : "Jonathan" [EMAIL PROTECTED] To : [EMAIL PROTECTED],"zope" zope@zope.org Cc : Date : Sat, 7 Jul 2007 11:35:44 -0400 Subject : Re: [Zope] Setting REQUEST on next page > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "zope" > Sent: Saturday, July 07, 2007 10:38 AM > Subject: [Zope] Setting REQUEST on next page > > > > Hi, > > Someone could tell me how to pass a variable without put in the URL using > > RESPONSE.redirect? > > > > For example, if code is... > > > > > 1) including the variables in the url, or > 2) using Zope Session machinery, or > 3) storing the information in the ZODB (or other persistent db) > > Why do you not want to pass info in the URL? > > > Jonathan > -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Setting REQUEST on next page
Hi, Someone could tell me how to pass a variable without put in the URL using RESPONSE.redirect? For example, if code is...
Re: [Zope] Make a Zope Staging Server
> > > > > > --On 23. April 2007 17:41:42 +0200 [EMAIL PROTECTED] wrote: > > > > > > > I'm looking for a solution (perhaps a script) that "synchronize" > > > my ZODBs (maybe file copy?) > > > > ZSyncer? > > > > -aj > > I don't know it but it seems the tool I'm looking for... > > /j That's perfect! Thanks a lot Jary -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Make a Zope Staging Server
-- Initial Header --- >From : "Andreas Jung" [EMAIL PROTECTED] To : [EMAIL PROTECTED],"akm" [EMAIL PROTECTED] Cc : "zope" zope@zope.org Date : Mon, 23 Apr 2007 21:30:54 +0200 Subject : Re: [Zope] Make a Zope Staging Server > > > --On 23. April 2007 17:41:42 +0200 [EMAIL PROTECTED] wrote: > > > > I'm looking for a solution (perhaps a script) that "synchronize" > > my ZODBs (maybe file copy?) > > ZSyncer? > > -aj I don't know it but it seems the tool I'm looking for... /j -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Make a Zope Staging Server
-- Initial Header --- >From : "Andrew Milton" [EMAIL PROTECTED] To : "[EMAIL PROTECTED]" [EMAIL PROTECTED] Cc : "zope" zope@zope.org Date : Tue, 24 Apr 2007 01:30:37 +1000 Subject : Re: [Zope] Make a Zope Staging Server > +---[ [EMAIL PROTECTED] ]-- > | Hi, > > Hi, (please try to wrap lines at 72 chars...) Sorry but I'm using an horrible web interface > > | I would like to have a Zope Staging Server where I make tests before publish > | contents into the real Zope Web Server (I use 2 DBMSs too). > > | Unfortunately, EXTFile product (that I *MUST* use) don't give me the > | possibility to use export/import functions (before import I should delete > the > | folder and consequently the linked FS files). > > Can you use EXTFile over a source control respository ? (subversion, > cvs, et. al) and then 'check out' the version of the files you need. > > > -- > Andrew Milton > [EMAIL PROTECTED] > My issue is not publishing EXTFiles. I have to "copy" the entire site (with EXTFiles, not only) but EXTFiles give me no possibility to use import function. I saw that EXTFiles (used for a download area) operations have side-effect (i.e. delete extfile would delete the fs file) so I think I can't use them in a versioning system. I'm looking for a solution (perhaps a script) that "synchronize" my ZODBs (maybe file copy?) and DBMSs Regards, Jary -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Make a Zope Staging Server
Hi, I would like to have a Zope Staging Server where I make tests before publish contents into the real Zope Web Server (I use 2 DBMSs too). Unfortunately, EXTFile product (that I *MUST* use) don't give me the possibility to use export/import functions (before import I should delete the folder and consequently the linked FS files). What should I do to easy implement simple "publish" and "recovery" functions between the servers? Thank you Jary Busato -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] file upload
I know that is not a zope issue but I hope to find a python based solution becouse I'm not expert in JS. About your solutions: (1) I can't know how many file fields should be (3) I don't have smart users The solution (2) should be useful but I'm not able to find a javascript that make it possible. Thanks Illorca > > - Original Message ----- From: <[EMAIL PROTECTED]> > To: "zope" > Sent: Monday, March 19, 2007 11:20 AM > Subject: [Zope] file upload > > >> How can I make a form that people could use to upload multiple files in a >> time? > > This is not a zope issue, but... here are some options: (1) create a form > that contains several file upload fields, (2) use javascript to allow the > user to add more file upload fields as required, (3) get the user to upload a > zip file. > > > Jonathan -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] file upload
How can I make a form that people could use to upload multiple files in a time? Illorca -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Download Large Files in Zope
Hi, I've just installed Zope 2.8 with Apache 2 and I made a download library (a CMS site is too much for me and I can't find a simple "download area" product, so I've done it!) Now, when I click on a large .exe file link (href) it seems it load all data before prompt for download and the zope service memory usage grow until 1/2 Gb. How can i manage downloads & uploads? Thank you in advance Illorca -- Con Prometeo prestiti senza spese fino a 31.000 Euro! http://click.libero.it/webnation06marz07 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] help, installing ZJetDA-0.1.1..
Hi, I have copied the folder of the ZJetDA-0.1.1 product on the directory "C:\Zope\2.10,1 \ Zope \ lib \ python \ Products" and restarted Zope. If I go in the Control panel -->Product management, I can visualize it, but how can I use it? how to create an instance of it in my project… Probably I didn't understand How to add a Product... I hope in your aid….Thanks.. Naviga e telefona senza limiti con Tiscali Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom http://abbonati.tiscali.it/adsl/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] [AUTORESPONSE] - Automatic Response From [EMAIL PROTECTED]
Thank You, for contacting the Webmaster at www.blagls.com. Your additions or changes have been submitted and someone will be in contact with you. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] POST from Zope to external server and receive RESPONSE
Hello Michael and Paul, This one would have to be an external method since the external server doesn't offer XMLRPC. It's also made more difficult by the fact that ssl will have to be involved. I'm going hunting for a better way but I will certainly be using XMLRPC for some other functionality that's required. cheers and thanks, David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] POST from Zope to external server and receive RESPONSE
Hello folks, I'm sure this question has been answered before but bear with me - Zope isn't my forte and I couldn't see anything like the problem I'd like to solve on the Zope list. I've inherited a project that now needs to post an XML packet to an ecommerce gateway, ie a user submits, via a form, credit card details which are posted to a Zope server. The Zope server then builds an XML packet and wants to POST to an external server which will send a RESPONSE. Can I capture that RESPONSE in Zope or must I use external methods and something like Python's httplib. I've done similar things with curl lib and C++, php curl lib and php. Any hints folks? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] long name as ID
Hi Sergio! You can change the ID to tittle, adding the following line to your archetype: Ex: schema = schema > at_rename_after_creation = True <-- content_icon = . Bye! Mensaje original De: [EMAIL PROTECTED] Recibido: 09/05/2006 13:16 Para: Asunto: [Zope] long name as ID Hi all, I have developed an archetype based product named msf_folder, and it stores the id with a very long string like msf_folder.2006-05-09.8558117482, instead of the title I have written. Is this a normal behaviour? How can I change the ID to the title I have given it? Thanks Sergio ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] about Zope 2.8.6
Hello! I have a question about Zope. I'm using Zope 2.8.6-final, python 2.3.5 and Plone 2.1.2. I'm trying to show an event in the portal calendar (CMFCalendar 1.5.5). This event has a custom workflow. I've configured the states in /site/portal_calendar/ ,configure tab, but the calendar doesn't show my event. I have done this experiment with Zope 2.8.1-final and it works well. Is there any problem with Zope 2.8.6 and the CMFCalendar 1.5.5? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Export html
Hello, I have an archetype, I want to export the html that I see in the view mode to a rtf (or similar) format. I tried to use the product "RTFExport" but it doesn't export from HTML (or I don't know how to do this). I have found the product "PloneOOoTransforms" , does anybody have experience with this product? Can this product export the html of the view mode to another format. Thanks (I apologize If I've been using the wrong list to post this question) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Dependent List
Hello, I have a problem with my archetype, I'm using dependent lists. I've downloaded the MasterSelectWidget product, but I have a problem with it. In my archetype I have a master field and a slave one, I install the archetype, I add an object of this type to my portal, but when I load the saved object and try to edit it, I see that the slave field (a selection widget) don't have the value that I have selected. How can I solve it? Is there any alternative to MasterSelect widget? Thanks ! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] dynamic js lists
Hi all Following up on my other post and having a read on quirksmode (thanks Peter). I came up with the following which unsuprising doesnt want to work. Could anyone point out any blindingly obvious code errors? I think it could perhaps be something to do with the cells number, ie cell[0] etc. Thanks Rich Untitled Document var rows; onload = function(){ var heavyArr=[]; var softArr=[]; var goodtosoftArr=[]; goodArr=[]; var goodtofirmArr=[]; var firmArr=[]; rows = document.getElementById('mytab').getElementsByTagName('tr'); for (var i=1;i
[Zope] Zope Service Startup Failure
I am having problems with Zope running on my Windows Web Server. This is quite a recent development (last two days) - things normally run perfectly well but lately the Zope service has stopped working. I get the following entry in the Zope event.log: 2005-11-08T20:51:13 INFO WinSignalHandler Caught signal SIGTERM -- 2005-11-08T20:51:13 INFO Z2 Shutting down fast -- 2005-11-08T20:51:13 INFO ZServer closing HTTP to new connections The windows system event log shows: The Zope instance at C:\Zope-Instance service terminated unexpectedly. It has done this 11 time(s). The only way I can get Zope to run is to execute runzope.bat - this is not very convenient as I have to start it manually and leave it running. If anyone can shed any light on how I can get the windows service back up and running I would be very grateful. Other notes: it is trying to use port 8080 - nothing else is trying to use this. I have tried altering the port that it uses and it makes no difference. Thanks in advance. Graeme. [EMAIL PROTECTED] mail2web - Check your email from the web at http://mail2web.com/ . ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] DateTime problem
I have the following code that works on one Zope install and does not work on another. I would like to be able to use the same code under both, but am at a loss as to why there is a difference. I do not control the Zope servers running this application. Any help would be appreciated: On one server, the following code works fine: python: myrecordset[0][0].strftime('%m/%d/%Y') But, when I move the page template containing that code to a different server, the following error is generated: Exception Type AttributeError Exception Value 'str' object has no attribute 'strftime' Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 306, in __call__ Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec Module Products.PageTemplates.PageTemplate, line 95, in pt_render Module TAL.TALInterpreter, line 200, in __call__ Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 703, in do_useMacro Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 726, in do_defineSlot Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 669, in do_condition Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 477, in do_setGlobal_tal Module Products.PageTemplates.TALES, line 220, in evaluate URL: /Time/time_home.html Line 60, Column 4 Expression: Names: {'container': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': ()}, 'repeat': , 'request': http://myserver.mydomain.org/Time/time_home.html>, 'root': , 'template': , 'traverse_subpath': [], 'user': lford} Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ __traceback_info__: myrecordset[0] [0].strftime('%m/%d/%Y') Module Python expression "myrecordset[0] [0].strftime('%m/%d/%Y')", line 1, in AttributeError: 'str' object has no attribute 'strftime' I can get it to run properly on this server by rewriting the code to: DateTime(sqlwkstart[0][0].strftime('%m/%d/%Y') However, if I then take this corrected code and move it back to the first server, I get the following error: === Exception Type TypeError Exception Value unsupported operand type(s) for / Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec Module Products.PageTemplates.PageTemplate, line 95, in pt_render Module TAL.TALInterpreter, line 200, in __call__ Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 703, in do_useMacro Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 726, in do_defineSlot Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 669, in do_condition Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 477, in do_setGlobal_tal Module Products.PageTemplates.TALES, line 217, in evaluate URL: /Time/time_home.html Line 60, Column 4 Expression: Names: {'container': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': ()}, 'repeat': , 'request': http://otherserver.otherdomain.org/Time/time_home.html>, 'root': , 'template': , 'traverse_subpath': [], 'user': lford} Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__ __traceback_info__: DateTime(myrecordset[0][0]).strftime('%m/%d/%Y') Module Python expression "DateTime(myrecordset[0][0]).strftime('%m/%d/%Y')", line 2, in f Module DateTime.DateTime, line 684, in __init__ Module DateTime.DateTime, line 281, in _calcSD TypeError: unsupported operand type(s) for / === The DateTime.py modules are the same rev. on these 2 boxes. The Zope builds are slightly different, but both are 2.6. The first appears to be using Python 2.1, the other Python 2.2.3. The latter box is using a Debian package of Zope and python-mysql. Where do I start tracking this down? Lee mail2web - Check your email from the web at http://mail2web.com/ . ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] It is a bug ? 404 error onfly
hi ! The differents are caused by IE settings. See that: https://bugzilla.mozilla.org/show_bug.cgi?id=295442 --- Additional Comments From [EMAIL PROTECTED] 2005-05-25 04:22 PDT --- I would guess the generated error page really is empty and IE just shows its "friendly error" instead of the real (empty) error page. You can try to disable this feature in IE to test this: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807 ft [EMAIL PROTECTED] írta: Hi ! My contributor have a problem. His problem is very interesting, but it is in php. I try to help, but I get same problem in Zope. The problem is that: He have a site, and he is paranoid. He is not use static pages to avoid penetrations. So: in a dynamic page he is check the request. If parameters are wrong, he is want to set the resp. header status to 404. (This is a file downloader method, and if the file is invalid, he want to answer 404 - page not found.) He is not want to set location to a static 404 error page (because he is want to "protect" the orig. URL). When he is send header with php to Mozilla, or Opera, these browsers are showing blank page. IE is showing good page (404). Then I try to write this example in Zope, to help it: # test2.py # request = container.REQUEST resp=RESPONSE = request.RESPONSE resp.setStatus(404) When I try this, I get same result in Zope (/test2). So: what is the problem ? And what is the solution ? Thanx for help: ft ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] It is a bug ? 404 error onfly
Hi ! My contributor have a problem. His problem is very interesting, but it is in php. I try to help, but I get same problem in Zope. The problem is that: He have a site, and he is paranoid. He is not use static pages to avoid penetrations. So: in a dynamic page he is check the request. If parameters are wrong, he is want to set the resp. header status to 404. (This is a file downloader method, and if the file is invalid, he want to answer 404 - page not found.) He is not want to set location to a static 404 error page (because he is want to "protect" the orig. URL). When he is send header with php to Mozilla, or Opera, these browsers are showing blank page. IE is showing good page (404). Then I try to write this example in Zope, to help it: # test2.py # request = container.REQUEST resp=RESPONSE = request.RESPONSE resp.setStatus(404) When I try this, I get same result in Zope (/test2). So: what is the problem ? And what is the solution ? Thanx for help: ft ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] noundo dbs
On Wednesday 31 January 2001 12:09, Chris McDonough wrote: > And a third message... > thanks for the prompt replies. to recap, i have -Berkeley DB -External Mount -something that i'm not too sure of :) as i see it, i can use External mount to mount berkeley Db. that will then give me a nonundo, nonversioning db.. right? if i use FileStorage with ExternalMount, it'll be just another ZODB. i hope i'm right. if i want to use it across ZEO Clients, i *must* use ZEO.ClientStorage. correct me if i'm wrong, please. to test a simple setup, i tried FileStorage with External Mount. and i encountered a little problem. here's what i have -ExternalMount -External Method[1] when i tried adding an ExternalMount, i got this[2] traceback. help? p/s - what about storing CoreSessionTracking data in RDB? -- [1] ---ExtDB.py import ZODB from ZODB.FileStorage import FileStorage def createDB(): return ZODB.DB(FileStorage('/home/kdie/Zope/var/ext.fs')) [2] NameError Sorry, a Zope error occurred.
[Zope] CoreSessionTracking and noundo db
hi in trying out the excellent CoreSessionTracking product, i encountered a little problem. the doc reference a no-undo external db to house the data. i remember one such beast which were alpha (berkerly dbm(?)), but can't locate it at zope.org. also, will there ever be a no undo db for use with zope? since such product is a must to run zope in real world. hints, urls welcome thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] CacheManagers are cool :)
> > > Not exactly a real-life usage scenario, but it sounds impressive :) Not > > sure I understand what the cache keys are for though... is there any more > > documentation forthcoming on this? > > so you can cache requests based on dynamic input. > > useful for authentication to present different cache pages to different > users, and also to present common request dependent information from cache. > > as for real documentation, use the source luke anybody tried expiring an object,? say after 300 secs, the cached object expires, get invalidated and a new cached object is created when somebody requested the page. is there any simple way to expire a RAM Cache? also, for those who tried caching. what do you guys do? cache the methods that make up the bigger method? or just cache the bigger method? e.g dtml method a is made from method b, c, d,...n do you cache a, or selectively cache b and/or c, d, ... confusedly, yours > > k > > _______ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Help me save me from myself... ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] hiperdom
hello all scuse my ignorance. i have this[1] in a hiperdom instance (partial text from hiperdom howto). but i got this[2] error when i clicked change. i know it's me not understanding XML well enough. pointers/help please p/s - maybe, the default text in a newly created hiperdom instance should be something similar to what a new dtml method/document gives now? -8<- [1] title me h3 [2] DOMException Sorry, a Zope error occurred. -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Help me save me from myself... ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 2.3.0 beta 1 comments
On Thursday 18 January 2001 05:00, Brian Lloyd wrote: > > These are actually browser preferences, not user preferences. can we have enable/disable table view toggle? some of us work with slow dial up, and waiting for a table to be rendered, especially when there's a lot of objects, will take some time. at least, without table, we can have incremental page rendering. most of my users are not a patient lot :) or is it a none issue? -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] High Performance Zope
On Thursday 18 January 2001 03:37, Vincent Stoessel wrote: > Doh! > I meant to say 200-300,000 pageviews per day. > Thanks for all the responses so far. > we have about 600k page views daily, and we spread this accross three ZEO Clients. response is fast, except when there's more than 150 simultaneous requests. i think my programming contributes to this problem. i used too much objectItems, instead of using ZCatalog. -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Help me save me from myself... ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] LOL (was:Postgresql Query.)
On Thursday 18 January 2001 07:45, Andrew Kenneth Milton wrote: > +---[ ethan mindlace fremen ]-- > > | --On Wednesday, January 17, 2001 04:33:25 PM +1000 Andrew Kenneth Milton > | > | <[EMAIL PROTECTED]> wrote: > | > Normally, I would tell you to visit; > | > > | > http://www.zope.org/Documentation/ > | > > | > but, some monkey has designed the interface w/o actually testing it, > | > since there's no direct references to the online ZSQL Reference there > | > any more, and the online dtml reference shoves you into dtml-var. > | > | Monkey fix! bannana? > > No banana for you! Bad Monkey! And stop breaing into the female monkey > cages... now, *this* should be in the Andy's quote ssite LOL -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Cache manager in zope 2.3.0b1
>From HelpSys for RAM CAche """ Finally, you can configure the list of REQUEST variables that will be used in the cache key. This can be a simple and effective way to distinguish requests from authenticated versus anonymous users or those with session cookies. """ so, if i access a particular DTML Method as such http://myserver.com/mymethod?objId=xxx can i use objId to distinguish between different objects? i tried by setting objId as the cache key in my RAM Cache object. however, nothing were cached. even after accessing mymethod with different objId. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zope2.3.0b1 and userfolders
On Wednesday 17 January 2001 14:42, Chris McDonough wrote: > What's the error you get with UserDB? And for that matter, LoginManager? > *sheepish grin* i think it's my mistake. you can knock my head off. it's this thing about init user and emergency user when i installed login manager, it complained of not having the file "access". i created one by copying inituser. that's why i got emergency user/super can;t own. userdb works ok now. not sure what i did. maybe i restarted zope. sorry for the false alarm. at least i know what inituser and emergency users are now :) thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zope2.3.0b1 and userfolders
hi all it seems that most 3rd party userfolders that's available won't work with zope-2.3.0b1. i've tried UserDB and LoginManager. i guess LoginManager will be updated, since it is currently maintained. i don't know enough python to look at UserDB. any kind hearts out there willing to give it a peek? anyway, where can i find the changes to the security policies from zope 2.2.x to zope 2.3.x ? thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Am I Evil? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] request for advice: using ZCatalog
On Tuesday 16 January 2001 12:31, Chris McDonough wrote: > 2.3 final should be out by the end of the month. The details are at > http://dev.zope.org/Resources/zope_230_plan.html > > Upgrading from 2.2.X to 2.3 should require minimal effort. > ya know, this really shows why digicool really fits you guys. you guys really are cool. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] request for advice: using ZCatalog
On Tuesday 16 January 2001 11:05, Chris McDonough wrote: > If I were you, I'd wait for 2.3 final. There are some significant changes > that need to make it into 2.3 yet as far as ZCatalog goes, including some > textindex bugfixes and merging of textindexes on update. 2.2.5 has some > Catalog bugfixes, but more bugs have been discovered and squashed since > then. > ok this puts me in a tight spot. any 2.3 ETA? i don't know how long i can hold this. will 2.3 be backward compatible to 2.2.x? if that's the case, it should take care of the upgrade path. and i can try and live with 2.2.5 and its bugs until 2.3 arrives. hoping that upgrading 2.2.x to 2.3.x to be as easy as upgrading from 2.1.x to 2.2.x. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] request for advice: using ZCatalog
hello all i'm about to jump into uncharted waters (well, for me at least) i have a news site, and would like to use ZCatalog to present, index, etc news. all's well and good. i have a functioning ZClass, that is catalog aware, and searchable. what i'd like to know is -the stability of ZCatalog as of 2.2.5. -what's in store in 2.3 -upgradability from 2.2.5 to 2.3 -heartstopping bugs that i may have not encountered yet -performance speed/response. with my limited tests[1], i got ok response time, compared to what i have now where i iterate through objectItems/Values. but when i cache with CachePool[2], response is better. correct me if i'm wrong. i'd like to not go thru what i'm going thru now. but will this hold water? especially since i expect more requests. thanks ---8< [1] /usr/sbin/ab -n 300 -c 200 myurl This is ApacheBench, Version 1.3c <$Revision: 1.38 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/ Server Software:Apache/1.3.9 Server Hostname:203.106.2.200 Server Port:80 Document Path: myurl Document Length:9644 bytes Concurrency Level: 200 Time taken for tests: 33.586 seconds Complete requests: 300 Failed requests:0 Total transferred: 3030864 bytes HTML transferred: 2916288 bytes Requests per second:8.93 Transfer rate: 90.24 kb/s received Connnection Times (ms) min avg max Connect:145 162 Processing: 736 14748 25346 Total:737 14793 25508 [2] /usr/sbin/ab -n 300 -c 200 myotherurl This is ApacheBench, Version 1.3c <$Revision: 1.38 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/ Server Software:Apache/1.3.9 Server Hostname:203.106.2.200 Server Port:80 Document Path: myotherurl Document Length:9524 bytes Concurrency Level: 200 Time taken for tests: 7.646 seconds Complete requests: 300 Failed requests:0 Total transferred: 2949432 bytes HTML transferred: 2862705 bytes Requests per second:39.24 Transfer rate: 385.75 kb/s received Connnection Times (ms) min avg max Connect:14483 Processing: 320 3291 4800 Total:321 3335 4883 -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] xmldocument
On Wednesday 10 January 2001 17:55, Chris McDonough wrote: > I've never seen that failure mode.. It'd be nice to get a reproducible bug > out of it. > this is wierd. with new install of zope2.16, zope2.20, zope2.2.5 - XMLDocunebt add works great. no error. but with zope2.2.5 (with all other products used[1] added), i got the original error. i use a lot of SQL stuff, but not where i tried to add XML document steps taken- -create new folder -add XML Document -the addForm appeared. insert id -when i clicked add/add and edit, i got the commit error. if i were to follow your advice, where should i put the dummy commit_sub? [1] product list follows -8< AddressBookNavigator Refresh XMLDocument ZPyGreSQLDA BTreeFolder Feedback.tar.gz NewsHostRenderable XMLWidgets ZRTChat BookmarkFolder GUM NewsSyndicate SQLSession ZCalendarZSQLMethods Boring HiperDom Notes SimpleGb ZCallableZWiki CVS Hotfix_2000-10-02 OFSPSquishdot ZCatalog ZnolkSQLWizard CachePool LocalFS POPMailBase TinyTable ZCounter ZopeTutorial CalendarLoginManager PTKBase TodoFolder ZDBase __init__.py CalendarFolder MIMETools PTKDemo Transform.tar.gz ZDConfera__init__.pyc DemoPortal MailHost PersonalFolder TutorialPoll ZFormulator _pgmodule.so EventFolder MembershipPollTutorialPollExamples ZGadflyDAmkproduct ExternalMethod Minimal PythonMethodUserDb ZGb mkproduct-data FSDump MountedClientStorage RFC822Message Wizard ZMirror FeedbackMountedFileStorageRSSChannel Workspace ZPoPyDA -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] xmldocument
On Wednesday 10 January 2001 16:56, Phil Harris wrote: > Bak, > > I can't help you fix it but I can tell you what the problem is, the file is > too big for Zope to cope with in one transaction so it starts a > sub-transaction and there is a bug in the sub-transactioning engine. > > The same thing happens with a normal 'File' type as well. > > You should probably check the collector to see if this has been fixed or > even reported. > > Phil to say the file is big is an understatement. how can adding a news file be too big for zope to cope? unless the default XML Document is huge. i'll peek at the collector. thanks phil -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine I will follow you! ..Damage Inc _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] xmldocument
happy new year all i can't get xmldocument to work with zope2.2x i can install the product ok, but can;t add XML Document. i got attribute error. any insight into the error is appreciated. can anybody suggest ways of rendering xml documents in zope? thanks --8< AttributeError Sorry, a Zope error occurred. -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine We don't need no, no, no, no, no parental guidance here! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] wierd zope behaviour - follow up
me again.. the "only one zope process running" is here again. this time, i did what dieter suggested, and looked at the debug info. attached below is some info. my setup, again: zope 2.2.4 , ZEO 0.4.1, RH 6.2, apache-1.3.12, mod_pcgi2 i think there should be a manage debug howto. i can only view, but can't really deduce what is what. mebbe i'm just too dense. if anybody could point to docs, explain a bit, etc, i would be indebted. and, yes, i've read/reread HelpSys thanks, and merry xmas and a happy new year. -8<-- top output 11686 nobody 0 0 58588 57M 1724 S 0 6.9 11.3 30:01 python 11687 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 0:05 python 11688 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 4:16 python 11689 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 3:18 python 11690 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 3:21 python 11691 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 3:16 python 11692 nobody14 0 58588 57M 1724 R 0 92.9 11.3 715:06 python 11693 nobody 0 0 58588 57M 1724 S 0 0.0 11.3 3:34 python these are from manage debug Zope version: Zope 2.2.4 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 Process ID: 11686 (5126) Running for: 23 hours 46 min 54 sec Top Refcounts: DocumentTemplate.DT_Util.Eval: 9362 Products.ZCatalog.Catalog.Catalog: 3463 ..other refcounts snipped ..here are the connection open time - there are 7 connections open, and on 5 of them it was open about sometimes back, as shown below. the only new open connection is the debug (mine). none of the 5 requests are RDB related. all are normal ZODB calls. Thu Dec 21 10:07:25 2000 (84065.60s) Thu Dec 21 10:07:23 2000 (84066.75s) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine We don't need no, no, no, no, no parental guidance here! _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Name Errors: DTML Document -> External Python Document -> DTML Document -> ZSQL cument -> ZSQL
I have an SQL database that I want to populate using an external Python method (because I have file I/O code). So I have something like this: DTML Document named import_file which has: parsefile is my external Python method. def parsefile (self): # blah, blah self.record_info (arg1=value1,arg2=value2) record_info is a DTML document { random code here } And LookupPrinter is a ZSQL Method So I have: DTML Document -> External Python Document -> DTML Document -> ZSQL Document Is this a sane thing to have my External Python Document calling back to DTML Documents? I keep getting name error on the LookupPrinter. I tried putting: and I still get the name error. In essence I am trying to have code that will parse a file and then record the results in my database. Thanks. Becky. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] weired zope behaviour
hi all i have a zope site that uses ZEO, runs behind apache and on RH6.x what puzzles me is that only *one* zserver thread is alive after some time and it consumes most of the processors cycle. the top snapshots are at the bottom of this message anybody got any ideas why this happened? i think this may have contributed to the slow response to the site. if i restart zope, everything works dandy... until some time when only one thread is used, instead of 4 what are others seeing? is it my codes? thanks 8<- ZC1 4515 nobody 0 0 99.2M 99M 1592 S 0 4.1 2.5 183:37 python 4537 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 0:07 python 4538 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 724:16 python 4539 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 751:47 python 4540 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 735:11 python 4541 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 749:27 python 4542 nobody 0 0 99.2M 99M 1592 S 0 0.0 2.5 741:45 python 4543 nobody13 0 99.2M 99M 1592 R 0 94.0 2.5 1734m python ZC2 4348 nobody 0 0 102M 102M 1828 2 S 2.1 13.5 214:33 python 4350 nobody 0 0 102M 102M 1828 2 S 0.0 13.5 0:10 python 4351 nobody 0 0 102M 102M 1828 2 S 0.0 13.5 398:08 python 4352 nobody 0 0 102M 102M 1828 2 S 0.0 13.5 407:02 python 4353 nobody 0 0 102M 102M 1828 3 S 0.0 13.5 406:32 python 4354 nobody 0 0 102M 102M 1828 3 S 0.0 13.5 392:10 python 4355 nobody14 0 102M 102M 1828 2 R95.5 13.5 4712m python 4356 nobody 0 0 102M 102M 1828 2 S 0.0 13.5 388:41 python Z3 18567 nobody 0 0 73652 71M 1724 S 0 4.4 14.2 273:56 python 18571 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 0:44 python 18572 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 42:03 python 18573 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 63:13 python 18574 nobody19 0 73652 71M 1724 R 0 91.2 14.2 6144m python 18575 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 47:54 python 18576 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 57:10 python 18577 nobody 0 0 73652 71M 1724 S 0 0.0 14.2 57:13 python -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine if you SMELLL ... what the Rock is cookin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] apache and zserver interaction
hi all during peak period/or simulated with ab -n200 -c 100 http://mysite/ i did this: -8<--- telnet mysite 80 Trying mysite... Connected to mysite. Escape character is '^]'. GET / HTTP/1.1 host:mysite ... response -8< what puzzled me is that the response time between typing in host:mysite \n\n and getting the response from the server is *very* high. what may cause the latency? is it between apache and zope, or zope itself? or does it depend on what the rest of mysite is doing? i'm at a lost here. i want to speed up response time, but not sure which knobs to turn. apache's or ZServer's. i've increased the keepalive to 30s in apache. will increasing the zserver thread number help? i also changed zserver -i option to 60, but not that much different result. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine as you woke this morning, and open up your eyes, did you notice the tear stains lining your face were mine.. _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] z2.py -i
hello all can anybody shed some light on the "-i" option in z2.py. according to the help -i n Set the interpreter check interval. This integer value determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The Zope default is 120, but you may want to experiment with other values that may increase performance in your particular environment. can anybody explain in plain english please. if i decrease the number, what'll happen? if i increase it? what the heck is it anyway? dummy, that's me.. tia -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] New version of book uploaded
On Friday 08 December 2000 17:35, Michel Pelletier wrote: > On Fri, 8 Dec 2000, Bak@kedai wrote: > > On Friday 08 December 2000 09:07, Michel Pelletier wrote: > > > Greetings, > > > > > > Read this carefully, you may end up with a free, signed copy of the > > > Zope book. > > > > as ypu said, this whole chapter still uses python methods. > > Actually, the copy of the chapter in your browser cache still uses > Python Methods. The copy on the website does not. All of these you've > pointed out are old news... > > Sorry! if konquorer refreshes right, have a look see http://www.zope.org/Members/michel/ZB/ScriptingZope.html the graphics used for example. (pleeze make this one count!) --8<--- Python Method (Internal) at/hello --8<--- does it count? :) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine as you woke this morning, and open up your eyes, did you notice the tear stains lining your face were mine.. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] New version of book uploaded
On Friday 08 December 2000 17:35, you wrote: > On Fri, 8 Dec 2000, Bak@kedai wrote: > > On Friday 08 December 2000 09:07, Michel Pelletier wrote: > > > Greetings, > > > > > > Read this carefully, you may end up with a free, signed copy of the > > > Zope book. > > > > as ypu said, this whole chapter still uses python methods. > > Actually, the copy of the chapter in your browser cache still uses > Python Methods. The copy on the website does not. All of these you've > pointed out are old news... > > Sorry! bugger! kill the cache :) > > -Michel > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine I will follow you! ..Damage Inc ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] New version of book uploaded
On Friday 08 December 2000 09:07, Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. > as ypu said, this whole chapter still uses python methods. not sure whther it's been pointed out or not. sent earlier without the URL. here it is again. do i qualify?:") http://www.zope.org/Members/michel/ZB/ScriptingZope.html ---8<--- Python MethodsYou can use Python, a scripting language, to script Zope objects and perform other tasks. Python methods give you general purpose programming facilities within Zope. Perl MethodsYou can use Perl, a powerful text processing language, to script Zope objects and access Perl libraries. Perl Methods offer similar benefits as Python Methods, but may b ---8<- and .. 8< Zope methods are called from the web or from other methods. Almost any type of method can call any other type of method. You can call a Python Method from a DTML Method, or a built-in method from a Perl Method --8<- there's more.. should i oint all occurrences of python method? http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] New version of book uploaded
On Friday 08 December 2000 09:07, Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. > hee's a shot, don't know whether it's been pointed out or not ---8<-- Python MethodsYou can use Python, a scripting language, to script Zope objects and perform other tasks. Python methods give you general purpose programming facilities within Zope. Perl MethodsYou can use Perl, a powerful text processing language, to script Zope objects and access Perl libraries. Perl Methods offer similar benefits as Python Methods, but may be more appealing for folks who know Perl but not Python, or who want to use Perl libraries for which there are no Python equivalent 8<- -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Cut/copy/paste problems
On Wednesday 06 December 2000 19:08, Oleg Broytmann wrote: > Hello! > >For a long while I have problems with cut/copy/paste in Zope management > interface. >I run Zope behind Apache with mod_pcgi2. > >I did some quick experiments. I connected directly to Zope (port 8080). > Cut/copy/paste worked flawlessly. Hence the problem is not in the browser > nor in the proxy nor in Zope. Perhaps the problem is in mod_pcgi2 or in > the Apache or in my specific version of Russian Apache. > >I switched to Zope.cgi. Copy/paste worked, but cut stopped working. > Oops! First sign of problem. May be this is a problem with PCGI? >With mod_pcgi2 copy/paste almost always do not work. > >To help me to resolve the problem I want to ask the helpful community > provide me some information. Of those who run Zope behind Apache please > tell me: > > 1) which way do you connect? (mod_proxy, Zope.cgi, mod_pcgi2, mod_fcgi) > i've tried proxypass, fcgi, and modpci2. and i stuck with mod_pcgi2, since this is the option with the least amount of problems/failure. >2) any problem? w fcgi, i have connection failed errors. with proxy pass, zope intermittently hangs, causing apache to reach the max client parameter set. i connect to zserver for all my management/development, so i may not see cut/copy/paste problem. but i did give it a try with mod_pcgi2 and apache1.3.9, and i can cut/copy/paste. hth > >Thank you in advance. > > Oleg. > > Oleg Broytmann http://www.zope.org/Members/phd/ [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 ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine I will follow you! ..Damage Inc ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Possible disaster upgrading to 2.2.4
On Wednesday 29 November 2000 08:33, Jonathan Cheyne wrote: > Hi Deiter > > > Thus, install "ZDbase" or determine, why it can not import it. > > Already installed in 2.2.0 before upgrade. I have perused the output on > the console but its a bit beyond me. > > > > cannot import name ZDiscussions > > > > You have ZDiscussion installed? > > Already from before. Reinstalled as well no joy. I also tried a new > install of 2.2.4 not an upgrade and installed all my tar ball products. > things work until i copy in my data.fs then barf. i think this has manifested itself since zope 2.2.2bx. make sure to add an addtional ',' in ZDBase/ZDiscussion.py __ac_permissions__ -8<--- __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)), )^ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 with Microsoft Access
From: "Mike Kelland" <[EMAIL PROTECTED]> > What does actually do? Looks like all it would do is > divide by zero which *has* to be some kind of error. Yelp, that's exactly what it does. My goal was to prove one way or another that a bit of code was executed. Divide by zero is one way to do that. --Darrell ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 with Microsoft Access
You may not be entering UpdateHours. Try just before the call to UpdateHours. Or some other obvious way to know if your entering it. Here's how I coded the same kind of thing. Although I'm reading the Zope book right now to see how I should have done it. The book is good and I might just learn a better solution than 0/0 :) --- Part of addContact Name: Title: Phone: ---insertNewContactForm --Darrell ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Form variables with same name as folder names
>On Tue, 14 Nov 2000, "Burwell, Becky wrote: >> This working UNTIL I created a Folder named FOO. Then the >value of FOO in >> the Z SQL method seemed to be the FOO folder and not FOO >from REQUEST. My >> workaround was to call the variable FOOCHECKBOX. >> >> >> 2) is there some way I could have referred to the variable >FOO in my Z SQL >> method without resorting to renaming the variable in my form? >> > >A sneaky problem indeed, and once again, one caused by "convenient" >shortcuts. (o8 > >The simple answer: use REQUEST.form['FOO'] to refer to the >form variable. I just did an experiment and if I do the following my SQL Method: this is never true. If I do: or I get name errors with REQUEST being unknown. The REQUEST.form thing works in the DTML document that calls the SQL method but not in the SQL method itself. *becky* ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Form variables with same name as folder names
Hi. I am new to using Zope and just got stuck on the following problem. I am trying to use forms with an SQL database. I have a form with checkboxes and I use variables like FOO to capture the value. For example: The form has a post with the action to call a DTML document. In my DTML document I call a Z SQL Method called InsertMethod with REQUEST as the argument, for example InsertMethod(REQUEST). My Z SQL Method InsertMethod has arguments including FOO="" And then in the body of the Z SQL method I have: {code to insert into a database table} This working UNTIL I created a Folder named FOO. Then the value of FOO in the Z SQL method seemed to be the FOO folder and not FOO from REQUEST. My workaround was to call the variable FOOCHECKBOX. Two questions: 1) the ZSQL manual, http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.4.html, says that the first lookup should be variables in HTTP_REQUEST. So why is FOO referring to my folder FOO? 2) is there some way I could have referred to the variable FOO in my Z SQL method without resorting to renaming the variable in my form? Thanks! *becky* ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Best way to handle SQL update with variable number of fields?
Hello, I'm creating a number of ZSQL methods to insert, update and delete records from several Oracle tables. Everything is working fine with the insert forms (creating new records) and the delete (of course). However, the best way to do the * update * without locking the user into a *very* rigid format is eluding me.. The problem - I would like to populate the form with the existing values and then allow the user to change the ones they want to. Some of the fields in the database are empty and it will always be that way. The length of the update statement will change. Nomatter how I do it, I am having problems with the commas. What is the best way to build the necessary logic into the form? Is there a sample in a product or a How-to somewhere that I can look at? I am assuming I need to create a list externally in a method and use that to determine the comma placement. Is that the "correct" direction? Or is there a better way.. Thank you, 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 )
Re: [Zope] [Ann] Another Zope Book
I'm using ZODB and ZEO seperate from Zope, no problem. --Darrell - Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> > I think Andrew completed the extraction of the ZODB. > This means, Zope applications can use it for persistency. > You, immediately, gain ZCatalog features, too. > _______ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Import broken by namespace conflict - fragile!
Hello This is a repost of a serious message I posted on friday. [The threaded version of this list is corrupted - my message content has been automatically replaced by another person's message, athough strangely, the gzip archive is ok.] Please can someone help us understand how to avoid DTML method names conflicting with other zope objects with same name. For example using Zope export/import during recent site development to transfer work from local machines to the linux server broke sections of our site in a manner which was very hard to find. The reason we have finally traced to namespace conflict. We imported code which included calls to a local zope object named 'swf' for simple substitution. But suddenly our code did not work. It turned out that another object identically named 'swf' was an already existing 'folder' ..!! This is a very disturbing discovery, becuase it implies that one might have anywhere at anytime hidden or visible namespace conflicts emerging and vanishing with no control. We had thought that would avoid this. But it does not and may even cause it! It also implies that makes development of Zope sites across various machines very hit-or-miss Please help.. Exact code dump follows... 1. I have an original DTML template called 'objembedswf' in a folder named 'Flash4' HEIGHT=> 2. Below this my DTML file includes calls to this template like this: 3. Here is the result of substitution returned in browser I draw you attention to the fact that was supposed to be subsituted with 'login.swf', but instead became ..ouch.. 4. The reason appears to be that there is a namespace conflict elsewhere in my Zope tree. As it turns out, we have a folder right under / called 'swf'. In fact it could be many places and still cause a conflict. This 'bug/feature' is the same under Zope 2.1.6, and Zope 2.2.0 in Win98se and LinuxRedhat. Is it something about or perhaps our use of which creates this unpredictable and confusing effect? Is this is a bug? As it stands it means is is very hard to have people working on separate sections of a Zope site because at any time they might be causing namespace collisions like this. In our case the effect was obvious - our swf files immedaitely woudl not display. But other voodoo could easily occur which migh not appear for some time. It provokes me to ask simply what is the search path priority of object acquistion in zope and how do you control it safely? Thank you - Jason Cunliffe ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] namespace conflict question needs explanation
Hello Please can someone help us understand how to avoid DTML method names conflicting with other zope objects with same name. For example using Zope export/import during recent site development to transfer work from local machines to the linux server broke sections of our site in a manner which was very hard to find. The reason we have finally traced to namespace conflict. We imported code which included calls to a local zope object named 'swf' for simple substitution. But suddenly our code did not work. It turned out that another object identically named 'swf' was an already existing 'folder' ..!! This is a very disturbing discovery, becuase it implies that one might have anywhere at anytime hidden or visible namespace conflicts emerging and vanishing with no control. We had thought that would avoid this. But it does not and may even cause it! It also implies that makes development of Zope sites across various machines very hit-or-miss Please help.. Exact code dump follows... 1. I have an original DTML template called 'objembedswf' in a folder named 'Flash4' HEIGHT=> 2. Below this my DTML file includes calls to this template like this: 3. Here is the result of substitution returned in browser I draw you attention to the fact that was supposed to be subsituted with 'login.swf', but instead became ..ouch.. 4. The reason appears to be that there is a namespace conflict elsewhere in my Zope tree. As it turns out, we have a folder right under / called 'swf'. In fact it could be many places and still cause a conflict. This 'bug/feature' is the same under Zope 2.1.6, and Zope 2.2.0 in Win98se and LinuxRedhat. Is it something about or perhaps our use of which creates this unpredictable and confusing effect? Is this is a bug? As it stands it means is is very hard to have people working on separate sections of a Zope site because at any time they might be causing namespace collisions like this. In our case the effect was obvious - our swf files immedaitely woudl not display. But other voodoo could easily occur which migh not appear for some time. It provokes me to ask simply what is the search path priority of object acquistion in zope and how do you control it safely? Thank you - Jason Cunliffe ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Howto engineer a scientific paper system
Thanks again, I like lyx now. Using latex with lyx on top is very comfortable. I found a pyhton based bibliographic database handler named pybliographer (http://www.gnome.org/pybliographer). It has a GUI and inserts citation directly into lyx. (The Latex2HTML converter - on a first try - seems to ignore the inserted BibTex reference, though.) Christian Working with Lyx is actually really nice, I appreciate how to get (Referring to Pavlos Christoforou on Don, 29 Jun 2000) > On Thu, 29 Jun 2000, [EMAIL PROTECTED] wrote: > > > Thank you for the comments and links for latex and docbook. > > > > Going the latex path seems to me worthwhile - but on another day > > ;-) , I have already done some setup in zope that I would like to > > build on. What I did not find about LaTeX was a screenshot (isn't it > > Having used latex for a long time I would like to point out that if you > are planing to to write many papers for conferences/publications Latex has > some very helpful tools. For one many scientific journals provide Latex > style files so you don't need to worry about formating. Also (and IMO the > most important) are the pain in the ... bib contents. There are very nice > bib databases for Latex and latex (or bibtex) can produce bibliography > contents in the formats required by most journals. Check also Lynx which > is a minimal (last i checked) wysiwig environment for Latex. > > Pavlos > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** 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] PCGI Error: (102) failure during connect to ZServer
Running ./start seems to initiate pcgi_wrapper. Then pcgi handles the web request perfectly again . This was not needed in Zope 1.6, I might be mistaken, though. > > > This is with Zope-2.2.0b3-src.tgz > > > > The pcgi wrapper reports ...is unable to connect to the ZServer > > background process via Unix socket .../var/pcgi.soc > > > > I am trying to install this on a remote host, this error came up > > locally too, though. > > > > I followed glndspud's howto on 3rdparty host setup. With a 2.1.6 > > release I was able to get zope running. However, with this setup I > > was not able to login through manage, the authorization did not work. > > So my reasoning, an upgrade should make this error vanish. Not so, > > until now. ;-( > > > > Christian > > Christian ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] localization projects
Christian Zagrodnick wrote: >has anybody figured out how to make a zope website multilingual? There is ZIP - "A developer's group to make Zope more international." Their maillist is at http://www.eevolute.com/mailman/listinfo/zip Sadly, looking at the archives, it seems that the ZIP mailing list is dead. I hope it will come back to life. The only thing posted on it this month is an announcement of zzLocale, "a framework for Zope interface internationalization". http://www.zope.ne.jp/users/yemartin/zzLocale There is also Translator, that "helps with the localization of web sites built with Zope" http://www.zope.com/Members/fog/Translator Although I have not used these programs yet, internationalization will be an issue for me soon. This issue seems to come up every 6 weeks or so on [EMAIL PROTECTED] I hope to see a FAQ for this soon from someone with more experience using these packages (it's author can feel free to cut & paste this email :). I also hope to see an announcement of updates of these & newer internationalization programs in the "Zope News" and "Zope Weekly News". These would be good ways to help keep the ball rolling! cheers --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] PCGI Error: (102) failure during connect to ZServer
This is with Zope-2.2.0b3-src.tgz The pcgi wrapper reports ...is unable to connect to the ZServer background process via Unix socket .../var/pcgi.soc I am trying to install this on a remote host, this error came up locally too, though. I followed glndspud's howto on 3rdparty host setup. With a 2.1.6 release I was able to get zope running. However, with this setup I was not able to login through manage, the authorization did not work. So my reasoning, an upgrade should make this error vanish. Not so, until now. ;-( Christian ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Howto engineer a scientific paper system
Thank you for the comments and links for latex and docbook. Going the latex path seems to me worthwhile - but on another day ;-) , I have already done some setup in zope that I would like to build on. What I did not find about LaTeX was a screenshot (isn't it a wysiwg enviroment on top of TeX marked-up text) and a content link to zope - this might be done, however, through the DocBook DTD and the XML stuff in zope. Which leads me to the later suggestion, I have tried out DocBook product, rendering is very slow on my computer. And again it is too big of a new concept for me now. I have looked into the YihawDirectory product a little deeper now, it fits very well into my idea to connect the content with the references closely. A lot of my code methods I produced in order to tweak a good reference handling is not needed any more, what is left are a few headers and footers implemented as methods, for design and navigation purposes, and folders having chapter properties and containing documents for holding content. I still want to look into XML and DocBook, though, xml could be easier to manage as the work grows. On first glance, for xml I found an interesting (but somehow abandoned) software named conglomerate http//www.conglomerate.org/, another is Xeena of IBM. The GUI of both (especially the former) seem to have nice XML editing capabilities. Christian ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Howto engineer a scientific paper system
(...why) ...and, of'course, teamworking. > [EMAIL PROTECTED] | [EMAIL PROTECTED] (preferred) > Why do you want to use Zope for this? What's the expected > advantage against using e.g. LaTeX? > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Howto engineer a scientific paper system
> Why do you want to use Zope for this? What's the expected > advantage against using e.g. LaTeX? > > Cheers, > Nils > -- Better integration into the Web, resources should be accessible on the fly. I would like to have the sources of my ideas packed close together with the actual content I am producing, delving into a particular subject should then be straight forward. However, I have never used LaTeX. What about using YiHaW for that? There are classes for different types of resources available. And the Pointers might be used to include references into a paragraph. Christian ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Howto engineer a scientific paper system
How to engineer a scientific paper system Are there products out for this, should we produce one? -- In short, I would like to have Zope assist me in producing a scientific paper. So how can I produce pointers from within the text to objects holding more information about these pointers, i.e. a referene within a paragraph is linked to the bibliography. -- My setup so far is a folder structure, with DTML Documents for content that have Properties holding the references in token (semi-colon) separeted lines. Methods are used to parse the folder (having chapter properties) and DTML Documents in order to get a table of content structure and html-styled reference list respectively. -- The method I wrote are much of the type of dtml_tree using dtml-in to identify the object, produce something with that object, and then calling the method again from within the method. Sometimes, though, I get an infinite recursion. This requires lots of debugging, as the loads of methods intermingled with standard puplishing methods are hard to overlook. The parsing techniques would need exception handling and whenever I split a method up, the value is passed on the the request namespace (that might produce further havoc in a newbie scope of understanding). A class object system instead of scripts should work better and should also be easier to enrich with additional qualities later in the development process (as it still is the paper first that should get done instead of the software system). So maybe it is time for a full revision, letting classes produce the work. Are there other ways to achieve this? Maybe should I a produce something such as a lightened ZWiki product for that purpose. Or, should all content go into SQL tables? What steps should I take next? Any further ideas of co-problem-solvers? Regards, Christian ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )