[Zope-dev] ZPatterns Project Help!

2000-11-18 Thread Ben Schochet

I am trying to create a ZPatterns based project and have a few question. I
am trying to create an application that can consist of thousands of object
without running into the ZODB size problems.

* It seems that I need to have separate Racks for each Class that I want to
store with ZPatterns. Is this right?
* What is the difference between Customizer Folders and Specialists? When is
the best time to use each?
* It is my understanding that if I use ZPatterns I can create an unlimited
amount of objects and as long as they are stored in a SQL database then the
ZODB will stay the same size. Is this correct?
* How do I use the option in storage "Object are loaded by accessing
attribute ___"?

Thanks for any help!
-Ben


BEGIN:VCARD
VERSION:2.1
N:Schochet;Ben
FN:Ben Schochet
ORG:KillerSite.com
TITLE:Director, Interactive Development
NOTE;ENCODING=QUOTED-PRINTABLE:KillerSite.com provides custom software development solutions, software for =
the web and PCs on time, on target, and on budget. Let us impress you!=0D=
=0A=0D=0A
TEL;WORK;VOICE:(516) 850-3459
ADR;WORK:;;559 Saddle Ridge Rd.;Woodmere;NY;11598;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:559 Saddle Ridge Rd.=0D=0AWoodmere, NY 11598=0D=0AUnited States of America
URL:
URL:http://www.killersite.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20001116T180129Z
END:VCARD



[Zope] Stupid Installation Question

2000-11-18 Thread Ben Ocean

Hi;
Okay, hope I did this right... Installed Zope in a directory at doc root 
(called zope) and untarred it. Now I have a directory called Zope-2.2.2-src 
with a bunch of stuff in it. What do I do from here? How do I see it working?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Reasons for Apache?? SSL?? (was Running Mailman CGI under Zope ZServer)

2000-11-18 Thread Cees de Groot

Joachim Werner [EMAIL PROTECTED] said:
Apache can then also be used to serve
static parts of your web site, like large documents or images. Also, Apache
can be used to cache Zope requests. 

I use Squid, not Apache as a reverse web proxy in front of Zope. I did a bit
of testing, and you can very well serve your static content from Zope in this
setup - I am planning to assign caching control properties to parts of the 
document structure and make Zope 'kick' Squid for a refresh when cached 
documents are edited. Initial experiments got me 500 requests per second
on cached documents - Zope wasn't touched at all. 

Regarding your problem: Set up a simple packet filter firewall (most Linux
distros have scripts for that, e.g. SuSE has "firewals") and don't allow
access to port 8080.

Something like
% ipchains -A input -S 0/0 -d 0/0 8080 -p tcp -j REJECT
should totally block port 8080. If you work from 1.2.3.4, you can do:
% ipchains -I input -S 1.2.3.4/32 -d 0/0 8080 -p tcp -j ACCEPT
and your machine is the only one that can get to this port. If you want
to have this done automagically, create /etc/ipchains.conf:

% cat /etc/ipchains.conf EOF
-I input -S 1.2.3.4/32 -d 0/0 8080 -p tcp -j ACCEPT
-A input -S 0/0 -d 0/0 8080 -p tcp -j REJECT
EOF

and execute '/sbin/ipchains-restore /etc/ipchains.conf' from
/etc/rc.d/boot.local (or similar).

Disclaimers: I haven't tested these rules; you should have a kernel that does
packet filtering; you're not worth the root password if you let someone else
tell you firewalling rules without understanding /exactly/ what they do ;-)


-- 
Cees de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] expiring dtml documents

2000-11-18 Thread Cees de Groot

wade naveja [EMAIL PROTECTED] said:
i maintain a zope server that collects several hundred dtml documents per
day.  there is a need to have dtml documents removed 2 weeks after they
are created.  any suggestions on how to go about doing this?

I'd make a cron job that kicks off a bit of code inside Zope every night; let
the code walk the tree and expire old documents. 

With ZEO you should be able to do this directly from a Python script.

-- 
Cees de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] (no subject)

2000-11-18 Thread George Osvald

Hello Everyone,

