Re: [Zope] 2.3 PythonScripts problem...

2001-01-31 Thread Curtis Maloney

On Monday 29 January 2001 20:45, Dario Lopez-Kästen wrote:
> are you using Internet Explorer to manage your site?
>

No.. I am using Netscape 4.76 under Linux

> We've had several problems where, in IE, Zope redirects evrything to
> index_html. We are forced to use Netscape to manage our sites.
>
> Is this your case too? We have this problem with 2.2.4, 2.2.5.
>
I never used PythonScripts under 2.2.x, only PythonMethods.

> /dario
>


Curtis.

___
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] Trying to Upload a File

2001-01-31 Thread Dieter Maurer

Yvonne Totty writes:
 > Anyway, I have a .pdf file going into a directory.
 > I go to 'Add File' and I get the error I sent before.
The directory happened to be in a "LocalFS".

Maybe, you are affected by a Zope 2.3/LocalFS incompatibility.

Search the mailing list archives.
I saw recently (today or yesterday) a path for LocalFS.


Dieter

___
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] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough

Hmmm.  I have a feeling that this may be related to a DNS lookup problem in
user folders that was solved in Zope 2.3.  Is it feasible for you to try
2.3?

- Original Message -
From: "Matt Gushee" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 3:52 PM
Subject: Re: [Zope] Extremely slow connection on local network (Zope 2.2.5,
Win2k)


> Chris McDonough wrote:
> >
> > If you visit localhost via the IP address (127.0.0.1), do you experience
the
> > same problem?
>
> Nope. When I'm sitting in front of the server, the connection is equally
> fast whether I use the actual host name, 'localhost', 127.0.0.1, or the
> external IP address (which is assigned by DHCP, by the way). Similarly,
> from a remote host, the connection is equally slow whether I use the
> bare or qualified hostname, or the IP address.
>
> > > I'm trying to set up a Zope-based intranet web site for my company,
but
> > > there's a very puzzling performance issue. Basically, any attempt to
>
> --
> Matt Gushee
>
> Consultant
> Architag International
> 6989 South Jordan Road, Suite 6
> Englewood, CO 80112
> Phone:   303.766.1336, x124
> Cell:303.941.0759
> Fax: 303.699.8331
>
> E-Mail:  [EMAIL PROTECTED]
> Web: http://architag.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] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough

If you visit localhost via the IP address (127.0.0.1), do you experience the
same problem?


- Original Message -
From: "Matt Gushee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 3:16 PM
Subject: [Zope] Extremely slow connection on local network (Zope 2.2.5,
Win2k)


> Hi, folks--
>
> I'm trying to set up a Zope-based intranet web site for my company, but
> there's a very puzzling performance issue. Basically, any attempt to
> connect to the server from another machine on the local network is
> really, really slow: for example, I just visited the default home page
> (the "Welcome to Zope" page that comes w/ the installation), and it took
> 25 seconds to load. More complex pages can take over a minute. I don't
> think Zope itself is running slowly, because if I log onto the server
> and access the site locally, it pops right up. I'm also running IIS on
> the same machine, and have no trouble accessing the IIS website from
> various hosts (I did make sure they weren't trying to use the same port
> -- Zope is on 8080, IIS is on 9680).
>
> Here's some info about the environment:
>
> Server Platform:
> 
> OS: Windows 2000 Professional w/ Service Pack 1
> (installed w/ Norton Ghost)
> Hardware: Celeron 600 Mhz, 160MB RAM
> Quirks: I added PyXML and ReportLab to \lib\python. I also
> added an external
> path with some other python packages to sys.path in z2.py.
> There is a separate Python 1.5.2 installation on the machine.
>
> Network:
> 
> Type: Ethernet 10-base-T, single subnet
> Router: FlowPoint DSL
> OSs: Mainly Windows 2000, with one Solaris box and a small but varying
> number of Linux,
> NT 4.0, and Win98 boxes.
> Domain Controllers (2): Windows 2000 Server running in mixed mode
>
> By the way, we have frequent performance problems with the network, but
> nothing nearly as severe as this. We suspect that not having enuf client
> licenses for Win2k Server may be part of the problem, but I don't see
> why that would affect Zope, especially since IIS seems to be fine.
>
> I would greatly appreciate any suggestions you may have.
> --
> Matt Gushee
>
> Consultant
> Architag International
> 6989 South Jordan Road, Suite 6
> Englewood, CO 80112
> Phone:   303.766.1336, x124
> Cell:303.941.0759
> Fax: 303.699.8331
>
> E-Mail:  [EMAIL PROTECTED]
> Web: http://architag.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 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.org downtime

2001-01-31 Thread ethan mindlace fremen

Zopatistas,

Zope.org has suffered a disk failure that evidently our raid array did not 
correctly recover from.

We should be back up shortly in "degraded" mode.

I am going to be working on changing things around so that the zeo clients 
to continue operating in read-only mode even if the storage/ staging server 
goes down.

Once replicated storage comes about, this single point of failure will go 
away.

Thanks for your understanding,
--
ethan mindlace fremen
zopatista community liason

___
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] Additional user properties

2001-01-31 Thread Ulrich Wisser

Hello Jens,

>to add additional user attributes you will need to replace the standard user
>folder that ships with zope with one of the replacement user folders
>available on zope.org.
>
>looking through the products or searching for user folder should bring up
>quite a few results.

I already tried that. But I didn't find any product which mentions
additional properties. Do you know one?

Thanks

Ulrich
-- 
Searchengine Know How  - Webpromotion - Optimization - Internal Search
World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg
http://www.publisher.de   Tel: +46-8-53460905Fax: +46-8-534 609 06


___
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] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Matt Gushee

Hi, folks--

I'm trying to set up a Zope-based intranet web site for my company, but
there's a very puzzling performance issue. Basically, any attempt to
connect to the server from another machine on the local network is
really, really slow: for example, I just visited the default home page
(the "Welcome to Zope" page that comes w/ the installation), and it took
25 seconds to load. More complex pages can take over a minute. I don't
think Zope itself is running slowly, because if I log onto the server
and access the site locally, it pops right up. I'm also running IIS on
the same machine, and have no trouble accessing the IIS website from
various hosts (I did make sure they weren't trying to use the same port
-- Zope is on 8080, IIS is on 9680).

Here's some info about the environment:

Server Platform:

OS: Windows 2000 Professional w/ Service Pack 1
(installed w/ Norton Ghost)
Hardware: Celeron 600 Mhz, 160MB RAM
Quirks: I added PyXML and ReportLab to \lib\python. I also
added an external
path with some other python packages to sys.path in z2.py.
There is a separate Python 1.5.2 installation on the machine.

Network:

Type: Ethernet 10-base-T, single subnet
Router: FlowPoint DSL
OSs: Mainly Windows 2000, with one Solaris box and a small but varying
number of Linux,
NT 4.0, and Win98 boxes.
Domain Controllers (2): Windows 2000 Server running in mixed mode

By the way, we have frequent performance problems with the network, but
nothing nearly as severe as this. We suspect that not having enuf client
licenses for Win2k Server may be part of the problem, but I don't see
why that would affect Zope, especially since IIS seems to be fine.

I would greatly appreciate any suggestions you may have.
-- 
Matt Gushee

Consultant
Architag International
6989 South Jordan Road, Suite 6
Englewood, CO 80112
Phone:   303.766.1336, x124  
Cell:303.941.0759
Fax: 303.699.8331

