Re: [Zope] How to Pass values to a DTML method ??

2000-09-12 Thread Evan Simpson

> Dieter Maurer
> You should include two positional parameters as well:
>
> 

I've recently had explained to me a way that is more robust, and possibly
less confusing, than this idiotic idiom.  I think it may start appearing in
docs and training.



...or even better...

&dtml.-some_method;

...which allows nicely for stuff like:


First!


Cheers,

Evan @ digicool & 4-am


___
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] Manager Authentication Failure: How to debug?

2000-09-12 Thread Kimmo Kansanen

Sie (Martijn Pieters,[EMAIL PROTECTED]) sannoit:
> 
> There are generally two things that could have gone wrong here:
> 
> - You didn't specify the Manager Role for the User. The list of Roles on
>   the User manage page is _not_ the assigned list, but the possible list
>   of Roles. Select the Manager Role from that list (the Role name will
>   show in a contrasting colour).

Duh! This _is_ what went wrong. I was following the directions given by
the upcoming zope-book, and completely missed this point. Maybe the book
could include this as a hint?

> Let us know if you have any more problems.

I have not actually tested this yet, since the machine is off-line at
home, but looks like you have identified the problem.

Thank's a million.

Kimmo
-- 
Kimmo Kansanen   
Private: [EMAIL PROTECTED]  <>  http://www.iki.fi/cosmo 08 - 5208 611
 Work: [EMAIL PROTECTED]  <>  http://ee.oulu.fi/~kmo  08 - 553 2833
  Banana: 040 - 5329 386   Finger [EMAIL PROTECTED] for PGP public key.
* Frankly, my dear, I don't give a paska-kraasukka *

___
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] Oedipus / Zope / python / product / XML ++

2000-09-12 Thread Oleg Broytmann

Hi!

   I write and maintain a project "Bookamrks Database and Internet robot"
(detailed announce after quotations). It is not exactly what you want, but
I have plans to add Oedipus to my list of databases. Probably there are
fields we may cooperate.
   I am very short on time these days :(

On Mon, 11 Sep 2000, [iso-8859-1] Jørgen Skogstad wrote:
> I've been looking into something this weekend. I need somehting
> that can handle my link database etc. and list them through Zope
> on a regular basis.
> 
> I was looking at Oedipus which can create "semi-xml" DMOZ like
> directories which would suffice for v0.1b of my product. I was
> thinking of using Oedipus and store them in the database there
> and generate a new xml-like-structure every day through some
> cron script.
> 
> .. what I was hoping for is to use the LocalFS product for Zope
> and some kind of python "product" (which I need to make to fit
> into Zope) which can parse this .. sort of like the *.cgi 
> script which followed with the Oedipus installation.
> 
> By doing this; I can generate DMOZ/Link databases that show 
> information about the site; when it was checked last, updated
> etc. etc.
> 
> My questions are as follows;
> * How do I generate a package of some pythong scripts?
> * Are there any better ways of parsing and putting this 
>   xml-like file under "Zope control" .. 
> 
> * Are there any XML products for Zope that can get a file
>   from an url .. and parse this with some python scripts to
>   generate a yahoo type listing?
> 
> Would apriciate any input!


BOOKMARKS Database and Internet robot

WHAT IS IT
   Here is a set of classes, libraries, programs and plugins I use to
manipulate my bookmarks.html. I like Netscape Navigator, but I need more
features, so I write and maintain these programs for my needs. I need to
extend Navigator's "What's new" feature (Navigator 4 named it "Update
bookmarks").


WHAT'S NEW in version 3.0
   Complete rewrite from scratch. Created mechanism for pluggable storage
managers, writers and robots.


WHAT'S NEW in version 3.1.2
   Minor speed improvements in parser (just removed debug output if not in
debug mode).
   New program check_dups.py prints a list of duplcat URLs in the DB.


WHERE TO GET
   Master site: http://sun.med.ru/~phd/Software/Python/#bookmarks_db

   Faster mirrors: 
http://skyscraper.fortunecity.com/unix/797/Software/Python/#bookmarks_db
   http://members.nbci.com/_XMCM/phd2.1/Software/Python/index.html#bookmarks_db


AUTHOR
   Oleg Broytmann <[EMAIL PROTECTED]>

COPYRIGHT
   Copyright (C) 1997-2000 PhiloSoft Design

LICENSE
   GPL

STATUS
   Storage managers: pickle, FLAD (Flat ASCII Database).
   Writers: HTML, text, FLAD.
   Robots (URL checker): simple, forking.

TODO
   More storage managers: shelve, SQL, MetaKit.
   More robots: threading, async.

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


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




Re: [Zope] dtml-in theentiresite

2000-09-12 Thread Chris Withers

peter be wrote:
> Some objects (mostly DTML Documents) have a property (boolean) that tells
> whether this is a helppage or not.
> What I want to do is to loop though eash and every object in the entire site
> (not very big) and check if the object has this property.

Does your site have any folderish objects in it?
Doe you want to recurse abnd iterate through them?

This should work unless you need to recurse:


  

  


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] zope login window: how to change the 'Zope' realm/resource??

2000-09-12 Thread Gilles Lavaux

Hello,

Question about Zope 2.2.1:
- I have a 'administration' folder which contains administration methods and
is restricted to the 'project_admin'  role.
- The user 'toto' has the role 'project_admin'.

  When I access this folder, the login window prompt for a 'Zope' resource
(IE4, Opera4..).
  I want to replace this 'Zope' by 'project_admin', or whatever role needed
by the folder.

Any idee??



Gilles Lavaux



___
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] My Z Class

2000-09-12 Thread Rik Hoekstra



Karl Munroe wrote:
> 
> I have constructed a z class which contians other products. Is it possible
> for me to have access and edit the properties of the objects contained in
> the z class.
> For example. MYZClass contains an image object...how do I change the and
> edit the photo contained in the class
> 

I don't know if I get this right. The point of ZClasses is that they
provide common behaviour for all instances of the class. This means that
if you have an image in the ZClass, it will be available in all the
instances, but if you change it 1) that can only be done in the ZClass
definition and 2) this will affect all your instances.

If you want an image that is specific for your ZClass instance, you'll
have to put it into the instance. You can change it there like any
normal Zope object. Creating the Image object inside your instance can
be done at the time the ZClass is created and you can also customize the
image object at that time. 

Please provide more details as to what you try to attain if I got your
question wrong.

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 )




[Zope] TEXT FILE Operation

2000-09-12 Thread Marcello Lupo

Hi to all,
anyone know how to let Zope interact with text files on the system on it
is running.
Like making changes to files, search and replare some text or insert or
delete text and save the file again?
I'm pretty new and i don't know if it is possible for Zope.
Thank You in advice.
Marcello

___
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] TEXT FILE Operation

2000-09-12 Thread Rik Hoekstra

> anyone know how to let Zope interact with text files on the system on it
> is running.

I take it you mean files external to the ZODB database

> Like making changes to files, search and replare some text or insert or
> delete text and save the file again?
> I'm pretty new and i don't know if it is possible for Zope.

You can just about anything you want using external methods (written in
Python) or Python Products, including reading, writing, deleting and
changing and using regular expressions. Be aware of security issues,
though, as you'll effectively be opening up part of your filesystem to
access through the web

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] TEXT FILE Operation

2000-09-12 Thread Marcello Lupo

Thank you,
infact this is the problem, right now i'm not able to program in python
but only on using zope.
I used the FSSession product before and i think that should be a Similar
product to make changes on files.
thank you for the help.

Marcello


Rik Hoekstra wrote:
> 
> > anyone know how to let Zope interact with text files on the system on it
> > is running.
> 
> I take it you mean files external to the ZODB database
> 
> > Like making changes to files, search and replare some text or insert or
> > delete text and save the file again?
> > I'm pretty new and i don't know if it is possible for Zope.
> 
> You can just about anything you want using external methods (written in
> Python) or Python Products, including reading, writing, deleting and
> changing and using regular expressions. Be aware of security issues,
> though, as you'll effectively be opening up part of your filesystem to
> access through the web
> 
> 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] TEXT FILE Operation

2000-09-12 Thread Rik Hoekstra

> infact this is the problem, right now i'm not able to program in python
> but only on using zope.