I have been playing with ZOPE for some time and I absolutely love it. I have
my own site running without a problem for about six months. Recently I was
able to demonstrate ZOPE to a "VERY" major player in entertainment industry
(music and video). I sold the idea to them and in about one month I am
supposed to start to redesign a major web site(and then may be another one).
It contains about 2000 pages at the moment. Is there anything I should be
aware of when designing a site of such magnitude in ZOPE? (streaming video
and music is not going to be served from the ZOPE site)

George Osvald


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Big Work Ahead - any advise ???

2000-11-18 Thread George Osvald

Hello Everyone,

I have been playing with ZOPE for some time and I absolutely love it. I have
my own site running without a problem for about six months. Recently I was
able to demonstrate ZOPE to a "VERY" major player in entertainment industry
(music and video). I sold the idea to them and in about one month I am
supposed to start to redesign a major web site(and then may be another one).
It contains about 2000 pages at the moment. Is there anything I should be
aware of when designing a site of such magnitude in ZOPE? (streaming video
and music is not going to be served from the ZOPE site)

George Osvald


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] 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
--
2000-11-16T03:08:04 PANIC(300) ZODB A storage error occurred in the last
phase o
f a two-phase commit.  This shouldn't happen. The application may be in a
hosed
state, so transactions will not be allowed to commit until the site/storage
is r
eset by a restart.
Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZODB/Transaction.py, line 296, in commit
  File /usr/local/Zope-2.2.0b3-src/lib/python/Shared/DC/ZRDB/THUNK.py, line
108,
 in tpc_finish
  File /home/kdie/Zope-2.0.1-src/lib/python/Products/ZPyGreSQLDA/db.py, line
114
, in _finish
pg.error: pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.

thanks


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Problems with External Method

2000-11-18 Thread Oleg Broytmann

Hello!

   I've stucked with a problem with External Methods. I wrote an External
Method and sterted to debug it. After some period of bugs fixing in the
method Zope responded "Error. Cannot import default_render..." and oops -
my Method removed from its folder... Not exactly "removed" - Zope converts
it to a folder-like object (there is folder icon on it instead of External
Method icon), but I cannot enter the folder.
   I removed the folder, recrated External Method and continued debugging.
But Zope continues to "remove" the method from time to time, and the more I
work on the method the more frequently Zope requires me to recreate the
Method.
   What's this? Normal behavior on buggy External Method or bug in the very
Zope? My Method is very simple, I do not touch Zope internals there... or
at least I *think* I don't touch :)

   (Zope 2.2)

Oleg.

 Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZODB in a hosed state

2000-11-18 Thread Jens Vagelpohl

this error is coming out of the postgres database adapter. something
happened while a database request was processed and database connection from
the DA to postgres got disconnected.

jens


On 11/18/00 16:10, "Bak @ kedai" [EMAIL PROTECTED] wrote:

 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
 --
 2000-11-16T03:08:04 PANIC(300) ZODB A storage error occurred in the last
 phase o
 f a two-phase commit.  This shouldn't happen. The application may be in a
 hosed
 state, so transactions will not be allowed to commit until the site/storage
 is r
 eset by a restart.
 Traceback (innermost last):
 File /usr/local/Zope/lib/python/ZODB/Transaction.py, line 296, in commit
 File /usr/local/Zope-2.2.0b3-src/lib/python/Shared/DC/ZRDB/THUNK.py, line
 108,
 in tpc_finish
 File /home/kdie/Zope-2.0.1-src/lib/python/Products/ZPyGreSQLDA/db.py, line
 114
 , in _finish
 pg.error: pqReadData() -- backend closed the channel unexpectedly.
   This probably means the backend terminated abnormally
   before or while processing the request.
 
 thanks
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid Installation Question

2000-11-18 Thread seb bacon

* Ben Ocean [EMAIL PROTECTED] [001118 09:51]:
 Hi;
 Okay, hope I did this right... Installed Zope in a directory at doc root 
 (called zope) and untarred it. Now I have a directory called Zope-2.2.2-src 
 with a bunch of stuff in it. What do I do from here? How do I see it working?
 TIA,
 BenO

umm, try reading the the README.txt file in that directory.  and the
INSTALL.txt file in the docs directory.

seb

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid Installation Question

2000-11-18 Thread seb bacon

