[Zope] Zope log rotation

2000-05-18 Thread Chien-pin Wang

Dear All:

Quick question about Zope admin.
Can zope automatically rotate its access log? Thanks.

Chien-pin

___
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] Re: Frames and Zope

2000-05-18 Thread mindlace

Sin Hang Kin wrote:
> 
> Hi,
> 
> I am working at a search form and trying to display the result in one of the
> frame newly created.
> I just realize by putting the  instead of the code into
> the frames, the variables were all gone.

I need more information to be able to help you with this one.  Could you
give me the dtml you are using to send the information to the new frame?

> I recall that zope take account to different browser section, did this
> related to my problem? If the user require login to perform something, is
> this means If i split a browser into three frames, all three frames need to
> login again?

You should not have to, unless the frame has a different URL than the
authenticating page.

~ethan
[EMAIL PROTECTED]

p.s. this seemed like a zope as opposed to zope-dev email, so I cc'd it
there instead.

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




Re: [Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger

On Thu, 18 May 2000, [EMAIL PROTECTED] wrote:
> On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote:
> > Greetings,
> > 
> > In discussions with friends the question came up is zope compatible with php,
> > specifically if zope is run through apache. 
> > 
> 
> Check out one way to integrate PHP output within Zope at:
> 
> www.zope.org/Members/Mamey/PHP
> 
> written by yours truly. The example needs some work to support the POST
> method and cookies.
> 
> --
> Andres Corrada-Emmanuel   Email: [EMAIL PROTECTED]
> --

Thanks for the reference. 

Chris

___
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] Fw: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Jason Cunliffe


Subject: Re: [Zope] how do you pronounce 'ZOPE'?


> Just a recurring question around the office, is there an official
pronunciation for 'ZOPE'?

sure: 'Zope' as in 'Hope' !

- Jason



___
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] ZopeEdit Problem?

2000-05-18 Thread Michael Oas

I am really interested in trying out Zope Edit but I have run into some
problems.  Here's my config:

wxPython 2.1
Python 1.5.2
Win2K

Connecting to a Zope server running in Linux.

It seems to "hang" on connection and I have to kill the process.  I have
ZopeEdit set up to use Notepad as a test as defined in the ZopeEdit
comments.

Any ideas?

Mike


___
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] Local File System

2000-05-18 Thread Karl Ulbrich

I'm just getting started, but managed to use
the following to display only JPG's, and then
only ones starting with "tn_" (my thumbnails):



  

  /">

  



(my localfs instance is called "tester" and is 
in the same folder with the dtml page containing this code)

Karl

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




RE: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Brian Lloyd

> > >>I just installed release 2.2.0a1 on a glibc Linux box, but I keep
> > >>getting a permission problem when accessing a database query.
>
> ...
>
> > After beating on this over the last day or so trying to
> > understand what was happening at the Web interface level
> > (thinking that I must have just screwed up a permissions
> > setting somewhere), I finally looked at the code and
> > simply commented out line 602 in
> > 
> /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py
> > 
> > # raise ValidationError, index
> > 
> > Ta da!  It works...for now.  This little patch will get
> > me up and going.  I trust that someone will fix whatever
> > problem necessitated this in a future release and I
> > won't need this awful kludge, but it sure is nice to be
> > able to use it now.
> > 
> 
> Anyone know what the real fix is?

I don't _know_ yet, but I suspect :^) I think that something is
running afoul of the new security checking inside the __call__
method of SQLMethod objects. If someone wants to use the Zope
debugger (the debugger is your friend!) to sniff into this, 
that is where you should start. Under the debugger, set a 
breakpoint in the __call__ of the DA class in 
lib/python/Shared/DC/ZRDB/DA.py. Stepping through should point
out what object is failing authorization. If anyone is so 
inclined, Michel P. has a very good debugger how-to:

http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend

...and let me know what you find out. I won't be around Friday,
but I was planning to put on the sherlock hat and work this out 
Monday - of course I hope someone beats me to it :^)



Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.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 )




Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Cary O'Brien

Kyler wrote..

> <[EMAIL PROTECTED]>
> Date: Thu, 18 May 2000 08:03:58 EST
> From: "Kyler B. Laird" <[EMAIL PROTECTED]>
> 
> 
> >>I just installed release 2.2.0a1 on a glibc Linux box, but I keep
> >>getting a permission problem when accessing a database query.
> >
> >I have encountered the same problem using ZOracleDA
> >under SPARC Solaris.
> 
> >File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py,
> > line 602, in renderwb
> >  (Object: jis_query)
> >  Unauthorized: 0
> 

I've had identical problems with PostgreSQL queries.  I posted
two fairly detailed posts describing the problem.  I guess I'll
try your brute force method.

[snip some frustration]

> After beating on this over the last day or so trying to
> understand what was happening at the Web interface level
> (thinking that I must have just screwed up a permissions
> setting somewhere), I finally looked at the code and
> simply commented out line 602 in
>   /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py
> 
>   # raise ValidationError, index
> 
> Ta da!  It works...for now.  This little patch will get
> me up and going.  I trust that someone will fix whatever
> problem necessitated this in a future release and I
> won't need this awful kludge, but it sure is nice to be
> able to use it now.
> 

Anyone know what the real fix is?

-- cary


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




Re: [Zope] Zope and PHP

2000-05-18 Thread andres

On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote:
> Greetings,
> 
> In discussions with friends the question came up is zope compatible with php,
> specifically if zope is run through apache. 
> 

Check out one way to integrate PHP output within Zope at:

www.zope.org/Members/Mamey/PHP

written by yours truly. The example needs some work to support the POST
method and cookies.

--
Andres Corrada-Emmanuel   Email: [EMAIL PROTECTED]
--

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




Re: [Zope] Re: [squishdot] Re: [Zope] Ann: Squishdot 0.3.4 Released

2000-05-18 Thread mindlace

Chris Withers wrote:

> The internationalisation thing sounds like something that should wait
> for SquishdotPTK, which is currently being thought about... so make a
> note of it ;-)
> 
> What's the problem with SiteAccess?

Oh, sorry, just that everyone gets the same time.  I guess that'd be
true for whatever zope I was running.

And does 0.3.4 break any 0.3.2 pages if I install it?  0.3.2 was
installed on zope 2.1.6.

Thanks,

ethan fremen
[EMAIL PROTECTED]

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




Re: [Zope] Local File System

2000-05-18 Thread Jonothan Farr


