Re: [Zope] Zope2 - pro/contra

2015-03-05 Thread Jaroslav Lukesh
Zope2 is not dead, it is mature product. I use it, I love it. Comunity is real small just now, because all what are discoverable, is discovered. Zope 2 download site is practically dead for many years, so more than 90% of products are not avaiable. This is the biggest problem because these

[Zope] How to locate unused objects?

2014-03-05 Thread Jaroslav Lukesh
Dear zopistas, does somebody have script to locate (and delete) unaccessed files (not viewed from some date) in the ZoDB tree with webserver log? Regards, Jaroslav Lukesh ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo

[Zope] manipulate ZSQL results in Zope code

2013-09-30 Thread Jaroslav Lukesh
Hi all, I have switched from years old database adapter to SQLRelay, yep, it is rugged stable on unstable connections, but this adapter get all number values as strings (older version where numbers are numbers does not work with cp1250 - problem solved in 0.51 this year). I need numbers as

[Zope-DB] manipulate ZSQL results in Zope code

2013-09-30 Thread Jaroslav Lukesh
Hi all, I have switched from years old database adapter to SQLRelay, yep, it is rugged stable on unstable connections, but this adapter get all number values as strings (older version where numbers are numbers does not work with cp1250 - problem solved in 0.51 this year). I need numbers as

Re: [Zope] Restore files from Data.fs.tr0 SOLVED

2013-03-18 Thread Jaroslav Lukesh
This simple script and diff and manual changes against appropriate files. #!/var/zope/python/bin/python f = open(Data.fs.tr0, r+ab) c = f.read() s='__name__q' a = c.split(s) i = 0 print(len(a)) for polozka in a: i = i + 1 fn = 'vystup_' + str(i) x = open(fn,ab) x.write(polozka)

[Zope] Restore files from Data.fs.tr0

2013-03-15 Thread Jaroslav Lukesh
. Many thanks, Jaroslav Lukesh ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman

Re: [Zope] Restore files from Data.fs.tr0

2013-03-15 Thread Jaroslav Lukesh
Komu: Jaroslav Lukesh luk...@seznam.cz Kopie: zope@zope.org; zodb-...@zope.org Odesláno: 15. brezna 2013 13:34 Predmet: Re: [Zope] Restore files from Data.fs.tr0 Hi, I use the following steps to get objects from a corrupted Data.fs. You can apply some guesses regarding the dates. 1. Make

Re: [Zope] Data.fs too big to pack...

2012-12-06 Thread Jaroslav Lukesh
copy your zope var folder to another machine and then make it as network share, then pack it. - Puvodní zpráva - Od: Dan Gaibel d...@cornell.edu I have foolishly allowed my database to grow so large that I have no room to pack it. Is there any way that I could make it so that

Re: [Zope] dynamic dtml-with from string content

2012-02-17 Thread Jaroslav Lukesh
varx = 'this is the text dtml-var _['varx'] = dtml-var varx = 'this is the text varxx = 'varxy' dtml-var _[varxy] = dtml-var varx = 'this is the text my_class_path is i.e. folder1.folder_sub so: dtml-with _[_.string.split(my_class_path, '.')[0]] dtml-with _[_.string.split(my_class_path,

Re: [Zope-DB] How to extract users info from ZODB?

2012-01-25 Thread Jaroslav Lukesh
Look at management page dtml source of your Zope server (on the disk,not in ZoDB). - Puvodní zpráva - Od: smita kamdar smita.kamda...@gmail.com Hi, Thanks a lot for your response. My exact query is when i open ZMI, there is 1 folder named 'acl_users'. When i open that folder ,

Re: [Zope] Checking multiple variables existence

2012-01-24 Thread Jaroslav Lukesh
it works: dtml-if var1=='OK' and var2==3 and var3 in ('a',1,'1') and var4 != 'OK' and var5 note1: var5 is string, true when '' nor None but must exists note2: var5 is int, true when 0 nor None but must exists dtml-else /dtml-if - Puvodní zpráva - Od: Justin Dunsworth Is there

Re: [Zope] Checking multiple variables existence

2012-01-24 Thread Jaroslav Lukesh
an error then it's not working. On Tue, Jan 24, 2012 at 11:08 AM, Jaroslav Lukesh luk...@seznam.cz wrote: it works: dtml-if var1=='OK' and var2==3 and var3 in ('a',1,'1') and var4 != 'OK' and var5 note1: var5 is string, true when '' nor None but must exists note2: var5 is int, true when 0 nor

Re: [Zope] Strange issues at string operations with request variables