Hm, you'd be surprised how easy the Python bit is. THere is excellent
documentation at the Python site (http://www.python.org)

> I used the FSSession product before and i think that should be a Similar
> product to make changes on files.

It seems to me the problem is too general to be able to make a sensible
product to deal with it.

> thank you for the help.
> 

You could also have a look at the LocalFS product
(http://www.zope.org/Members/jfarr/Products/LocalFS). It will let you
incorporate local directories into your Zope site as if they were inside
Zope

There is also some documentation about writing files outside Zope
(http://www.zope.org/Members/sabaini/externalfiles-howto)

Perhaps this will get you started some more

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 )




[Zope] [zwiki] What is the 'Wiki-Safetybelt'?

2000-09-12 Thread Jean Jordaan

Hi all

If I ftp a bunch of zwikipages out of the ZODB, each one
has this::

  Wiki-Safetybelt: 968246577.617

What is is, and do I need to keep it if I want to ftp them 
back in? The thing is, I 'diff'ed and 'patch'ed two wikis
against each other, and I'm not interested in changes that 
involve only the the Wiki-Safetybelt.

I'd appreciate it if you Cc: me on answers .. I'm on digest
mode (and waaay behind on reading those!)

-- 
Jean Jordaan   --technical writer--
Mosaic Software--Zope 2.1.6 on WinNT and W2K

___
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] Important Security Concerns

2000-09-12 Thread Coleman, Bryan

I almost have my company convinced that Zope is the technology to use for
our Intranet/Extranet. However they are very concerned with security. I have
proposed two security schemes that I would like zope community feed back on
for potential holes.

Option A: Poke a hole through our firewall on the primary http port or on
port 8080 to allow Zope pages through and then require authentication on the
first page.

Option B: Set up a DMZ off the firewall to allow the same as the above.

Any feed back would be welcome.

- Bryan Patrick Coleman
  Questcon Technologies
  (336)273-2428 ext-416
  [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] Object serialization between different pages

2000-09-12 Thread Oleg Broytmann

On Tue, 12 Sep 2000, Pierre-Julien Grizel wrote:
> Is it possible to serialize an object to share it across several pages ?
> This would allow one to pass the serialized object via the URL, and to
> retreive it in the form that would process the request.

   Oh, no! Think if I hack the page you sent to my browser and serialize a
different object!! This is big security hole!!!

> I know there is the pickle function in python, but is there a more
> Zopish way to do this ?

   Learn to use sessions. There is no builtin session management in Zope,
but there are 3 sessions Products out there.

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


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




Re: [Zope] Important Security Concerns

2000-09-12 Thread Phil Harris

Another option might be to proxy the Zope server through Apache on port 80.


- Original Message -
From: "Coleman, Bryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:43 PM
Subject: [Zope] Important Security Concerns


> I almost have my company convinced that Zope is the technology to use for
> our Intranet/Extranet. However they are very concerned with security. I
have
> proposed two security schemes that I would like zope community feed back
on
> for potential holes.
>
> Option A: Poke a hole through our firewall on the primary http port or on
> port 8080 to allow Zope pages through and then require authentication on
the
> first page.
>
> Option B: Set up a DMZ off the firewall to allow the same as the above.
>
> Any feed back would be welcome.
>
> - Bryan Patrick Coleman
>   Questcon Technologies
>   (336)273-2428 ext-416
>   [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 )




RE: [Zope] Important Security Concerns

2000-09-12 Thread Coleman, Bryan

That would cause another whole set of problems, unless apache is inherity
more secure than Medusa. I was really wondering what the risks are
associated with those two options.

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

> -Original Message-
> From: Phil Harris [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, September 12, 2000 5:15 AM
> To:   Coleman, Bryan; [EMAIL PROTECTED]
> Subject:  Re: [Zope] Important Security Concerns
> 
> Another option might be to proxy the Zope server through Apache on port
> 80.
> 
> 
> - Original Message -
> From: "Coleman, Bryan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 12, 2000 12:43 PM
> Subject: [Zope] Important Security Concerns
> 
> 
> > I almost have my company convinced that Zope is the technology to use
> for
> > our Intranet/Extranet. However they are very concerned with security. I
> have
> > proposed two security schemes that I would like zope community feed back
> on
> > for potential holes.
> >
> > Option A: Poke a hole through our firewall on the primary http port or
> on
> > port 8080 to allow Zope pages through and then require authentication on
> the
> > first page.
> >
> > Option B: Set up a DMZ off the firewall to allow the same as the above.
> >
> > Any feed back would be welcome.
> >
> > - Bryan Patrick Coleman
> >   Questcon Technologies
> >   (336)273-2428 ext-416
> >   [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 )




Re: [Zope] dtml-in theentiresite

2000-09-12 Thread Rik Hoekstra


> Any other good solutions are welcomed!

There are several 'Sitemap' solutions that do this more or less, but...

Any reason you can't use a catalog for this and catalog on the property?
This is much faster and much more flexible

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] Object serialization between different pages

2000-09-12 Thread Phil Harris

You could always use one of the session management products on the Zope
site.

My particular favourite is SQLSession, but others exist which do a similar
job.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Pierre-Julien Grizel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:23 PM
Subject: [Zope] Object serialization between different pages


> Hi,
>
> Is it possible to serialize an object to share it across several pages ?
> This would allow one to pass the serialized object via the URL, and to
> retreive it in the form that would process the request.
>
> I know there is the pickle function in python, but is there a more
> Zopish way to do this ?
>
>
>
> Thanks,
>
>
> P.-J.
>
> ___
> 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] Important Security Concerns

2000-09-12 Thread Tom Deprez

I know not much about security because I don't have to worry about it, but
out of your talk, it seems that your company finds apache secure. Then why
don't you just run Zope behind Apache with a FASTCGI, or something else?

Sorry if I'm completely missing the point of your problem.

Regards, Tom.

At 08:31 12/09/2000 -0400, you wrote:
>That would cause another whole set of problems, unless apache is inherity
>more secure than Medusa. I was really wondering what the risks are
>associated with those two options.
>
>- Bryan Patrick Coleman
>  Questcon Technologies
>  (336)273-2428 ext-416
>  [EMAIL PROTECTED]
>
>> -Original Message-
>> From:Phil Harris [SMTP:[EMAIL PROTECTED]]
>> Sent:Tuesday, September 12, 2000 5:15 AM
>> To:  Coleman, Bryan; [EMAIL PROTECTED]
>> Subject: Re: [Zope] Important Security Concerns
>> 
>> Another option might be to proxy the Zope server through Apache on port
>> 80.
>> 
>> 
>> - Original Message -
>> From: "Coleman, Bryan" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, September 12, 2000 12:43 PM
>> Subject: [Zope] Important Security Concerns
>> 
>> 
>> > I almost have my company convinced that Zope is the technology to use
>> for
>> > our Intranet/Extranet. However they are very concerned with security. I
>> have
>> > proposed two security schemes that I would like zope community feed back
>> on
>> > for potential holes.
>> >
>> > Option A: Poke a hole through our firewall on the primary http port or
>> on
>> > port 8080 to allow Zope pages through and then require authentication on
>> the
>> > first page.
>> >
>> > Option B: Set up a DMZ off the firewall to allow the same as the above.
>> >
>> > Any feed back would be welcome.
>> >
>> > - Bryan Patrick Coleman
>> >   Questcon Technologies
>> >   (336)273-2428 ext-416
>> >   [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 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 2.2.1 Problem

2000-09-12 Thread Steve Williams

I installed ZOPE 2.2.1 yesterday under Windows 98 to fix a ZSQL
authorization problem.

After rebooting my machine this morning, when I run ZOPE's start.bat,
the DOS command screen comes up, flashes some messages quickly and then
disappears, so ZOPE won't start.

Running Z2.py in Python gives me the following traceback:

>>> Traceback (innermost last):
  File "C:\Program
Files\Python\Pythonwin\pywin\framework\scriptutils.py", line 237, in
RunScript
exec codeObject in __main__.__dict__
  File "C:\Program Files\ZopeHub\Z2.PY", line 554, in ?
exec "import "+MODULE in {}
  File "", line 1, in ?
  File "C:\Program Files\ZopeHub\lib\python\Zope\__init__.py", line 94,
in ?
import ZODB, ZODB.ZApplication, imp
  File "C:\Program Files\ZopeHub\lib\python\ZODB\__init__.py", line 85,
in ?
import sys, ExtensionClass, TimeStamp, cPersistence, Persistence
ImportError: No module named ExtensionClass

I've got an ExtensionClass.ref and an ExtensionClass.stx in
lib/Python/StructuredText/regressions, but no ExtensionClass.py

I have no products installed, other than the ones that come with the
distribution and I have no Python extensions.

Steve Williams


___
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] What is the 'Wiki-Safetybelt'?

2000-09-12 Thread Evan Simpson

From: "Jean Jordaan" <[EMAIL PROTECTED]>
>   Wiki-Safetybelt: 968246577.617
>
> What is is, and do I need to keep it if I want to ftp them
> back in?

It's a weak protection for when two people grab a copy of a wiki page, edit
it, then post their conflicting changed pages.  When the second person
posts, Zope will notice that their Wiki-Safetybelt doesn't match the
timestamp of the page, warn them that it has changed, and refuse their
update.

Removing the Safetybelt will eliminate this check, IIRC, and should work
fine.

Cheers,

Evan @ digicool & 4-am


___
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] Object serialization between different pages

2000-09-12 Thread Pierre-Julien Grizel

Hi,

Is it possible to serialize an object to share it across several pages ?
This would allow one to pass the serialized object via the URL, and to
retreive it in the form that would process the request.

I know there is the pickle function in python, but is there a more
Zopish way to do this ?



Thanks,


P.-J.

___
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 the GPL poison pill

2000-09-12 Thread Nils Kassube

Oleg Broytmann wrote:

> LICENSE
>GPL

I've seen several Zope products using the GPL. In my not so
humble opinion, this could develop into a serious problem
for Zope deployment. I'm not a lawyer (nor do I play one on TV),
but the use of GPL'ed source code like e.g. Renderable ZClass
in your web site probably means that you're now forced to publish
every single bit of source built using the GPL'ed module --
including commercial intranet projects. This can be impossible
if you don't own the rights to every single piece of code used
in a project. 

I hope Zope product developers think twice about using the GPL.
The GPL license is not about sharing like e.g. the BSD license,
it's about enforcing the political agenda of people who think
that commercial ("proprietary") software w/o source code is evil.

Cheers,
Nils
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] (preferred)
[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] Zope and the GPL poison pill

2000-09-12 Thread Chris Withers

Nils Kassube wrote:
> I hope Zope product developers think twice about using the GPL.
> The GPL license is not about sharing like e.g. the BSD license,
> it's about enforcing the political agenda of people who think
> that commercial ("proprietary") software w/o source code is evil.

This is very true... I think it's made worse by the fact that a lot of
people just select 'GPL' from the dropdown list on the products page
without realising the implications...

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] TEXT FILE Operation

2000-09-12 Thread Phil Harris

Marcello,

I'd say the simplest way is to create an external method, something like
(untested):

def addToTextFile(self, thingToAdd = None):
if thingToAdd:
f=open('thefile','w')
f.write(thingToAdd+'\n')
f.close()

or similar for changing/updating etc.

If you are short on experience for external methods, refer to the Zope
documentation (?) for advice.

hth

phil
[EMAIL PROTECTED]

- Original Message -
From: "Marcello Lupo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 11:02 AM
Subject: [Zope] TEXT FILE Operation


> Hi to all,
> anyone know how to let Zope interact with text files on the system on it
> is running.
> Like making changes to files, search and replare some text or insert or
> delete text and save the file again?
> I'm pretty new and i don't know if it is possible for Zope.
> Thank You in advice.
> Marcello
>
> ___
> 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 and the GPL poison pill

2000-09-12 Thread Oleg Broytmann

Hi!

On Tue, 12 Sep 2000, Nils Kassube wrote:
> Oleg Broytmann wrote:
> 
> > LICENSE
> >GPL
> 
> I've seen several Zope products using the GPL. In my not so
> humble opinion, this could develop into a serious problem
> for Zope deployment. I'm not a lawyer (nor do I play one on TV),
> but the use of GPL'ed source code like e.g. Renderable ZClass
> in your web site probably means that you're now forced to publish
> every single bit of source built using the GPL'ed module --
> including commercial intranet projects. This can be impossible
> if you don't own the rights to every single piece of code used
> in a project. 

   No, you are not forced to publish anything. GPL "virus" applied only if