> I've read that I can get the filenames as id's by using
> getObject, but I can't seem to make it work.

Try this:







--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998



___
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] stop_syn attribute error with zope 2.2.0a1

2000-05-18 Thread Oliver Frommel

hi,

after getting around the "superuser cannot own .." problem by creating a new
user and importing parts of the old site, now I am getting the following error:

Error Type: AttributeError
Error Value: stop_syn

Traceback (innermost last):
  File /home/oliver/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 224, in 
publish_module
  File /home/oliver/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 189, in 
publish
  File /home/oliver/Zope-2.2.0a1-src/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 175, in 
publish
  File /home/oliver/Zope-2.2.0a1-src/lib/python/ZPublisher/mapply.py, line 160, in 
mapply
(Object: manage_importObject)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 112, in 
call_object
(Object: manage_importObject)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/OFS/ObjectManager.py, line 518, in 
manage_importObject
(Object: ApplicationDefaultPermissions)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/OFS/ObjectManager.py, line 248, in 
_setObject
(Object: ApplicationDefaultPermissions)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/OFS/ObjectManager.py, line 264, in 
manage_afterAdd
(Object: ElementWithAttributes)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/OFS/ObjectManager.py, line 264, in 
manage_afterAdd
(Object: ElementWithAttributes)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/OFS/ObjectManager.py, line 264, in 
manage_afterAdd
(Object: ElementWithAttributes)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/Products/ZDBase/ZDiscussions.py, line 
174, in manage_afterAdd
(Object: 957744405)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/Products/ZCatalog/ZCatalog.py, line 
369, in catalog_object
(Object: ElementWithAttributes)
  File /home/oliver/Zope-2.2.0a1-src/lib/python/Products/ZCatalog/Catalog.py, line 
373, in catalogObject
  File /home/oliver/Zope-2.2.0a1-src/lib/python/SearchIndex/UnTextIndex.py, line 251, 
in index_object
  File /home/oliver/Zope-2.2.0a1-src/lib/python/SearchIndex/Lexicon.py, line 165, in 
Splitter
AttributeError: (see above)

any hints on fixing that?
thanks
--Oliver



___
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] Local File System

2000-05-18 Thread Tom Scheidt

Hi and thanks,

I want to view images in a local fs on a web page so i have:





">





I've read that I can get the filenames as id's by using
getObject, but I can't seem to make it work.


Tom Scheidt   |   www.falsemirror.com   |   [EMAIL PROTECTED]

---


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




[Zope] Limits on text posting

2000-05-18 Thread Carlos A. Carnero Delgado

Hello again, zopistas!

Actually, this is not directly related to Zope, but I just wanted to
know. I have a simple form with a textarea, exactly, how much text fits
in a text area? I mean, is there an upper limit to the number of
characters the end user can type in the textarea?
--
[ c a r l o s  c a r n e r o ]
[ r t v  c o m e r c i a l ]
[ t e x e l @ r t v c . c o m . c u ]


___
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] zsql method??/

2000-05-18 Thread Eric L. Walstad

Hi Jon,

I had the same trouble when returning values from a user db of mine.  I
believe the L indicates that the value returned is of type "Long Integer."
I am using MySQL, which has a function called CONV().  This is the function
I used to fix the problem.  Here is an explanation of the function from the
MySQL manual (found at http://www.mysql.com/php/manual.php3):

CONV(N,from_base,to_base)
Converts numbers between different number bases. Returns a string
representation of the number N, converted from base from_base to base
to_base. Returns NULL if any argument is NULL. The argument N is interpreted
as an integer, but may be specified as an integer or a string. The minimum
base is 2 and the maximum base is 36. If to_base is a negative number, N is
regarded as a signed number. Otherwise, N is treated as unsigned. CONV works
with 64-bit precision.
mysql> select CONV("a",16,2);
-> '1010'
mysql> select CONV("6E",18,8);
-> '172'
mysql> select CONV(-17,10,-18);
-> '-H'
mysql> select CONV(10+"10"+'10'+0xa,10,10);
-> '40'

In my case I just did something like:
CONV(TheNumber, 10, 10)

If you're not using MySQL, maybe there is a similar function in your db(?)

Hope this helps.

Eric.


// -Original Message-
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
// Jonathan Park
// Sent: Thursday, May 18, 2000 1:35 PM
// To: [EMAIL PROTECTED]
// Subject: [Zope] zsql method??/
//
//
// Hello everyone!
//
//   I have a dtml method that calls in the sql method like this
//
//   the result I get is what I would expect except in the unique_#
// field  'L'
// is added at the end of the number
//   ex:
//
//   unique_#blahblah   blah
// 1L  data   data   data
// 2L  data   data   data
//
//  any reason why it is adding the 'L'???
//
// thanks
// -jon
//
// Have a great afternoon!
//
//
// ___
// 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] zsql method??/

2000-05-18 Thread Eric L. Walstad

Oops, I forgot to mention that the CONV function is used in your ZSQL
method.  Here's the ZSQL Method I use (returns upcoming birthdays falling
within this, and the next, month):

SELECT FirstName, LastName, MONTH(Birthday) AS Month, DAYOFMONTH(Birthday)AS
Day, DATE_FORMAT(Birthday, '%M %D, %Y') AS BDay,
CONV(ROUND((TO_DAYS(NOW())-TO_DAYS(Birthday))/365.25), 10, 10) as WillBeAge
FROM users
WHERE
MONTH(Birthday) = MOD(MONTH(NOW()), 12) + 1
OR
(MONTH(Birthday) = MONTH(NOW()) AND DAYOFMONTH(Birthday) >=
DAYOFMONTH(NOW()))
ORDER BY
Month, Day


// -Original Message-
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
// Jonathan Park
// Sent: Thursday, May 18, 2000 1:35 PM
// To: [EMAIL PROTECTED]
// Subject: [Zope] zsql method??/
//
//
// Hello everyone!
//
//   I have a dtml method that calls in the sql method like this
//
//   the result I get is what I would expect except in the unique_#
// field  'L'
// is added at the end of the number
//   ex:
//
//   unique_#blahblah   blah
// 1L  data   data   data
// 2L  data   data   data
//
//  any reason why it is adding the 'L'???
//
// thanks
// -jon
//
// Have a great afternoon!
//
//
// ___
// 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] zsql method??/ (L suffix on unique#)

2000-05-18 Thread Terrel Shumway

I suppose this is related to a "bug" that has been "fixed" in Python 1.6a1:

http://www.python.org/1.6
>...
>Expected Code Breakage
>...
>
>The "nice" string representation of long integers no longer has an 'L'
suffix. For
>example, print 10L**10 now prints 100 where
>it used to print 100L. This affects str(long) too; code breakage is
expected for
>code that tries to strip off the 'L' without looking, like this: print
str(x)[:-1]. You >can use repr(), which returns the 'L' suffix as before.
>

Just when you thought you understood the world, it changes.


___
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] zsql method??/

2000-05-18 Thread Luis Cortes

Sounds like you have to rename your function.  so that it does not include
spaces.  and include ()



wait till you get to parameters, that's a mind bender.

Have Fun!
Luis.



On Thu, 18 May 2000, you wrote:
>> Hello everyone!
>> 
>>   I have a dtml method that calls in the sql method like this
>>
>>   the result I get is what I would expect except in the unique_# field  'L'
>> is added at the end of the number
>>   ex:
>> 
>>   unique_#blahblah   blah
>> 1L  data   data   data
>> 2L  data   data   data
>> 
>>  any reason why it is adding the 'L'???
>> 
>> thanks
>> -jon
>> 
>> Have a great afternoon!
>> 
>> 
>> ___
>> 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 )
-- 
==

Luis Cortes

Pollak EPD (915) 621-6113

==


___
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] zsql method??/

2000-05-18 Thread Jonathan Park

Hello everyone!

  I have a dtml method that calls in the sql method like this
   
  the result I get is what I would expect except in the unique_# field  'L'
is added at the end of the number
  ex:

  unique_#blahblah   blah
1L data   data   data
2L data   data   data

 any reason why it is adding the 'L'???

thanks
-jon

Have a great afternoon!


___
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] how do you pronounce 'ZOPE'?

2000-05-18 Thread Mabe, Brad

Or like "dope", which is what I felt like when I first started learning
Zope.

-=Brad=- 
*Certified Zope newbie and system crasher*


> But some people pronounce it like "soap" with a Z instead
> of an S at the beginning.



___
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] ZODBC connection & start method- more info

2000-05-18 Thread Stephen Nosal

Folks -

Just a little more info - my ODBC DSN is using a Sybase 11 ODBC driver and connecting 
to Sybase 11.5.1 running on a Sun Solaris box in the network server room.

- Steve

__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough

At DC, we pronounce it J-I-M   F-U-L-T-O-N. :-)

But some people pronounce it like "soap" with a Z instead of an S at the
beginning.

Stephen Nosal wrote:
> 
> Folks -
> 
> Just a recurring question around the office, is there an official pronunciation for 
>'ZOPE'?
> 
> - Steve
> 
> __
> Get your Private, Anti-Spam, Free Email at http://e3mil.com
> and Step into a Friendly Universe!
> 
> ___
> 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 )

-- 
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org

___
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] how do you pronounce 'ZOPE'?

2000-05-18 Thread Stephen Nosal

Folks -

Just a recurring question around the office, is there an official pronunciation for 
'ZOPE'?

- Steve

__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] ZODBC connection & start method

2000-05-18 Thread Stephen Nosal

Folks -

I'm now finding some interesting behavior with the ZODBC connection.

I set up a connection and had no problems with it (requires DSN id password).

I went back to it at a later point in time and it no longer worked. What changed?

I'm running ZOPE 2.1.6 on NT4 sp4. I started out running ZOPE from the start.bat file.

type start.bat
"c:\zope\ZopeDIR\bin\python.exe" "c:\zope\ZopeDIR\z2.py" -D -w 80 -a 127.0.0.1

If I start ZOPE from the start.bat file, the ODBC connection works flawlessly (with my 
minor testing)

If I start ZOPE as a service 
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ZopeDIR\Parameters = 
"c:\zope\ZopeDIR\bin\python.exe" "c:\zope\ZopeDIR\z2.py" -S -D -w 80 -a 127.0.0.1)

and then attempt to open the ODBC connection, I receive the following error

Invalid connection string: DSN id password (changed for obvious reasons)


Traceback (innermost last):
  File c:\zope\ZopeDIR\lib\python\ZPublisher\Publish.py, line 214, in publish_module
  File c:\zope\ZopeDIR\lib\python\ZPublisher\Publish.py, line 179, in publish
  File c:\zope\ZopeDIR\lib\python\Zope\__init__.py, line 202, in 
zpublisher_exception_hook
(Object: RoleManager)
  File c:\zope\ZopeDIR\lib\python\ZPublisher\Publish.py, line 165, in publish
  File c:\zope\ZopeDIR\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: manage_open_connection)
  File c:\zope\ZopeDIR\lib\python\ZPublisher\Publish.py, line 102, in call_object
(Object: manage_open_connection)
  File c:\zope\ZopeDIR\lib\python\Shared\DC\ZRDB\Connection.py, line 209, in 
manage_open_connection
(Object: RoleManager)
  File c:\zope\ZopeDIR\lib\python\Shared\DC\ZRDB\Connection.py, line 227, in connect
(Object: RoleManager)
  File c:\zope\ZopeDIR\lib\python\Products\ZODBCDA\db.py, line 155, in __init__
BadRequest: (see above)

Has anyone experienced this before? Any thoughts? I much prefer running Zope as a 
service, but...

TIA.

- Steve

__
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!

___
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] Has anyone...?

2000-05-18 Thread Rik Hoekstra

>...run multiple instances of Zope on an NT machine?
>I guess I should ask first if anyone has been successful getting thier NT
>Web Server to handle authentication/authorization to zope users via pcgi?


yes. I don't see what the problem (in a theoretical sense) should be.

>
>I'm not running IIS but I imagine the problems are similar.

We had it running before, without trouble behind IIS using pcgi. I changed
jobs in between and recently there seem to have been problems with the NT
box, though (from what I've heard I doubt if they're Zope related, though)


> I'm using
>Oreilly's Website Pro and have asked about this here before.

I know nothing about this.

>I want users to be able to log on to thier zope projects or zope products.
A
>manager should be able to get to the management area and say, a squishdot
>admin should be able to review articles and any portal member should be
able
>to log-in via the front end server.. I seem to be finding just enough
>info to keep me trying.but no successes.
>
>I would appreciate hearing any NT server solution(s) to this.  I'm stuck...


Could you be more specific as to where are things going wrong?

>
>Thanks for any help on this...
>


hth

Rik