2012-01-05 Thread Jaroslav Lukesh
simpler with a python script you just call from DTML something like REQUEST['redirect_URL'] = 'http://www.otherdomain.com' + REQUEST.URLPATH0 2012/1/4 Jaroslav Lukesh luk...@seznam.cz Hi all, I have discovered strange issues with all request variables. Here are examples only, but I was try

Re: [Zope] Strange issues at string operations with request variables

2012-01-05 Thread Jaroslav Lukesh
Hi, it make loop, not redirect to the new domain. - Puvodní zpráva - Od: Giampiero Benvenuti giampiero.benven...@chiaroscuro.com what about dtml-call RESPONSE.redirect(new_url, lock=1) ___ Zope maillist - Zope@zope.org

[Zope] Strange issues at string operations with request variables

2012-01-04 Thread Jaroslav Lukesh
Hi all, I have discovered strange issues with all request variables. Here are examples only, but I was try all useable variables in the REQUEST. I want to use redirect to another server with same relative link, but different domain,some like that: dtml-call REQUEST.set('redirect_URL',

Re: [Zope] serious security hole in manage users / Manage userspermissions?

2011-10-24 Thread Jaroslav Lukesh
2.10.13 is not affected in direct link nor acquired link. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce

[Zope] File upload again

2011-10-14 Thread Jaroslav Lukesh
instead of file upload, dtml-in works. How to get CSV file content to processing? Many thanks, Jaroslav Lukesh PS: HTTP Request loks like that: http://myhost/csvimport/ POST /csvimport/ HTTP/1.1 Host: myhost (..) Content-Type: multipart/form-data; boundary

Re: [Zope] Conversion old.zope.org to static site

2011-10-14 Thread Jaroslav Lukesh
Try to use this mirroring software - Metaproducts Offline Explorer Enterprise. Regards, JL. - Puvodní zpráva - Od: Jens Vagelpohl j...@dataflake.org Just as a heads-up: Jim Fulton and I have converted old.zope.org to a static website. This allows ZC to decommission the hardware

Re: [Zope] Conversion old.zope.org to static site

2011-10-14 Thread Jaroslav Lukesh
Hi, there are no image to view: http://old.zope.org/Members/heiko.stoermer/ListMate/manual_pics/folder_contents Image is missing: http://old.zope.org/Members/heiko.stoermer/ListMate/manual_pics/ListMate_create.gif/image_view and code: img src=../ListMate_create.gif Regards, JL. -

Re: [Zope] File upload again

2011-10-14 Thread Jaroslav Lukesh
Many thanks, it works. - Puvodní zpráva - Od: Peter Bengtsson m...@peterbe.com How about something like: dtml-in PyS_csvimport(fcsv.read()) prefix=pys On 14 October 2011 10:29, Jaroslav Lukesh luk...@seznam.cz wrote: Hi all, I want upload csv file for direct processing into SQL

Re: [Zope] Urgend help needed: Error migrating Zope Data.fs from 2.10 to 2.13: object.__new__(Args) is not safe

2011-10-14 Thread Jaroslav Lukesh
Did you try export 2.10 to ZEXP and on 2.13 import that zexp file? - Puvodní zpráva - Od: Frank Kauff fka...@biologie.uni-kl.de Sorry for the repost, but I'm lost, and really need to solve this problem... When trying to move Data.fs from Zope 2.10 to 2.13, I first ran into the

[Zope] Tag BASE without port number

2011-07-13 Thread Jaroslav Lukesh
Hi all, is it possible to hide port bumber in case of reverse proxy redirecting? I have POUND as reverse proxy and Zope 2.10.13 on port 930, but html BASE tag contain this port number, which I does not want to have there. I do not want to explicit specify base tag at all pages. I prepare new

Re: [Zope] Tag BASE without port number

2011-07-13 Thread Jaroslav Lukesh
- Puvodní zpráva - Od: Tres Seaver tsea...@palladion.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/13/2011 08:37 AM, Jaroslav Lukesh wrote: Hi all, is it possible to hide port bumber in case of reverse proxy redirecting? I have POUND as reverse proxy and Zope 2.10.13

Re: [Zope] Forcing zope to preload objects in cache

2011-02-08 Thread Jaroslav Lukesh
Use wget after minute or so after restarting. - Puvodní zpráva - Od: Marco Bizzarri I've a Zope application; response time in the application is quite different if the cache is already loaded with data from the ZODB (a Data.fs served over ZEO). The Zope/ZEO server is restarted every

Re: [Zope] dtml-except

2010-10-04 Thread Jaroslav Lukesh
- Puvodní zpráva - Od: larrymcdonn...@att.net Komu: zope@zope.org Odesláno: 4. ríjna 2010 21:57 Predmet: [Zope] dtml-except Hi, I need the old timers to help with a zope dtml-try/dtml-except conditions. I am using Zope 2.6.1. My problem is as follows: dtml-if expr=fluency_temp''

Re: [Zope-DB] ZSQL Question - Insert multiple rows in one statement?

2010-08-25 Thread Jaroslav Lukesh
- Puvodní zpráva - Od: Shane Hathaway sh...@hathawaymix.org On 08/24/2010 04:04 PM, Jaroslav Lukesh wrote: ZPT is more academic platform, than for everyday usage. Wow, I have never heard that opinion before. I have had quite the opposite experience: I find ZPT more productive

Re: [Zope] string formatting

2010-08-14 Thread Jaroslav Lukesh
- Puvodní zpráva - Od: Andreas Jung li...@zopyx.com Jaroslav Lukesh wrote: It is easy: dtml-call REQUEST.set('signumfix2',signum2[1:4]) dtml-call REQUEST.set('signumfix2', _.int(signumfix2)+1) dtml-call REQUEST.set('signumFinal', 'B' + _.str(1000 + signumfix2)[1:] ) Hopefully

Re: [Zope] string formatting

2010-08-13 Thread Jaroslav Lukesh
It is easy: dtml-call REQUEST.set('signumfix2',signum2[1:4]) dtml-call REQUEST.set('signumfix2', _.int(signumfix2)+1) dtml-call REQUEST.set('signumFinal', 'B' + _.str(1000 + signumfix2)[1:] ) DTML is simple and fine :) - Puvodní zpráva - Od: Ebbe Kvist I want to process a variable,