you want to *distribute* combined (your code + my GPL'd code).

> I hope Zope product developers think twice about using the GPL.
> The GPL license is not about sharing like e.g. the BSD license,
> it's about enforcing the political agenda of people who think
> that commercial ("proprietary") software w/o source code is evil.

   Yes, exactly! You've got the point! I love GPL! :)

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


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




[Zope] Re: Session support (was: Object serialization between different pages)

2000-09-12 Thread Chris McDonough

Note that there is also a proposal in progress to put session-tracking in
the Zope core.

See http://dev.zope.org/Wikis/DevSite/Proposals/CoreSessionTracking and make
comments if you see fit.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 9:06 AM
Subject: Re: [Zope] Object serialization between different pages


You could always use one of the session management products on the Zope
site.

My particular favourite is SQLSession, but others exist which do a similar
job.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Pierre-Julien Grizel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:23 PM
Subject: [Zope] Object serialization between different pages


> Hi,
>
> Is it possible to serialize an object to share it across several pages ?
> This would allow one to pass the serialized object via the URL, and to
> retreive it in the form that would process the request.
>
> I know there is the pickle function in python, but is there a more
> Zopish way to do this ?
>
>
>
> Thanks,
>
>
> P.-J.
>
> ___
> 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 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 doesn't start...

2000-09-12 Thread César A. K. Grossmann

Hi

I'm having some strange problems with the RPM version of Zope 2.2.1: it
starts, but dies without any message in /var/log/messages.

I try to run it by hand, and get these messages:

[root@server zope]# ./zserver.sh
[root@server zope]# Traceback (innermost last):
  File "z2.py", line 554, in ?
exec "import "+MODULE in {}
  File "", line 1, in ?
  File "/usr/share/zope/lib/python/Zope/__init__.py", line 95, in ?
import Globals, OFS.Application, sys
  File "/usr/share/zope/lib/python/OFS/Application.py", line 91, in ?
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
  File "/usr/share/zope/lib/python/App/Product.py", line 118, in ?
from HelpSys.HelpSys import ProductHelp
  File "/usr/share/zope/lib/python/HelpSys/__init__.py", line 87, in ?
import HelpSys
  File "/usr/share/zope/lib/python/HelpSys/HelpSys.py", line 93, in ?
import HelpTopic
  File "/usr/share/zope/lib/python/HelpSys/HelpTopic.py", line 95, in ?
class HelpTopicBase:
  File "/usr/share/zope/lib/python/HelpSys/HelpTopic.py", line 116, in
HelpTopicBase
permissions_values=ComputedAttribute(_permissions_values, 1)
TypeError: too many arguments; expected 2, got 3

I'm running it in a Conectiva Linux (glibc 2.1.2, similar to Red Hat
6.x). The packages are:

Zope-2.2.1-1
Zope-zserver-2.2.1-1

all from Jeff Rush.

[]s
-- 
 +-+-+
 | César A. K. Grossmann   | Capacitação Solidária   |
 | [EMAIL PROTECTED]| http://www.uol.com.br/umminuto/ |
 | http://members.xoom.com/ckant/  | Clique e doe - é de graça   |
 +-+-+
   http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html
Suspicion always haunts the guilty mind.
-- Wm. Shakespeare

___
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 Pass values to a DTML method ??

2000-09-12 Thread Daniel Rusch

They pass in the current name space, the context if you will. Someone
posted a reply that had a link to the faq that attempts to explains
this.

DR
Stuart Foster wrote:
> 
> This is the way I had to do it what's up with the two extra params?
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Dieter Maurer
> Sent: Monday, September 11, 2000 2:24 PM
> To: Stuart Foster
> Cc: Zope List
> Subject: Re: [Zope] How to Pass values to a DTML method ??
> 
> Stuart Foster writes:
>  > I have a DTML method that is called from a document. I need to pass a
> value
>  > to it like a parameter would be passed to a function.
>  >
>  > 
> That does not look too bad, but you forgot the "..." around the call.
> 
> You should include two positional parameters as well:
> 
> 
> 
> Otherwise, you cut the namespace propagation.
> 
> 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 )
> 
> ___
> 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] Important Security Concerns

2000-09-12 Thread M. Adam Kendall

Since I do this type of thing for a living, I can tell
you the best answer is Option B.  If your company is that
security paranoid, a DMZ is always a better idea than
poking holes in end-to-end connections in the firewall.

On 12-Sep-2000 Coleman, Bryan wrote:
> I almost have my company convinced that Zope is the technology to use for
> our Intranet/Extranet. However they are very concerned with security. I
> have
> proposed two security schemes that I would like zope community feed back
> on
> for potential holes.
> 
> Option A: Poke a hole through our firewall on the primary http port or on
> port 8080 to allow Zope pages through and then require authentication on
> the
> first page.
> 
> Option B: Set up a DMZ off the firewall to allow the same as the above.
> 
> Any feed back would be welcome.

--
M. Adam Kendall |   Got Linux?
Internetworking &   | We do.
 Security Architect |
[EMAIL PROTECTED]  |  http://www.devis.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] ZSQL and database locking

2000-09-12 Thread Arjan de Knegt

Dear all,

I'm a happy Zope user (in a private environment), experienced in
client-server application development but still quite green regarding to
Zope. I'm trying to figure out how I can use database locking using ZSQL
and MySQL. What is the case? I would like to implement a multi-user update
function avoiding the obvious concurrency pitfalls. I usually implement
this as follows:
1. Add a "counter" column to every table
2. With every record update, raise the counter for that record with 1 
3. Before an update, first read the actual value
   of the counter in the database. Compare the counter in
   the database with the counter value of the record currently 
   being edited. 
4. If the values are not the same, another user
   has obviously edited the database in the meantime. The changes
   will not be updated to the database but the current database
   record will be redisplayed on the screen (with a message to the
   user of course).
5. If values are the same, update the database.

To avoid concurrency problems, the table has to be locked before step 3
and unlocked after step 5. Because a ZSQL database connection is a
permanent connection, the database will see it as 1 single session. All
(anonymous) user of the web-update form will use the same session and
database locking will have no effect.

Now finally my question: Does anyone see a (simple) solution for this? 
Okay, I could create a seperate MSQL database connection for every user,
but that doesn't look very Zope-ish to me. 

Didn't find a comparable issue in the Zope Mailing lists.

Thnx in advance,
Arjan. 


___
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 Pass values to a DTML method ??

2000-09-12 Thread Stuart Foster

The first example is what I was doing. But felt it was hard to follow.
However I would be interested in why it would be considered more robust.

-Original Message-
From: Evan Simpson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 8:15 PM
To: Stuart Foster; Dieter Maurer
Cc: Zope List
Subject: Re: [Zope] How to Pass values to a DTML method ??


> Dieter Maurer
> You should include two positional parameters as well:
>
> 

I've recently had explained to me a way that is more robust, and possibly
less confusing, than this idiotic idiom.  I think it may start appearing in
docs and training.



...or even better...

&dtml.-some_method;

...which allows nicely for stuff like:


First!


Cheers,

Evan @ digicool & 4-am


___
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] Important Security Concerns

2000-09-12 Thread Riku Voipio

On Tue, Sep 12, 2000 at 08:31:52AM -0400, Coleman, Bryan wrote:
> That would cause another whole set of problems, unless apache is inherity
> more secure than Medusa. I was really wondering what the risks are
> associated with those two options.

I think Zope behind apache is more secure than zope behind medusa, 
bacause of:

1. Finer grained control on access. 

One can add lines like the following:

RewriteCond %{REMOTE_ADDR} !^10\.0\.0\.(.*)
RewriteRule ^/Zope.*manage - [F]

Which would mean that only users from 10.0.0.* can 
access managment interfaces.

2. Wider usage of apache (a lot more security auditing) 

this is heavily IMHO.

> > > Option A: Poke a hole through our firewall on the primary http port or
> > on
> > > port 8080 to allow Zope pages through and then require authentication on
> > the
> > > first page.

> > > Option B: Set up a DMZ off the firewall to allow the same as the above.

I assume that you would firewall the DMZ as well. With a setup which 
allows maintainance to the ftp/ssh/whatever ports from your lan and 
only http traffic from elsewhere, this would be slightly more secure
than having the server on your lan. 

Is it worth depends on how much you trust on the potential users, and 
how much time you hcope with the extra maintainance load of the DMZ. 
Assuming you don't already have a DMZ...

If you have limited set of extranet users, you can tighten up by restricting 
access at firewall only from IP address ranges of your clients.

-- 
Riku Voipio
[EMAIL PROTECTED]
09-862 60764






___
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] Looking for Zope vs. Others at-a-glance comparison

2000-09-12 Thread Richard Moon

I've enjoyed the contributions on this thread. Some time back I mentioned 
that what hooked me on Zope was the Relational Database access "out of the 
box".

I liked the way Zope generated a simple database query form and result - so 
I agree strongly that Zope could hook more people if it did even more 
useful things without coding. I even suggested others submitted their 
favourite ideas for a "Wizards of Zope" beauty contest.

I've been supplying solutions to clients for xx years now and my philosophy 
has always been to code at the highest possible level. Don't code in 
machine code if you can code in assembler, don't code in assembler if you 
can code in C,  don't code in C if you can code in a 4GL, don't code at all 
if you don't have to :-)

Zope offers the potential to be the perfect development environment with 
tons of really good solutions off the shelf - these can be customised if 
they have to, we can drop down to Python if we really need to. Perfect.

Unfortunately its been difficult to get discussions like this going on 
zope.org as its mainly devoted to coding problems, while zope-dev is to do 
with deep and complex zopezen.

I know usability is high on Paul Everitts list, 'cos he said so in Paris.

Perhaps we need zope-usability.org as a forum for non-technical discussions 
about Zope development ?




___
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 doesn't start...

2000-09-12 Thread Martijn Pieters

On Tue, Sep 12, 2000 at 11:24:18AM -0300, César A. K. Grossmann wrote:
> Hi
> 
> I'm having some strange problems with the RPM version of Zope 2.2.1: it
> starts, but dies without any message in /var/log/messages.
> 
> I try to run it by hand, and get these messages:
> 
> [root@server zope]# ./zserver.sh
> [root@server zope]# Traceback (innermost last):
>   File "z2.py", line 554, in ?
> exec "import "+MODULE in {}
>   File "", line 1, in ?
>   File "/usr/share/zope/lib/python/Zope/__init__.py", line 95, in ?
> import Globals, OFS.Application, sys
>   File "/usr/share/zope/lib/python/OFS/Application.py", line 91, in ?
> import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
>   File "/usr/share/zope/lib/python/App/Product.py", line 118, in ?
> from HelpSys.HelpSys import ProductHelp
>   File "/usr/share/zope/lib/python/HelpSys/__init__.py", line 87, in ?
> import HelpSys
>   File "/usr/share/zope/lib/python/HelpSys/HelpSys.py", line 93, in ?
> import HelpTopic
>   File "/usr/share/zope/lib/python/HelpSys/HelpTopic.py", line 95, in ?
> class HelpTopicBase:
>   File "/usr/share/zope/lib/python/HelpSys/HelpTopic.py", line 116, in
> HelpTopicBase
> permissions_values=ComputedAttribute(_permissions_values, 1)
> TypeError: too many arguments; expected 2, got 3
> 
> I'm running it in a Conectiva Linux (glibc 2.1.2, similar to Red Hat
> 6.x). The packages are:
> 
> Zope-2.2.1-1
> Zope-zserver-2.2.1-1

This is a problem with the RPM's caused by the fact that an out-of-date
python version of ComputedAttribute gets selected over the newer C
extention. You can safely delete the old version, which shouldn't be in
the RPM at all.

Remove ComputedAttribute.py and things should be better. In the source
distribution it is located in lib/Components/ExtensionClass, which isn't
included in the Linux binary distribution.

This procedure hasn't been tested by me, but is based on a report from
Jeff Rush. I assumed he had removed the file already.

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

___
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 Pass values to a DTML method ??

2000-09-12 Thread Evan Simpson

From: Stuart Foster <[EMAIL PROTECTED]>
> The first example is what I was doing. But felt it was hard to follow.
> However I would be interested in why it would be considered more robust.

I probably misused the word; what I meant was that the  form is
less likely to have errors like forgetting the first two "magic" parameters
or writing "sequence-item" instead of "_['sequence-item']", and can take
advantage of current  features such as cascading assignment
(foo=1, bar=foo+1, etc) and future ones such as extended-attribute syntax
(foo-name-name="x" instead of foo="_[_[x]]").

I have considered proposing that we graft 's capabilities onto the
other tags, so that we could write stuff like:



...or...


   &dtml-letter;


Cheers,

Evan @ digicool & 4-am


___
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 the GPL poison pill

2000-09-12 Thread Nils Kassube

[EMAIL PROTECTED] (Oleg Broytmann) wrote:

>No, you are not forced to publish anything. GPL "virus" applied only if
> you want to *distribute* combined (your code + my GPL'd code).

Like in "distributing to clients"? So that I have to publish
source code to the whole world (not only clients) then? 

From: http://www.gnu.org/copyleft/copyleft.html

--cut--
Copyleft also helps programmers who want to contribute improvements to
free software get permission to do that. These programmers often work
for companies or universities that would do almost anything to get more
money. A programmer may want to contribute her changes to the community,
but her employer may want to turn the changes into a proprietary
software product.

When we explain to the employer that it is illegal to distribute the
improved version except as free software, the employer usually decides
to release it as free software rather than throw it away.

To copyleft a program, first we copyright it; then we add distribution
terms, which are a legal instrument that gives everyone the rights to
use, modify, and redistribute the program's code or any program derived
from it but only if the distribution terms are unchanged. Thus, the code
and the freedoms become legally inseparable. 
--cut--

How do I separate my work inside a Zope-based application from GPL'ed 
pieces to prevent this from happening? Looks like a lot of trouble.

It's easy to deal with GPL'ed programs like gcc, but how do you handle
GPL'ed components in a complex object oriented environment? I'm not
a lawyer, I'm (want to be) a software engineer, so what are my options?
Risk a lawsuit from a GPL-using author or rewrite from scratch.

Cheers,
Nils
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] (preferred)
[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: Session support (was: Object serialization between different pages)

2000-09-12 Thread Chris McDonough

Hi Tom,

> I just read your proposal and I think it would be nice to have such a
> standard product in Zope. Certianly since lot's of these 'shopping carts'
> websites are popping up on the internet.
> I've however one question, which is more generally to e-commerce products
> and which perhaps give this product this little extra then others. At the
> moment all? these e-commerce products need 'cookies'.

To which ecommerce products are you referring?

> This implies that the
> user needs to have this feature enabled. People who don't want cookies or
> just don't know how to set it, will not be able to 'shop'.
> Now, isn't there a possible solution for?

Yes, url-rewriting.  I even saw one product that went as far as too hook
into DNS to dynamically create "fake" hosts on-the-fly to use as a session
key.

> Perhaps not that good as cookies,
> but it can be a solution. I believe cookies are placed on the client
> computer and that they can stay alive or be removed after a certain time.
> So, isn't it possible to mimic these cookies on the server site (while the
> session is active)?

Mimic, no... not permanently, unless a rewritten URL is bookmarked.  The
server needs some indication on a request as to what session the client
belongs to.  Cookies provide this more or less transparently, while
URL-rewriting is slightly more intrusive.

> The only problem I see is that we need to be sure to
> connect the correct server-file with the correct user. But isn't this
> possible with information out of the HTTP request?

Yes, a cookie or a URL (or POST variables) with a session key embedded
somewhere.

> This way we create a
> file on the server (with a name which uniquely identifies the client) or
> zope-object (but this gives the problem that the Zope database will
rapidly
> grow)

A session manager which directly writes files onto the filesystem isn't a
scalable solution (sessions cannot be shared across ZEO clients).  This is
why a nonundoable storage is a related deliverable in this proposal, as it
can be shared from ZEO and mounted by several ZEO clients.

> when the user starts shopping. When shopping is finished the file is
> removed (and eg some information is send to another place sop that people
> know something is ordered). The session manager itself checks if certain
> session are abandoned and if one is not active (for 20 minutes) it deletes
> the file).

Yep, there are a few different kinds of garbage collection schemes we can
use, this is one.

> The contents of the file are the same as what you would place in
> cookies.

A cookie will almost always hold a session id, and maybe other metadata, but
probably never any data used directly by the app.  The app will go through
the session manager, and won't need to know anything about the contents of
the cookie.

> If the product would have the possibility to have something like this
extra
> (ie. you can manually choose to have a client or server cookie (or you let
> the product decide it automatically ie cookies on -> client cookie
> otherwise server cookie)) this would be a nice thing for Zope againts is
> competitors.

There is no such thing as a server cookie, but a similar
failover-to-URL-rewriting scheme can be made available to developers.



___
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 the GPL poison pill

2000-09-12 Thread Oleg Broytmann

On Tue, 12 Sep 2000, Nils Kassube wrote:
> [EMAIL PROTECTED] (Oleg Broytmann) wrote:
> 
> >No, you are not forced to publish anything. GPL "virus" applied only if
> > you want to *distribute* combined (your code + my GPL'd code).
> 
> Like in "distributing to clients"? So that I have to publish
> source code to the whole world (not only clients) then? 

   I am not a lawyer, and certainly not authorized to interpret the
License.

   But as one of the people who respect your freedom, I will do all my best
to protect your freedom (in the way that do not limit my freedom). You are
free to use my code, to read it and patch it, to send me your patches or to
fork the code. AND FINALLY YOUR ARE FREE TO *ignore* MY CODE!

   But please, please! If you respect my freedom - do not ask me to change
the license. I love GPL and found it pretty suitable for my needs.

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


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




Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Danny William Adair

Hi all!

Now Nils and Oleg are giving me the creeps.
Is it not possible to take a few GPLed Zope products, add your own effort of
configuring, integrating, building, (re-)designing, and even documenting the
outcome of your efforts and - ___sell___ this? Maybe not only to _one_
customer, but burn a CD and sell it to _a couple_ of customers?

In my opinion (yes, opinion has nothing to do with lawyers and courts ;-)),
in this case you wouldn't be selling other people's products, no you would
have created something new, which ___you___ can put a copyright on. It's a
compilation, and with enough value-adding effort put in to this compilation,
none of the respective GPL authors could claim to be co-author of your
production. Since you don't want to (only) sell your service of deploying,
but also your new product. (product in its conventional meaning, I would
call a Zope product a "module" in this respect)

Well I might just be dreaming...
Maybe someone can wake me up if I am. tia

Danny


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Oleg
Broytmann
Gesendet: Dienstag, 12. September 2000 18:08
An: Nils Kassube
Cc: [EMAIL PROTECTED]
Betreff: Re: [Zope] Zope and the GPL poison pill


On Tue, 12 Sep 2000, Nils Kassube wrote:
> [EMAIL PROTECTED] (Oleg Broytmann) wrote:
>
> >No, you are not forced to publish anything. GPL "virus" applied only
if
> > you want to *distribute* combined (your code + my GPL'd code).
>
> Like in "distributing to clients"? So that I have to publish
> source code to the whole world (not only clients) then?

   I am not a lawyer, and certainly not authorized to interpret the
License.

   But as one of the people who respect your freedom, I will do all my best
to protect your freedom (in the way that do not limit my freedom). You are
free to use my code, to read it and patch it, to send me your patches or to
fork the code. AND FINALLY YOUR ARE FREE TO *ignore* MY CODE!

   But please, please! If you respect my freedom - do not ask me to change
the license. I love GPL and found it pretty suitable for my needs.

Oleg.

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


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



___
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] Making some DTML Documents catalog aware

2000-09-12 Thread Christian Couder

Hi everybody,

I have a Zope site with many DTML document and I would like to make them
catalog aware because I want the web site users to be able to search the
site.
The web site users are already able to modify the site themselves and
this functionality must be kept.
I use the debian zope package version 2.1.6-5.2.

My first thought was to create a new ZClass that inherit from both the
CatalogAware and the DTML Document class but it seems to be quite
difficult.

First the How-To: DTML Zclass ID Bug Workaround helped a little, but
when I try to map some DTML methods to some views in the "Views" tab of
my class, no tab for the view are displayed for the class instance.

I also searched the news and the documentation and it seems that many
people faced some problems when inheriting from both CatalogAware and
DTML Document. So now I suppose this is not the best way to solve my
problem.

Do some people have succeeded in something like this ?

Thanks in advance for your answer.

--
Christian COUDER [EMAIL PROTECTED]
Ingénieur Informatique Libre
Alcôve - http://www.alcove.fr/




___
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 the GPL poison pill

2000-09-12 Thread Oleg Broytmann

On Tue, 12 Sep 2000, Danny William Adair wrote:
> Now Nils and Oleg are giving me the creeps.
> Is it not possible to take a few GPLed Zope products, add your own effort of
> configuring, integrating, building, (re-)designing, and even documenting the
> outcome of your efforts and - ___sell___ this? Maybe not only to _one_
> customer, but burn a CD and sell it to _a couple_ of customers?

   You are pretty free to sell it, but you are forced to distribute GPL'd
sources along with binaries.

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


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




[Zope] call a dtml doc in subfolder?

2000-09-12 Thread sean

Hi,
I want to call a dtml doc with  where docname 
is in a subfolder.  What is the syntax to do this?

--Sean

___
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 the GPL poison pill

2000-09-12 Thread Nils Kassube

Danny William Adair wrote:

> Is it not possible to take a few GPLed Zope products, add your own effort of
> configuring, integrating, building, (re-)designing, and even documenting the
> outcome of your efforts and - ___sell___ this? Maybe not only to _one_
> customer, but burn a CD and sell it to _a couple_ of customers?

You can sell it but...

AFAIK you risk that everyone else can copy your effort for free
if you built software on GPL'ed code.

And what's only a compilation and what's a derived work (subject
to the GPL) is up to the lawyers. Personally, I try to avoid
legal ambiguities. 

Cheers,
Nils
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] (preferred)
[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] Xron TypeError revisited

2000-09-12 Thread Loren Stafford


From: "Dwayne Morrison" <[EMAIL PROTECTED]>


> Hello,
>
> I posted earlier about Xron 0.0.9 event scheduling woes.  One of my stabs
> in the dark seems to work.
> I removed the 'this()' parameter entirely and
> now am able to schedule events via DTML.

I'm glad you figured out how to proceed.

I wondered why this() was necessary in the first place. Calls to python
procedures usually pass this() implicitly. However, here we have a DTML to
Python call, and I was never very clear about how they work.

> I also had to add the 'US/Eastern'
> parameter to the DateTime call to get a current value for DateTime.  It
was
> returning 12/31/1969.

Hmm, this is different from what I get. DateTime() reliably gives me the
current time (in all Zope versions I have used). DateTime(0) is supposed to
give 1969/12/31. I haven't a clue why you would get different results.

>
> Xron documentation (works on Zope 2.1.3):
>
> 
>
> 
>
>
> Here's what works for me on 2.2.0:
>
> 
>
> 
>
>
> I'd appreciate any insight as to why this works without the 'this()'
> parameter in 2.2.0.

I think the real question is why it was necessary with Zope 2.1.3.

FWIW, you can also explicily name the title parameter:





I hope others on the list will chime in with their knowledge. I don't think
either of these questions is specifically about Xron itself.

-- Loren




___
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 doesn't start...

2000-09-12 Thread César A. K. Grossmann

Martijn Pieters wrote:
> 
> Remove ComputedAttribute.py and things should be better. In the source
> distribution it is located in lib/Components/ExtensionClass, which isn't
> included in the Linux binary distribution.

I removed the file ComputedAttribute.pyc and everything works well. It
was in /usr/lib/python1.5/

[]s
-- 
 +-+-+
 | César A. K. Grossmann   | Capacitação Solidária   |
 | [EMAIL PROTECTED]| http://www.uol.com.br/umminuto/ |
 | http://members.xoom.com/ckant/  | Clique e doe - é de graça   |
 +-+-+
   http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html
We'll try to cooperate fully with the IRS, because, as citizens, we feel
a strong patriotic duty not to go to jail.
-- Dave Barry

___
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] ZServer going down ??

2000-09-12 Thread Marc Gehling

Hello,

my zserver is often going down. this is my nohup.out-log on linux red
hat. Any Idea ?


2000-09-12T15:27:17 ERROR(200) ZServer uncaptured python exception,
closing chan
nel  (socket.error:(9, 'Bad file descriptor')
[/usr/local/dc/Zope-2.1.4-linux2-x
86/ZServer/medusa/asynchat.py|initiate_send|211]
[/usr/local/dc/Zope-2.1.4-linux
2-x86/ZServer/medusa/http_server.py|send|400]
[/usr/local/dc/Zope-2.1.4-linux2-x
86/ZServer/medusa/asyncore.py|send|237])


___
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] My Z Class

2000-09-12 Thread Andy McKay

A Class is a template for an object, you create it once and any changes
affect every object.

An object is an instance of a class, it contains data, properties etc.
Changing that just changes the object and it is common to change the
information in an object.

Karl I think you are trying to change the image object in an object. The
syntax for that depends upon what you are trying to do but /myobject/myimage
might be the url to your image.

- Original Message -
From: "Rik Hoekstra" <[EMAIL PROTECTED]>
To: "Karl Munroe" <[EMAIL PROTECTED]>
Cc: "Zope Help" <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 2:07 AM
Subject: Re: [Zope] My Z Class


>
>
> Karl Munroe wrote:
> >
> > I have constructed a z class which contians other products. Is it
possible
> > for me to have access and edit the properties of the objects contained
in
> > the z class.
> > For example. MYZClass contains an image object...how do I change the and
> > edit the photo contained in the class
> >
>
> I don't know if I get this right. The point of ZClasses is that they
> provide common behaviour for all instances of the class. This means that
> if you have an image in the ZClass, it will be available in all the
> instances, but if you change it 1) that can only be done in the ZClass
> definition and 2) this will affect all your instances.
>
> If you want an image that is specific for your ZClass instance, you'll
> have to put it into the instance. You can change it there like any
> normal Zope object. Creating the Image object inside your instance can
> be done at the time the ZClass is created and you can also customize the
> image object at that time.
>
> Please provide more details as to what you try to attain if I got your
> question wrong.
>
> 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 )
>


___
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 the GPL poison pill

2000-09-12 Thread Magnus Alvestad

[Danny William Adair]

| Now Nils and Oleg are giving me the creeps.

There are several issues here.

First, it is not obvious that including one GPL'ed product in a zope
site and then distributing that site obliges you to distribute any
further source code.  Only if you (embrace and) extend that specific
product would the GPL hit you.

Second, even if it does, remember that a zope site almost always
includes source anyway.  I guess the exception would be if you have
binary-only python files or linked pre-compiled c-code or something
like that.  But it would be very hard to claim that those parts were
'infected' by a product on your site being GPL'ed.

Third, you are only obligated to distribute source to parties you have
already distributed the binary version to.  I can't really see a
customer buying a zope site from you and not expecting 'source'
anyway.

-Magnus (I'm not a lawyer)



___
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] are there any known memory leaks in Zope 2.2.1?

2000-09-12 Thread Skip Montanaro


I'm experiencing bad memory leaks in my ZServer-based system.  I recently
upgraded from 2.0.0 to 2.2.1.  I didn't have leakage using 2.0.0 - certainly
nothing like I'm seeing it now.  When I call the same method (same
parameters as well) over and over, I pretty significant leakage via isolate
methods exposed through ZServer to test scripts that don't use ZServer, no
leakage occurs, so I'm beginning to think there's something amiss with
ZServer or DocumentTemplate (the two pieces I use most heavily) or the parts
they use.  Unfortunately, even disconnected from ZServer, my code is still
pretty dependent on my own environment so I can't easily post a script for
people to gaze at.  One simple method (just executes a DocumentTemplate and
returns the resulting HTML) seems to be growing at a rate of about 16kbytes
every five to ten times it's called.  A search method that calls an XML-RPC
server to do the work is much worse, growing at a rate of 85kbytes to
100kbytes per call.

It's certainly possible that I'm creating some garbage that Python's
reference counting can't reclaim, but when I run my server under Python
2.0b1 with the new garbage collector enabled (and collecting at each call)
it never finds anything to collect, so it would appear that the garbage is
either being created at a lower level (non-Python heap allocations in C
code) or Python objects are getting appended to lists or dicts that are
visible to some part of the system (just not obvious to me).

What tools are available to try and detect memory leaks in Zope-ish
applications?  What input can I provide to DC or other interested experts to
help track this down?

Thx,

-- 
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.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] dtml-in theentiresite

2000-09-12 Thread Dieter Maurer

peter be writes:
 > In the root
 > A DTML Method
 > 
 > Some objects (mostly DTML Documents) have a property (boolean) that tells
 > whether this is a helppage or not.
 > What I want to do is to loop though eash and every object in the entire site
 > (not very big) and check if the object has this property.
You can use "ZopeFind" (see the object reference on zdp.zope.org
for a documentation) with 

obj_expr='_.hasattr(aq_explicit,"your_property")'


You will need Zope 2.2.1 as older Zope version have a ZopeFind bug
preventing this use.


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] How to Pass values to a DTML method ??

2000-09-12 Thread Dieter Maurer

Stuart Foster writes:
 > Dieter Maurer wrote:
 > > You should include two positional parameters as well:
 > > 
 > >
 > This is the way I had to do it what's up with the two extra params?
DTML objects use the DocumentTemplate's (--> DocumentTemplate.DT_String)
__call__ function for rendering.

This function has two (optional) positional arguments, "client" and
"mapping" and an arbibrary number of keyword parameters.
All these parameters together determine the content of
this magic "namespace" that is used for name resolution inside
the DocumentTemplate.
If you want more details about this, look either at the source
code documentation or search the lists archive for another
post where I explained that in more detail.

For a DTML object "name",
 is equivalent to ,
i.e. the client is "None" and the mapping is the namespace
object "_". This propagates the namespace of the calling
object into the called DTML object.
If you use , i.e.
you do not provide parameters for the positional parameters,
there use their default value, "None". This implies that
the outer namespace and the corresponding context is not
available in the called DocumentTemplate.



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] Zope and the GPL poison pill

2000-09-12 Thread Nils Kassube

Magnus Alvestad wrote:

> Third, you are only obligated to distribute source to parties you have
> already distributed the binary version to.  I can't really see a
> customer buying a zope site from you and not expecting 'source'
> anyway.

The problem is not that a client who paid for custom development
will get the source. It's the fact that you have to release the
source code of an enhanced GPL'ed component (and possibly stuff
built with it) for everyone else, too. 

Another issue is that in a complex object oriented environment
like Zope it's difficult to determine if you only used a GPL'ed 
component or "embraced and extended" it. 
  
Cheers,
Nils 
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] (preferred)
[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] Zope and the GPL poison pill

2000-09-12 Thread Tim Cook

Danny William Adair wrote:
> 
> Hi all!
> 
> Now Nils and Oleg are giving me the creeps.
> Is it not possible to take a few GPLed Zope products, add your own effort of
> configuring, integrating, building, (re-)designing, and even documenting the
> outcome of your efforts and - ___sell___ this? Maybe not only to _one_
> customer, but burn a CD and sell it to _a couple_ of customers?
>

Yes, you can. BUT, you must make the source code available.
 
> In my opinion (yes, opinion has nothing to do with lawyers and courts ;-)),
> in this case you wouldn't be selling other people's products, no you would
> have created something new, which ___you___ can put a copyright on. It's a
> compilation, and with enough value-adding effort put in to this compilation,
> none of the respective GPL authors could claim to be co-author of your
> production. Since you don't want to (only) sell your service of deploying,
> but also your new product. (product in its conventional meaning, I would
> call a Zope product a "module" in this respect)


This is exactly why I decided to GPL my FreePM project.  A
company with deeper pockets for marketing and more presence in
the marketplace could take my work (under some of the other
licenses ) and use it to their own gain. Under the GPL, they must
make their source available too.
 
The GPL is not a cure all. But it certainly has it's place.

>But as one of the people who respect your freedom, I will do all my best
> to protect your freedom (in the way that do not limit my freedom). You are
> free to use my code, to read it and patch it, to send me your patches or to
> fork the code. AND FINALLY YOUR ARE FREE TO *ignore* MY CODE!
> 
>But please, please! If you respect my freedom - do not ask me to change
> the license. I love GPL and found it pretty suitable for my needs.
> 
> Oleg.

Exactly! 


-- Tim Cook --
Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
* Specializing in Open Source Business Systems *
FreePM Project Coordinator http://www.freepm.org
OSHCA Founding Supporter http://www.oshca.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] 'showREQUEST' or 'show_REQUEST' ?

2000-09-12 Thread Dieter Maurer

Steve Alexander writes:
 > I get an error when I try to add a DTML Method with REQUEST anywhere in 
 > the id.
 > 
 > Actually,  the method gets added, but I cannot edit it.
 > 
 > I haven't found out why yet.
The bad code is in "ZPublisher.BaseRequest.traverse":

# Make sure that REQUEST cannot be traversed.
if find(path, 'REQUEST') >= 0:
return response.notFoundError(path)