___
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] Newbie: MS Access ODBC connection strings

2000-05-18 Thread Rik Hoekstra


-Original Message-
From: Andy Gates <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: donderdag 18 mei 2000 11:24
Subject: [Zope] Newbie: MS Access ODBC connection strings


>Before you all start, I know, MS Access is pants and I should be using
>a "real" database.  And I shall, once the "proof of concept" stage is
>passed and I can migrate the existing data over to one.  But for now
>I'm stuck with it.
>
>Right, that over, here's my plea: I'm trying to create a connection
>object to a MS Access 97 database.  I've installed the ODBC DA product
>but I cannot get my connection to actually connect.  The error I get is,
>"invalid connection string: project,"  (project is the DSN name).
>
>According to the docs that come with the ODBC-DA, there's usually no
>need for a connection string and accordingly I have left it blank; I
>presume that the DA is defaulting to connecting using the DSN name as
>its string.  The database has no security settings that might limit
>access.
>
>What's going wrong?  Help!


Hm, a few possibilities I haven't seen yet:

- You don't happen to have spaces in the Access file name? This may upset
one object or another.
- There isn't an Access workgroup type of authentication going on (just
checking)

Rik


___
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] Newbie: MS Access ODBC connection strings

2000-05-18 Thread Andy Gates

> i had a similar problem recently. my access DB was not showing up in the
> data sources list until i deleted the ODBC connection from windows control
> panel and recreated it - i guess i messed up the first time. make sure your
> DB shows up in the "User Data Sources" list in the ODBC Data Source
> Administrator in Windows and in the ODBC Data Source list in the "Add Z ODBC
> Database Connection" screen in ZOpe. my connection string is simply the
> database name. now that i have a working connection all of my tests fail.
> does anyone know why?

Mine fails when using a database on a different machine to the Zope 
installation - where the DSN is defined using either a mapped network 
drive or a UNC (\\server\share\database.mdb) drive.  Moving the 
database onto the Zoper server or installing Zope on the database 
server worked for me.

AndyG

___
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] Zope Product tools.

2000-05-18 Thread Jerry Spicklemire


Bryan Patrick Coleman asked:

>I was wondering if there were any products for the following Genre's
>configuration managment, Project managment, bug tracking, cvs browsing
>etc

for Code / Bug Tracking check out :

http://www.zope.org/Members/klm/TrackerWiki/FrontPage

http://www.zope.org/Members/shalabh/iTrack

for Project Management :

http://bits.netizen.com.au/Xen/

http://sourceforge.net/project/?group_id=2370

>Basically anything that would help with Development and testing.

>For that matter it would be cool to see what kind of application type
>products are available for Zope use.

Not limited to Zope, but Python related, check out:

http://www.software-carpentry.com

Later,
Jerry S.




___
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] listmate + CSV problem

2000-05-18 Thread michael angelo ruberto

hi, Heiko

it works! i had to replace all whitespaces in column names with
under_scores. it's the whitespace that created a problem. now i have to
enter "NULL" in all the empty cells to make the table line up properly
-( but this is not your fault, it's mine. i think many people in my company
are going to be happy now! thank you for all the help you have provided.

--

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Heiko Stoermer
Sent: Thursday, May 18, 2000 3:46 AM
To: michael angelo ruberto
Subject: Re: [Zope] listmate + CSV problem


michael angelo ruberto wrote:


> Error Type: Bad Request
> Error Value: Invalid or duplicate property id
>
>
yes, I see. the first line of the csv will be split up into words and
for each word a table column is created.
these column names are actually properties of some internal object, so
they MUST be unique. So if you have the same word appear twice in the
first line of the file, you will get this error.

the file size or column number should not be a problem. duplicate column
names are.

hope this helps,
Heiko

--
[EMAIL PROTECTED]
innominate AG
 networkingpeople
fon: +49.30.308806-0 fax: -77   web: http://innominate.de


___
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] Newbie: MS Access ODBC connection strings

2000-05-18 Thread michael angelo ruberto

i had a similar problem recently. my access DB was not showing up in the
data sources list until i deleted the ODBC connection from windows control
panel and recreated it - i guess i messed up the first time. make sure your
DB shows up in the "User Data Sources" list in the ODBC Data Source
Administrator in Windows and in the ODBC Data Source list in the "Add Z ODBC
Database Connection" screen in ZOpe. my connection string is simply the
database name. now that i have a working connection all of my tests fail.
does anyone know why?

--

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 5:19 AM
To: [EMAIL PROTECTED]
Subject: [Zope] Newbie: MS Access ODBC connection strings


Before you all start, I know, MS Access is pants and I should be using
a "real" database.  And I shall, once the "proof of concept" stage is
passed and I can migrate the existing data over to one.  But for now
I'm stuck with it.

Right, that over, here's my plea: I'm trying to create a connection
object to a MS Access 97 database.  I've installed the ODBC DA product
but I cannot get my connection to actually connect.  The error I get is,
"invalid connection string: project,"  (project is the DSN name).

According to the docs that come with the ODBC-DA, there's usually no
need for a connection string and accordingly I have left it blank; I
presume that the DA is defaulting to connecting using the DSN name as
its string.  The database has no security settings that might limit
access.

What's going wrong?  Help!
--
Andy Gates, Learning and Research Technology
[EMAIL PROTECTED] - ICQ#74362415


___
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 )




[Zope] FW: [Zope] Zope and PHP

2000-05-18 Thread peter



-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2000 17:59
To: 'Chris Herrnberger'
Subject: RE: [Zope] Zope and PHP


Sure thing. But "being compatible" is maybe not the right word.

http://www.zope.org/Members/Mamey/PHP

"As you migrate your site to Zope, you may want to embed a previously
created PHP or Perl directory tree within Zope. Or perhaps you found a nifty
web application that is coded in PHP/Perl and want to serve it within your
Zope site. "

"You'll also need a web server that can serve Zope as well as the PHP/Perl
tree. We use Apache, and that is what this How-To will use as an example. "


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Herrnberger
Sent: 18 May 2000 17:14
To: zope
Subject: [Zope] Zope and PHP


Greetings,

In discussions with friends the question came up is zope compatible with
php,
specifically if zope is run through apache.

best

Chris

___
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] ZSQL-Methods: last inserted id

2000-05-18 Thread Ron Bickers

You can get a ZSQLMethod that's used for inserting to return the last
inserted ID by doing the following:

  INSERT ...whatever...

  

  SELECT LAST_INSERT_ID() AS newid