Re: [Zope] Data.fs data record exceeds transaction record

2010-05-02 Thread Jaroslav Lukesh
HI, I use this script, it will truncate DataFS. #!/bin/sh cd /path-to-your-instance/var ../bin/zopectl stop rm -f Data.fs_ERR #clear cp -p Data.fs Data.fs_ERR rm -f Data.fs.index #diagnostic run #../bin/runzope echo echo echo

Re: [Zope] javascript problem

2010-04-23 Thread Jaroslav Lukesh
Did You have the number field in the hidden layer? - Original Message - From: Garry Saddington ga...@schoolteachers.co.uk I'm using the following javascript to gather phones:number values for form submission. for (var idx = 1; idx max; idx++) { if

Re: [Zope] javascript problem

2010-04-23 Thread Jaroslav Lukesh
- Original Message - From: Garry Saddington ga...@schoolteachers.co.uk Jaroslav Lukesh wrote: Did You have the number field in the hidden layer? - Original Message - From: Garry Saddington ga...@schoolteachers.co.uk I'm using the following javascript to gather

Re: [Zope] javascript problem

2010-04-23 Thread Jaroslav Lukesh
- Original Message - From: Jaroslav Lukesh luk...@seznam.cz I think that you have bad code - see your error message. So try somethong like: document.forms.playlist.phones.number[1] instead of document.forms.playlist.phones.number:records.1.value Oh, sorry, javascript, not python

Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Jaroslav Lukesh
I think that problenm is in the name of formfield - it begins with an _ - Original Message - From: Allen Schmidt Sr. aschm...@fredericksburg.com To: zope@zope.org Sent: Monday, February 15, 2010 11:44 PM Subject: Re: [Zope] zope changes : dtml-var ...but why wouldn't the dtml version

Re: [Zope] preventing form submission

2010-02-02 Thread Jaroslav Lukesh
- Original Message - From: Garry Saddington ga...@schoolteachers.co.uk Has anyone any suggestions as to how to prevent form submission by the using pressing the refresh or back buttons? I use hidden form field with timestamp ZopeTime. JL.

Re: [Zope] Frequent ZOPE crashes

2009-11-29 Thread Jaroslav Lukesh
Try to cache page segments selectively and then you should identify problematic piece of page. If You does not use page segments, then divide page to some pieces and get them together. - Original Message - From: Andreas Krasa andreas.kr...@wu-wien.ac.at The only thing we re-used is

Re: [Zope] Frequent ZOPE crashes