While the comment indicates that "REQUEST" should not be traversed
(probably a good thing to avoid complete confusion inside DTML),
the code is a bit generous to ensure this as it forbids
"REQUEST" to occur anywhere in the path.

Almost surely a case for the Collector.



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 )




[Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-12 Thread Spicklemire, Jerry

Richard Moon says:

>Zope offers the potential to be the perfect development environment with 
>tons of really good solutions off the shelf - these can be customised if 
>they have to, we can drop down to Python if we really need to. Perfect.
>
>Unfortunately its been difficult to get discussions like this going on 
>zope.org as its mainly devoted to coding problems, while zope-dev is to do 
>with deep and complex zopezen.

Many very helpful goodies have been contributed, and are available under
"Downloads". However, as we've seen so often, documentation is the last 
thing on the priority list, so these gems are mostly still quite rough. 

It looks like a great deal of value can be added to Zope in the form of 
ultra-easy integration of stuff that already exists, and step-by-step, 
"hold my hand" How-To docs to makes sure even the greenest Newbies can 
make the most of what's there.

Thanks for all the cogent comments!
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] Defining a session idle timeout value using FSSession...

2000-09-12 Thread Aaron Bostick

Would anyone on the list have a solution to implementing idle timeouts using
FSSession?  

I know you can cron up a simple job to delete the FSSession hierarchy based
on date and time, but how do you know which sessions are still being used if
you want to delete stuff say every 10 minutes or so?

I logged on this morning to find out my session was still active from last
night! Oh boy!

Thanks folks!
Aaron Bostick


___
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 the GPL poison pill

2000-09-12 Thread Bill Anderson

Nils Kassube wrote:
> 
> Oleg Broytmann wrote:
> 
> > LICENSE
> >GPL
> 
> I've seen several Zope products using the GPL. In my not so
> humble opinion, this could develop into a serious problem
> for Zope deployment. I'm not a lawyer (nor do I play one on TV),
> but the use of GPL'ed source code like e.g. Renderable ZClass
> in your web site probably means that you're now forced to publish
> every single bit of source built using the GPL'ed module --

No. This is clearly incorrect. The GPL only applies to the code, and modifications to 
said code. If you are in doubt as
to the licensaes of various systems, ask a lawyer. Many of the rest of us have.

> including commercial intranet projects. This can be impossible
> if you don't own the rights to every single piece of code used
> in a project.
> 
> I hope Zope product developers think twice about using the GPL.
> The GPL license is not about sharing like e.g. the BSD license,
> it's about enforcing the political agenda of people who think
> that commercial ("proprietary") software w/o source code is evil.

Please, take license religous wars elsewhere. This is not an appropriate forum. This 
last paragraph sounds very
troll-like, or flame-baiting to me. This list is about using Zope.

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
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 the GPL poison pill

2000-09-12 Thread Lalo Martins

On Tue, Sep 12, 2000 at 06:02:15PM +0200, Nils Kassube wrote:
> [EMAIL PROTECTED] (Oleg Broytmann) wrote:
> 
> >No, you are not forced to publish anything. GPL "virus" applied only if
> > you want to *distribute* combined (your code + my GPL'd code).
> 
> Like in "distributing to clients"? So that I have to publish
> source code to the whole world (not only clients) then? 

No. If you give binaries to someone, you have to also give
sources. You're not obliged to give the binaries to anyone. You
can charge big bucks for the binaries, but if someone has them
they're free to redistribute it.

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
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 the GPL poison pill

2000-09-12 Thread Jim Hebert

On Tue, 12 Sep 2000, Nils Kassube wrote:

> The problem is not that a client who paid for custom development
> will get the source. It's the fact that you have to release the
> source code of an enhanced GPL'ed component (and possibly stuff
> built with it) for everyone else, too. 

*gasp* Your client will have *RIGHTS*, and won't be beholden to you?
Like the right to post a code snippet of yours to this list and say "the
original developer wants $ to debug this problem, can someone else
help me?" Perish the thought! How will you ever become rich if you can't
get on the "pay me to fix it, or pay someone else to start from scratch"
train?

Look, I'm the last person on earth to say the GPL is perfect, or is the
one true license, or anything else. I've heard a number of GOOD arguments
in a number of venues about why the GPL may not be the best choice in that
setting.

But this thread boils down to a bunch of people who want to sell a
solution which includes work other than their own, receive all the money
from the sale, bar the client from getting other 3rd parties to help
them improve what they paid for, and further have a legal monopoly on
distributing that solution to any additional people.

What utter bald-faced greed and ingratitude. You are actually bemoaning
the fact, on a public list, that you'll have to write things from scratch
if you want to have the right set the terms of distribution on those
things. You're begrudging others the right to set the terms of
distribution on their things, because it impinges on your ability to make
a profit. You're simply pointing out that you'll have to do more work to
make your money this way.

What exactly about all of that is supposed to tug at the heartstrings of
people who routinely give you free code whose real dollar value easily
exceeds what either of us makes in a year?

Unbelievable.

jim
Not speaking for Cosource.com or Vistasource.com.

PS I am *very* grateful for all of the amazing free software that the Zope
community produces under ALL of its licenses. Thank you all, so much! The
size of the gift you give is already mind boggling, so to those of you who
choose the GPL, please ignore the ingrates who would ask you to make the
gift even "larger" by giving up your copyleft.

PPS Next time you think about comparing a world in which you had Product
X, GPL'd and Product X, non-copylefted, try comparing a world in which you
had Product X, GPL'd and had nothing because they won't distribute it
under any terms whatsoever. It's easy to ask for even more generosity from
someone when you take what you already have for granted. Try respecting
the size of the gift you've already received for a bit of perspective.



___
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 the GPL poison pill

2000-09-12 Thread Magnus Alvestad

Just to state my position, I have worked as a professional commercial
software developer since 1994.  I think the GPL is appropriate for
work I do outside customer contracts.

[Nils Kassube]

| The problem is not that a client who paid for custom development
| will get the source. It's the fact that you have to release the
| source code of an enhanced GPL'ed component (and possibly stuff
| built with it) for everyone else, too. 

(complete version at http://www.gnu.org/copyleft/gpl.html)

-- from the GPL 

3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

 a) Accompany it with the complete corresponding machine-readable
 source code, which must be distributed under the terms of
 Sections 1 and 2 above on a medium customarily used for software
 interchange; or,

 b) Accompany it with a written offer, valid for at least three
 years, to give any third party, for a charge no more than your
 cost of physically performing source distribution, a complete
 machine-readable copy of the corresponding source code, to be
 distributed under the terms of Sections 1 and 2 above on a medium
 customarily used for software interchange; or,

--

These are the most relevant sections.  It's pretty clear that you are
only obligated to distribute source to the parties you've distributed
object code / executable form to.

| Another issue is that in a complex object oriented environment
| like Zope it's difficult to determine if you only used a GPL'ed 
| component or "embraced and extended" it. 

Actually the embrace and extension was a silly Microsoft-joke, the
definition in the license text is more verbose:

.. a "work based on the Program" means either the Program or any
derivative work under copyright law: that is to say, a work containing
the Program or a portion of it, either verbatim or with modifications
and/or translated into another language. ..

I don't think a zope site could be defined as a 'work'.

-Magnus


___
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 logging in to /manage resource

2000-09-12 Thread Rudd-O

Hello,

I've been tryhing hard for the last two weeks to use
zope but I can't seem to get it to go past the /manage
resource.  I'm running zserver, I tried the default
password, changing it with zpasswd, removing domain
restrictions, everything, but it still gives me
authentication failed.  Please help me.  I'm going
insane here.

Thanks for your time =)

--
   Universidad Federico Santa Maria - Campus Guayaquil

___
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 login window: how to change the 'Zope' realm/resource??

2000-09-12 Thread Danny William Adair

Hi Gilles!

Doesn't the "realm tip" apply anymore?

---
Use Z_REALM env. var to set your HTTP
mcdonc brings us this tip:

Set the environment variable "Z_REALM" to change the HTTP "authentication
realm" in which your Zope server
participates.
Additional details:
For example, under the Bourne or BASH shells (in UNIX):
# Z_REALM="My Realm"
# export Z_REALM
The equivalent can be done under Windows NT by setting environment variables
in the startup environment under the
System Control Panel.
Created 1999/10/23
---

Hope this helps,
Danny



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
Gilles Lavaux
Gesendet: Dienstag, 12. September 2000 09:31
An: [EMAIL PROTECTED]
Betreff: [Zope] zope login window: how to change the 'Zope'
realm/resource??


Hello,

Question about Zope 2.2.1:
- I have a 'administration' folder which contains administration methods and
is restricted to the 'project_admin'  role.
- The user 'toto' has the role 'project_admin'.

  When I access this folder, the login window prompt for a 'Zope' resource
(IE4, Opera4..).
  I want to replace this 'Zope' by 'project_admin', or whatever role needed
by the folder.

Any idee??



Gilles Lavaux



___
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] Importing multiple files into Zope

2000-09-12 Thread Robert_J_Roberts

I would like to be able to import multiple existing HTML files into Zope and
make them searchable.

For example: 

I would like to be able to point a Zope Method at my c:\python\doc
subdirectory and import not only the index.html file, but also import the
subdirectories under ...\doc\ and all of their files/directories.  I would
need to end up with the same folder/directory structure within Zope to
retain the relative addressing.

I would like to be able to then build a search screen that allowed me to do
full text search on those files/objects.

Is there something in existence in the Zope community?  And, can it be used
by a Zope 'wannabe' but a 'long way from getting there'.

I do believe I could write such a thing myself, but I'm not sure I'll live
long enough to figure out how!

Thanks,

Robert J. Roberts
[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] Zope and the GPL poison pill

2000-09-12 Thread Dario Lopez-Kästen

- Original Message -
From: "Nils Kassube" <[EMAIL PROTECTED]>
To: "Magnus Alvestad" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 8:57 PM
Subject: Re: [Zope] Zope and the GPL poison pill


> Magnus Alvestad wrote:
>
> > Third, you are only obligated to distribute source to parties you have
> > already distributed the binary version to.  I can't really see a
> > customer buying a zope site from you and not expecting 'source'
> > anyway.
>
> The problem is not that a client who paid for custom development
> will get the source. It's the fact that you have to release the
> source code of an enhanced GPL'ed component (and possibly stuff
> built with it) for everyone else, too.


so, your main problem here is that you take someone elses work, modify it to
suit your needs under a license that *specifically* grants you those rights,
and then, when you want to distribute your modifications, you find yourself
in a bad position, because it will mean that you would have to give
everybody else the same rights that allowed you to distribute a modification
of someone elses work, in the first place?

In other words, you don't mind being the "sharee", but do not wish to be the
"sharer", particularely when it somes to work that others have "shared" to
you? To shout bloody murder because of this is to REALLY expose one self,
don't you think?