You get the results as you would with any ZSQLMethod:

  
  Inserted ID: 
  

___

Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy
> Sent: Wednesday, May 17, 2000 7:45 PM
> To: [EMAIL PROTECTED]
> Subject: [Zope] ZSQL-Methods: last inserted id
>
>
>
> I wonder how I can find out about the last inserted id of a row in my
> mysql-database, which I inserted through a ZSQL-Method...
>
> I tried mysql's built-in function LAST_INSERT_ID(), but that did not solve
> my problem...
>
>
> ___
> 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 )




[Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger

Greetings,

In discussions with friends the question came up is zope compatible with php,
specifically if zope is run through apache. 

best

Chris

___
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] Zope Product tools.

2000-05-18 Thread Coleman, Bryan

I was wondering if there were any products for the following Genre's
configuration managment, Project managment, bug tracking, cvs browsing
etc

Basically anything that would help with Development and testing.

For that matter it would be cool to see what kind of application type
products are available for Zope use.

- Bryan Patrick Coleman
  Questcon Technologies
  (336)273-2428
  [EMAIL PROTECTED]


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




Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers

Chris Withers wrote:

[snip rubbish ;-)]

This actually isn't the case, someone had just helpfully turned off
'Access Contents Information' higher up the tree...

Doh!

Chris

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

2000-05-18 Thread Jason Spisak

> Chris Withers wrote:
> > 
> > Karl Lewin wrote:
> > > What sort of scheduling options would be "nice to have" in a scheduling
> > > product?
> > 
> > 1. The ability to have a method called at a certain DateTime
> > eg: next Tuesday, at 5pm GMT
> > 
> > 2. The ability to have a method executed every x, where x is a period of
> > time.
> > eg: every 2 hours
> > 
> > 3. The ability to have a method executed every x, starting and y and
> > finished at z, where x is a period of time, y is a  DateTime object and
> > z is a DateTime object that may be omitted if the process is nto to
> > terminate.
> > eg: every Tuesday at 4pm, starting May 20th, ending December 31st
> > every Wednesday at 5pm GMT from now onwards.
> > 
> > Obviously the more flexible the expression of time periods and dates,
> > especially in the last option (for example: every other Tuesday starting
> > today and ending next week would be nice ;-), the better :-)
> 
> 
> I would add: something along the lines of: every first and third
> tuesday of the month. To this list.
> 

I would add the "last day of the month" as well.

All my best,


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

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

2000-05-18 Thread Mabe, Brad

Does this work in IE5?  I'm using similar META tags which work for IE4 and
Netscape but don't work in IE5.

  -=Brad=-

-Original Message-
From: Dr. Peer Griebel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [Zope] Cache


Jonothan Farr wrote:
> 
> > How can I disable the browser cache in my zope documents ?
> 
> One thing you can do is set the 'Expires' header like so:
> 
> 

This works using Netscape. But for IE I had to use:





I think the last Pragma can be left out. But the Cache-Control header
ist neccessary. I got the information out of rfc2616.


-- 
connection reset by
  Peer

___
Dr. Peer Griebel  Tel. +49 7581 4831 23
Geschäftsführer   Fax. +49 7581 4831 11
Knoll Informationssysteme GmbH   http://www.knoll-is.de
Dreiköniggasse 17   mailto:[EMAIL PROTECTED]
88348 Saulgauprivat: mailto:[EMAIL PROTECTED]

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




___
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] looking for ID after manage_addFile

2000-05-18 Thread Didier Georgieff

Hello,

I'm uploading some files thru a form and i want to setup some new 
properties just after the upload (who done the upload and so...) 

So i have a DTML method (addProperty) who does the 
manage_addProperties and i want to simply call 
/.../ID/addProperty for that.

I also need to know the ID in order to check.if a previous version for 
this document was already upload

Problem is i don't give any ID to the file uploaded since with and 
empty ID in manage_addFile, the file name is automatically setup 
as ID.

 

I guess it's an obvious trick but i can't find a way to get and 
manipulate the ID for cheking existing file and calling addProperty. 
and i dind't find info thru the documentation.

As a workaround I can put a forged ID but file name seems better 
for my needs.

Thanks for any tip.
Didier Georgieff

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

2000-05-18 Thread Dr. Peer Griebel

Jonothan Farr wrote:
> 
> > How can I disable the browser cache in my zope documents ?
> 
> One thing you can do is set the 'Expires' header like so:
> 
> 

This works using Netscape. But for IE I had to use:





I think the last Pragma can be left out. But the Cache-Control header
ist neccessary. I got the information out of rfc2616.


-- 
connection reset by
  Peer

___
Dr. Peer Griebel  Tel. +49 7581 4831 23
Geschäftsführer   Fax. +49 7581 4831 11
Knoll Informationssysteme GmbH   http://www.knoll-is.de
Dreiköniggasse 17   mailto:[EMAIL PROTECTED]
88348 Saulgauprivat: mailto:[EMAIL PROTECTED]

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




[Zope] Broken ZWiki

2000-05-18 Thread Tom Smith

when I install ZWiki Product, the FrontPage, HelpPage etc are all
brokendoes it rely on another class being present?

cheers

tom

[EMAIL PROTECTED] [EMAIL PROTECTED]
http://www.dmrl.com http://www.OTHERmedia.com http://i.am/tom.smith
phone://0171 9563160 mobile://07720 288285 video-conf://0171 9563071
location://57a Farringdon Road, London, EC1M 3JB



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

2000-05-18 Thread Jerry Spicklemire

There was some discussion earlier this year on the Zope-Dev list. THese
items may belong in subclassed objects based on "schedulable"(?) or might
be considered part of a larger "Zope Event Model" project, for later on. At
any rate, here are some of the ideas that came out back in February.

"Zope and a standalone Python event loop can easily pass messages in the form
of  records in a shared data store, e.g. a PostgreSQL database.

> ... Do you think it's important to capture output?

Not in itself, but it is certainly necessary to verify successful completion
of each event, and those events can involve creation of output. ZODB may or
may not be the target storage for such output, but an effective Event
Manager must at least be able to confirm the output's existence and
correctness, currency, etc.

When an event fails an error event may be generated, whose first purpose is
to attempt to restart the failed event, including verifying and/or
reinitializing any prerequisites. An alert event (auto-page) may also be
generated, to notify the designated driver of a mishap. (Yuck!)

We found that we needed to track :