2009-11-25 Thread Jaroslav Lukesh
At first, try to eliminate error outside of the Zope itself. Try to install it all into plain whole new (and reliable!) machine. Do not use restore of any backups! - Original Message - From: Andreas Krasa andreas.kr...@wu-wien.ac.at A week ago we switched to a new layout (for

Re: [Zope] auto login user

2009-04-30 Thread Jaroslav Lukesh
use proxy role - Original Message - From: ga...@schoolteachers.co.uk How could I automatically/programmatically log in an existing user when anyone visits a zope site? I am doing this because I want to demo an application on the web without needing a login. I am using an

Re: [Zope] how to prevent URL access to an external method?

2009-04-28 Thread Jaroslav Lukesh
Click at the Proxy tab at method with View permission - Original Message - From: Pedro LaWrench pedrolawre...@yahoo.com I need to do something on the filesystem, which requires unrestricted python, so I created an external method. The problem is that anyone can call that directly via

Re: [Zope] how to prevent URL access to an external method?

2009-04-28 Thread Jaroslav Lukesh
Why? It is more transparent and better way - use security tab. - Original Message - From: Tres Seaver tsea...@palladion.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pedro LaWrench wrote: I need to do something on the filesystem, which requires unrestricted python, so I

Re: [Zope] how to prevent URL access to an external method?

2009-04-28 Thread Jaroslav Lukesh
users to have access to the method as a call to it is made from unrestricted space (such as a page template), I just don't want them to call the method directly. - Original Message From: Jaroslav Lukesh luk...@seznam.cz To: zope@zope.org; Tres Seaver tsea...@palladion.com Sent: Tuesday

Re: [Zope] Database Adapter For Windows DB

2009-04-15 Thread Jaroslav Lukesh
I use Objet Craft MSSQL zope/python adapter for local Sybase (free, used as DB connector only) in production enviroment for 4.5 years. Please look at google, search for: lukesh mssql zope. I use it with old Zope 2.5.1 and with Zope 2.9.4 without any problems. It is very good and interesting

Re: [Zope] How to use ZCatalog to create a sitemap

2009-01-15 Thread Jaroslav Lukesh
I use recursive DTML method for cca 500 folders in about 8 levels. Rendering tooks under 1 second, with relativelly complex rendering (javascript menu, tables, background images and styles by URL...). I use one hour RAM cache for this method. To even even more folders, it is better to use

[Zope] how to set anonymous access to authorized content?

2009-01-06 Thread Jaroslav Lukesh
Hi all, I need to set-up page with anonymous access with some informations from site, where are authorized access only. This page call dtml method list_robot from authorized site, from where are called other authorized methods and documents. From authorized site list_robot works, of course.

Re: [Zope] cron or time server

2008-12-27 Thread Jaroslav Lukesh
Here are few products to do, but some does not func, or blows ZODB. If you have linux, use /etc/crontab and wget, it is rugged and stable. - Original Message - From: Garry Saddington ga...@schoolteachers.co.uk Does anyone know of a time/cron server for Zope that works. I want to be

Re: [Zope] Problem using dtml-in in ZSQL method

2008-12-13 Thread Jaroslav Lukesh
first, convert mylist to string before calling ZSQL method: dtml-call REQUEST.set('strmylist', _.str(mylist)) And then call the ZSQL method: params strmylist:string=[0] /params SELECT * FROM MyTable WHERE id in (dtml-var strmylist[1:-1] sql_quote) - Original Message - From:

Re: [Zope] Problem using dtml-in in ZSQL method

2008-12-11 Thread Jaroslav Lukesh
first, convert mylist to string before calling ZSQL method: dtml-call REQUEST.set('strmylist', _.str(mylist)) And then call the ZSQL method: params strmylist:string=[0] /params SELECT * FROM MyTable WHERE id in (dtml-var strmylist[1:-1] sql_quote) - Original Message - From:

Re: [Zope] problem with ms sql server

2008-12-01 Thread Jaroslav Lukesh
Hi, It should sounds courious, but try to manually rewrite (ie., do not copypaste!) your ZSQL method. MSSQL and Sybase servers are sometimes sensitive to unvisible characters and query does not work and you does not know why. - Original Message - From: Miguel Beltran R. I have a

Re: [Zope] Is someone read browser.contents ?

2008-10-13 Thread Jaroslav Lukesh
Hi JeanMichel, Did you save content from external pages into ZODB? I was thinking in past about it to make little automated archive with squishdot. If you will have success, would you like to publish your zexp and products, please? Many thanks, J. Lukesh - Original Message - From:

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

[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] 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

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] 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] 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

[Zope-DB] 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] 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] 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] 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] 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] 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] ++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] 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] 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 -

[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] 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

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] 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) ==

[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-DB] Problem with dtml-sqltest ... multiple feature

2008-02-14 Thread Jaroslav Lukesh
Try to set url_name as ['HI','RF'] and use property without datatype, like params url_name ... /params And of course, look at ZopeBook. Personally I dont use sqltest nor sqlgroup because there are many caveats with queries to cooperate with other zope unfriendly SQL developers. I use dtml-in

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] 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

[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.

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] 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] 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

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] 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] 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] 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

[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] 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

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] 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] 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] 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

[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

  1   2   >