E-Mail:  [EMAIL PROTECTED]
Web: http://architag.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] www.zope.org down?

2001-01-31 Thread Martijn Pieters

On Wed, Jan 31, 2001 at 01:40:54PM -0600, Steve Drees wrote:
> Or is it a routing issue on my end?

No, it is a problem on our end.

Bind has been upgraded yesterday (probably related to the security issues
found this week), and the latest release must be giving our hosting
provider some problems.

With bind bailing out, Zope.org won't accept new connections. Before the
refusal of connections, mail didn't work either, so all Tracker, Zope.org
registartion and review activities were broken.

bayMountain is working to resolve the problems.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators 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 )




Re: [Zope] How to get a name of uploaded file

2001-01-31 Thread Fred Yankowski

On Wed, Jan 31, 2001 at 08:26:38PM +0100, Radek Hnilica wrote:
> Is there any way how to get a name of uploaded file.  I mean another than let user 
>type the name in another field.

There's a nice example of code for uploading external files in


-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

___
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] www.zope.org down?

2001-01-31 Thread Chris Withers

Steve Drees wrote:
> 
> Or is it a routing issue on my end?

Dead as a doornail for me :-S

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] orphan handling/sequence-size bug?

2001-01-31 Thread Olaf Zanger

sorry, got probably lost in space


hi there,

we take the sequence-size as seq_size for a dtml-in statement from a formular with
'get'
(as shown in DTML.html under batch processing)

()

if the seq_size is 2 and larger there is no trouble, if it is 1 
(&seq_size=1&query_start=2)
'next-sequence' does not exist in the second batch.

therfore it doesn't show a next-batch-link in the second batch.

seems to be a problem with the orphan handling

thanks

olaf


-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



Re: [Zope] Found an fatal error in Zope 2.3.0 :) RESOLVED

2001-01-31 Thread Radek Hnilica

This problem was completly resolved.  My mistake, I incorrectly create debian binary 
package.  After creating correct package the new zope 2.3.0 is up and running.

-- 
Radek Hnilica 

___
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] www.zope.org down?

2001-01-31 Thread Steve Drees

Or is it a routing issue on my end?

___
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 to get a name of uploaded file

2001-01-31 Thread Radek Hnilica

Hello zopists,

I create a small application.  User enters file via web interface, and this is parsed 
and pushed into SQL.
the input form is DTML method like this
 DTML method: send_file == I use [] instead of <>
[dtml-var standard_html_header]
...
  [form action="receive_file" method="post" enctype="multipart/form-data"]
...
[input type="File" name="file" value=""]
...
[input type="submit" value=" Send File "]
...
  [/form]
[dtml-var standard_html_footer]
== end of file =

The receive_file is external python method
= receive_file, function name= rcv_file
from string import strip
import pg

def rcv_file(self, REQUEST):
...
fileobj = REQUEST.form['file']
filelist = fileobj.readlines()
fileobj.close
for line in filelist:
(* parse line and push it into SQL server *)
...
== end of file 

Is there any way how to get a name of uploaded file.  I mean another than let user 
type the name in another field.
I was looking in REQUEST object and nothing about the filename found there.
I allso read Zope Book, digging in documentation arround, but with no success.

-- 
Radek Hnilica 

___
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] SiteAccess affects the Zope management interface

2001-01-31 Thread Fred Yankowski

I hadn't realized it before, but SiteAccess can cause really confusing
things in the Zope management interface!  When I installed Zope 2.3.0
and ran it on an unused port number to check it out while the main
Zope was still running, the top-level Zope folder displayed with the
new look (which is very well done, BTW), but when I would drill down
into a folder governed by a SiteRoot object the folders appeared with
the old (2.2.x) look.  This was quite a mystery until I realized that
although the tree frame on the left (and the new top frame) were
displaying pages served by the new Zope 2.3.0 process, the
right/folder frame was actually displaying a page served by my
older production Zope process running Zope 2.2.5!

My Zope tree is something like this:

/
+ /subsite1
+ /subsite2

subsite1 has a SiteRoot that gives the folder a new Base of
"http://subsite1.org".  Apache is sitting on port 80 and using
ProxyPass to map http://subsite1.org to
http://myhost.org:8080/subsite1.  Assume the new Zope ZServer is
running on port 9090.  So the listing for 'subsite1' in the tree
display has an HREF of http://myhost.org:9090/subsite1/manage_main.
When I click on that, the browser requests that URL from Zope on
myhost.org:9090.  Because of the SiteRoot object, the server sends
back an HTTP 302 response redirecting the browser to
http://subsite1.org/manage_main, which the browser dutifully requests.
The Apache server gets that request and forwards it via ProxyPass to
http://myhost.org:8080/subsite1/manage_main.  The other/older Zope
server on port 8080 fields that request (with SiteAccess converting
URLs) and sends it back to the browser, which displays it in the
large/right frame.  So now the left frame is displaying the objects
served by ZServer on port 8080 but the right frame is displaying the
contents of some object served by ZServer on port 9090.

One outcome of this for me is that I will now test the staging server
by running it this way (from bash):

SUPPRESS_SITEROOT=1 ./start.bat

so that SiteRoot translations are disabled.

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

___
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 memory usage / cache

2001-01-31 Thread ender

On Tuesday 30 January 2001 21:21, Ron Bickers wrote:
> > -Original Message-
> > From: ender [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 30, 2001 10:12 AM
> > To: Ron Bickers; [EMAIL PROTECTED]
> > Subject: Re: [Zope] Zope memory usage / cache
> >
> > this sounds like normal operating system behavior. memory isn't
> > being free'd
> > just dealloc and returned to the program heap and marked as available.
>
> Ok.  So you're saying that even though it says it's taking 50MB, much of
> that memory is probably available for other applications?  

warning: i'm on shaky ground here.

this is very os dependent. most os's don't resize a process's heap down on a 
dealloc. instead the heap has more available memory for that process (ie 
Zope), other processes will have to alloc from free memory.

the management of free heap space and disk caching is again os dependent, but 
a good os should try to do some optimization of heaps before thrashing, so 
starting a new process should cause a problem.


>Does this mean
> that if another application actually starts to use that memory that the
> Zope process should start showing a reduction in use? 

no.

> How can I (if I can)
> see how much is really available? 

 i'm not sure how you would do this on linux.


>Also, does the free memory below not
> necessarily reflect the amount of memory that is actually available for
> applications that may need it?

no it does not (again os dependent). free memory is indicator of the os free 
resources for new and current processes. for existing processes it is a 
indicator not a def. answer.

>  total   used   free sharedbuffers cached
> Mem:126312 122936   3376  48424   5820  29952
> -/+ buffers/cache:  87164  39148
> Swap:   530104  21876 508228
>
> Sorry if this is inappropriate for the Zope list.  I have only *noticed*
> this behavior with Zope, but that may not mean anything.

if you're on linux trying starting up a large app (gimp comes to mind as a 
good one) and loading and unloading some large docs, and watch what happens


kapil

___
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] Need zope sales training :)

2001-01-31 Thread Chris McDonough

I think something like this has already been done quite nicely in Zope:
http://www.hiretechs.com, although to look at how it actually works I think
you'd need to get a login.


- Original Message -
From: "Tom Jenkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 1:49 PM
Subject: [Zope] Need zope sales training :)


