Re: [Zope-dev] License issues

2000-11-16 Thread Juan David Ibáñez Palomar

 
 In article [EMAIL PROTECTED],
 Jimmie Houchin  [EMAIL PROTECTED] wrote:
  The GPL would protect DC from predatory competitors. It would also allow
  for Zope's adoption in certain environments. I also believe some people
 
 And prevent it in others.
 
  would relicense their products to the GPL if it were Zope's native
  license.
 
 While other products would suddently become license-incompatible.
 

I'm not going to talk now about the Zope license, as Paul requested;
by the way, thanks Paul for your message, it has been hopefully.
Instead I'll show my rationale to decide with which license I release
my software.

As Jimmie I also like copyleft licenses because they protect my work.
But the GPL is not the only copyleft license, the LGPL is too, are there
more copyleft licenses?

The GPL-incompatibility issue is a GPL issue, one way to avoid it is
not to use it. But the GPL is a widely used license, so it's important
for me not to release software with a GPL-incompatible license.

I'm not a lawyer, so I don't want to write my own license nor modify an
existing one. For now I'll stay with the LGPL beacuse it's copyleft and
doesn't has the incompatibility problems of the GPL.


There're other issues like dual-licensing or the possibly outdated concept of
library that the LGPL uses, but I wanted to keep this message as short and
clear as possible to show the fundamental issues that are important for me:
GPL-Compatibility and copyleft.


regards,
jdavid

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




Re: [Zope-dev] License issues

2000-11-16 Thread Juan David Ibáñez Palomar

 
 On Tue, 14 Nov 2000 09:48:20 +0100 (MET), [EMAIL PROTECTED] (Juan
 David Ibáñez Palomar) wrote:
 
  it's illegal to distribute GPL code together
 with [ZPL] code
 
 I dont see this as an issue for Zope (taken as a whole). There is no
 problem with other developers releasing GPL products for Zope, as long
 as they do not create a combined distribution of Zope+TheirProduct.
 Separate rpms is enough.
 

it's important only if you want your GPL Zope products to be
redistributed by others, for example by Debian.



regards,
jdavid

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




Re: [Zope-dev] Two glaring omissions

2000-11-16 Thread Toby Dickenson

On Tue, 14 Nov 2000 15:39:59 -0500, Shane Hathaway
[EMAIL PROTECTED] wrote:

 2. The ability to rename properties after instances of the classes have
been created (and have the data in those fields preserved)

This is also more difficult than it sounds.  You'd have to either scan
through the entire ZODB and modify class instances or associate
properties with a magical, unchanging ID.  The latter solution is dead
wrong, but the first is actually kind of interesting.  If there were a
separate index for each object type in the ZODB, it would be possible. 
In fact, when ZODB is running from a relational database, there is
indeed a way to do that.  Hmmm...

Or if your ZClass has a python base class, then a __setstate__ method
could be added to do the same thing incrementally. Like all changes to
a Python base class, this requires restarting the server.

Toby Dickenson
[EMAIL PROTECTED]

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




Re: [Zope-dev] CVS and Zope methods

2000-11-16 Thread Steve Spicklemire


Hi Petr,

If you're running on something unixy.. you could use ZCVSMixin... 

-steve

 "PK" == Petr Knapek [EMAIL PROTECTED] writes:

PK Hi Zopists, I am working on a Zope project and we decided to
PK store source code in CVS. With python Zope products there is
PK no problem.  The work with CVS is very comfortable but I do
PK not know how to make comfortable also the working with Zope
PK methods which we would like have them in CVS also in plain
PK text format and not in zope export or XML format.  I would
PK prefer this: Put Zope methods into our CVS and edit them in my
PK working copy of CVS. When I restart Zope the Zope methods
PK which are in my CVS working copy will be placed into ZODB or
PK they will replace the content of existing ones.  Is this
PK possible and if yes can you advice me how to do this?  Or give
PK me some URL on documentation how others solve this problem.

