[Zope] More tolerant Stripogram (solution)

2005-05-02 Thread Jaroslav Lukesh
, not w3c. Best Regards, -- Jaroslav Lukesh --- This e-mail can not contain any viruses because I use Linux ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] More tolerant Stripogram (solution)

2005-05-02 Thread Jaroslav Lukesh
Dne pondl, 2. kvtna 2005 09:52 Tino Wildenhain [EMAIL PROTECTED] napsal(a): Am Montag, den 02.05.2005, 09:04 +0200 schrieb Jaroslav Lukesh: Hi all, I was extend SquishDot with wysiwyg editor (origin: vsbabu ieeditor). But it was not accept many tags due too small number of allowed html

Re: [Zope] Menus (was no subject)

2005-05-03 Thread Jaroslav Lukesh
, get static menus working 1st, then add in the dtml to provide menu content. Did you googling that? Try google for: lukesh zope menu Sorry for late response... -- Jaroslav Lukesh --- This e-mail can not contain

Re: [Zope] More tolerant Stripogram (solution)

2005-05-17 Thread Jaroslav Lukesh
Dne ter, 17. kvtna 2005 13:26 Chris Withers [EMAIL PROTECTED] napsal(a): Jaroslav Lukesh wrote: I was extend SquishDot with wysiwyg editor (origin: vsbabu ieeditor). But it was not accept many tags due too small number of allowed html attributes in stripogram. Looks like you completely

Re: [Zope] More tolerant Stripogram (solution)

2005-05-19 Thread Jaroslav Lukesh
Dne steda, 18. kvtna 2005 10:57 Chris Withers [EMAIL PROTECTED] napsal(a): Jaroslav Lukesh wrote: Why are you bothering to strip when you basically let people put in all the abusive tags anyway? Because it is not abusive tags for intranet blog. Then why are you using stripogram

Re: [Zope] HTML post processing in Zope

2005-05-24 Thread Jaroslav Lukesh
') __call__=render String.commands['unitws']=UnitWhitespaceTag -- Jaroslav Lukesh --- This e-mail can not contain any viruses because I use Linux ___ Zope maillist

Re: [Zope] Hiding HTML URL

2005-05-24 Thread Jaroslav Lukesh
frameset in this cause will make you big troubles in SEO marketing magic. If you will use one folder for one document, you will make search engines very happy and your boss will be later happy too. -- Jaroslav Lukesh

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-26 Thread Jaroslav Lukesh
, which have separation argument is not as easy to make totally separated design as marketing says, for example see Plone - try to customize plone site to absolutelly different custom design - it is near impossible. -- Jaroslav Lukesh

Re: [Zope] Print a web page using dtml

2005-06-07 Thread Jaroslav Lukesh
: html2ps khtml2png html2jpg -- Jaroslav Lukesh --- This e-mail can not contain any viruses because I use Linux ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] zope.org site and limited search results

2005-08-16 Thread Jaroslav Lukesh
change number of results from database at advanced tab of appropriate ZSQL method (if it is not defined somewhere else). Note, that old zope site does not has this limit. Many thanks, -- Jaroslav Lukesh

Re: [Zope] SQL Problem

2005-08-26 Thread Jaroslav Lukesh
, dtml-sqlvar core5 type=string, dtml-sqlvar choice1 type=string, dtml-sqlvar choice2 type=string, dtml-sqlvar choice3 type=string, dtml-sqlvar choice4 type=string ) I use default parameters in params saction without problems. -- Jaroslav Lukesh