> Hello folks,
> We have a project being discussed here at work where I think zope would
fit
> nicely.  I explained my thoughts on how zope fits to the project manager
and
> all I got for my efforts was a blank stare.  Obviously some
> miscommunication.  The project is a resume "database".  The user would
> upload resumes into a database, with some additional fields for other
> information related to the person.  The resumes and additional fields
would
> be searchable.  The user thought it would be very interesting for them if
> the resumes, searching, etc were available over the Web so that field
> offices could access them.
>
> My thought is that this would be perfect for zope using zcatalog.  Now I
> haven't done any work with zcatalog but it sure seems like a perfect fit.
>
> Am I on the right track here?  What points can I bring to bear?
>
> Thanks for any advice
>
> 
> Tom Jenkins   |Its
> devIS - Development InfoStructure |all you
> 703.525.6485   [EMAIL PROTECTED] |need it
> http://www.devis.com  |to be
>
>
> ___
> 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] Need zope sales training :)

2001-01-31 Thread Tom Jenkins

Hello folks,
We have a project being discussed here at work where I think zope would fit
nicely.  I explained my thoughts on how zope fits to the project manager and
all I got for my efforts was a blank stare.  Obviously some
miscommunication.  The project is a resume "database".  The user would
upload resumes into a database, with some additional fields for other
information related to the person.  The resumes and additional fields would
be searchable.  The user thought it would be very interesting for them if
the resumes, searching, etc were available over the Web so that field
offices could access them.

My thought is that this would be perfect for zope using zcatalog.  Now I
haven't done any work with zcatalog but it sure seems like a perfect fit.

Am I on the right track here?  What points can I bring to bear?

Thanks for any advice


Tom Jenkins   |Its
devIS - Development InfoStructure |all you
703.525.6485   [EMAIL PROTECTED] |need it
http://www.devis.com  |to be
 

___
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] Rational Continous sourcecontrol with Zope??

2001-01-31 Thread peter bengtson

Community friends,

I work as a web application developer for a software company, using Zope and
occationally PHP.
My company has recently bought and installed a software called Continous.
It's sourcecontrol and issue/bug tracking. The kind of stuff that
compiled-language-developers use. The company that does Continous is
Rational ...something.

My CTO is very keen to use this. He wants also me to use it for my Zope
stuff. I offered to "checkin" some backup zexp files there, and use the
issue/bug tracking system without using the sourcecontrol stuff.
Is there a way to integrate websites done in Zope with sourcecontrol systems
such as Continous?? ...without massive overhead and excessive clumpsy
handling.
I like the idea of sourcecontrol on Zope, leaving the Version product
behind, but I don't want to loose the fast and flexible workflow I have with
Zope today.

Any advice out there on sourcecontrol systems together with Zope?


Peter


___
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] A little sqltest patch: op=ne multiple

2001-01-31 Thread Shai Berger

Hi guys,

The following trivial patch lets dtml-sqltest make sense
of multiple inequality tests, that is: Currently



has the funny behavior of rendering

name<>val

when passed a single value, and

name in (val1,val2)

when a list is passed. With this fix, the latter case becomes

name not in (val1,val2)

(It might be considered a good idea to take care of the other
ops too, but that would be non-trivial ;-)

Have fun,
Shai.

*** sqltest.py  Wed Jan 31 19:42:15 2001
--- old_sqltest.py  Tue May 30 18:46:55 2000
***
*** 222,229 
  
  if len(vs) > 1:
  vs=join(map(str,vs),', ')
- if (self.op == comparison_operators['ne']):
- return "%s not in (%s)" % (self.column,vs)
  return "%s in (%s)" % (self.column,vs)
  return "%s %s %s" % (self.column, self.op, vs[0])
  
--- 222,227 

___
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] Parameter from DTML-Document to SQL-Method

2001-01-31 Thread peter bengtson

Very strange that you don't get an error though.
Your DTML is wrong. You're not sending the _value_ or 'value' you're sending
a value that looks like this: ""

Here's the correct way.




Peter


- Original Message -
From: "Axel Missbach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 4:52 PM
Subject: [Zope] Parameter from DTML-Document to SQL-Method


> Hi to all,
>
> I am trying a long time to get the result of an query in the document,
> or perhaps get the parameter in the query.
> It looks like this:
>
> 
> 
>
>#code is part of the query-result
> .
> .
> 
>
> Viewing the document, i got no result (and no error).
> Testing the query with value= Test, the result is ok!
>
> thanks very much in advance
>
> axel
>
> ___
> 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] REMINDER: Zope track at Python 9!

2001-01-31 Thread Brian Lloyd

Hello all,

Just a reminder that the ninth international Python conference 
is right around the corner, and that there will be a Zope track 
again this year. More information on the Zope Track at Python 9 
may be found at:

http://www.python9.org/p9-zope1.html


We invite you to come out and meet fellow Zopistas, learn about 
Perl for Zope, the future of ZPatterns and what's in store for 
Zope in 2001. Note that "early bird" registration for Python 9 
ends February 2nd - for more information about Python 9 or the 
Zope Track see http://www.python9.org/.


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 )




[Zope] Parameter from DTML-Document to SQL-Method

2001-01-31 Thread Axel Missbach

Hi to all,

I am trying a long time to get the result of an query in the document,
or perhaps get the parameter in the query.
It looks like this: 




   #code is part of the query-result
.
.


Viewing the document, i got no result (and no error).  
Testing the query with value= Test, the result is ok!

thanks very much in advance

axel

___
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: PopMail Client

2001-01-31 Thread Spicklemire, Jerry

David promptly replied:

Hi Jerry,

It's hard to diagnose from what you've sent me.  Can you send me the
full traceback (from the HTML source code of the error page)?  That will
make determining where the error occurred a lot easier.


So the very least I could do was respond with:

-
The first one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: ListMessages())
(Info: ListMessages)
  File , line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


---
The second one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: ListMessages())
(Info: ListMessages)
  File , line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


"Spicklemire, Jerry" wrote:
> 
> Hi David,
> 
> I'm looking at your Pop3 Client tool for Zope and have hit a snag.
> Is there any documentation about correct usage, or example (Zope) code?
> 
> I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3,
> and PopMail .0.0.2
> 
> I have looked over POP.py, and have a glimmer of what to do to call
> these methods and functions. I have added a Pop Client Folder, and a
> client account object, but when I try to use the "View" tab in the
> Zope TTW GUI, I get the tracebacks, below.
> 
> The 'error_proto' is a reference to the first class listed in poplib.py,
> which simply 'pass(es)' when an Exception is used as a parameter. One
> thing I noticed is that poplib seems to treat error_proto as a function
> sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
> Now you know as much (hopefully much more!) than I do.
> 
> Thanks for any help!
> Jerry S.
> 
> -
> First this shows up,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: error_proto
> Error Value: -ERR Not implemented
> 
> -
> and then a few seconds later this one,
> 
> Zope Error
> Zope has enco

[Zope] Re: PopMail Client

2001-01-31 Thread David Shaw

Hi Jerry,

It's hard to diagnose from what you've sent me.  Can you send me the
full traceback (from the HTML source code of the error page)?  That will
make determining where the error occurred a lot easier.