PK Thank you very much in advance, Petr -- Petr Knápek NEXTRA
PK Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech
PK Republic e-mail: mailto:[EMAIL PROTECTED] tel:+420-5-43 554 150
PK FAX:+420-5-43 554 214

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


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




Re: [Zope-dev] CVS and Zope methods

2000-11-16 Thread Steve Spicklemire


Hi Robin,

   You can FTP to the 'methods' tab of your ZClass using:

ftp://name@server:xx21/Control_Panel/Products/YourProductFolder/YourZClass/propertysheets/methods

-steve

 "Robin" == Robin Becker [EMAIL PROTECTED] writes:

Robin On the same kind of note I find that while the code in my
Robin Zope Products is visible to FTP and searchable anything I
Robin put into a ZClass is invisible from FTP/or text
Robin searches. Although they appear a bit like folders in the
Robin management interface they aren't the same at all.  -- Robin
Robin Becker



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




[Zope-dev] Folders w/Customizer Support

2000-11-16 Thread Chris Withers

If a FwCS, supports a meta_type, does that mean it has to provide
everything for DataSkins of that meta_type?

To put it another way, could you have a FwCS that provided soem
properties and let another FwCS further up the acquisition tree supply
the rest?

cheers,

Chris

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




Re: [Zope-dev] CVS and Zope methods

2000-11-16 Thread Robin Becker

In article [EMAIL PROTECTED], Steve Spicklemire
[EMAIL PROTECTED] writes

Hi Robin,

   You can FTP to the 'methods' tab of your ZClass using:

ftp://name@server:xx21/Control_Panel/Products/YourProductFolder/YourZClass/prope
rtysheets/methods

-steve

...
yes I found that out although one of my dtml-methods was named
filtered_meta_types and was causing all sorts of problems including
crashing the server until I simply renamed it.
-- 
Robin Becker

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




Re: [Zope-dev] strange FTP bug

2000-11-16 Thread Ender

Robin Becker wrote:
 
 I'm using python's ftplib to automate transfer of my dtml methods back
 and forth into my ZClasses
 
 I seem to be unable to GET a method called 'filtered_meta_types'
 from
 
 /Control_Panel/Procucts/myProduct/myZClass/propertysheets/methods
 
 I get instead a permissions error 550. I get the same transferring using
 another FTP client. I checked the ownership etc and it should be OK. I
 can only think it's some horrible acquistion problem relating to the
 default filtered_meta_types thing. Indeed when I rename to FMT it all
 works quite happily. Is this kind of 'feature' known/expected?

filtered_meta_types is used by zope to keep a list of the object
types/meta types that a user can create (and interact? with) in the
current context.

so yes this behavior is known and expected, else it would be possible to
bypass the security system.

kapil

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




Re: [Zope-dev] strange FTP bug

2000-11-16 Thread Robin Becker

In article [EMAIL PROTECTED], Ender
[EMAIL PROTECTED] writes
Robin Becker wrote:
 
 I'm using python's ftplib to automate transfer of my dtml methods back
 and forth into my ZClasses
 
 I seem to be unable to GET a method called 'filtered_meta_types'
 from
 
 /Control_Panel/Procucts/myProduct/myZClass/propertysheets/methods
 
 I get instead a permissions error 550. I get the same transferring using
 another FTP client. I checked the ownership etc and it should be OK. I
 can only think it's some horrible acquistion problem relating to the
 default filtered_meta_types thing. Indeed when I rename to FMT it all
 works quite happily. Is this kind of 'feature' known/expected?

filtered_meta_types is used by zope to keep a list of the object
types/meta types that a user can create (and interact? with) in the
current context.

so yes this behavior is known and expected, else it would be possible to
bypass the security system.

kapil

yes, but the thing I edit and use quite happily is designed specifically
to override the standard behaviour in the class of the ZClass. I own the
method and FTP is not exactly trying to call it or anything. I'm trying
to get it. I can get all the other methods in the methods sheet why not
this particular one. What 'context' am I supposed to be using with FTP?
Seems to me if I can edit delete replace my filtered_meta_types in my
ZClass through the management interface I ought to be able to do the
same through FTP. Of course I'm barmy enough to demand some kind of
consistency which I ought not to in the 'Zope' context.

What other kinds of idiotic naming problems can one expect?
-- 
Robin Becker

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




Re: [Zope-dev] CVS and Zope methods

2000-11-16 Thread Robin Becker

In article xrldNBAyh$[EMAIL PROTECTED], Robin Becker
[EMAIL PROTECTED] writes
In article [EMAIL PROTECTED], Steve Spicklemire
[EMAIL PROTECTED] writes

Hi Robin,

   You can FTP to the 'methods' tab of your ZClass using:

ftp://name@server:xx21/Control_Panel/Products/YourProductFolder/YourZClass/prop
e
rtysheets/methods

-steve

...
yes I found that out although one of my dtml-methods was named
filtered_meta_types and was causing all sorts of problems including
crashing the server until I simply renamed it.
I also seem only able to GET the methods not STOR them.
-- 
Robin Becker

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




Re: [Zope-dev] Folders w/Customizer Support

2000-11-16 Thread Phillip J. Eby

At 02:46 PM 11/16/00 +, Chris Withers wrote:

To put it another way, could you have a FwCS that provided soem
properties and let another FwCS further up the acquisition tree supply
the rest?

Nope.  But there's nothing stopping you from writing a new version of the
"link to parent providers" plug-in that would get providers from a
higher-up FwCS...  :)


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




Re: [Zope-dev] License issues

2000-11-16 Thread Simon Michael

Simon Michael [EMAIL PROTECTED] writes:
 Or, if someone wants to distribute something which includes zope and
 one or more GPL products.

I mean, eg, you want to distribute your end-user package Easy Portal
Creator 2000, based on zope/ptk/squishdot/zwiki.

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




[Zope-dev] How do I create folders/methods etc. within the code?

2000-11-16 Thread Espen Sorbye Frederiksen

I am a very novice zope/python user that needs to become an expert as soon
as possible, since my whole dissertaion is based on Zope/Python.
I have read all documentation availible on the zope.org site but can't
find the answer to the following...

1. To run python scripts written as dtml methods. Do I simply use
dtml-call from another dtml document/method?

2. To create folders, mthods etc in the code. I have found some functions
manage_addDTMLMethod, manage_addFolder, but how do I use them?

3. I need to make a site that allows users to register ( i.e. to generate
user folder with some standard documents in them). Anyone have hints
regarding this? (or in fact a whole application I can use?)

I appreciate any kind of contribution,

Espen

   


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




Re: [Zope-dev] How do I create folders/methods etc. within the code?

2000-11-16 Thread Rik Hoekstra

Some additions:

  2. To create folders, mthods etc in the code. I have found some
functions
  manage_addDTMLMethod, manage_addFolder, but how do I use them?

 well look at their signature in the code eg:

 self.manage_addFolder(id='Testing')