To me, this is the ultimately reason to have the GPL around. It helps us
ensure that all that want to profit from our work but have no interest in
returning the favor will have to turn elsewhere or actually do some of the
grundwork themsleves.

Mind you that my english is not too good, so there might be som parts of
this thread that I have not fully understood or that I may have got
completely wrong; if so, fell free to enlighten me.

Sincerely,

/dario

- 
Dario Lopez-Kästen Systems Developer  Chalmers Univ. of Technology
[EMAIL PROTECTED]  ICQ will yield no hitsIT Systems & Services




___
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

2000-09-12 Thread Tom Deprez

Hi,

I use an ZSQLMethod to query a database. In the result report I try to
insert the results of another ZSQLMethod per each record of the first
result report. The problem is that the first record shows the correct
result of the second result, but that the following records all show the
second result report of the first record. Here follow some code snippets: 

This query (contact_lookup) is called from the second report :

select *
from CONTACTPERSON
 
   


Here is the second report (tabular_contact_report) :



   

  

   


  
  
  
  
  
  


   

  
   

  None


And here is a piece of the first report ( tabular_address_report):





 
  
  
   
 
 
 
   
   Contactpersons
 
   
   
 
 
 
  <<<
 
   
  
   
 

  
   




It looks like the query is only done with the first request (ie record no
1) and not with the following record. Because the second query returns
always the same results (although I call the query with a different where
parameter). What am I doing wrong?

Tom.

___
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] call a dtml doc in subfolder?

2000-09-12 Thread Tim Cook

[EMAIL PROTECTED] wrote:
> 
> Hi,
> I want to call a dtml doc with  where docname
> is in a subfolder.  What is the syntax to do this?
> 


  


HTH,
-- Tim Cook --
Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
* Specializing in Open Source Business Systems *
FreePM Project Coordinator http://www.freepm.org
OSHCA Founding Supporter http://www.oshca.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] problem logging in to /manage resource

2000-09-12 Thread Tony McDonald

>   Hello,
>
>I've been tryhing hard for the last two weeks to use
>zope but I can't seem to get it to go past the /manage
>resource.  

Ouch! - you'll like it once you get started.

I'm running zserver, I tried the default
>password, changing it with zpasswd, removing domain
>restrictions, everything, but it still gives me
>authentication failed.  Please help me.  I'm going
>insane here.
>
>Thanks for your time =)

Try this;
Edit 'access' with a simple text editor, delete the entire line.
Replace the entire line with
superuser:123
then (assuming unix - my only domain knowledge wrt Zope)
% ./stop
% ./start

See if you can login now - the {SHA} stuff isn't there anymore (might be

getting in the way - although I can't figure out why that might be the case).

Are you connecting to the right server? (assumes you're running multiple

servers, possibly on multiple ports).

You're not frontending ZServer with Apache are you? (to get authentication in

this instance means you need to use ReWrite rules in Apache).

If the answer to all these questions is "yes, yes, of course I am" then I'm

baffled. Sorry.

HTH
Tone



___
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 the GPL poison pill

2000-09-12 Thread A.J. Rossini

> "TC" == Tim Cook <[EMAIL PROTECTED]> writes:


TC> Danny William Adair wrote:
>> Hi all!
>> 
>> Now Nils and Oleg are giving me the creeps.  Is it not possible
>> to take a few GPLed Zope products, add your own effort of
>> configuring, integrating, building, (re-)designing, and even
>> documenting the outcome of your efforts and - ___sell___ this? 
>> Maybe not only to _one_ customer, but burn a CD and sell it to
>> _a couple_ of customers?
>> 

TC> Yes, you can. BUT, you must make the source code available.

And before we get too far -- 

Source code available to the recipient means just that.   They (the
recipient) have it available to them.  That doesn't necessarily mean
that you ship it, but that it is available to them.  And that
definitely doesn't mean "available to the world".

Though, this whole argument is sort of silly, given that we are
talking about extensions to an "open source platform" to begin with,
so that sales based on services make more sense than shrinkwarp'd
(sic) EULA-code..

best,
-tony

-- 
A.J. RossiniRsrch. Asst. Prof. of Biostatistics
BlindGlobe Networks (home/default)  [EMAIL PROTECTED]  
UW Biostat/Center for AIDS Research [EMAIL PROTECTED]
FHCRC/SCHARP/HIV Vaccine Trials Net [EMAIL PROTECTED]

FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy
CFAR:   W/F: 206-731-3647 (fax=3694) | Email is far better than phone
UW:Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax

___
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.1 Problem

2000-09-12 Thread Shane Hathaway

Steve Williams wrote:
> 
> I installed ZOPE 2.2.1 yesterday under Windows 98 to fix a ZSQL
> authorization problem.
> 
> After rebooting my machine this morning, when I run ZOPE's start.bat,
> the DOS command screen comes up, flashes some messages quickly and then
> disappears, so ZOPE won't start.
> 
> Running Z2.py in Python gives me the following traceback:
> 
> >>> Traceback (innermost last):
>   File "C:\Program
> Files\Python\Pythonwin\pywin\framework\scriptutils.py", line 237, in
> RunScript
> exec codeObject in __main__.__dict__
>   File "C:\Program Files\ZopeHub\Z2.PY", line 554, in ?
> exec "import "+MODULE in {}
>   File "", line 1, in ?
>   File "C:\Program Files\ZopeHub\lib\python\Zope\__init__.py", line 94,
> in ?
> import ZODB, ZODB.ZApplication, imp
>   File "C:\Program Files\ZopeHub\lib\python\ZODB\__init__.py", line 85,
> in ?
> import sys, ExtensionClass, TimeStamp, cPersistence, Persistence
> ImportError: No module named ExtensionClass
> 
> I've got an ExtensionClass.ref and an ExtensionClass.stx in
> lib/Python/StructuredText/regressions, but no ExtensionClass.py
> 
> I have no products installed, other than the ones that come with the
> distribution and I have no Python extensions.

Did you install the source release or the binary release?  You'll want
the binary release in order to get the C modules that are required for
Zope.  Either that or compile them yourself.

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] Zope and the GPL poison pill

2000-09-12 Thread Hannu Krosing

Magnus Alvestad wrote:
> 
> [Danny William Adair]
> 
> | Now Nils and Oleg are giving me the creeps.
> 
> There are several issues here.
> 
> First, it is not obvious that including one GPL'ed product in a zope
> site and then distributing that site obliges you to distribute any
> further source code.  Only if you (embrace and) extend that specific
> product would the GPL hit you.

That's LGPL, GPL affects anything _linked_ to it ;(

> Second, even if it does, remember that a zope site almost always
> includes source anyway.  I guess the exception would be if you have
> binary-only python files or linked pre-compiled c-code or something
> like that.  But it would be very hard to claim that those parts were
> 'infected' by a product on your site being GPL'ed.

LGPL would be fine, but GPL directly affects anything "linked" to/with
it.

As GPL has never (AFAIK) been tested in court the whole discussion may
be 
moot, but otherways you are in muddy waters if you use GPL'd modules and 
don't make all your source available. It _may_ be possible to separate 
your site into code, content and docs, but still at least whole source
code 
is affected, perhaps contents too, depending on how you/RMS/judge sees
it.


> Third, you are only obligated to distribute source to parties you have
> already distributed the binary version to.  I can't really see a
> customer buying a zope site from you and not expecting 'source'
> anyway.

I can see only two reasons (except extortion) for not providing the code
- 
1. extremely bad code and 2. some really nifty invention (here a patent 
would serve you better anyway)


--
Hannu

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

2000-09-12 Thread Matthew Burleigh

me
-- 
Matt Burleigh
Systems Administrator, Digital Creations - publishers of Zope.

___
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 login window: how to change the 'Zope' realm/resource??

2000-09-12 Thread Steve Drees

> ---
> Use Z_REALM env. var to set your HTTP
> mcdonc brings us this tip:
> 
> Set the environment variable "Z_REALM" to change the HTTP "authentication
> realm" in which your Zope server
> participates.
> Additional details:
> For example, under the Bourne or BASH shells (in UNIX):
> # Z_REALM="My Realm"
> # export Z_REALM
> The equivalent can be done under Windows NT by setting 
> environment variables
> in the startup environment under the
> System Control Panel.
> Created 1999/10/23
> ---

WHat if we want to change the realm dependent on the folder?

I.e. Is there a way to change this at run-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] Getting the count from dtml-in

2000-09-12 Thread Stuart Foster

How do I get the count in a sequence?



rec_id is a field from a table that is being used in the . However
the result isn't correct.

TIA

Stuart


___
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] Never mind dtml-in

2000-09-12 Thread Stuart Foster

Oops how about count-rec_id..

Sorry for the previous message.

Stuart

___
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 stuf product

2000-09-12 Thread technology

http://www.zope.org/Members/greulen/zopestud

This is too cool. Way alpha and it is what I have been looking for.

After I installed it I opened the options drop menu and selected settings. I 
then clicked the 'editor' tab and selected the 'Editor executable' radio 
button. I browsed to dreamwaver setting it as the default editor. It works.



___
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 the GPL poison pill

2000-09-12 Thread Karl Anderson


Correct me if I'm wrong (and don't bother with the discussion on the
merits or non- of the GPL, I don't care in this context), but:

In order to link/incorporate a GPL'd module, you have to be able to
distribute the entire work under the GPL.

RMS says that the ZPL isn't compatible with the GPL; either you can't
get something via rights given by the ZPL, then distribute it under
the more restrictive rights of the GPL (the copyleft virus).  Or vice
versa.

Therefore, assuming RMS is correct, GPL'd components can't be
distributed as part of a Zope solution.  You can link & use them, or
distribute one and provide a pointer to the other for the other party
to install, just not distribute them together to anyone else.

Is this correct?  If it is, the GPL isn't very appropriate for the
license of a Zope product, becuase it's a packaging nightmare.

-- 
Karl Anderson  [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] Date format problems

2000-09-12 Thread Stuart Foster

I am using the following on an NT installation with no problems


However when I use it on a Linux install it get 

Error Type: ValueError
Error Value: unsupported format character 'm' (0x6d)

What am I missing here. 

___
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] call a dtml doc in subfolder?

2000-09-12 Thread Curtis Maloney

On Wed, 13 Sep 2000, [EMAIL PROTECTED] wrote:
> Hi,
> I want to call a dtml doc with  where docname
> is in a subfolder.  What is the syntax to do this?
>

This is where we find out why you don't put a . in an object name. (o8



Simple enough? (o8

> --Sean
>

Have a better one,
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 )




[Zope] ZODB editing options via FTP/webdav, and 2 design questions

2000-09-12 Thread Chris Beaumont

Hello all,

I'm curious about what the current state-of-the-art is for using
techniques other than (clumsy) browser editing to edit Zope objects in
the ODB, and FTP and webdav -capable products and which ones they like
the most.. How is webdav different than FTP?  How would one use it?

 I've used BBEdit extensively with Zope and it's great.. however, I cant