"Spicklemire, Jerry" wrote:
> 
> Hi David,
> 
> I'm looking at your Pop3 Client tool for Zope and have hit a snag.
> Is there any documentation about correct usage, or example (Zope) code?
> 
> I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3,
> and PopMail .0.0.2
> 
> I have looked over POP.py, and have a glimmer of what to do to call
> these methods and functions. I have added a Pop Client Folder, and a
> client account object, but when I try to use the "View" tab in the
> Zope TTW GUI, I get the tracebacks, below.
> 
> The 'error_proto' is a reference to the first class listed in poplib.py,
> which simply 'pass(es)' when an Exception is used as a parameter. One
> thing I noticed is that poplib seems to treat error_proto as a function
> sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
> Now you know as much (hopefully much more!) than I do.
> 
> Thanks for any help!
> Jerry S.
> 
> -
> First this shows up,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: error_proto
> Error Value: -ERR Not implemented
> 
> -
> and then a few seconds later this one,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: error_proto
> Error Value: -ERR Mailbox in use

-- 
David Shaw
Senior Software Developer
ZapMedia
678.420.2715

___
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] PopMail Client

2001-01-31 Thread Spicklemire, Jerry

Hi David,

I'm looking at your Pop3 Client tool for Zope and have hit a snag.
Is there any documentation about correct usage, or example (Zope) code?

I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3, 
and PopMail .0.0.2

I have looked over POP.py, and have a glimmer of what to do to call 
these methods and functions. I have added a Pop Client Folder, and a 
client account object, but when I try to use the "View" tab in the 
Zope TTW GUI, I get the tracebacks, below.

The 'error_proto' is a reference to the first class listed in poplib.py, 
which simply 'pass(es)' when an Exception is used as a parameter. One 
thing I noticed is that poplib seems to treat error_proto as a function 
sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
Now you know as much (hopefully much more!) than I do.

Thanks for any help!
Jerry S.

-
First this shows up,

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

Error Type: error_proto
Error Value: -ERR Not implemented

-
and then a few seconds later this one,

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

Error Type: error_proto
Error Value: -ERR Mailbox in use

___
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] ZDatabaseTool & PDF

2001-01-31 Thread Damir Bartakovic

Hi Andreas and all the others,

here is another Newbie to zope :-) 
The ZDatabaseTool seems to be the solution for some tasks I have. 
Especially the "print to pdf" option. How did you solve it, Andreas? 
I heard something about a pdf-library for python, but I am just beginning
programming in python and Zope, so I don't know where to start.
Is there a how-to somewhere or can you give me some hints how to realize
that?

Apart from that I am getting some javascript errors when I trying the
demo:
At "What selection criteria do you require?".

IE 5.0:
Zeile: 218 
Zeichen: 1
'document.FORMKEYPAD is not an object'
Code: 0
*

+
Netscape 4.7: 
JavaScript Error:
http://www.easyleading.org/demo/000Free20010129165939/zzztest20010130160005/sqlWizardSelect5,
line 218:

document.FORMKEYPAD has no properties. 
+

But it seems to work ingnoring the error. 
When I finally can make my query I get a new error:


IE 5.0:
Zeile: 44
Zeichen: 3
'undefined is not an object'
Code: 0
URL:
http://www.easyleading.org/demo/000Free20010129165939/zzzdopes_query20010130152417
*

+
Netscape 4.7:
JavaScript Error:
http://www.easyleading.org/demo/000Free20010129165939/zzztest20010130160005/index_html,
line 42:

display has no properties. 
+

But anyway it seems to work and I like it so far.

cheers 
Damir

On Tue, 30 Jan 2001, Andreas Heckel wrote:

> Thank you all for your interest in my new Zope Product.
> In the past 36h there were avg 750 visits (26000 hits) on my page :-)
> Some of you asked me for username/password. So here it is ...
> 
> To create new ZDatabaseWizard objects at http://www.easyleading.org/demo
> first go to the folder named "Free".
> 
> username: demo
> password: demo
> 
> Hope the online demo makes more sense to you with this info ;-)
> 
> Andreas
> 
> ___
> 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] DumbZPatternsExample

2001-01-31 Thread Godefroid Chapelle

Hi all,

The files found at
http://www.zope.org/Members/sspickle/DumbZPatternsExample are not usable
with Zope 2.3.

Would it be possible to someone (Steve S. ;-) to update them ?

Thanks a lot.

--

Godefroid Chapelle
BubbleNet
30, rue Victor Horta
B-1348 Louvain-la-Neuve (Belgium)
+32 (10) 45 06 46


PS Sorry if this is a second instance of the message but other messages
I posted later than first try are already mirrored on egroups...

___
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] Rating site.

2001-01-31 Thread Andy McKay

- Original Message -
From: "Ignacio Valdes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 6:49 AM
Subject: [Zope] Rating site.


> Or if it is possible to add fields to a squish article?

Of course. I quickly added viewed index into Squishdot using the filesystem
to this site www.zopezen.org, a simply rating system would be pretty
straightforward.
--
  Andy McKay.


___
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: sessions/noundo dbs/mounting/exmount

2001-01-31 Thread Chris McDonough

> thanks for the prompt replies.  to recap, i have
> -Berkeley DB
> -External Mount
> -something that i'm not too sure of :)
>
> as i see it, i can use External mount to mount berkeley Db.  that will
then
> give me a nonundo, nonversioning db.. right?

Well, I know you're using ZEO with a FileStorage as your "main" storage, so
you'll need to mount a ClientStorage which talks to a ZEO server backed by a
nonundo db.  The ZEO docs give some info about using a single ZEO server to
serve two databases (see the -S switch to the ZEO 'start' command).

So basically, you need do do something like:

   Client  Client  Client
 |  |   |
 |  |   |
 |  |   |
   Zeo Storage Server
 /   \
 nonundostorage (mounted)   filestorage (main)

Where all clients have a "main" database that is the ZSS' filestorage and
all clients additionally have a ClientStorage mounted (via exmount or
another way) that points to the ZSS' nonundo storage.

An alternate way is:

   Client  Client  Client
 |  |   |
 |  |   |
 |  |   |
   Zeo Storage Server
|
|
 nonundostorage (main)

In this case, all clients use a "main" database that is nonundoing, so you
can put the external data container right in there without worrying about
any mounting.

> if i use FileStorage with ExternalMount, it'll be just another ZODB.  i
hope
> i'm right.

Yes.

> if i want to use it across ZEO Clients, i *must* use ZEO.ClientStorage.
> correct me if i'm wrong, please.

Yes.

> to test a simple setup, i tried FileStorage with External Mount.  and i
> encountered a little problem.  here's what i have
> -ExternalMount
> -External Method[1]

> when i tried adding an ExternalMount, i got this[2] traceback.  help?

I think this exposes an error in Mount.py.  :-(  Is there anything in your
debug log?

>
> p/s - what about storing CoreSessionTracking data in RDB?

It's my hope that people will write session data managers that do just this.
The session tracking stuff is extensible.  As a matter of fact, I don't
think it would be too hard to adapt the existing FSSession and SQLSession
products to be session data managers.

> --
> [1]
> ---ExtDB.py
>
> import ZODB
> from ZODB.FileStorage import FileStorage
>
> def createDB():
> return ZODB.DB(FileStorage('/home/kdie/Zope/var/ext.fs'))
> 
> [2]
>  NameError
>
>   Sorry, a Zope error occurred.
> 
> http://www.kedai.com.my/kk
> http://www.kedai.com.my/eZine
>
> as you woke this morning, and open up your eyes, did you notice the tear
> stains lining your face were mine..
>
>
> ___
> 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] Zope on OpenBSD 2.8 problem solved