Re: [Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-08-30 Thread Jaroslav Lukesh
. -- Jaroslav Lukesh --- This e-mail can not contain any viruses because I use Linux ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-09-05 Thread Jaroslav Lukesh
to maximal ULR length of some programs (browser/proxy/server). -- Jaroslav Lukesh --- This e-mail can not contain any viruses because I use Linux ___ Zope maillist - Zope

RE: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Jaroslav Lukesh
I am trying to use a python script to call a Z SQL method. The python You need to have defined words as parameter for ZSQL Metod. You have tried to call property wordlist which is not exit. Here are your ZSQL with safety (not functional) concern: params words:string /params SELECT * FROM

RE: [Zope] Structured Text Question

2006-01-25 Thread Jaroslav Lukesh
Well, this decision was not made by me and I cannot override it. Given that I have to use Structured Text, is there a solution to this problem? Thanks. Yes. At attachment in my prev. mail you could find (not only by me) modified version of STX from Zope 2.5.1 (partially from 2.6 too). Here you

[Zope] Corrected connectionTestForm.dtml

2006-02-06 Thread Jaroslav Lukesh
Hi all, here are corrected file lib\python\Shared\DC\ZRDB\dtml\connectionTestForm.dtml Take a look above DTML-COMMENT. It was from Z2.5.1, but it could be inspirative for newer versions. Regards, JL. dtml-in %(id)s size=20 start=query_start dtml-if sequence-start

[Zope] Better connectionTestForm.dtml

2006-02-06 Thread Jaroslav Lukesh
Hi, here are lib\python\Shared\DC\ZRDB\dtml\connectionTestForm.dtml with better window for SQL query. Regards, JL. dtml-var manage_page_header dtml-var manage_tabs dtml-if connected p class=form-help You can write a test query and run it with this database connection

RE: [Zope] Double quote in ZSQL Method

2006-02-21 Thread Jaroslav Lukesh
Jason C. Leach In a ZSQL Method, I have tablename.dtml-sqlvar species type=string and I get tablename.'species_value', what I need is tablename.species_value. Any idea how I can get Zope/ZSQL to not put in the single quotes (or use double quotes)? dtml-var species sql_quote JL.

RE: [Zope] Zope for non-Web applications?

2006-03-04 Thread Jaroslav Lukesh
I don't even know Python yet, but I was wondering if it makes sense to use Zope as a OO database in non-Web applications written in Python. Any thoughts on that? Use xml-rpc. JL. ___ Zope maillist - Zope@zope.org

[Zope] How to update list from dtml?

2006-04-14 Thread Jaroslav Lukesh
Dear Zopistas, How to do in DTML something similar in python: foo[1] = 3.5 In DTML this does not work: dtml-call REQUEST.set('foo[1]', 3.5) Note, that I have list foo[,,,] already defined Many thanks, J. Lukesh ___ Zope

RE: [Zope] How to update list from dtml?

2006-04-14 Thread Jaroslav Lukesh
From: Jonathan [mailto:[EMAIL PROTECTED] Try: dtml-call foo.append(3.5) I need to insert that at specific position, not append at end of the list. Thanks, JL. - Original Message - From: Jaroslav Lukesh [EMAIL PROTECTED] foo[1] = 3.5 In DTML this does not work: dtml

[Zope] how to decode base64 in DTML?

2006-05-04 Thread Jaroslav Lukesh
Hi all, Would you like to help me with decoding base64 string, please? I was try many ways (*), but no with success, but import cStringIO import mimetools import binascii binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n') in commandline python works OK. (*)here are some examples: dtml-var

RE: [Zope] how to decode base64 in DTML?

2006-05-04 Thread Jaroslav Lukesh
[EMAIL PROTECTED] On Behalf Of Igor Stroh Jaroslav Lukesh wrote: import cStringIO import mimetools import binascii [...] dtml-var 'YWxla2liYW5nb0B6dWcuY3o=\n'.decode('base64') Thank you - it is exact what I need, but it does not have rights to make that conversion - see

RE: [Zope] how to decode base64 in DTML?

2006-05-04 Thread Jaroslav Lukesh
From: Andreas Jung [mailto:[EMAIL PROTECTED] import cStringIO import mimetools import binascii binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n') in commandline python works OK. Move such code inside a PythonScript..such code does not belong into DTML.. it just bad style. I was

[Zope] How to set property from external method or pythonscript?

2006-05-04 Thread Jaroslav Lukesh
HI all, External methods and pythonscripts are fine, but I did not find how to set some property or bulk of properties to use in dtml document after calling this ext.method or pythonscript. The passing variables I was find for pythonscripts only. Many thanks, JL.

[Zope] Solution: how to pass variables into ZGDChart

2006-05-17 Thread Jaroslav Lukesh
Hi all, I was find simple solution how to pass variables into DTML method of ZGDChart product. It was discussed few years ago via SESSION - see http://mail.zope.org/pipermail/zope/2003-April/135196.html Note, that for my old Zope 2.5.1 is functional version ZGDChart-0.6.4babel.tgz only

RE: [Zope] Solution: how to pass variables into ZGDChart - Errata

2006-05-17 Thread Jaroslav Lukesh
I am very sorry, I was past code from old notepad window :o) So here are right DTML document from where we calling image: dtml-if users_id dtml-elif user_id dtml-call REQUEST.set('users_id', []) dtml-call users_id.append(user_id) /dtml-if dtml-call REQUEST.set('temp_labels',

RE: [Zope] Nested dtml tags

2006-06-20 Thread Jaroslav Lukesh
[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas How can I do this with dtml? select name=MODLEVEL size=1 dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an alternative to this. option value=1 selected=selected1/option option value=22/option

[Zope] How to install POPMAIL for Zope 2.9?

2006-10-20 Thread Jaroslav Lukesh
Hi Zopistas, I hace code which uses pop library from this product: http://www.zope.org/Members/dshaw/POPMailProduct/install Whet I do Import from Products page (see install), then I get message: The object POPMail does not support this operation. Did someone know how is possible way to

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread Jaroslav Lukesh
make new_instance copy old_instance/var to new_instance/var copy old_instance/Extensions to new_instance/Extensions products, language and other config in etc ... - Original Message - From: Nancy Donnelly To: zope@zope.org Sent: Wednesday, November 22, 2006 5:19 PM Subject:

Re: [Zope] zope sql_delimiter windows

2006-12-23 Thread Jaroslav Lukesh
Does run your multiple INSERT queries at Database Adapter Test tab? JL. - Original Message - From: garry saddington [EMAIL PROTECTED] I have a Zope application that runs perfectly on Linux. However, my target audience is likely to use Windows so I am trying to port my app. to that

Re: [Zope] zope sql_delimiter windows

2006-12-24 Thread Jaroslav Lukesh
ANd SQL database is the same type and version or not? - Original Message - From: garry saddington [EMAIL PROTECTED] On Sat, 2006-12-23 at 23:39 +0100, Jaroslav Lukesh wrote: Does run your multiple INSERT queries at Database Adapter Test tab? None of them run (and I have many

Re: [Zope] Urgent Help Required......

2007-01-15 Thread Jaroslav Lukesh
- Original Message - From: robert rottermann [EMAIL PROTECTED] DTML is NOT deprecated and is NOT a dying concept. ZPT and DTML are used by different people for different reasons; both technologies have their strengths and weaknesses, but both are viable, ongoing components of Zope.

Re: [Zope] Urgent Help Required......

2007-01-15 Thread Jaroslav Lukesh
Budget has to do, because writing of website with dtml is much faster than in zpt. And webdesigner studios that does not make crap from your ZPT template have 10x more price level than PHP-like graphics studios. DTML - lower cost of development ZPT - lower cost for design changes DTML - is

Re: [Zope] Urgent Help Required......

2007-01-15 Thread Jaroslav Lukesh
From: Jens Vagelpohl [EMAIL PROTECTED] Budget has to do, because writing of website with dtml is much faster than in zpt. And webdesigner studios that does not make crap from your ZPT template have 10x more price level than PHP-like graphics studios. Sorry, that's complete BS. You're

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-24 Thread Jaroslav Lukesh
- Original Message - From: Murdock [EMAIL PROTECTED] I am implementing a new site using Zope/Plone. This site replaces an old one built in ColdFusion. The problem that I am having is that a portion of our site (Our customer login area) will need to remain on ColdFusion for a while. Is

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Jaroslav Lukesh
from scratch without google/sf/fm :o) 1. pound with linux and colinux kernel runtime on windows 2. pound with linux under vmware or old pre-M$ virtualPC on windows 3. pound under cygwin on windows 4. squid under windows 5. apache under windows 6. IIS - M$ ISA (?) - Original Message -

Re: [Zope] Suggestion for an opensource barchart/piechart graphicpackage in python

2007-02-19 Thread Jaroslav Lukesh
- Original Message - From: Marco Bizzarri [EMAIL PROTECTED] On 2/18/07, Richard Jones [EMAIL PROTECTED] wrote: I know gnuplot; what is the support for python? It's a lot harder to avoid making posts like this. If all that I needed was to get some package for creating charts

Re: [Zope] How do people work with html-designers?

2007-03-15 Thread Jaroslav Lukesh
do google: zpt OR tal lukesh I was wrote about this few months ago in this mailinglist. Regards JL. - Original Message - From: Gaute Amundsen [EMAIL PROTECTED] I have been meaning to ask this for a while.. How do people set up the zope development process and servers to work well

Re: [Zope] Re: Zope 2.7 - sporadic service hangup

2007-06-05 Thread Jaroslav Lukesh
Don't repair which is not broken Make downgrade... I have Mandrake 9.1 with Zope 2.5.1 and second server Mandrake 10.2 with Zope 2.9.4, old mandrake is much more better, at 10.2 I have in crontab line: 00 4 * * * root /zope/../bin/zopectl restart It sometimes hangs me too. -

Re: [Zope] Zope products that allows people to Add Comments topublications

2007-06-27 Thread Jaroslav Lukesh
And what is better or equivalent with that ease? I have modified squishdot with wysiwyg editor for intranets. - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, June 27, 2007 8:28 AM Subject: Re: [Zope] Zope products that

Re: [Zope] Zope products that allows people to Add Commentstopublications

2007-06-27 Thread Jaroslav Lukesh
- Original Message - From: Shane Graber [EMAIL PROTECTED] A quick look at svn (http://squishdot.svn.sourceforge.net/viewvc/squishdot/) shows no activity for 11 months, which also lends itself to this inference. I'm not meaning to sound harsh so I hope it doesn't come across this way.

Re: [Zope] utf-8 problem in Zope when using Localizer

2007-08-24 Thread Jaroslav Lukesh
- Original Message - From: Patrick Ulmer [EMAIL PROTECTED] The http-equiv tag means not much to browser. Try setting the content-type including the charset within the HTTP response (REQUEST.RESPONSE.setHeader(...)). I have checked it but it is the same problem. Browser is encoding in

[Zope] how to fill form values name:int in javascript?

2007-08-29 Thread Jaroslav Lukesh
Hi, This is typically not zope question, but I does not find solution for this zopiness. I need to fill from javascript form fields with defined zope type: input type=text name=number:int value=0 and how to address it in javascript? This make JS error for me:

Re: [Zope] Stripping Quotes

2007-08-29 Thread Jaroslav Lukesh
dtml-var _.str('string\with\'quotes').replace('\','').replace('\'','') - Original Message - From: Tom Von Lahndorff [EMAIL PROTECTED] Whats the best way to strip (double and/or single) quotes from a string in python and/or dtml? Thanks.

[Zope] Re: [Zope-DB] case insensitive ZSQL queries

2007-09-05 Thread Jaroslav Lukesh
Use MS-SQL or Sybase :o) - Original Message - From: onsombal [EMAIL PROTECTED] is there an easy way to make the following ZSQL query case-insensitive? select * from clients dtml-sqlgroup where dtml-sqltest firstname op=like type=string optional dtml-or dtml-sqltest lastname

Re: [Zope] genealogy product?

2007-09-06 Thread Jaroslav Lukesh
Hi, I does not know that product, but zope DB is tree DB. Here are few products which you should use to cross between trees (like unix symlink). One folder = one person. SO programming of that web application is not as hard, you should do it in plain DTML and javascript. Plus you should use

[Zope] sql and auto generated forms

2007-09-14 Thread Jaroslav Lukesh
Hi, I looking for such a tool, for which I define table columns and this tool generates SQL create,insert, update, select ZSQL methods and generate forms with methods for insert, update and show records. It exists, or some similar, please? I have bunch of tables... Many thanks, JL.

[Zope] how to get next iteration values?

2007-09-17 Thread Jaroslav Lukesh
Hi, does somebody knows how to get next iterations of columns from SQL query? I think that is only due my unknowledge of right pythonic syntax. dtml-let vypisSQL_LET=vypisSQL() -- ZSQL method results catch dtml-in vypisSQL_LET prefix=listing current value: dtml-var column next value: dtml-var

Re: [Zope] how to get next iteration values?

2007-09-17 Thread Jaroslav Lukesh
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] Jaroslav Lukesh wrote at 2007-9-17 13:42 +0200: ... does somebody knows how to get next iterations of columns from SQL query? I think that is only due my unknowledge of right pythonic syntax. dtml-let vypisSQL_LET

[Zope] external editor with proxy patch for win32

2007-09-25 Thread Jaroslav Lukesh
Hi, does somebody have compiled external editor with proxy patch for win32 from here: http://www.plope.com/software/collector/235 Would you like to share it, please? Many thanks, JL. ___ Zope maillist - Zope@zope.org

Re: [Zope] tunneling via ...

2007-09-28 Thread Jaroslav Lukesh
- Original Message - From: David Bear [EMAIL PROTECTED] APACHE HOST -- ZOPE HOST I need to secure the connection between these two hosts. use ssh tunnell JL. ___ Zope maillist - Zope@zope.org

Re: [Zope] Tag is not closed

2007-10-04 Thread Jaroslav Lukesh
dtml-in expr=_.range(3) ... /dtml-in - Original Message - From: Mohammed Tlais To: zope@zope.org Sent: Thursday, October 04, 2007 1:18 PM Subject: [Zope] Tag is not closed Greetings I am trying to test a dtml expression with a python built-in method as follows [code]

Re: [Zope] object Last Modified Date Time

2007-10-05 Thread Jaroslav Lukesh
http://mail.zope.org/pipermail/zope/2002-October/124979.html - Original Message - From: kamal hamzat To: zope@zope.org Sent: Friday, October 05, 2007 5:31 PM Subject: [Zope] object Last Modified Date Time Dear All, I want to store the object Last Modified in ZCatalog so i

Re: [Zope] How can I get graph statistics

2007-10-11 Thread Jaroslav Lukesh
I use ZGDChart - Original Message - From: Jonathan Salazar Santos To: zope@zope.org Sent: Thursday, October 11, 2007 6:32 AM Subject: [Zope] How can I get graph statistics I am wondering if..., ¿Could some body tell me (help me) how to do graph statistics on the fly with DTML or

Re: [Zope] deprecated products?

2007-10-17 Thread Jaroslav Lukesh
DO NOT, please! Many of us run very old zope versions from 2.1 and maybe older - and sometime we need some rare old product. Bring to life old.zope.org, please! (I have mirror of old.zope.org, but not at all) REgards, JL - Original Message - From: Mihamina Rakotomandimby [EMAIL

Re: [Zope] Re: deprecated products?

2007-10-17 Thread Jaroslav Lukesh
- Original Message - From: Mihamina Rakotomandimby [EMAIL PROTECTED] Michael Haubenwallner wrote: http://www.zope.org/Products/user_management?batch_size%3Aint%3Arequired=100 Most of them are a bit old... and might not run on current Zope version. I think there should be some

Re: [Zope] Re: deprecated products?

2007-10-17 Thread Jaroslav Lukesh
- Original Message - From: Mihamina Rakotomandimby [EMAIL PROTECTED] Jaroslav Lukesh wrote: I use products from year 2000 at zope 2.9.4 You could have given a name... Well, I am volunteer to test them one by one on a 2.10 or even a 3.x, but it's worth. FScounter from 2002

[Zope] object properties access strangeness

2007-10-25 Thread Jaroslav Lukesh
Hi all, I have problem with Zope 2.9.4, where I cannot get properties from acquired DTML Document in same way as from Image (both are in folder above, both objects with properties defined). It seems as to be a permission problem, but I was look through permissions at whole tree up to zope

Re: [Zope] object properties access strangeness

2007-10-25 Thread Jaroslav Lukesh
- Original Message - From: Jonathan [EMAIL PROTECTED] This is working: dtml-with picture.gif dtml-var IMGproperty(existing property at Image) /dtml-with And this raise error: dtml-with dtml_document_file dtml-var ikona1(existing property at DTML document)

Re: [Zope] Calendar Tag Product question

2007-11-01 Thread Jaroslav Lukesh
- Original Message - From: Thomas Bennett [EMAIL PROTECTED] fine. Today, November 1, on both calendars not all events are appearing in the calendar from the default view. If you click back to October and then back to November all of the events appear, this also sets the date-calendar

Re: [Zope] is it possible to bypass ZSQL methods and call storedprocedures in sqlserver straight from ZPT?

2007-11-06 Thread Jaroslav Lukesh
Yes - Original Message - From: michael nt milne We have some dynamic ZSQL methods all working but are looking to optimise our code and also access some stored procedures which are already written in SQL Server. The question is, can you go straight through to a relational database

Re: [Zope] character encoding

2007-11-09 Thread Jaroslav Lukesh
- Original Message - From: adam molyneaux [EMAIL PROTECTED] 1. Read and parse a file encoded as utf8 - currently done with an external script 2. send it to a page to edit as utf8 3. save it from the page into a mysql database as utf8 This is slightly complicated by the fact that steps

Re: [Zope] AJAX copy/paste

2007-11-21 Thread Jaroslav Lukesh
Hi, try to use hidden frame instead of ajax - it is similar technology as ajax, but it is ajax's precedensor. Regards, JL. - Original Message - From: Garito I'm trying to do an AJAX copy/paste action but zope raises this: The data in the clipboard could not be read, possibly due

Re: [Zope] AJAX copy/paste

2007-11-21 Thread Jaroslav Lukesh
, Jaroslav!) 2007/11/21, Jaroslav Lukesh [EMAIL PROTECTED]: Hi, try to use hidden frame instead of ajax - it is similar technology as ajax, but it is ajax's precedensor. Regards, JL. - Original Message - From: Garito I'm trying to do an AJAX copy/paste action but zope raises this: The data

Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, Django, CherryPy

2007-11-27 Thread Jaroslav Lukesh
Very nice words I have near complette mirror of the old.zope.org from 2004 or 2005 if someone wants (and rememner that old site and good where are many products that you couldnot find at web now). There are many fantastic products which I use at near each site. So I will try to put it

[Zope] temporary exclude page from ram-cache

2007-12-05 Thread Jaroslav Lukesh
Hi all, I have RAM-cached page that looks for data from SQLdb. For error suppression (yea, I use MSSQL which make sometime unbelievable SQL error with the same errorless query) I use try-except wrapper, but in some cases page is cached without db results for a long time. I know how to

Re: [Zope] Counting threads

2008-01-22 Thread Jaroslav Lukesh
- Original Message - From: Peter Bengtsson [EMAIL PROTECTED] On 22/01/2008, Dieter Maurer [EMAIL PROTECTED] wrote: Peter Bengtsson wrote at 2008-1-22 15:23 +: Perhaps I'm wrong but I suspect that a Zope I'm running is dying because of running out of threads. I'm just not

[Zope] ZODB write delay changes

2008-02-04 Thread Jaroslav Lukesh
Hi all, I was upload some DTML methods via FTP, after cca minute or less I was do copy of Data.fs and I was see (after running it with another instance) that these changes are not present. How can I alter ZODB commit time, please? Many thanks, JL.

[Zope] How to get nice traceback like from old versions?

2008-02-05 Thread Jaroslav Lukesh
Hi all, with Zope version 2.5.1 I was get nice error messages from source of page. With 2.9.4 I was get error messages in file log/events.log which is better for security reasons, but these messages are not as exact as from old zope which give me point to failure like that: ... strongError

Re: [Zope] How to get nice traceback like from old versions?

2008-02-05 Thread Jaroslav Lukesh
- Original Message - From: Jens Vagelpohl [EMAIL PROTECTED] On Feb 5, 2008, at 11:53 , Andreas Jung wrote: --On 5. Februar 2008 11:35:09 +0100 Jaroslav Lukesh [EMAIL PROTECTED] wrote: with Zope version 2.5.1 I was get nice error messages from source of page. With 2.9.4 I was get error

Re: [Zope] How to get nice traceback like from old versions?

2008-02-05 Thread Jaroslav Lukesh
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] ... It is the same as the event.log plus whole request. But with Zope 251 error log points me to exact code with problem: But 294 not: The modern tracebacks are usually far more informative than the old ones. True, they no

Re: [Zope] How to get nice traceback like from old versions?

2008-02-05 Thread Jaroslav Lukesh
Once more, correction of misformatted text for better readability. - Original Message - From: Dieter Maurer [EMAIL PROTECTED] ... It is the same as the event.log plus whole request. But with Zope 251 error log points me to exact code with problem: But 294 not: The modern tracebacks

Re: [Zope] Character display issues upgrading 2.8.8 to 2.9.8

2008-02-07 Thread Jaroslav Lukesh
- Original Message - From: John Schinnerer [EMAIL PROTECTED] Well, it worked last time from 2.7.x to 2.8.x. Not so lucky time I guess. Anyone else have pointers to what I need to know? You need to have right codepage in your system and defined management page charset property

Re: [Zope] When to use a relational database

2008-02-07 Thread Jaroslav Lukesh
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] quizzical wrote at 2008-2-6 16:03 -0800: ... Apologies if this is a dumb question, I have had a good look through the archives and on the web. My question is basically about how to design a website. I really like the ease with

Re: [Zope] When to use a relational database

2008-02-07 Thread Jaroslav Lukesh
JAvascript nor CSS cannot be dynamically generated from ZPT. ZPT is thing for HTML and XML only. But with DTML you able to generate any binary data, same as with python script or external method. Please read archives few months back, here are many discussions about DTML vs. ZPT. In

[Zope] Altered ZCacheable_manage?

2008-02-28 Thread Jaroslav Lukesh
HI all, I think about altering of ZCacheable_manage to show all cached variants of cache keys ( Names from the DTML namespace) with their times and invalidation of selected single variant. Do somebody have this kind of thing realised? Many thanks, J. Lukesh

Re: [Zope] getting the keys:values in a propertyItems() object

2008-03-06 Thread Jaroslav Lukesh
At my management tree page I use following code where object is pushed into namespace by dtml-in, so inspire yours here: dtml-in objectItems(['Folder', 'LinkedFolder','PortableHole', 'ZipFolder' ]) sort=id skip_unauthorized ... dtml-in propertyMap mapping dtml-unless propertyLabel(id) ==

Re: [Zope] Getting the value of a select button in ZSQL

2008-03-30 Thread Jaroslav Lukesh
Use javascript hooked on each button and hidden form fields - Original Message - From: sujitha mary i have a ZSQL search interface that creates a page template in which a form that displays the database content is designed.this form has a select button and a submit button.i need

Re: [Zope] how many zope instances

2008-04-04 Thread Jaroslav Lukesh
- Original Message - From: Garry Saddington [EMAIL PROTECTED] As you might imagine: everything depends on the resources: Ram, diskspace, CPU. A Zope instance might take as little as 80MB Ram or up to 2GB per process. A site might consume no CPU, a Zope-based p0rn site might require

[Zope] Zope under vmware is too slow

2008-04-07 Thread Jaroslav Lukesh
Dear all, I must install zope under vmware, but there are big speed degradation over plain machine. Does somebody have some tiptricks to run Zope under VMware faster? Many thanks, J. Lukesh ___ Zope maillist - Zope@zope.org

Re: [Zope] Zope under vmware is too slow

2008-04-07 Thread Jaroslav Lukesh
Very much of RAM is free at host and guest, both physical and virtual disks does not swap. Speed degradation is to 15% of speed at original server, but vmware have 4x more CPU power. New Zope 251 server is starting about 5 minutes, whole system performance (from ssh console) is very poor, like

Re: [Zope] type checking

2008-04-14 Thread Jaroslav Lukesh
dtml-try dtml-if _.int(variable) = variable Variable is integer dtml-else Variable is not integer /dtml-if dtml-except Variable is not number /dtml-try - Original Message - From: Garry Saddington [EMAIL PROTECTED] Is there any way to do data type checking in dtml-if, for

Re: [Zope] type checking

2008-04-14 Thread Jaroslav Lukesh
Sorry, syntax error: dtml-if _.int(variable) == variable ---^ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Problem with DTML and JOINS(ZSQL)

2008-04-15 Thread Jaroslav Lukesh
Did you try the Test tab at ZSQL method management page? If it does not work, you will get error from SQL server. If it works and you does not get any data, then your query is not fit to any data. - Original Message - From: member madhangc To: zope@zope.org Sent: Tuesday, April 15,

Re: [Zope] ++view++ and Zope 2.9

2008-04-25 Thread Jaroslav Lukesh
Hi Garito, I was think that ZSM is piece of crap, because I use Zope 2.9.4 (under Linux 2.6 and Python 2.4.3), where it does not work. I didnot found any older version to test it, so I was forget fot it. What Zope version do you use for it? If you turn on debug mode (start zope server with

Re: [Zope] Multithreading sessions

2008-05-23 Thread Jaroslav Lukesh
You need to increase number of server threads and/or number of database connections (it mean ZoDB connections). - Original Message - From: Jon Emmons User 1 requests data that takes the MySQL server 30 seconds to retrieve Meanwhile. User 2 wants to log on User 2 will not be served

Re: [Zope] Multithreading sessions

2008-05-23 Thread Jaroslav Lukesh
Hi Jon, I use 24 zserver-threads and I have here defined number of ZoDB connections (pool-size): in your instance etc/zope.conf look for that section: zodb_db main # Main FileStorage database filestorage path $INSTANCE/var/Data.fs /filestorage mount-point / cache-size

Re: [Zope] Multithreading sessions

2008-06-04 Thread Jaroslav Lukesh
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] Jon Emmons wrote at 2008-6-4 08:50 -0400: ... I am just learning about this, but my initial inquiries suggest that the only way to achieve true concurrency using a language like python is to launch multiple interpreters.

Re: [Zope] Javascript detection

2008-06-16 Thread Jaroslav Lukesh
- Original Message - From: Arne Jensen [EMAIL PROTECTED] Using DTML, is there a way to detect if a user has javascript enabled in their browser. We are running Zope 2.10.4-final, python 2.4.4. Dont mix server-side processing and client-side processing! DTML is server-side and it

Re: [Zope] unicode support

2008-06-27 Thread Jaroslav Lukesh
dtml-call request.RESPONSE('content-type', 'text/html; charset=utf-8') - Original Message - From: Garry Saddington [EMAIL PROTECTED] Totally wrong approach modifying the zpublisher encoding here. As said you have two options: - meta http-equiv=Content-Type content=text/html;

Re: [Zope] zope stops responding

2008-07-03 Thread Jaroslav Lukesh
I was same problems with new IBM hardware 2 yrs ago and etc at past. Wait, please, your HW will be good after 2..3 months - it needs burning process. It is known problem with very fresh silicon chips about diffusion of non-homogenities - look at mfg date at asphalt squares. But my english is

Re: [Zope] zope stops responding

2008-07-03 Thread Jaroslav Lukesh
Hi, I does not agree with You, because my servers runs with 20..150 threads, because lower number of threads makes for somebody infinity waiting and Zope under load responding very slow (with external database access). After increasing threads, response under load is more quickly and more

Re: [Zope] Bug in ZSQL test?

2008-07-10 Thread Jaroslav Lukesh
Hi all, many years I use patched files - here are (see attachment) from my Zope 251 at ZOPEROOT/lib/python/Shared/DC/ZRDB/dtml But it is not able to handle to lng queries, for long queries it needs one more little mod with FORM tag. So see the little nuances with your newer zope

Re: [Zope] zexp import fails from linux to windows due to image filepaths

2008-07-16 Thread Jaroslav Lukesh
From: Richard Ettema [EMAIL PROTECTED] with windows for development. Is there a way of getting the import procedure to ignore the errors and continue the import (i.e. any hints on how to modify the zope code)? Or is there a way to edit the zexp to do a search remove/replace of the file path

Re: [Zope] How to ensure modified script in external Methods come intouse...

2008-07-24 Thread Jaroslav Lukesh
click to Save changes at your ext.method definition - Original Message - From: suhail shaik hi, I have modified the external medthod. I want to know how to test whether the modified method is being used Is it by default that the modified script is used or i have to do

Re: [Zope] Zope product and dtml-tree

2008-07-31 Thread Jaroslav Lukesh
Look at LocalFS product. Regards, JL. ___ 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

[Zope] which platform independent database?

2008-09-23 Thread Jaroslav Lukesh
Hi all, Does somebody know some free database and free database adapter for Zope, which exists for Linux and for windows too, please? Do you know some pros/cons and some wiev from praxis for that? I know, Gadfly, but this is really tiny, with problematic backup (need to disconnect, make

Re: [Zope] which platform independent database?

2008-09-24 Thread Jaroslav Lukesh
. Lukesh - Original Message - From: Andreas Jung [EMAIL PROTECTED] --On 23. September 2008 16:05:03 +0200 Jaroslav Lukesh [EMAIL PROTECTED] wrote: Hi all, Does somebody know some free database and free database adapter for Zope, which exists for Linux and for windows too, please? Do you

Re: [Zope] which platform independent database?

2008-09-24 Thread Jaroslav Lukesh
PROTECTED] To: Jaroslav Lukesh [EMAIL PROTECTED]; Andreas Jung [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, September 24, 2008 9:01 AM Subject: Re: [Zope] which platform independent database? --On 24. September 2008 08:02:23 +0200 Jaroslav Lukesh [EMAIL PROTECTED] wrote: But now I want to make

  1   2   >