* Ben Ocean [EMAIL PROTECTED] [001118 09:51]:
 Hi;
 Okay, hope I did this right... Installed Zope in a directory at doc root 
 (called zope) and untarred it. Now I have a directory called Zope-2.2.2-src 
 with a bunch of stuff in it. What do I do from here? How do I see it working?
 TIA,
 BenO

umm, try reading the the README.txt file in that directory.  and the
INSTALL.txt file in the docs directory.

seb

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] expiring dtml documents

2000-11-18 Thread wade naveja

any insight as to how one might code something like that?

On 18 Nov 2000, Cees de Groot wrote:

 wade naveja [EMAIL PROTECTED] said:
 i maintain a zope server that collects several hundred dtml documents per
 day.  there is a need to have dtml documents removed 2 weeks after they
 are created.  any suggestions on how to go about doing this?
 
 I'd make a cron job that kicks off a bit of code inside Zope every night; let
 the code walk the tree and expire old documents. 
 
 With ZEO you should be able to do this directly from a Python script.
 
 -- 
 Cees de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
 GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Ben Ocean

Well, actually, the REAME.txt doesn't say ANYTHING about how to install it. 
It *does* refer to doc/INSTALL.txt, which, unfortunately, is nowhere to be 
found: there is no directory called *doc* nor any INSTALL.txt file that I 
can see. Here's what unzipped:

drwxr-xr-x  11 webmaste users4096 Nov 18 13:57 .
drwxr-xr-x   3 webmaste users4096 Nov 18 00:58 ..
-rw-r--r--   1 webmaste users  28 Nov  9  1999 .cvsignore
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 Extensions
-rw-r--r--   1 webmaste users3479 Mar  9  1999 LICENSE.txt
-rw-r--r--   1 webmaste users2074 Jul 23  1999 README.txt
drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 ZServer
drwxr-xr-x   3 webmaste users4096 Sep 18 11:22 doc
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 import
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 inst
drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 lib
drwxr-xr-x   7 webmaste users4096 Sep 18 11:22 pcgi
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 utilities
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 var
-rw-r--r--   1 webmaste users4492 Jul 22  1999 w_pcgi.py
-rw-r--r--   1 webmaste users4578 Oct 14  1999 wo_pcgi.py
-rw-r--r--   1 webmaste users   22630 Aug 29 08:41 z2.py
-rw-r--r--   1 webmaste users8832 May 10  2000 zpasswd.py

So, back to my original question: How the $)@#* do I install this???
TIA,
BenO

At 08:07 PM 11/18/2000 +, you wrote:
* Ben Ocean [EMAIL PROTECTED] [001118 09:51]:
  Hi;
  Okay, hope I did this right... Installed Zope in a directory at doc root
  (called zope) and untarred it. Now I have a directory called 
 Zope-2.2.2-src
  with a bunch of stuff in it. What do I do from here? How do I see it 
 working?
  TIA,
  BenO

umm, try reading the the README.txt file in that directory.  and the
INSTALL.txt file in the docs directory.

seb


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Maik Roeder

Hi !

Ben Ocean wrote:
 
 Well, actually, the REAME.txt doesn't say ANYTHING about how to install it.
 It *does* refer to doc/INSTALL.txt, which, unfortunately, is nowhere to be
 found: there is no directory called *doc* nor any INSTALL.txt file that I
 can see. Here's what unzipped:
 
 drwxr-xr-x  11 webmaste users4096 Nov 18 13:57 .
 drwxr-xr-x   3 webmaste users4096 Nov 18 00:58 ..
 -rw-r--r--   1 webmaste users  28 Nov  9  1999 .cvsignore
 drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 Extensions
 -rw-r--r--   1 webmaste users3479 Mar  9  1999 LICENSE.txt
 -rw-r--r--   1 webmaste users2074 Jul 23  1999 README.txt
 drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 ZServer
 drwxr-xr-x   3 webmaste users4096 Sep 18 11:22 doc

 ^^^

 drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 import
 drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 inst
 drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 lib
 drwxr-xr-x   7 webmaste users4096 Sep 18 11:22 pcgi
 drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 utilities
 drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 var
 -rw-r--r--   1 webmaste users4492 Jul 22  1999 w_pcgi.py
 -rw-r--r--   1 webmaste users4578 Oct 14  1999 wo_pcgi.py
 -rw-r--r--   1 webmaste users   22630 Aug 29 08:41 z2.py
 -rw-r--r--   1 webmaste users8832 May 10  2000 zpasswd.py
 
 So, back to my original question: How the $)@#* do I install this???
 TIA,
 BenO
 
 At 08:07 PM 11/18/2000 +, you wrote:
 * Ben Ocean [EMAIL PROTECTED] [001118 09:51]:
   Hi;
   Okay, hope I did this right... Installed Zope in a directory at doc root
   (called zope) and untarred it. Now I have a directory called
  Zope-2.2.2-src
   with a bunch of stuff in it. What do I do from here? How do I see it
  working?
   TIA,
   BenO
 
 umm, try reading the the README.txt file in that directory.  and the
 INSTALL.txt file in the docs directory.
 
 seb
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] len() of unsized object error