2001-01-31 Thread Ragnar Beer

I understood that the workaround he suggested also works with 
-current. I submitted the bug a couple of days ago. The ID is 1631 if 
you want to search for it.

Ragnar

>Ragnar Beer wrote:
>
>>  Did you understand form Jason Ish's message that it should be working
>>  with -current or did you compile and test it yourself? I compiled
>>  -current last week and it didn't work and there have been no changes
>>  to the source since then.
>
>I just took his word for it:
>
>>  - python on this system uses /usr/lib/libc_r.so.3.3
>
>>  hmm, freaky.. works fine on my -current system.. I remember it being a
>>  bitch with Zope 2.2.4. well, the management interface works just fine
>>  where it was dying before.
>
>So if it doesn't work, somebody should notify the OpenBSD people. I
>assume other Python applications than Zope have problems with this?
>
>
>Alexander Limi.


___
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] Fwd: What group is user "zope" in, and what is its home dir?

2001-01-31 Thread Chris McDonough

This depends almost entirely on your installation.

See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO
for more information (and a particular strategy) for setting UNIX
permissions for Zope.

- Original Message -
From: "Deja User" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 3:21 AM
Subject: [Zope] Fwd: What group is user "zope" in, and what is its home dir?


> Subject: What group is user "zope" in, and what is its home dir?
>  Which files are owned by "zope" which by "root" and which by
"nobody"?
>
>
>
>
> 
> --== Sent via Deja.com ==--
> http://www.deja.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 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] Additional user properties

2001-01-31 Thread Ulrich Wisser

Hello,

I nned to retrieve some additional properties with my users.
How can I make AUTHENTICATED_USER.email to be valid?

Thanks

Ulrich
-- 
Searchengine Know How  - Webpromotion - Optimization - Internal Search
World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg
http://www.publisher.de   Tel: +46-8-53460905Fax: +46-8-534 609 06


___
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] Rating site.

2001-01-31 Thread Ignacio Valdes

Hello, I'm trying to build a rating site for medical software which will
be identical in functionality to the http://www.icewalker.com and/or
http://www.zope-treasures.com site except for the purple colors. I'm
currently running squishdot, which I could use pretty easily if you
could add extra fields associated with a squish article, but so far I
haven't had success in that direction :-( I've asked the zope-treasures
people for their code, but they are running Sybase behind theirs and I'm
using Zope only. Does anyone know of something that I might use for
this? Or if it is possible to add fields to a squish article? I know PTK
will have this, but I'm facing competition so I need to get something
working soon. -- IV


___
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] CoreSessionTracking timeout

2001-01-31 Thread Chris McDonough

Oliver,

> If timeout expires I expect
> 'Before change:' to be empty again, thus generating a new token. But it
> isn't. It still uses the old token. What's going on?

Just for clarification:  core session tracking tokens don't expire.  Session
data objects associated with tokens expire.  See the section "Session Id
(Non-)Expiration" in the help doc.  Your question is still valid, however.

The timeout parameter isn't exact.  In the current implementation, for
example, if your timeout is set to 20 minutes, it could take up to 40
minutes to expire the data object associated with the token.  It will
expire, however.  I need to work on making this more exact, but for now
consider the timeout the "minimum" amount of time before a session data
object will expire.

HTH,

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

2001-01-31 Thread Chris Withers

Toby Dickenson wrote:
> 
> One option is a debugging http proxy I like
> http://www.cyberclip.com/webdebug/index.html

Also try Shane's TCPWatch.py script :-)

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] Error defining permissions in ZClass in Zop3-2.3

2001-01-31 Thread Brian Lloyd

> When I want to define a permission a ZClass or a folder in a 
> ZClass with the 
> management - Interface in Zope 2.3, I alwasy get the following 
> error message:
> 
> Error Type: TypeError
> Error Value: too many arguments; expected 2, got 3
> 
> When I did exactly the same thing under the same circumstances in 
> Zope-2.2.5, 
> it worked fine.
> 
> Because of this error, it's now impossible to access a dtml-method in a 
> folder in a ZClassby an object of this ZClass.
> 
> Has anybody an indea what I'm might doing wrong, or what has 
> changed in 2.3 
> that I have to do it differently an how? 
> Or ist this simply a bug?

It was a bug (already fixed in CVS). You can get the updated
lib/python/App/Permission.py from the public CVS to work 
around it for now. I anticipate making a 2.3.1 release in the 
next few weeks - we want to allow enough time for all of 
these kinds of things to shake out.

In the meantime, I may post some sort of unofficial update 
.tgz so that people who are CVS-averse aren't blocked by 
the issues that come up along the way.


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] problem with ZUBB / no topic set

2001-01-31 Thread J. Atwood

Hey Oliver,

I have not yet tested ZUBB 0.6 on 2.3 (will try soon) but I think I 
have seen this before. Did you remember to give the ZTopic a title 
when you created it?

J


At 1:05 PM +0100 1/31/01, Oliver Frommel wrote:
>Hello,
>
>after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with
>the single exception that the topic of no message gets set. That means,
>after posting, all messages show "(no subject)".
>The message preview HTML source still shows the correct value in the hidden
>input form tag named "title". Could the problem be a clash between the "title"
>form entry and the title of another Zope object?
>I am using ZDiscussions-0.6 and Zope 2.3.0.
>
>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 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] compress data.fs

2001-01-31 Thread Chris McDonough

Control_Panel->Database->Pack.

- Original Message -
From: "Olaf Zanger" <[EMAIL PROTECTED]>
To: "Zope Mailinglist" <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 6:43 AM
Subject: [Zope] compress data.fs


> hi there,
>
> my data.fs grew to formidable 42MB, since we'd deleted quite some stuff
we'd like to
> compress it (get rid of the undo data for old stuff)
>
> how to do that?
>
> thanks
>
> olaf
>
> --
> soli-con Engineering Zanger
> Dipl.-Ing. (FH) Olaf Marc Zanger
> Lorrainestrasse 23
> 3013 Bern / Switzerland
> Fon: +41-31-332 9782
> Mob: +41-76-572 9782
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> http://www.soli-con.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] Problem with LocalFS (_local_path)

2001-01-31 Thread Tim Cook

Oliver Frommel wrote:

> this seems to add the localfs but makes listing the contents of the
> containg folder impossible. What's ging on here?
> 


http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/61B0755228EDCCB7 

Just yesterday. The mailing list archives are a wonderful
resource.

-- Tim Cook, President --
Free Practice Management,Inc. | http://www.FreePM.com Office:
(901) 884-4126
"Liberty has never come from the government." - Woodrow Wilson

___
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] Error defining permissions in ZClass in Zop3-2.3

2001-01-31 Thread Klaus Woelfel

When I want to define a permission a ZClass or a folder in a ZClass with the 
management - Interface in Zope 2.3, I alwasy get the following error message:

Error Type: TypeError
Error Value: too many arguments; expected 2, got 3

When I did exactly the same thing under the same circumstances in Zope-2.2.5, 
it worked fine.

Because of this error, it's now impossible to access a dtml-method in a 
folder in a ZClassby an object of this ZClass.

Has anybody an indea what I'm might doing wrong, or what has changed in 2.3 
that I have to do it differently an how? 
Or ist this simply a bug?

Thanks,
Klaus

___
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] http protocol

2001-01-31 Thread Toby Dickenson

On Fri, 26 Jan 2001 09:17:02 +0100, Oliver Vecernik <[EMAIL PROTECTED]>
wrote:

>Hi all,
>
>I'd like to write an http client for an embedded system to get
>information from Zope. For debugging I want to see the traffic between
>the client and Zope (http protocol). How can this be achieved?

One option is a debugging http proxy I like
http://www.cyberclip.com/webdebug/index.html

Toby Dickenson
[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] performance problem

2001-01-31 Thread Torsten Gallmeister

hello,

could anybody help?
Have a perforemance prob. The DB (Data.fs) size is 25 MB. If using ZOPE
"normal" the process will be around 35 MB. Ok.
Have sopme pdf documents in the presentation. I reduced the DB size with
the LocalFS Product. After a search-engine scan over my site the process
grows up to 100 MB and more  The server slows down. ...and there
will be some doc's more in future.
My question: is there a way to keep the process-size a little smaller?

Thanks,
Torsten.


___
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] Found an fatal error in Zope 2.3.0 :)

2001-01-31 Thread Martijn Pieters

On Wed, Jan 31, 2001 at 12:59:55PM +0100, Radek Hnilica wrote:
>   Hello all,
> 
> While trying to debianize, compile and install new zope 2.3.0 I found
> that file z2.py doesn't contain necesary first line.  I look to previous
> version 2.2.4 and there it is.
> 
> #!/usr/bin/env python
> 
> The source was taken from zope.org. I'v also look at CVS and there it's
> missing to.

The line has been added by the maintainer of the Debian package of Zope,
Gregor Hoffleit. The line was never there in Zope CVS.

Zope binary and source distributions use a shell script called 'start' to
run z2.py with the python interpreter. Read the documentation that comes
with the source distribution.

You can of course always add the line yourself.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators 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] Change Security settings.

2001-01-31 Thread Gordon Bergström

Dear group.

Is it possible and do I change the Security settings for an Object 
programmaticly?

Regards

Gordon


___
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] .isCurrentDay strangeness

2001-01-31 Thread Michael Angelo

i have been testing this for a few days and it rectifies the problem quite
nicely.

thanks for your help!!

--

-Original Message-
From: JP Gilles [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 11:40 AM
To: Michael Angelo
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] .isCurrentDay strangeness


hi

This work - tested




  
  


  

  

  

  
[Edit]
  
  
  





Michael Angelo a écrit :
>
> hi all,
>
> i have an indexing script which highlights the modification date table
cell
> depending on whether the indexed object was modified today or in the past
> month. however, it seems a bit flakey. todays red cells (modified today)
> were objects modified on Aug 25, 2000 6:34 pm and Sep 25, 2000 5:09 pm. i
am
> thinking that the .isCurrentDay method is buggy. anyway, here is the
> script - if i goofed maybe you can find it.
>
>   sort="bobobase_modification_time" reverse>
>   
>   
>   title_or_id>
>  
> fmt="aCommon">
>  
> fmt="aCommon">
>  
> fmt="aCommon">
>  
>  
>   
>   [ color="#00">
>   Edit]
>   
>  
>
>   
>  
> 
>
> Zope overlord wisdom greatly appreciated ;-)
>
> --
>
> ___
> 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] User Sessions

2001-01-31 Thread Chris Withers

Oleg Broytmann wrote:
> 
>Oh, no, no, no. I, for example, use at least two different computers
> with 2 different screen resolutions, so I certainly want to store these
> preferences in my cookie files (these files are different on these 2
> computers, of course).

No problem, just have another _user_ preference which says whether ZMI
preferences are stored as Browser Preferences or User Preferences.

Then you and me can both be happy, even if we're using the same server ;-)

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] LoginManager dlpierson example

2001-01-31 Thread Fred Yankowski

I just realized that I responded in terms of a PythonMethod when you
asked about a PythonScript.  My ZClass functions for my LoginManager
subclass are all PythonMethods, yet to be converted to Python
Scripts.  My 'authenticate' method takes (self, password, request) as
parameters and has for the function body only

return password == self.password

I suspect that an equivalent PythonScript will need to take password
and request as parameters (not so sure about 'request') and will have
a body like this:

return password == container.password

Ah, what the heck...  OK, I just converted my authenticate script as
above and it seems to still work fine.

On Wed, Jan 31, 2001 at 07:32:14PM +1300, W. Robert Kellock wrote:
> On passing 'request' (why the extra argument anyway?) I got
> 
> Error Type: TypeError
> Error Value: not enough arguments; expected 3, got 2
> 
> so I'm wondering have you got LoginManager to work on the Zope 2.3.0 release?

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

___
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: where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica

> Not to forget:
>   3) ship patches to the maintainer if it works for you - may be this will
>  help him :)

I'm in mail contact.  If I found something interesting, I send it to him.

-- 
Radek Hnilica 

___
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] User Sessions

2001-01-31 Thread Oleg Broytmann

On Wed, 31 Jan 2001, Chris Withers wrote:
> No problem, just have another _user_ preference which says whether ZMI
> preferences are stored as Browser Preferences or User Preferences.
>
> Then you and me can both be happy, even if we're using the same server ;-)

   Right! Give free choice to a user !! (No, I am not about GPL, you know!!! :)

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [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] Zope on OpenBSD 2.8 problem solved

2001-01-31 Thread Alexander Limi

Ragnar Beer wrote:

> Did you understand form Jason Ish's message that it should be working
> with -current or did you compile and test it yourself? I compiled
> -current last week and it didn't work and there have been no changes
> to the source since then.

I just took his word for it:

> - python on this system uses /usr/lib/libc_r.so.3.3

> hmm, freaky.. works fine on my -current system.. I remember it being a
> bitch with Zope 2.2.4. well, the management interface works just fine
> where it was dying before.

So if it doesn't work, somebody should notify the OpenBSD people. I
assume other Python applications than Zope have problems with this?


Alexander Limi.



___
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: [Zope-dev] Poor programming practice?

2001-01-31 Thread Robin Becker

In article , Ragnar Beer
<[EMAIL PROTECTED]> writes
>What's the go4 book?
>
>Ragnar
>
>>yes I have the go4 book and I fully agree that one or other of the above
>>patterns would be feasible. The problem is that the base medusa comes
>>from Sam Rushing and Zope makes use of it. I guess since I already patch
>>the Zope code I could just extend the patch, but the best solution would
>>come from having two main players agree on such stuff.
>>--
>>Robin Becker
>
gang of four Gamma et al
-- 
Robin Becker

___
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] Problem with LocalFS (_local_path)

2001-01-31 Thread Oliver Frommel

Hi,

I am trying to install LocalFS 0.9.6 on Zope 2.3.0 and get the following
error:

Error Type: AttributeError
Error Value: _local_path

Traceback (innermost last):
  File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in 
publish_module
  File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /opt2/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
(Object: Traversable)
  File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_main)
  File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: manage_main)
  File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in 
__call__
(Object: manage_main)
  File /opt2/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py, line 353, in 
_bindAndExec
(Object: manage_main)
  File /opt2/Zope-2.3.0-src/lib/python/App/special_dtml.py, line 236, in _exec
(Object: manage_main)
  File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_In.py, line 711, in 
renderwob
(Object: objectItems)
  File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render
(Object: sequence-key)
  File /opt2/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_Var.py, line 271, in render
(Object: bobobase_modification_time)
  File /opt2/Zope-2.3.0-src/lib/python/Products/LocalFS/LocalFS.py, line 979, in 
bobobase_modification_time
(Object: rafiles)
AttributeError: (see above)



this seems to add the localfs but makes listing the contents of the 
containg folder impossible. What's ging on here? 

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] problem with ZUBB / no topic set

2001-01-31 Thread Oliver Frommel

Hello,

after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with
the single exception that the topic of no message gets set. That means,
after posting, all messages show "(no subject)".
The message preview HTML source still shows the correct value in the hidden
input form tag named "title". Could the problem be a clash between the "title"
form entry and the title of another Zope object?
I am using ZDiscussions-0.6 and Zope 2.3.0.

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] Found an fatal error in Zope 2.3.0 :)

2001-01-31 Thread Radek Hnilica

Hello all,

While trying to debianize, compile and install new zope 2.3.0 I found that
file z2.py doesn't contain necesary first line.  I look to previous version 2.2.4 and 
there it is.

#!/usr/bin/env python

The source was taken from zope.org. I'v also look at CVS and there
it's missing to.

-- 
Radek Hnilica 

___
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: where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Andreas Tille

On Wed, 31 Jan 2001, Stephane Bortzmeyer wrote:

> Like every Debian package:
> 
> 1) (simplest way but you need deb-src lines in your sources.list):
> 
> apt-get source zope
> 
> 2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive.
Not to forget:
  3) ship patches to the maintainer if it works for you - may be this will
 help him :)

Kind regards

Andreas.


___
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: [Zope-dev] Poor programming practice?

2001-01-31 Thread Ragnar Beer

What's the go4 book?

Ragnar

>yes I have the go4 book and I fully agree that one or other of the above
>patterns would be feasible. The problem is that the base medusa comes
>from Sam Rushing and Zope makes use of it. I guess since I already patch
>the Zope code I could just extend the patch, but the best solution would
>come from having two main players agree on such stuff.
>--
>Robin Becker

___
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] User Sessions

2001-01-31 Thread Oleg Broytmann

On Wed, 31 Jan 2001, Chris Withers wrote:

> > state with authenticated users.  It's just not as useful because once
> > they're authenticated you'd probably be better off associating the state
> > with their user object.
>
> Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in
> order?
>
> How I'd like to see text box widths and top frame preference stored against
> the user, not the domain name/browser... :-S

   Oh, no, no, no. I, for example, use at least two different computers
with 2 different screen resolutions, so I certainly want to store these
preferences in my cookie files (these files are different on these 2
computers, of course).

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [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 )




[Zope] compress data.fs

2001-01-31 Thread Olaf Zanger

hi there,

my data.fs grew to formidable 42MB, since we'd deleted quite some stuff we'd like to
compress it (get rid of the undo data for old stuff)

how to do that?

thanks

olaf

-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



Re: [Zope] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica

> On Wednesday 31 January 2001, at 11 h 8, the keyboard of Radek Hnilica 
 
> This is quite common: most upstream maintainers do not want to ship debian/ 
> directory, ".spec" file, etc.

For example the Gwydion Dylan compiler has debian directory in their CVS.  It's nice 
thing if it's up to date.

> > Do anyone know where the debianised source can be taken from.
 
> 2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive.

I know how to get and compile debianized source, but in official tree the latest 
version of zope is 2.2.4-3.  In this time I'm trying to use debian directory from 
2.2.4 and for sure rename 2.3.0 to 2.2.9-1.


-- 
Radek Hnilica 

___
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: Decision question from a beginner

2001-01-31 Thread Godefroid Chapelle

--- In [EMAIL PROTECTED], "Christophe Lombart" <[EMAIL PROTECTED]> wrote:
> Tha's clear Zope is really interesting for my web application but I

have a
> small issue concering java.  My customer is using Java (mainly

servlet &
> EJB). It is a well know question on your mailing lists but I want to

be sure
> to understand everything.
>
> So, can you confirm or give some feedbacks on the following

questions :
>
> 1. Is it possible to add a servlet in my Zope server. By this way, I

have
> the strong features like security defined in Zope and it is not

necessary to
> rewrite the code defined in this servlet.
>
> 2. If I understand, I can write my business logic in python. From

this
> python code, I can used a java package (thanks to jython). So I can

call an
> EJB method from a zope object. Is it correct ?
>
> This kind of integration is much interesting for my customer than

rewrite
> all in python. In fact, his idea is using Zope for the content

management
> and EJB for the business logic. All comments are welcome on that.
>
> Many thanks in advance
> Christophe
>
>
>
I think there are no servlet plugholes in Zope.

>From my basic understanding, I would state that integration of Zope with
Java (ie EJB server) is possible only through CORBA and a Python ORB (ie
OmniORB), which would be quite nice technical work.--

Godefroid Chapelle
BubbleNet
30, rue Victor Horta
B-1348 Louvain-la-Neuve (Belgium)
+32 (10) 45 06 46



___
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] Decision question from a beginner

2001-01-31 Thread Phil Harris

Christophe,

I'll try to throw some light on some of this.

1.  There is a piece of software in development called JPE, 
Java-Python-Extensions, you'll find it on sourceforge.net.  It says that it allows you 
to use Python modules from Java and vice-versa.  This may be a way to get Zope talking 
with Java and it's associated ways of doing things (EJB, JSP, etc).

2.  Yes you can/should write your logic in Python.  Normally CPython and JPython 
don't talk all that well, but using JPE this may change.

Now for the caveats, I am in no way associated with the jpe project and am struggling 
to get it working at all myself.  It is developed on Win32 and expects some pretty 
specific things in place (better to read the docs than listen to me tho).

That said it does look interesting.

Another way to look at this is to have a front-end Apache that maps Zope and lets say 
Tomcat into the same URL space.  This would allow your users to at least think that 
it's all one server doing the work.  The biggest problem with this is that the Zope 
security wouldn't cover the Tomcat parts and vice versa.  There are bound to be other 
problems with this way of doing things, I'm no expert 8¬).

If anyone does manage to get the JPE wotsit working then I'd like to know the recipe, 
pretty please 8¬).

hth

Phil
[EMAIL PROTECTED]

On Wed, 31 Jan 2001 11:04:13 +0100, I seem to recall, Christophe <"Christophe Lombart" 
<[EMAIL PROTECTED]>> scrawled something like:

> Tha's clear Zope is really interesting for my web application but I have a 
> small issue concering java.  My customer is using Java (mainly servlet & 
> EJB). It is a well know question on your mailing lists but I want to be sure 
> to understand everything.
> 
> So, can you confirm or give some feedbacks on the following questions :
> 
> 1. Is it possible to add a servlet in my Zope server. By this way, I have 
> the strong features like security defined in Zope and it is not necessary to 
> rewrite the code defined in this servlet.
> 
> 2. If I understand, I can write my business logic in python. From this 
> python code, I can used a java package (thanks to jython). So I can call an 
> EJB method from a zope object. Is it correct ?
> 
> This kind of integration is much interesting for my customer than  rewrite 
> all in python. In fact, his idea is using Zope for the content management 
> and EJB for the business logic. All comments are welcome on that.
> 
> Many thanks in advance
> Christophe
> 
> 
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 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] PCGI and MS-IIS on Nt5