dependencies (conditions required prior to start, such as prior events)

normal runtime window (earliest start time, latest end time)

normal runtime length (shortest expected completion period, longest)

on-completion action (initiate subsequent event)

on-error action (re-start event, alert event, etc.)

>The kinds of scheduled tasks I'm thinking about are
> - email reminders
> - garbage collection
> - updating syndicated content from other sites
>
>Anybody have other examples with other use patterns?

 - promoting new or updated content through develop, test, production status

 - spamming users when new content gets published

 - notifying content maintainers of irate feedback (after spamming users)"

from: http://lists.zope.org/pipermail/zope-dev/2000-February/003220.html

Later,
Jerry S.



___
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] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers

Hi,

The RecentChanges page in ZWiki no longer works in 2.1.6

The following code:


Spits authorization errors even when I'm logged in as root.

Anyone got any ideas?

cheers,

Chris

PS: 

Traceback (innermost last):
  File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: RecentChanges)
  File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py,
line 102, in call_object
(Object: RecentChanges)
  File
/usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py,
line 178, in __call__
(Object: RecentChanges)
  File
/usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py,
line 223, in render_htmldtml
(Object: RecentChanges)
  File /usr/local/zope/internal/2-1-6/lib/python/OFS/DTMLDocument.py,
line 166, in __call__
(Object: RecentChanges)
  File
/usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: RecentChanges)
  File
/usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_In.py,
line 633, in renderwob
(Object: aq_parent.objectValues(spec='ZWiki Page'))
  File
/usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_Util.py,
line 329, in eval
(Object: aq_parent.objectValues(spec='ZWiki Page'))
(Info: aq_parent)
  File
/usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py,
line 501, in validate
(Object: RecentChanges)
Unauthorized: (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] Has anyone...?

2000-05-18 Thread J. Michael Mc Kay

Hi Duncan,

Thanks.  I am just trying to get some ideas of what others are doing.  I
run WebSite Pro.  Generally anthing I want to do is no sweat to implement.
I am hoping that if my eyes are opened to other's solutions I will be able
to figure this out.


- Original Message -
From: "Duncan Booth" <[EMAIL PROTECTED]>
To: "J. Michael Mc Kay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 18, 2000 5:29 AM
Subject: Re: [Zope] Has anyone...?


>
>
> > ...run multiple instances of Zope on an NT machine?
> > I guess I should ask first if anyone has been successful getting thier
NT
> > Web Server to handle authentication/authorization to zope users via
pcgi?
> Yes and no. One of our servers is currently quite happily running
> two copies of Zope behind Apache. Several different virtual hosts
> are then redirected to one or other of the Zope servers. We aren't
> using PCGI though, instead we are using the PROXYPASS feature
> in Apache coupled with SiteAccess in Zope.
>
>
> --
> Duncan Booth
[EMAIL PROTECTED]
> int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
> "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
> http://dales.rmplc.co.uk/Duncan
>
> ___
> 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] FSSession error

2000-05-18 Thread Pavlos Christoforou

On Thu, 18 May 2000, urs.beyeler wrote:


> line 142, in load
>  (Object: FSSession)
> SystemError: (see above)
> 
> any ideas?
> 

The error seems to result from an instance stored in FSSession that cannot
find its class object. I am not sure it is an FSSession error. Do you have
any custom classes with instances of those stored in FSSession?

Pavlos



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




Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Kyler B. Laird


>>I just installed release 2.2.0a1 on a glibc Linux box, but I keep
>>getting a permission problem when accessing a database query.
>
>I have encountered the same problem using ZOracleDA
>under SPARC Solaris.

>File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py,
> line 602, in renderwb
>  (Object: jis_query)
>  Unauthorized: 0  

I've been especially frustrated by this.  I just brought
up Zope 2.2.0a1 because we have a few projects that need
to be developed and I want them all using Zope.  I don't
want to have a lot of conversion pain going from 2.1.6,
so I took a chance on using alpha software in this
environment.  I know the risks.  That doesn't make this 
any less painful.

I often tell our students that one of the best features
of Open Source software is that if there's an error, it
can be fixed (by the user or by a helper of the user's
choosing) without waiting on the company who controls
the source.  I'm just starting to learn Python, so I
didn't feel like I was up to the task of doing anything
usful in this case.

I was wrong.

After beating on this over the last day or so trying to
understand what was happening at the Web interface level
(thinking that I must have just screwed up a permissions
setting somewhere), I finally looked at the code and
simply commented out line 602 in
/data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py

# raise ValidationError, index

Ta da!  It works...for now.  This little patch will get
me up and going.  I trust that someone will fix whatever
problem necessitated this in a future release and I
won't need this awful kludge, but it sure is nice to be
able to use it now.

--kyler

___
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] FSSession error

2000-05-18 Thread Shane Hathaway

"urs.beyeler" wrote:
> 
> help ... i installed the FSSession-Product on Zope 2.1.6, also using
> GUF and MySQL-Connections. everything works fine till suddenly (when
> i try to access a site where the FSSession> is called) ...
> 
> Error Type: SystemError
> Error Value: Failed to import class r from module Record

I hate to have to tell you this but that's a nasty error!  Could it be
that you're running out of virtual memory or disk space or something? 
What platform are you running on?

> Traceback (innermost last):
> ...
>File /zope/Zope-2.1.6/lib/python/Products/FSSession/FSSession.py,
> line 142, in load
>  (Object: FSSession)
> SystemError: (see above)

You might try contacting the author of FSSession directly.

Shane

___
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] subfolder wrong absolute_url

2000-05-18 Thread Steve Alexander

Ulrich Wisser wrote:
> 
> 
> The path is used by the browser, not Zope. IE and Netscape
> will store your login/password to send it with every GET request
> which is in the path, e.g.:
> 
> authenticate on /  -> path is / -> all request will be with auth info
> authenticate on /sub   -> path is / -> see above
> authentivate on /sub/  -> path is /sub/ -> only request with /sub/ will be
>with auth info
> 
> But all this is done by the browser.
> 
> I believe the folder object should give a trailing "/" as absolute url.

In that case, you're right :-)

However, any Zope object can potentially have sub-objects or attributes.
As far as a browser is concerned, the any zope object can look like a
folder at some point. Add acquisition into the mix, and you can make a
URL to a valid object have other stuff on the end to an arbitrary
length.