help but wonder if there is some other, more visual approach I dont know
about.. I can do my templates outside of Zope and then move them into
DTML, but I am curious what others do.. what the cool tools and most
effective methods of working with the ZODB are.. Is anyone using GoLive?
Is there anyway to edit "live" DTML and see it _in action_ without
needing a multitude of separate windows open? 

The "DTML Templates" product looks intriguing.. What is the workflow
like? How do people use it?

Another "design" related question.. Does Zope provide a method to use a
resizable clear-gif spacer image? 
I like to use them to fix the minimum size of table cells and enforce a
"grid". What's the best way of doing this in Zope?

Thank you.
Chris Beaumont
[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] Getting the count from dtml-in

2000-09-12 Thread Jonothan Farr

> How do I get the count in a sequence?



--jfarr


___
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] Ownership and security

2000-09-12 Thread Andy McKay

How do I remove ownership from a product, ie: make it unowned?

I have some dtml that works quite happily on unowned objects, but at soon as
they become owned I get into a whole whack of problems with getUserById. Of
course I would really love to have ownership work, but I know its hell
trying to explain it on a mailing list.

--
  Andy McKay, Developer.
  ActiveState.


___
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] are there any known memory leaks in Zope 2.2.1?

2000-09-12 Thread Kapil Thangavelu

Skip Montanaro wrote:
> 
> I'm experiencing bad memory leaks in my ZServer-based system.  I recently
> upgraded from 2.0.0 to 2.2.1.  I didn't have leakage using 2.0.0 - certainly
> nothing like I'm seeing it now.  When I call the same method (same
> parameters as well) over and over, I pretty significant leakage via isolate
> methods exposed through ZServer to test scripts that don't use ZServer, no
> leakage occurs, so I'm beginning to think there's something amiss with
> ZServer or DocumentTemplate (the two pieces I use most heavily) or the parts
> they use.  Unfortunately, even disconnected from ZServer, my code is still
> pretty dependent on my own environment so I can't easily post a script for
> people to gaze at.  One simple method (just executes a DocumentTemplate and
> returns the resulting HTML) seems to be growing at a rate of about 16kbytes
> every five to ten times it's called.  A search method that calls an XML-RPC
> server to do the work is much worse, growing at a rate of 85kbytes to
> 100kbytes per call.

any noticeable differences if you flush the cache?

> It's certainly possible that I'm creating some garbage that Python's
> reference counting can't reclaim, but when I run my server under Python
> 2.0b1 with the new garbage collector enabled (and collecting at each call)
> it never finds anything to collect, so it would appear that the garbage is
> either being created at a lower level (non-Python heap allocations in C
> code) or Python objects are getting appended to lists or dicts that are
> visible to some part of the system (just not obvious to me).
> 
> What tools are available to try and detect memory leaks in Zope-ish
> applications?  What input can I provide to DC or other interested experts to
> help track this down?
> 
> Thx,


You might want to check the ref count info at www.nightmare.com/medusa 


some notes from the pywx group (pywx.sourceforge.net) that might be
helpful
"""
`intern'ed Python strings are shared process-wide, so there would be a
memory leak if varying strings would get interned. You can get more
information from the Python
documentation for the built-in function `intern()'. 

Scripts running under PyWX can, of course, also cause memory leaks if
they create circular references (unfreeable by Python's
reference-counting scheme) or import buggy C
extension modules. 
"""


I hope thats somewhat helpful

Cheers

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] Zope and the GPL poison pill

2000-09-12 Thread Kapil Thangavelu

Karl Anderson wrote:
> 
> Correct me if I'm wrong (and don't bother with the discussion on the
> merits or non- of the GPL, I don't care in this context), but:
> 
> In order to link/incorporate a GPL'd module, you have to be able to
> distribute the entire work under the GPL.
> 
> RMS says that the ZPL isn't compatible with the GPL; either you can't
> get something via rights given by the ZPL, then distribute it under
> the more restrictive rights of the GPL (the copyleft virus).  Or vice
> versa.
> 
> Therefore, assuming RMS is correct, GPL'd components can't be
> distributed as part of a Zope solution.  You can link & use them, or
> distribute one and provide a pointer to the other for the other party
> to install, just not distribute them together to anyone else.
> 
> Is this correct?  If it is, the GPL isn't very appropriate for the
> license of a Zope product, becuase it's a packaging nightmare.

While i'm not a GPL expert, I believe your interpretation is correct, in
that the distribution has to be separate. As far as packaging nightmare
goes, it might be an extra download link or cd in a distribution. Not
exactly a nightmare. I think a minor inconvience is worth giving freedom
to authors to make they're creations available as they wish.

and because you're a DC employee advocating against the GPL (for
specific reasons which amount to inconvience), i feel its important to
give a reason why you want to go through the inconvience:

I want to give my code to the community. i don't want people taking my
code from the community and distributing it without giving back. the
last thing i want to see is someone taking code from the community,
making changes to it and making it propertiary, and then selling it in
restricted form. if they sold it with source, thats fine. its not about
money, or code, its about freedom and enpowerment of the community.


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] Zope and the GPL poison pill

2000-09-12 Thread Terry Kerr

Hi,

I think the direction of this discussion has been lost.  The main
concern is with the distribution of GPL'd zope products as a part of
other products, commercial, proprietary, freeware, or not.  In this
case, does the GPL enforce that the product as a whole must be
distributed under the GPL?  The GPL states that it only applies to
"work based on the Program" defined as

"means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it, either
verbatim or with modifications..."

So from my understanding of this, and what others in this discussion
have said, this means that if you create a product that uses a GPL'd
product either by sub classing it or through other means, and you
distribute this GPL'd product with your own, with the GPL'd product
being modified or not, then your own product must also be GPL'd.  If
however you only provide a pointer in your distribution to the GPL'd
product, and it is up to the software installer to go and fetch the
GPL'd product, then you can distribute under any license that you wish.

On another note...I am not clear on the meaning of the terms in the
ZPL.  Is it possible to distribute your own product with its own license
(possibly the GPL) as a part of a standard un-modified zope distribution
with its terms and conditions intact (i.e., your product is in
lib/python/Products/ ), or in this case would your product automatically
fall under the ZPL?  Would you need to package your own product
completely separately for to to have its own license?

What do Digital Creations people have to say about this?  You have been
quiet so far ;-)

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 708 124
ICQ: 79303381




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




[Zope] ZODB export to other DB/format?

2000-09-12 Thread j

Hi,
I made an effort to look through the FAQs on zope.org and couldn't find a
definitive answer, though the ZODB faq hinted that my fears are warranted.

If I deploy a site and store content in the ZODB, what are my options in terms
of automatically getting it out of there and into another DB or format later
on? 

I just installed Zope tonight and have been going through the exercises in the
O'rielly chapters on the website. It's _really_ impressive, and I'm
considering using it and learning some Python instead of the homebrewed
PHP/MySQL Content Management App I've been working on, but without a good exit
strategy should I want to migrate away from Zope later, I'm hesitant. Can I
get an authoritative answer?

-Justin Knoll 

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

2000-09-12 Thread Matthew Burleigh

me
-- 
- Matthew Burleigh
- Systems Administrator, Digital Creations - publishers of Zope.
- (888)344-4332 -- http://www.digicool.com - 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] Backslash as line continuation in C (Unix)

2000-09-12 Thread Hung Jung Lu

Hi,

This is a Unix C question. But since I am doing something that ultimately 
results in a Zope product, I might as well ask the question here. :)

I am trying to build a third-party utility in Linux. I ran into troubles in 
the compilation process because of the usage of backslash \ as line 
continuation. (This is used in #def preprocessor macro statements.) When I 
remove the backslashes and join the lines, it compiles fine. (I know 
backslashes are fine in Windows Visual C++.)

Does anyone know any other better solution than go into the code and 
explicitly remove the backslashes? Is there any gcc option that recognizes 
backslashes are line-joining characters? Or is there another character used 
in gcc for joining lines? Any other suggestions?

regards,

Hung Jung

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.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] ignore

2000-09-12 Thread Matthew Burleigh


-- 
- Matthew Burleigh
- Systems Administrator, Digital Creations - publishers of Zope.
- (888)344-4332 -- http://www.digicool.com - 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] checking Zope's version number

2000-09-12 Thread Hung Jung Lu

Is there a way of detecting Zope's version number? (I know there is an 
environment variable REQUEST.environ['SERVER_SOFTWARE'], but is there a 
better/standard way of accessing Zope's version number?)

(I seem to have problem using the context.registerHelp() in a product's 
__init__ method under Zope 2.1.6.)

regards,

Hung Jung



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.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] ZODB export to other DB/format?

2000-09-12 Thread Bill Anderson

[EMAIL PROTECTED] wrote:
> 
> Hi,
> I made an effort to look through the FAQs on zope.org and couldn't find a
> definitive answer, though the ZODB faq hinted that my fears are warranted.
> 
> If I deploy a site and store content in the ZODB, what are my options in terms
> of automatically getting it out of there and into another DB or format later
> on?
> 
> I just installed Zope tonight and have been going through the exercises in the
> O'rielly chapters on the website. It's _really_ impressive, and I'm
> considering using it and learning some Python instead of the homebrewed
> PHP/MySQL Content Management App I've been working on, but without a good exit
> strategy should I want to migrate away from Zope later, I'm hesitant. Can I
> get an authoritative answer?

No, but you can get an answer or two for free. ;)

You can export Zope objects as XML. You can then write/find a parser that will convert 
these into the needfuls for
importing to a RDBMS.

Alternatively, you can store the data in an RDBMS using the SQL adapters.

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

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

2000-09-12 Thread Matthew Burleigh

me
-- 
- Matthew Burleigh
- Systems Administrator, Digital Creations - publishers of Zope.
- (888)344-4332 -- http://www.digicool.com - 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] Zope and the GPL poison pill

2000-09-12 Thread Andrew Kenneth Milton

I love the smell of napalm in the morning.
-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[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] Zope and the GPL poison pill

2000-09-12 Thread Erik Enge

[Karl Anderson]

| In order to link/incorporate a GPL'd module, you have to be able to
| distribute the entire work under the GPL.
: 
| Therefore, assuming RMS is correct, GPL'd components can't be
| distributed as part of a Zope solution.
: 
| Is this correct?  If it is, the GPL isn't very appropriate for the
| license of a Zope product, becuase it's a packaging nightmare.

I'm not quite sure what you mean by a «module».  Is a module an
extension to the Zope application, or is it a Product that resides in
lib/python/Products?  I'm a bit confused, you use «component»,
«product» and «module».  Which is what?

And if it really is Products (as in lib/python/Products), does this
mean that if I make a GNU GPL licensed application for a client, I
can't actually distribute Zope with it?  I have to install them
separately?

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