2001-01-31 Thread Paul Zwarts


Hi there,
 
>For that the easiest solution is to put a redirect in your root to:
>http://localhost/scripts/zope.pcgi
either through a server setting or
>through an asp script with a "Response.Redirect('scripts/zope.pcgi')"
>You could also put your zope.pcgi in your root folder and make it a
default
>document (just like 'default.htm', 'index.asp' etc), but somehow I
guess
>that that will bring your troubles later on.
Thanks for the input... but it doesnt seem to work.
I get:

  Zope Error
  Zope has encountered an error while publishing this resource.
  
  exceptions.ImportError
 
  (,
'Could not lock the database file.  There must be\012another process
that has opened the file.\012')

Re: [Zope] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Gordon Bergström

I belive they are not released yet. If you do a search on 
http://www.debian.org/distrib/packages it will tell you.

/Gordon

At 11:08 2001-01-31 +0100, Radek Hnilica wrote:
> Hello all,
>
>I'm using Debian/GNU Linux Potato on all my machines.  And I want try to 
>install Zope 2.3.0 on my server.  I'm capable of compiling zope from 
>debian source package, but on main zope site zope.org I found only plain 
>zope source.  This package doesn't contain debian directory.
>
>Do anyone know where the debianised source can be taken from.
>
>Thanks
>
>--
>Radek Hnilica 
>http://www.balga.cz/hnilica
>
>___
>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] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Stephane Bortzmeyer

On Wednesday 31 January 2001, at 11 h 8, the keyboard of Radek Hnilica 
<[EMAIL PROTECTED]> wrote:

> I'm capable of compiling zope from debian source 
> package, but on main zope site zope.org I found only plain zope source.  
> This package doesn't contain debian directory.

This is quite common: most upstream maintainers do not want to ship debian/ 
directory, ".spec" file, etc.

> Do anyone know where the debianised source can be taken from.

Like every Debian package:

1) (simplest way but you need deb-src lines in your sources.list):

apt-get source zope

2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive.



___
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] User Sessions

2001-01-31 Thread Chris Withers

> state with authenticated users.  It's just not as useful because once
> they're authenticated you'd probably be better off associating the state
> with their user object.

Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in
order?

How I'd like to see text box widths and top frame preference stored against
the user, not the domain name/browser... :-S

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] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica

Hello all,

I'm using Debian/GNU Linux Potato on all my machines.  And I want try to install Zope 
2.3.0 on my server.  I'm capable of compiling zope from debian source package, but on 
main zope site zope.org I found only plain zope source.  This package doesn't contain 
debian directory.

Do anyone know where the debianised source can be taken from.

Thanks

-- 
Radek Hnilica 
http://www.balga.cz/hnilica

___
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] Decision question from a beginner

2001-01-31 Thread Christophe Lombart

Tha's clear Zope is really interesting for my web application but I have a 
small issue concering java.  My customer is using Java (mainly servlet & 
EJB). It is a well know question on your mailing lists but I want to be sure 
to understand everything.

So, can you confirm or give some feedbacks on the following questions :

1. Is it possible to add a servlet in my Zope server. By this way, I have 
the strong features like security defined in Zope and it is not necessary to 
rewrite the code defined in this servlet.

2. If I understand, I can write my business logic in python. From this 
python code, I can used a java package (thanks to jython). So I can call an 
EJB method from a zope object. Is it correct ?

This kind of integration is much interesting for my customer than  rewrite 
all in python. In fact, his idea is using Zope for the content management 
and EJB for the business logic. All comments are welcome on that.

Many thanks in advance
Christophe


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 on OpenBSD 2.8 problem solved

2001-01-31 Thread Ragnar Beer

>Start Zope, and you will find that it works fine now. Zope also works fine
>in the CURRENT tree of OpenBSD, so presumably it will work out-of-the-box on
>OpenBSD 2.9. This is the safest way of getting it to work at the moment.

Did you understand form Jason Ish's message that it should be working 
with -current or did you compile and test it yourself? I compiled 
-current last week and it didn't work and there have been no changes 
to the source since then.

Ragnar

___
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 Permission object destroys Security tab

2001-01-31 Thread Itai Tavor

Hi,

I have a Zope product, with a lot of ZClasses in it. I defined a Zope 
Permission in this product with id='change_my_objects_permission' and 
name='Change My Objects'. I assigned this permission to several 
classes - not sure which ones.

When I click on Security in the top Zope folder I get this:

 Error Type: AttributeError
 Error Value: __getitem__

Traceback (innermost last):
   File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 222, in publish_module
   File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 187, in publish
   File /opt/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 
221, in zpublisher_exception_hook
 (Object: ApplicationDefaultPermissions)
   File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 171, in publish
   File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
 (Object: manage_access)
   File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 112, in call_object
 (Object: manage_access)
   File /opt/Zope/lib/python/AccessControl/Role.py, line 262, in manage_access
 (Object: ApplicationDefaultPermissions)
   File 
/opt/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py, 
line 324, in __call__
 (Object: _normal_manage_access)
   File 
/opt/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py, 
line 353, in _bindAndExec
 (Object: _normal_manage_access)
   File /opt/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py, 
line 236, in _exec
 (Object: _normal_manage_access)
   File 
/opt/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py, 
line 146, in render
 (Object: _.namespace(valid_roles=valid_roles()))
   File /opt/Zope/lib/python/DocumentTemplate/DT_In.py, line 660, in renderwob
 (Object: permission_settings)
   File /opt/Zope/lib/python/AccessControl/Role.py, line 185, in 
permission_settings
 (Object: ApplicationDefaultPermissions)
   File /opt/Zope/lib/python/AccessControl/Role.py, line 180, in 
AttributeError: (see above)

I added this statement to permission_settings (line 176 of 
AccessControl/Role.py):

print('name=%s, value=%s, roles=%s' % (name, value, roles))

When it gets to my permission it outputs this:

name=Change My Objects, value=(), roles=

I deleted the problem permission and created a new one called Test. 
This time the Security page worked and I got:

name=Test, value=(), roles=['Manager']

If I recreate the problem permission, the problem returns.

The only difference is that 'Change My Objects' is used somewhere in 
a ZClass. But a) I can't find out where it's used other than by 
manually checking 20 ZClasses, and b) why would that be a problem 
anyway? And what's this Rewrapper thing? And why am I suddenly 
attracting all these annoying bugs?
--
Itai Tavor  -- "Je sautille, donc je suis."--
[EMAIL PROTECTED]--   - Kermit the Frog --
-- --
-- "Every day, once a day, give yourself a present"  - Dale Cooper --


___
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] set variable for a user/cookie?

2001-01-31 Thread Olaf Zanger

hi there,

NFGNav uses a variable to switch languages. it changes the variable in the submit
string. since i use this string for other purpose i need a different solution.

how do i set a var for a user for the complete session?

would cookies solve my problem?

where do i find know-how to set a cookie and work with it (never done that?)?

where do i find examples?

thanks guys

olaf

-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



[Zope] Fwd: What group is user "zope" in, and what is its home dir?

2001-01-31 Thread Deja User

Subject: What group is user "zope" in, and what is its home dir?
 Which files are owned by "zope" which by "root" and which by "nobody"? 





--== Sent via Deja.com ==--
http://www.deja.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 )