2000-11-18 Thread Peter Bengtsson

If found this TypeError description in many places in the mailing list archive, but no 
solution to my sendmail problem.

Code:
dtml-sendmail mailhost="MailHost"
To: dtml-var email
From: dtml-var webmaster_email
Subject: Registration at dtml-var sitetitle

dtml-var attached_email

/dtml-sendmail

If I do this...:
dtml-sendmail mailhost="MailHost"
To: dtml-var email
From: dtml-var webmaster_email
Subject: Registration at dtml-var sitetitle

dtml-var attached_email

/dtml-sendmail

... it doesn't return any errors and looks fine.


Traceback (innermost last):
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 222, in 
publish_module
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Program\ZopeSite\lib\python\Zope\__init__.py, line 221, in 
zpublisher_exception_hook
(Object: Traversable)
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Program\ZopeSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 172, in __call__
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 168, in __call__
(Object: manage_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: manage_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: PARENTS[0])
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: dochtml)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 168, in __call__
(Object: signup_dtml)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: signup_dtml)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: members)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
(Object: madepassword="members.makepassword_pym(6)")
  File C:\Program\ZopeSite\lib\python\Products\MailHost\SendMailTag.py, line 188, in 
render
(Object: MailHost)
  File C:\Program\ZopeSite\lib\python\Products\MailHost\MailHost.py, line 220, in send
(Object: MailHost)
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 465, in sendmail
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 349, in mail
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 118, in quoteaddr
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 451, in parseaddr
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 496, in getaddrlist
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 504, in getaddress
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 484, in gotonext
TypeError: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] 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 lies.  also, can anybody be so
kind and point me
 to where i can check postgresql error

Offhand, it looks like PostgreSQL is dying when ZODB tries
to commit it.  The log's location is system dependent -- on
mine, it is at /var/log/postgresql.


that's the problem.  it's not there.  also tried looking elsewhere, not
there.  i'm running RH6.2

also, what wou;d normally crash postgres?  bad data?  hugh data?

Cheers,

Evan @ digicool  4-am


thanks.




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] getitem problem

2000-11-18 Thread Matt

why does the first work and not the second ?
staticProperties is a dtmlDocument and container_metatype is a property
of it.

1)
dtml-if "meta_type ==  staticProperties.container_metatype"
this is a container
dtml-elif "meta_type == 'Folder'"
this is a folder
dtml-else
this is not a container
/dtml-if


2)
dtml-if "meta_type ==
_.getitem('staticProperties.container_metatype')"
this is a container
dtml-elif "meta_type == 'Folder'"
this is a folder
dtml-else
this is not a container
/dtml-if

the same will happen with :
dtml-var "staticProperties.container_metatype"
br
dtml-var "_.getitem('staticProperties.container_metatype',1)"


regards
Matt


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Still More Problems On the Install...

2000-11-18 Thread Ben Ocean

Hi;
Okay, I've untarred the distro. The instructions said to type in *python 
w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which 
was *SystemError 512*. Should I worry about that? Then I thought I was 
supposed to type in *./start* but it didn't recognize that command. I'm 
running Python 2.2.2. Thanks for your help.
BenO 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )