Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: Bak@kedai [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 9:10 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 "Bak@kedai" wrote: From HelpSys for RAM CAche """ Finally, you can conf

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 10:20 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 Are you saying that entering multiple REQUEST variables doesn't work? Are you putting the

Re: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuffinside)

2000-12-08 Thread Bak @ kedai
-Original Message- From: J. Atwood [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, December 08, 2000 10:35 PM Subject: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuff inside) I run at least 7 or 8 Zope sites of varying shapes and sizes for about a

[Zope] AND operator and ZCatalog

2000-11-27 Thread Bak @ kedai
hello i've read and reread advance ZCatalog howto by Zen, and still failed to do what i want. the situation i have a ZCatalog that indexes news. i use keyword index, and text index. when i try dtml-in "Catalog(publication=myPub,section=mySec,date_posted=myDate)" br a href="dtml-var

[Zope] snappier zope.org/how to make sites as snappy

2000-11-19 Thread Bak @ kedai
hi all it looks to me that zope.org is reponding better than previous days. what was done? any tips on how to go about this? my site (http://www.emedia.com.my) currently suffers from long latency between the request and loading the page. tables may be the cause but a request for normal html

Re: [Zope] RE : [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES inDTML

2000-11-19 Thread Bak @ kedai
ZQR is a good bundle of joy to keep on the desk top. search at zope.org. also, with zope2.2.2, there's a help button that'll put out the API. -Original Message- From: Kelvin Cheong [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, November 20, 2000 12:23 PM

[Zope] ZODB in a hosed state

2000-11-18 Thread Bak @ kedai
hi, i sometimes got this traceback from zope, and my site will be in a totally unusable state. i use zope2.2.2 with zeo0.4.1 and postgresql6.5 on RH linux. i'm not sure whre the bug lies. also, can anybody be so kind and point me to where i can check postgresql error the traceback --

Re: [Zope] ZODB in a hosed state

2000-11-18 Thread Bak @ kedai
-Original Message- From: Evan Simpson [EMAIL PROTECTED] To: Bak @ kedai [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sunday, November 19, 2000 12:18 AM Subject: Re: [Zope] ZODB in a hosed state From: "Bak @ kedai" [EMAIL PROTECTED] i'm not sure whre the bug l

Re: [Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Bak @ kedai
On Monday 13 November 2000 09:02, Max M wrote: Hi I have just added this Product How-To: http://www.zope.org/Members/maxm/HowTo/minimal_01/index_html this kind of handholding is really great for us newbies. hoping to see the continuation, e.g. nested products --Folderish_product

[Zope] ZCatalog and random key error

2000-11-09 Thread Bak @ kedai
hello all i'm about to venture into building a ZClass that will make use of ZCatalog. is it 'safe' now? i see that my zope2.2.2 now haven't encountered any random key error yet. what about others? also, will iterating through catalog index faster than iterating through ..say..

Re: [Zope] Zope/Posgresql/RedHat Linux

2000-11-02 Thread Bak @ kedai
is a suitable combination. I have attempted to configure this combination but run into trouble compiling PoPy-1.4.1 on RedHat Postgresql - and have not been able to resolve the problems via RedHat or Mixadlive - hence my question. Regards, Chris Marshall [EMAIL PROTECTED] why not post the

Re: [Zope] more __len__ errors

2000-10-28 Thread Bak @ kedai
-Original Message- From: Scott Burton [EMAIL PROTECTED] To: Zope List [EMAIL PROTECTED] Date: Sunday, October 29, 2000 3:28 AM Subject: Re: [Zope] more __len__ errors I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2.

[Zope] Re: AW: [Zope] dtml-var owner? author? editor?

2000-10-25 Thread Bak @ kedai
On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: I want to include the owner (from acl_users) of a page in my HTML-output. dtml-var "AUTHENTICATED_USER.getUserName()" is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is:

Re: [Zope] OT:NT and rebooting (was:How many houres do I need tomanage a Zope) site?

2000-10-25 Thread Bak @ kedai
sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days.

Re: [Zope] dtml-var owner? author? editor?

2000-10-24 Thread Bak @ kedai
On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick i would think that dtml-var

[Zope] limiting tree

2000-10-24 Thread Bak @ kedai
hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine

Re: [Zope] Help needed with news articles

2000-10-22 Thread Bak @ kedai
try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. untested code by newbie dtml-in "objectItems(['DTML Document'])" size=4 reverse sort=bobobase_modification_time dtml-var title(and other stuff/properties) /dtml-in /untested the above code should

Re: [Zope] Zope Discussion Forum @ DevShed.com

2000-10-16 Thread Bak @ kedai
On Tuesday 17 October 2000 09:57, J. Atwood wrote: I am more than happy to set up a ZUBB somewhere as well. A sort of Zope starter, question and/answer forum. Is this something that the community is generally interested in or not? J i would think that having a forum at Zope.org or zdp.org

Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai
On Wed, 27 Sep 2000, Ronald L. Roeber wrote: I have the following set-up under which Zope occasionally dies. Zope 2.2.2 (same happened with 2.2.0 and 2.2.1) RedHat Linux 6.2 Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a what about apache error log? anything there?

Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai
On Fri, 29 Sep 2000, [EMAIL PROTECTED] wrote: Two types of messages: First in its death throws: [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 sec) And later when its all over: [Thu

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Bak @ kedai
ZPYGre is not threadsafe, so with it and all non-threadsafe da's zope uses a lock around access. (Thunked.py) The solution is to just use multiple DA connections and let postgres sort out the concurrency issues. i'm not clear about "use multiple DA connections". let's say i have several

Re: [Zope] Desperate Zope is crashing ....

2000-09-18 Thread Bak @ kedai
i'm no expert, but have you tried starting zope in debug mode or with STUPID_FILE_LOGGER enabled? that may help point where the errors may have come from http://lists.zope.org/mailman/listinfo/zope-dev ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine I will follow you!

[Zope] RFC: ZEO howto

2000-09-05 Thread Bak @ kedai
hi all drafted a simple how-to: use zeo with zope. need your inputs, corrections, comments, experience, notes, etc before i catalog it http://www.zope.org/Members/kedai/UseZeoZope thanks! ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] problems installing PoPy-1.3.4 (fwd)

2000-09-05 Thread Bak @ kedai
checking location of python shared modules... $(exec_prefix)/lib/python1.5/site-packages checking for PQconnectStart in -lpq... no configure: error: can't build without PostgreSQL libraries i struggled with this for quite some time. until i upgraded postgres to v7.0.2 i don't think

Re: [Zope] Testing FastCGI

2000-09-02 Thread Bak @ kedai
-Original Message- From: Nicholas Lo [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, September 02, 2000 6:00 PM Subject: [Zope] Testing FastCGI Hi, I have set up my Apache and ZOPE according to How-To. It looks okay to me. However, how can I know if my setup

Re: [Zope] Ad banners in Zope anyone ?

2000-09-02 Thread Bak @ kedai
-Original Message- From: Jason Cunliffe [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sunday, September 03, 2000 5:01 AM Subject: [Zope] Ad banners in Zope anyone ? Hello I am glad to see any new web site anoncements using Zope. For example the new Malaysian news

Re: [Zope] Success in installing ZPoPyDA (after 3 months...)

2000-09-01 Thread Bak @ kedai
where did you find lin ux.h that's needed by PoPy? thtt stump me from continuing. thanks -Original Message- From: Hung Jung Lu [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, September 01, 2000 4:04 AM Subject: [Zope] Success in installing ZPoPyDA (after 3

Re: [Zope] What's up with zope.org?

2000-09-01 Thread Bak @ kedai
-Original Message- From: ethan mindlace fremen [EMAIL PROTECTED] To: Bak @ kedai [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, September 01, 2000 11:49 PM Subject: [Zope] What's up with zope.org? "Bak @ kedai" wrote: what's happenng to zope.o

[Zope] Re: [Zope-ZEO] ANNOUNCE ZEO 0.3 Released

2000-08-31 Thread Bak @ kedai
this is great news. btw, what causes the spurios conflict errors, if you don't mind telling thanks again p/s i will never regret running my site with zope~ thanks DC and all -Original Message- From: Jim Fulton [EMAIL PROTECTED] To: Zope Mailing List [EMAIL PROTECTED]; [EMAIL

Re: [Zope] SQL Methods

2000-08-31 Thread Bak @ kedai
i think you need to look at the sql methods permission. -Original Message- From: RC Compaan [EMAIL PROTECTED] To: Zope [EMAIL PROTECTED] Date: Thursday, August 31, 2000 3:06 PM Subject: [Zope] SQL Methods I have a sql method and a dtml method calling the sql method. They live in the

[Zope] zope.org

2000-08-31 Thread Bak @ kedai
what's happenng to zope.org? i got this message when i tried accessing it !-- Traceback (innermost last): File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File

[Zope] 2.2.1 and zdiscussion

2000-08-25 Thread Bak @ kedai
hi a clean install won't start properly with ZDiscussion product install. the same thing also with ZDiscussion based classes created. tracebacks when starting 2000-08-26T04:13:44 ERROR(200) Zope Couldn't import Products.ZDBase Traceback (innermost last): File

[Zope] upgrade 2.2.0 to 2.2.1b1

2000-08-16 Thread Bak @ kedai
hello all has anybody encountered problems when upgrading from 2.2.0 to 2.2.1b1? i have problems with some products (kmnetnews), and some of my ZClasses. are there any known issues? things i should have considered? there are also tracebacks "Couldn't load state" when starting zope in

[Zope] ZCatalog key error

2000-08-16 Thread Bak @ kedai
is Zope.org running 2.2.1b1 or CVS? cause i think key error still occurs. check out 'What's New' at Zope.org, and you'll get the error. i might be wrong though thanks ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] UserDb, GUF, LoginManager, etc, which one?

2000-08-15 Thread Bak @ kedai
On Mon, 14 Aug 2000, Martijn Faassen wrote: Hi there, What I want is an acl_users equivalent that has an SQL database backend. I want an easy to understand, easy to install solution for this that has some kind of future in Zope land. Currently I'm deploying 2.1 but that should change into

RE: [Zope] zeo and rdb backend

2000-08-14 Thread bak @ kedai
I have to look further, but I think a good solution for local configuration issues would be a mountable database for specific sections (like products and some folders with database-connections and such) Imagine a situation where different instances of zope, connected via zeo have to use

Re: [Zope] zope2.2.0 and what is high load

2000-08-11 Thread Bak @ kedai
On Fri, 11 Aug 2000, Chris McDonough wrote: i went to each Zeo client control_panel, and see that there's a mzximum of four connections open at any given time. comments to the above. i saw only four threads because i started that particular box with the default. on the box with -t25, i

RE: [Zope] Defining High Load in Heavily DB Driven site (was: [Zope] zope2.2.0 and what is high load)

2000-08-11 Thread bak @ kedai
in general, when a thread attempts to do anything with zope it needs to get hold of a ZODB connection so it can read or otherwise manipulate objects in the ZODB. this is why the number of application threads should be smaller than the number of ZODB connections. tweaking these numbers is

RE: [Zope] zope2.2.0 and what is high load

2000-08-11 Thread bak @ kedai
Based on your findings that all 7 DB connections are being used, I'd revise the number of threads to 8. will give it a go this monday. Yes, it's the pool_size parameter. You can increment this value *carefully* if you see that you have more threads hanging around than DB connections, like

RE: [Zope] Zope - long running process

2000-08-11 Thread bak @ kedai
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J. Atwood Sent: Saturday, August 12, 2000 1:04 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Zope - long running process There is a switch in z2.py that allows you to point to a PID file. It will

[Zope] zope2.2.0 and what is high load

2000-08-10 Thread bak @ kedai
oo zopistas i have a question. being a small time site maintainer, i don't quite know how to classify the situation i'm having now. the site is front ended with apache, with mod_pcgi2. zope 2.2.0 (running with -t 25) and rh 6.2 how can i know that the load i'm having is a big load? i've been

[Zope] Client.py

2000-08-09 Thread Bak @ kedai
hi all has anybody successfully used Client.py that ships with Zope-2.2.0? i can't seem to run it. even on the command line. i've searched the mailing list, but to no avail this is what i did: python Client.py http://www.zope.org and here's the traceback. Traceback (innermost last):

RE: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread bak @ kedai
has anybody had bad experience with caching when using ie? i've done as what you did, but ie keeps showing old data. this with a no-cache header,must-revalidate. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ragnar Beer Sent: Friday, August 04,

Re: [Zope] Calender Tag SQL caching

2000-07-30 Thread Bak @ kedai
On Mon, 31 Jul 2000, Arjan Scherpenisse wrote: Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean,

[Zope] zeo and rdb backend

2000-07-24 Thread Bak @ kedai
hi i have a few questions about zeo and how it works (newbie) i managed to get zeo runniing, and i have two hosts serving one zodb. that's great. but i can't access some of the data that resides in a rdbms (postgres). i guess the db connection points to the wrong host since i use

Re: [Zope] zeo and rdb backend

2000-07-24 Thread Bak @ kedai
On Mon, 24 Jul 2000, [EMAIL PROTECTED] wrote: followup on my problem i just need to give permission to both machine to access the database. after that, restart zope and everything is peachy is this worth a writeup? not too sure myself. BTW, site summary doesnot work with zeo. i can vview an

Re: [Zope] zeo and rdb backend

2000-07-24 Thread Bak @ kedai
"Bak @ kedai" wrote: BTW, site summary doesnot work with zeo. i can vview an instance fine on the machine that server Data.fs, but not on the other machine. what should we look out for when considering zeo? boy, am i talking to myself a lot. another follow up. as alw

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-18 Thread Bak @ kedai
On Wed, 19 Jul 2000, Tony McDonald wrote: Hi all, I think the time has come to bite the bullet and change our authentication engine to work in line with Zope 2.2 and above. UserDB-1.2 seems to have some problems with it (see my message today), a i use userdb with 2.2 and it worked great.

RE: [Zope] zope crawls - the day after

2000-07-14 Thread bak @ kedai
Uhm. Headers are headers, not content. As example, image files have headers too but no HTML inside. So you should set headers with RESPONSE.setHeader() i did set RESPONSE.setHeader(blah blah). my question was where should i put this statement. but now, i found out that it doesn't matter where

[Zope] clarification neede: postgresDA, SQL method cache and connection pool

2000-07-12 Thread Bak @ kedai
hello again after the bad experience yesterday, i want to scale my site so that i don't face the same problems again. ZEO would do that. but not now. not when i don't know much about zope and zeo. but before that comes, i'd like to store data in a RDB (postgres) and split the frontend into

[Zope] zope crawls - the day after

2000-07-11 Thread Bak @ kedai
hi all zope is faster now. i think i know why, just wanted some confirmation from the zopistas. setup: apache in front of zope on a rh 6.1 linux what happened: -got a lot of simultaneous connect in one time. whe the number of connect exceeds 200, zope started slowing down. and i mean

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Bak @ kedai
On Wed, 05 Jul 2000, Anders Holmbech Nielsen wrote: Hi, when trying to import an object made in 2.1.6 into 2.2b3 i get this error. What could be the problem ? brian put out an updated file Lexicon.py which fix the error. file is attached. make a backup first. copy it to

Re: [Zope] zope and caching

2000-07-03 Thread Bak @ kedai
to build some HTML-page-level caching into Zope soon. More specifics I can't give, it's jammed into the (already very crowded) "nebulous things we should be working on". Sounds sort of like fun though. i do hope this materialize, since it will only boost Zope. I haven't used

[Zope] zope and caching

2000-07-02 Thread Bak @ kedai
hi good people i've been using zope for quite some time now. everything has been great; zope, the mailinglist, products are great! rant i want to serve a dynamic site and zope fits the bill. now, i think i want to have some of the dynamic methods cached, so as to reduce the cpu cycles on my

[Zope] 2.2b3 hangs a lot

2000-06-29 Thread Bak @ kedai
hi all been running 2.2.0b3 for a few days now. config redhat6.1 postgres ZPygreSql kmnetnews after some time, zope just hangs. when i do top, there's no processor usage at all on all python processes. after a few minutes, zopes wake up and continue to serve. the cycle continues after some

RE: [Zope] 2.2.0b2 and ZSQL method and Zcatalog

2000-06-27 Thread Bak @ kedai
On Tue, 27 Jun 2000, Brian Lloyd wrote: hi brian, -ZSQL method. got len() of unsized object. beta 3 should resolve that. all my sql methods now work! thanks I've attached an updated Lexicon.py - can you try dropping this into your lib/python/SearchIndex directory, restarting

Re: [Zope] Newspaper site

2000-06-21 Thread Bak @ kedai
On Wed, 21 Jun 2000, Wesley Anderson wrote: Hi all, I'm just wondering if there are any newspaper/magazine sites out there that are using ZOPE for content management and subscriber management. I wouldn't think it would be suitable, but what do you think of using Squishdot for this purpose?

[Zope] python product - newbie

2000-06-20 Thread Bak @ kedai
hi all, Newbie alert blaring i'm messing around with Boring product, and now wants to do more. i have problems when i got more than one class in a product. this is what i wanted to do. create a guestbook (what else :)) product. GB.py with two classes - GB and GBitem. i can now load GB

[Zope] nested dtml-in with sql method -namespace problem (?)

2000-06-18 Thread Bak @ kedai
hi all, i have posted this question a while back, but got no replies. maybe imy question is a bit off or unclear. so here it is again. rephrased. i have 2 sql methods. sql1, and sql2. sql 2 got the parameter for it's query from sql1. as follows: -- dtml-in "sql1" dtml-in "sql2(obj=myobj)"

[Zope] sql and zope-2.2

2000-06-15 Thread Bak @ kedai
hi all, i managed to upgrade my site from 2.1.6 to 2.2b1 with no problems (thanks Brian) but now, something else cropped up. what used to work on my 2.1.6 doesn't anymore. following are the sql snippets and tracebacks --show_subtree_index dtml-in "qry_msg_thread(_.None,_,par_id=obj_id)" font

[Zope] monitoring zope

2000-06-14 Thread Bak @ kedai
hi again, there were threads that talk about restarting Zope if and when it hangs. i know of the -Z option for z2.py and daemontools. i know there's another one, a script maybe, with a peculiar name, but can't really remember it. any clues/url? i wwant to give it a try thanks --

[Zope] upgrade from zope-2.1.6 to zope-2.2.0b1

2000-06-13 Thread Bak @ kedai
hi all, managed to install zope-2.2.0b1 ok. default setting works fine, although i only tested it minimally. the quickstart barfs a traceback(reported earlier). upgraded from 2..1.6, here's what i did: -tar everything under lib/python/Products; except for modules that comes with zope 2.2

Re: [Zope] Re: Fwd: Re: [Zope] PoPy module

2000-06-05 Thread Bak @ kedai
On Mon, 05 Jun 2000, Thierry MICHEL wrote: 2. Whether Auto-commit mode is on or off on ZPoPyDA the new postgres 7.0 syntax "select * from foo limit 20 offset 10" returns all records of foo and not only 20 ! With PyGreSQLDA it works :-) That's running every where, it's strange

[Zope] Re: Fwd: [Zope] postgres DA

2000-06-02 Thread Bak @ kedai
I can only say that we started writing PoPy and ZPoPyDA because pygresql (and the adapter based on it) are *not* thread safe. we were experimenting deadlocks in zope when you mix db access from sql methods and external methods in the same page. quoting DAroadmap at