Therefore, your suggestion above should apply to just about all URLs
Zope receives. If Zope receives a request for "/spam/spam/foo" it should
always issue a redirect (or whatever code it should be) to
"/spam/spam/foo/" -- regardless of whether foo is of Folder type,
ObjectManager type or DTML method type, or whatever.

Are there any downsides to having this behaviour for all objects/all
URLs?

Or perhaps there could be some kind of per-path switch inside Zope that
turns the redirect behaviour on or off.

--
Steve Alexander
Software Engineer
Cat-Box limited

___
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] Newbie - problem connecting to MS Access DSN

2000-05-18 Thread Andy Gates

> I have this working fine.  Are you running NT or \'98?  If NT is 
> Zope running as a service?  If so, did you create your DSN as a
> System DSN?

I'm running NT4, SP6a.  Zope is a service, running.  The DSN is system.

In fact the whole setup is *identical* to that on a colleague's machine
I have spent the morning checking out.  Which makes me think that the 
issue lies with my machine, and that it is an NT DAC / service pack 
interaction thing or somesuch.  Dang.

AndyG

___
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] SiteAccess problems in Zope 2.2.0a

2000-05-18 Thread Alexander Limi


> Hi Alexander,
>
> What does your access rule look like?

The error message I get is this:

Error Type: TypeError
Error Value: unexpected keyword argument: validated_hook

And the access rule looks like this:

http://mp3.no')">


  There is a path 
  
'/Z/...' explicitly forbids redirection to 'artists'



  
Don't redirect existing objects 
  
Everything else goes to 'artists' 


  



Regards,


Alexander.


___
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] Newbie - problem connecting to MS Access DSN

2000-05-18 Thread richard

Andy,

I have this working fine.  Are you running NT or \'98?  If NT is Zope running as a 
service?  If so, did you create your DSN as a System DSN?

Richard

 part of original message  

Right, that over, here\'s my plea: I\'m trying to create a connection 
object to a MS Access 97 database. I\'ve installed the ODBC DA product 
but I cannot get my connection to actually connect. The error I get is, 
\"invalid connection string: project,\" (project is the DSN name). 


  


___
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] First time using ZDiscussion

2000-05-18 Thread J. Atwood

I have posted some basic instructions on my port of ZDiscussions 
called "ZUBB" which is now in beta.

http://www.zope.org/Members/BwanaZulia/ZUBB

J

>I have downloaded and installed ZDiscussion. Can anyone direct me to some
>instruction on how it is used? I have checked the read meees of all the
>products, but they don't give a usage overview. I have also searched
>www.zope.org for ZDiscussion and only found the download link.
>
>I think that product is a set of classes which expect a user interface to
>be developed by me. Is that right?
>Thanks in advance

___
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] Stopping tracebacks from appearing in HTML output

2000-05-18 Thread Danny William Adair



-Ursprungliche Nachricht-
Von: Danny William Adair [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 18. Mai 2000 11:45
An: David Trudgett
Betreff: Re: [Zope] Stopping tracebacks from appearing in HTML output


Is dparker's tip not up-to-date anymore? (See Tips Collection)

dparker brings us this tip:
To turn off automatic generation of tracebacks, set the OS environment
variable BOBO_DEBUG_MODE=0

I haven't tried it though.

Danny Adair

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
David Trudgett
Gesendet: Freitag, 19. Mai 2000 05:13
An: [EMAIL PROTECTED]
Betreff: [Zope] Stopping tracebacks from appearing in HTML output


My boss is the paranoid type, and doesn't want Python traceback information
being spat out in the event of an error (such as a NotFound error). I've
customised the standard_error_message, but the traceback is still appended
(albeit after the  tag).

Is there any way to stop this behaviour?

David Trudgett


___
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 )




[Zope] Probs installing SiteAccess under Z 2.20a1

2000-05-18 Thread Danny William Adair

I'm pretty new to Zope. After unpacking the SiteAccess product to my
products folder, my Zope 2.20a1 installation will "encounter an error" while
publishing _any_ resource. Where's the problem?


Zope Error
Zope has encountered an error while publishing this resource.

Error Type: TypeError
Error Value: unexpected keyword argument: validated_hook


Traceback (innermost last):
  File C:\PROGRA~1\ZOPESI~1.220\lib\python\ZPublisher\Publish.py, line 224,
in publish_module
  File C:\PROGRA~1\ZOPESI~1.220\lib\python\ZPublisher\Publish.py, line 189,
in publish
  File C:\PROGRA~1\ZOPESI~1.220\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File C:\PROGRA~1\ZOPESI~1.220\lib\python\ZPublisher\Publish.py, line 161,
in publish
TypeError: (see above)



tia,
Danny Adair


___
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] Ann: ZWiki Web 0.2 Released

2000-05-18 Thread Chris Withers

This is my attempt at bundling up Simon's excellent ZWiki product
with all its methods in such a way that you can create a whole WikiWeb
folder by selecting a ZWikiWeb from the "Available Objects" dropdown.

It's available from:
http://www.zope.org/Members/chrisw/ZWikiWeb

ZWiki can be found at:
http://www.zope.org/Members/simon/ZWiki

The changes made we:
-Gave Manager proxy role to the ZWikiWebAdd DTML Method so that non-root
users can add ZWiki Webs.
-Renamed the permission for adding ZWiki Webs from 'Add ZWiki Pages' to
'Add ZWiki Webs'. 

If anyone can think of any problems with these changes, please let me
know :-)

cheers,

Chris

___
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] Zcatalog : putting the search result in frame

2000-05-18 Thread Sin Hang Kin

Hello,

How can I put the search result into a frame? I create the search interface
with the zsearchinterface, it have the searchform and reportpage generated.
I intended to put the reportpage into a frame, I have modified the
searchform page's action to point to the frameset instead of directly point
to reportpage.

I think that the form data were lost when the frame page load the
reportpage, I got an Key Error with the following traceback

Traceback (innermost last):
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 214,
in publish_module
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 179,
in publish
  File C:\Program Files\WebSite\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 165,
in publish
  File C:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line 160,
in mapply
(Object: r)
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 102,
in call_object
(Object: r)
  File C:\Program Files\WebSite\lib\python\OFS\DTMLMethod.py, line 150, in
__call__
(Object: r)
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_String.py,
line 502, in __call__
(Object: r)
  File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_In.py, line
611, in renderwb
(Object: nameauth)
KeyError: (see above)

How can I put the result into a frame?

Rgs,

Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.net



___
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] install probs on sparc-linux

2000-05-18 Thread Jerome ALET

On Tue, May 16, 2000 at 12:40:16PM -0400, Kevin Vranes wrote:
> I'm running RH 6.2 on a sparc and trying to install Zope 2.1.6 from
> source.
> 
> I installed python1.5.2 with threads but the configure is always dying at:

You probably need to recompile python, modifying Modules/Setup.in to include
the sha module in the compilation, then you'll probably be able to run
Zope successfully: I use it at work on a RedHat 4.2 SparcLinux box
with python 1.5.2

bye,
Jerome

___
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] Newbie: MS Access ODBC connection strings

2000-05-18 Thread Andy Gates

Before you all start, I know, MS Access is pants and I should be using 
a "real" database.  And I shall, once the "proof of concept" stage is 
passed and I can migrate the existing data over to one.  But for now 
I'm stuck with it.

Right, that over, here's my plea: I'm trying to create a connection 
object to a MS Access 97 database.  I've installed the ODBC DA product 
but I cannot get my connection to actually connect.  The error I get is,
"invalid connection string: project,"  (project is the DSN name).

According to the docs that come with the ODBC-DA, there's usually no 
need for a connection string and accordingly I have left it blank; I 
presume that the DA is defaulting to connecting using the DSN name as 
its string.  The database has no security settings that might limit 
access.

What's going wrong?  Help!
--
Andy Gates, Learning and Research Technology
[EMAIL PROTECTED] - ICQ#74362415


___
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] First time using ZDiscussion

2000-05-18 Thread Neil Burnett

Hi

I have downloaded and installed ZDiscussion. Can anyone direct me to some
instruction on how it is used? I have checked the read meees of all the
products, but they don't give a usage overview. I have also searched
www.zope.org for ZDiscussion and only found the download link.

I think that product is a set of classes which expect a user interface to
be developed by me. Is that right?
Thanks in advance

Neil

___
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] SiteAccess problems in Zope 2.2.0a

2000-05-18 Thread Chris Withers

Hi Alexander,

What does your access rule look like?

cheers,

Chris

___
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] Has anyone...?

2000-05-18 Thread Duncan Booth



> ...run multiple instances of Zope on an NT machine?
> I guess I should ask first if anyone has been successful getting thier NT
> Web Server to handle authentication/authorization to zope users via pcgi?
Yes and no. One of our servers is currently quite happily running 
two copies of Zope behind Apache. Several different virtual hosts 
are then redirected to one or other of the Zope servers. We aren't 
using PCGI though, instead we are using the PROXYPASS feature 
in Apache coupled with SiteAccess in Zope.


-- 
Duncan Booth [EMAIL PROTECTED]
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
http://dales.rmplc.co.uk/Duncan

___
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] Stopping tracebacks from appearing in HTML output

2000-05-18 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <4.3.1.2.2518170907.00aed770@regint>, David Trudgett
<[EMAIL PROTECTED]> writes
>My boss is the paranoid type, and doesn't want Python traceback information 
>being spat out in the event of an error (such as a NotFound error). I've 
>customised the standard_error_message, but the traceback is still appended 
>(albeit after the  tag).
>
>Is there any way to stop this behaviour?
>
>David Trudgett
>

Have you turned off debugging? ( -D switch )

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSL+kbTRdIWzaLpMEQLF1wCgzrT2E4rUb5K+c7fzZFbdFYpME20AoMUd
QTayRIgbr3DYH5Maz+AdVu6H
=h8PE
-END PGP SIGNATURE-

___
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] FSSession error

2000-05-18 Thread urs.beyeler

help ... i installed the FSSession-Product on Zope 2.1.6, also using 
GUF and MySQL-Connections. everything works fine till suddenly (when 
i try to access a site where the FSSession> is called) ...

Error Type: SystemError
Error Value: Failed to import class r from module Record

Traceback (innermost last):
   File /zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 214, 
in publish_module
   File /zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 179, in publish
   File /zope/Zope-2.1.6/lib/python/Zope/__init__.py, line 202, in 
zpublisher_exception_hook
 (Object: ElementWithAttributes)
   File /zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 165, in publish
   File /zope/Zope-2.1.6/lib/python/ZPublisher/mapply.py, line 160, in mapply
 (Object: userInsertForm)
   File /zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 102, 
in call_object
 (Object: userInsertForm)
   File /zope/Zope-2.1.6/lib/python/OFS/DTMLDocument.py, line 166, in __call__
 (Object: userInsertForm)
   File /zope/Zope-2.1.6/lib/python/DocumentTemplate/DT_String.py, 
line 502, in __call__
 (Object: userInsertForm)
   File /zope/Zope-2.1.6/lib/python/Products/FSSession/FSSession.py, 
line 116, in __call__
 (Object: FSSession)
   File /zope/Zope-2.1.6/lib/python/Products/FSSession/FSSession.py, 
line 142, in load
 (Object: FSSession)
SystemError: (see above)

any ideas?

urs

mailto:[EMAIL PROTECTED]

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




Re: [Zope] Unstable Zope when started at boot time Linux.....centinel solutions notvery acceptablevery acceptable

2000-05-18 Thread Tino Wildenhain

Hi Felipe,

if Zope is started as root, it switches to uid "nobody". Thus preventing
access to its directory or at least Zope cannot write over its
pid file and such. You may get appropriate messages in your logfile or
output
(if not sent to /dev/null of course)
So all you have to do is to start Zope with the appropriate user-id.
see "man su" for this.

Regards
Tino Wildenhain

"Felipe E. Barousse" wrote:
> 
> 
> I do believe this approach will work to restart crashed Zope but,  I
> would expect Zope to work correctly and be very stable when it is
> started from one of the rc startup scripts.
> 
> Well, at least it is a way to keep the system kind of working with
> "minimal" downtime...
> 
> My original idea was to put the start script as an inittab entry.
> Also I got a respone referencing some other utilities to keep Zope
> "alive" (i.e. restart it if crashed)
> 
> Maybe any of the Zope developers people can give us some illumination
> as to know what may be happening with this phenomenom of crashing Zope
> if started at boot time.

___
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] Stopping tracebacks from appearing in HTML output

2000-05-18 Thread David Trudgett

My boss is the paranoid type, and doesn't want Python traceback information 
being spat out in the event of an error (such as a NotFound error). I've 
customised the standard_error_message, but the traceback is still appended 
(albeit after the  tag).

Is there any way to stop this behaviour?

David Trudgett


___
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 )