The Zope Help system that comes with your Zope installation gives a
contextual help with exactly these methods. Another friend is the Zope Quick
Reference (http://zdp.zope.org/projects/zqr).


  3. I need to make a site that allows users to register ( i.e. to
generate
  user folder with some standard documents in them). Anyone have hints
  regarding this? (or in fact a whole application I can use?)

 Look at GenericUserFolder or LoginManager.


As an addition: look at the PTK: it does many of these things for you
already and at least it may be a source of information
(http://www.zope.org/Products/PTK). The only issue is that it's, um, quite
dynamic at the moment if you want to develop code with the PTK as a base.
Some might say a moving target. But if you look for inspiration it will be
fine on all accounts.

hth

Rik-


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




[Zope-dev] the Parsed XML project

2000-11-16 Thread Karl Anderson


The Parsed XML project is now public and ready for input.  Parsed XML
is the successor to XMLDocument.  We have a wiki at
http://www.zope.org/Wikis/DevSite/Projects/ParsedXML.
[EMAIL PROTECTED] is also a good place for discussion at this time.

-- 
Karl Anderson  [EMAIL PROTECTED]

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




Re: [Zope-dev] zope and os/2

2000-11-16 Thread Tres Seaver

"Paulo Dias" [EMAIL PROTECTED] wrote:
 
 hi/2 all...
 
 I'm new to this list, and i'm trying to port zope to os/2 to provide
 the os/2 community with such a fine program:)
 
 well, i installed the emx/gcc package and put python for os/2 1.5.2 up
 and running, and then picked up the zope src (2.2.2) from zope.org and
 did a:
 
 python wo_pcgi.py
 
 it then started to compile and exited with folowwing
 error:
 
 
 --
 Compiling python
 modules
 
 
 --
 Building extension modules
 
 
 Compiling extensions in lib/python
 cp /lib/python1.5/config/Makefile.pre.in .
 cp: /lib/python1.5/config/Makefile.pre.in: No such file or directory
 Traceback (innermost last):
   File "wo_pcgi.py", line 116, in ?
   File "wo_pcgi.py", line 104, in main
   File "E:\lixo\Zope-2.2.2-src\inst\build_extensions.py", line 96, in ?
 make('lib','python')
   File "E:\lixo\Zope-2.2.2-src\inst\do.py", line 133, in make
 do("cp %s ." % wheres_Makefile_pre_in())
   File "E:\lixo\Zope-2.2.2-src\inst\do.py", line 104, in do
 if i and picky: raise SystemError, i
 SystemError: 1
 Exit 1
 
 
 so now i'm stuck.. what's wrong here?
 
 my system:
 emx  0.9d fix 3
 WSeB + fixpack 1 (warp server for e-business)
 python 1.5.2 (os/2 port)
 zope source 2.2.2
 gcc 2.8.1
 gmake 3.76.1
 
 
 any os/2 developers out there that could give me a hand?
 
 thanks and best regards...

I'm not running Warp anymore, but that error indicates that python
can't find 'Makefile.pre.in', which is part of the source distribution
for Python.  Are you using Jeff Rush's binaries?  I think you need to
check out his source distribution (RPM, no less!), at:

  http://www.os2warp.org/%7Ejrush/python_os2/files.html

Best,

Tres.

-- 
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"   http://www.zope.org

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




Re: [Zope-dev] ZopeBug: No Last-Modified for misc_/.../*.gif objects!!!!

2000-11-16 Thread The Doctor What

* Dieter Maurer ([EMAIL PROTECTED]) [001116 16:17]:
 The Doctor What writes:
   I was looking at the cacheability of my website in zope, and saw
   that the misc_/OFSP/*.gif images (as in the icon objects) are 
   NOT cacheable because they don't return *any* date info.  If they
   *at least* returned a Last Modified, they'd be cacheable.
 My browser (Netscape 4.74) happily cashes these images.
 
 It is not clear, why a "Last Modified" header should be a precondition
 for caching.
 
 I would expect it is only necessary, if you told your browser
 (or other cache) to verify freshness for each request.
 If the browser has a "Last Modified", it sends an
 "If-Modified-Since" header and get a 304 response,
 if not.

Ah, but you see, I have a caching proxy! Squid.  My netscape cache's
the images (ie, writes them to disk) but they are overwritten
everytime.  Since I connect via modem, I can watch them repopulate
slowly.

Even if Netscape does hold on to them without a caching proxy, we
couldn't rely on that behavior.

This problem makes 'icon' an undesireable object to use.

Ciao!

-- 
King: Chiswick, remind me to send flowers to the King of France in sympathy for the 
death of his son.
Chiswick: The one you had murdered, My Lord
King: Yes, that's the fellow.
--Blackadder I

The Doctor What: fill in the blank http://docwhat.gerf.org/
[EMAIL PROTECTED]   KF6VNC

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