[Zope-Checkins] SVN: Zope/trunk/skel/etc/site.zcml Merge from 2.10 branch:

2007-01-09 Thread Philipp von Weitershausen
Log message for revision 71847:
  Merge from 2.10 branch:
Log message for revision 71846:
  Back out accidental commit from yesterday
  

Changed:
  U   Zope/trunk/skel/etc/site.zcml

-=-
Modified: Zope/trunk/skel/etc/site.zcml
===
--- Zope/trunk/skel/etc/site.zcml   2007-01-09 14:25:34 UTC (rev 71846)
+++ Zope/trunk/skel/etc/site.zcml   2007-01-09 14:26:26 UTC (rev 71847)
@@ -3,8 +3,6 @@
 xmlns:meta=http://namespaces.zope.org/meta;
 xmlns:five=http://namespaces.zope.org/five;
 
-  meta:provides feature=devmode /
-
   include package=Products.Five /
   meta:redefinePermission from=zope2.Public to=zope.Public /
 
@@ -18,6 +16,7 @@
   five:loadProducts /
 
   !-- Load the configuration overrides--
+  includeOverrides files=package-includes/*-overrides.zcml /
   five:loadProductsOverrides /
 
 

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-dev] Persistent Interfaces

2007-01-09 Thread Ross Patterson
I'm building a Zope2.10/Plone3 project using the CA wherever I can.
I'm relying heavily on marker interfaces and I'm at a point where I
need to allow a site administrator to create new marker interfaces to
be used to mark content.

I've looked at zodbcode, zope.app.module, and then finally found
srichter's SchemaUtility work in zope.app.schema that was removed by
jim in r69203.  I'm only minimally able to make sense of this stuff,
but none of it seems like what I'm looking for. I'd prefer to
programatically create new interfaces than fake modules or other code
object.  Something like::

 from new import classobj
 from zope.app.interface import PersistentInterface
 app.IFoo = classobj('IFoo', (PersistentInterface,), 
dict(__doc__='IFoo'))
 from zope.interface import directlyProvides
 directlyProvides(app.index_html, app.IFoo)

This actually all works except when the instance is stopped and
restarted.  When restarted, viewing index_html raises an error becuase
the app.IFoo.depdndents PersistentDict is missing it's
app.IFoo.depdndents.data attribute.  I see that there's a
zodbcode.patch.Wrapper used in zope.app.interface that seems like it's
intended to resolve this issue but I have no idea how to use it.

Actually, I don't have much idea what I'm doing at all, but I know
what I want.  :)  I want to create marker interface programatically in
response to a site administrators TTW actions and have them persist.
I want to mark persistent objects as providing those interfaces (and,
of course, have those declarations persist).  In response to other
site administrator TTW actions, I want to register adapters for
objects that provide those marker interfaces and have those
registrations persist (the adapters themselves need not persist, but
that would be nice).

I want this because the CA registry does exactly the kind of efficient
lookup I'd like to do in this case.  The only difference is that I
don't want the marker interfaces and adapter registrations to be
restricted to global code and I want them created through TTW actions.

srichter, did SchemaUtility do what I'm talking about here?  I see how
it managed the persistent state of an interface established through
global code, but I don't see how it could have resulted in the
arbitrary creation of new interfaces TTW.  Can you help me understand
a little more what's going on there?

Can anyone else advise on implementation directions or better design
patterns?

Ross

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


RE : Re: [Zope-dev] database

2007-01-09 Thread Graziella Toutoungis
I didn't find ZPsycopgDA but i have finded the package
psycopg2.* who contain ZpsycopgDA,
I buid it and install it,
i don't know what doing else for installing ZpsycopgDA
between my products?
the file event.log don't give me any error?

thanks fo all helps
 G.

 Graziella Toutoungis wrote at 2007-1-8 14:32 +:
 In order to connect via Zope to a database
 (postgresql) i search an adapter for postgresql8.*.
 I found it ZPoPyDa, i try to install it in
 MyZopeInsatance/Products without success , i tried
 in zope/lib/python/products no success also.
 
 Where i have to install this adapter (for seeing it
 in my product's list in the control panel)?
 There is another adapter for postgresql8.*?
 
 We are using ZPsycopgDA (with Zope 2.8.1 and
 Postgres 8) without
 problems.
 
 
 
 -- 
 Dieter
 


__
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 6 OK, 1 Failed

2007-01-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Jan  8 12:00:00 2007 UTC to Tue Jan  9 12:00:00 2007 UTC.
There were 7 messages: 7 from Zope Unit Tests.


Test failures
-

Subject: FAILED (failures=1) : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:18:28 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007005.html


Tests passed OK
---

Subject: OK : Zope-2.6 Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:09:27 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/006999.html

Subject: OK : Zope-2.6 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:10:57 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007000.html

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:12:28 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007001.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:13:58 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007002.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:15:28 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007003.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jan  8 21:16:58 EST 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-January/007004.html

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


Re: RE : Re: [Zope-dev] database

2007-01-09 Thread Maciej Wisniowski

 I didn't find ZPsycopgDA but i have finded the package
 psycopg2.* who contain ZpsycopgDA,
 I buid it and install it,
 i don't know what doing else for installing ZpsycopgDA
 between my products?
 the file event.log don't give me any error?
You should write these posts to zope-db mailing list
not to zope-dev.

If you've installed psycopg2 and you put ZpsycopgDA
into your Zope instance Products directory then,
if everything is OK:
1. You should see ZpsycopgDA product at:
ControlPanel-ProductManagement in ZMI (Zope
Management Interface) and it's status shouldn't be
broken.

2. You should see ZPsycopgDAConnection (or
something like that) in the Add list in ZMI.

Take a look at Zope book (eg. Zope book 2.7
edition on plope.org) at relational database
connectivity.

-- 
Maciej Wisniowski


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


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Allen Huang
Sorry Andreas..

My product is rewritten in python placed in the product folder. So yes, it is a 
instance of a class. 

In the future, I will be storing more data into one instance from other dbase 
file (The total columns may vary).

I'm still in the developing stage and this is just a test run to know that is 
the length of processing time I'm look at. I want each entry to be an instance 
because I'm planning to create other interactive functions (edit and 
query(ZCatalog maybe, I'm not sure yet) and more ) for particular info.

I've never thought of using a BTree because I don't know enough about it. I'll 
look into it but will BTree still be a better choice than making instance if 
I'm going to make interactive functions?

Any other suggestions?



- Original Message 
From: Andreas Jung [EMAIL PROTECTED]
To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org
Sent: Tuesday, January 9, 2007 1:55:34 PM
Subject: Re: [Zope] need advice on mass data processing


--On 8. Januar 2007 19:28:32 -0800 Allen Huang [EMAIL PROTECTED] wrote:

 I have a data file that has over 11 entry of 3 column data (string,
 float, float)
 currently I have written my program so it will do an entry by entry
 processing with zope. This operation is like this
 1. read data (the data file)
 2. create product (a python product that store three field data: one
 string and two float data) 3. update product (update the three field
 entries)

Please name things the right way. A Product is basically a Zope/Python 
package that contains definitions of classes, scripts, templates etc.

You mean instances of a particular class?


 when I first tried it out with the first 1000 entries it took about 30
 seconds. That means its going to take 50 ~ 60 minutes for 11 entries.

You're creating 110k instances for storing a string and two floats?
If yes, that's stupid idea.

You can persistent large amounts of data within a single instances
by using Zope BTrees.

 It not every day that you have to process over 11 data entries but
 processing over 60 minutes is still kind of long.


What kind of processing?

-aj

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Andreas Jung



--On 9. Januar 2007 01:05:54 -0800 Allen Huang [EMAIL PROTECTED] wrote:


Sorry Andreas..

My product is rewritten in python placed in the product folder. So yes,
it is a instance of a class.

In the future, I will be storing more data into one instance from other
dbase file (The total columns may vary).

I'm still in the developing stage and this is just a test run to know
that is the length of processing time I'm look at. I want each entry to
be an instance because I'm planning to create other interactive functions
(edit and query(ZCatalog maybe, I'm not sure yet) and more ) for
particular info.

I've never thought of using a BTree because I don't know enough about it.
I'll look into it but will BTree still be a better choice than making
instance if I'm going to make interactive functions?



Sorry, but you are misusing Zope. Put your data into a RDBMS and be the 
happiest man in the world. The ZODB is not a data toilet. Nothing more

to add from my side on this particular issue.


-aj

pgpJc7ZvMS5rf.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Andrew Milton
+---[ Andreas Jung ]--
| 
| Sorry, but you are misusing Zope. Put your data into a RDBMS and be the 
| happiest man in the world. The ZODB is not a data toilet. Nothing more
| to add from my side on this particular issue.

I concur.

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


Re: [Zope] need advice on mass data processing

2007-01-09 Thread John Schinnerer

Aloha,

Sounds like your data case/data model is better suited to a SQL database 
(Relational DB instead of Object DB).


Zope works with MySQL, PostgreSQL etc. via ZSQLMethods.
Look into using those, with your existing data going into a SQL DB (or 
maybe it is already?), if you want/need to access and manipulate the 
data from within zope applications.


Then you also have the option of accessing that data via any 
app/platform that can talk to your SQL DB.


I have a project I am working on where a portion of the data is very 
RDB-type data, while the rest is more zope/object content-management stuff.


So the RDB-type data will be in a MySQL DB, and, accessible through the 
same zope-based platform that also provides the CMS for document/object 
management.
Meanwhile if other stakeholders now or later want access to the RDB-type 
data they don't have to use zope, they can use whatever they want that 
will talk to MySQL.


cheers,
John S.


Allen Huang wrote:


Sorry Andreas..
 
My product is rewritten in python placed in the product folder. So yes, 
it is a instance of a class.
 
In the future, I will be storing more data into one instance from other 
dbase file (The total columns may vary).
 
I'm still in the developing stage and this is just a test run to know 
that is the length of processing time I'm look at. I want each entry to 
be an instance because I'm planning to create other interactive 
functions (edit and query(ZCatalog maybe, I'm not sure yet) and 
more ) for particular info.
 
I've never thought of using a BTree because I don't know enough about 
it. I'll look into it but will BTree still be a better choice than 
making instance if I'm going to make interactive functions?
 
Any other suggestions?



 
- Original Message 

From: Andreas Jung [EMAIL PROTECTED]
To: Allen Huang [EMAIL PROTECTED]; Zope zope@zope.org
Sent: Tuesday, January 9, 2007 1:55:34 PM
Subject: Re: [Zope] need advice on mass data processing

--On 8. Januar 2007 19:28:32 -0800 Allen Huang [EMAIL PROTECTED] wrote:

  I have a data file that has over 11 entry of 3 column data (string,
  float, float)
  currently I have written my program so it will do an entry by entry
  processing with zope. This operation is like this
  1. read data (the data file)
  2. create product (a python product that store three field data: one
  string and two float data) 3. update product (update the three field
  entries)

Please name things the right way. A Product is basically a Zope/Python
package that contains definitions of classes, scripts, templates etc.

You mean instances of a particular class?

 
  when I first tried it out with the first 1000 entries it took about 30
  seconds. That means its going to take 50 ~ 60 minutes for 11 entries.

You're creating 110k instances for storing a string and two floats?
If yes, that's stupid idea.

You can persistent large amounts of data within a single instances
by using Zope BTrees.

  It not every day that you have to process over 11 data entries but
  processing over 60 minutes is still kind of long.
 

What kind of processing?

-aj


__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )


--
John Schinnerer - MA, Whole Systems Design
--
- Eco-Living -
Whole Systems Design Services
People - Place - Learning - Integration
[EMAIL PROTECTED]
http://eco-living.net
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Chris Withers

Andreas Jung wrote:


The question is: what is easier to learn and to understand - DTML or ZPT?


The correct answer is, of course, Twiddler ;-)

http://www.simplistix.co.uk/software/python/twiddler

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Andreas Jung



--On 9. Januar 2007 07:47:28 + Chris Withers [EMAIL PROTECTED] 
wrote:



Andreas Jung wrote:


The question is: what is easier to learn and to understand - DTML or ZPT?


The correct answer is, of course, Twiddler ;-)

http://www.simplistix.co.uk/software/python/twiddler




Yes, you deserve the Zope Lifetime Award for Twiddler :-)

Andreas


pgpqhzSUPSgNm.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Jonathan


- Original Message - 
From: Andrew Milton [EMAIL PROTECTED]

To: Andreas Jung [EMAIL PROTECTED]
Cc: Zope zope@zope.org
Sent: Tuesday, January 09, 2007 4:21 AM
Subject: Re: [Zope] need advice on mass data processing



+---[ Andreas Jung ]--
|
| Sorry, but you are misusing Zope. Put your data into a RDBMS and be the
| happiest man in the world. The ZODB is not a data toilet. Nothing more
| to add from my side on this particular issue.

I concur.


One caveat though... if you want to be able to do a text search on the 
string portion of your data, then ZCatalog would be an appropriate tool.



Jonathan 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Andreas Jung



--On 9. Januar 2007 08:21:18 -0500 Jonathan [EMAIL PROTECTED] wrote:



- Original Message - From: Andrew Milton
[EMAIL PROTECTED]
To: Andreas Jung [EMAIL PROTECTED]
Cc: Zope zope@zope.org
Sent: Tuesday, January 09, 2007 4:21 AM
Subject: Re: [Zope] need advice on mass data processing



+---[ Andreas Jung ]--
|
| Sorry, but you are misusing Zope. Put your data into a RDBMS and be the
| happiest man in the world. The ZODB is not a data toilet. Nothing more
| to add from my side on this particular issue.

I concur.


One caveat though... if you want to be able to do a text search on the
string portion of your data, then ZCatalog would be an appropriate tool.



Allmost all RDBMSes provide meanhile some kind of fulltext support 
out-of-the-box - even MySQL.


Andreas

pgp6cf04WrkvD.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Allen Huang
There is other solution that uses RDBMS to what I'm trying to do, and I'm 
considering using PostGreSQL after. But before that, I want to using ZOPE and 
ZODB because I feel this could work. 
 
But in ZOPE vs RDBMS, why do you consider RDBMS first, why not ZOPE? can your 
give me the pros and cons in your perspective?


- Original Message 
From: Jonathan [EMAIL PROTECTED]
To: zope@zope.org
Sent: Tuesday, January 9, 2007 9:21:18 PM
Subject: Re: [Zope] need advice on mass data processing


- Original Message - 
From: Andrew Milton [EMAIL PROTECTED]
To: Andreas Jung [EMAIL PROTECTED]
Cc: Zope zope@zope.org
Sent: Tuesday, January 09, 2007 4:21 AM
Subject: Re: [Zope] need advice on mass data processing


 +---[ Andreas Jung ]--
 |
 | Sorry, but you are misusing Zope. Put your data into a RDBMS and be the
 | happiest man in the world. The ZODB is not a data toilet. Nothing more
 | to add from my side on this particular issue.

 I concur.

One caveat though... if you want to be able to do a text search on the 
string portion of your data, then ZCatalog would be an appropriate tool.


Jonathan 

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Andreas Jung



--On 9. Januar 2007 05:39:29 -0800 Allen Huang [EMAIL PROTECTED] wrote:


There is other solution that uses RDBMS to what I'm trying to do, and I'm
considering using PostGreSQL after. But before that, I want to using ZOPE
and ZODB because I feel this could work.
But in ZOPE vs RDBMS, why do you consider RDBMS first, why not ZOPE? can
your give me the pros and cons in your perspective?



Do some reasearch  yourself by using Google or reading the mailing list 
archive. This issue had been discussed a bunch of times in the past.


-aj

pgpgeYg8Hlhi0.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] all_meta_types confusion

2007-01-09 Thread Garth B.

Hello Dieter,

This is my all_meta_types function:

def all_meta_types(self):
   return (
   {
   'name' : 'Web Page',
   'action': 'manage_addProduct/DWT/WebPage_add',
   'permission': 'Add Web Page',
   },
   )

I haven't followed Maciej's suggestion yet to use pdb to more closely trace
what's going on, but if you have suggestions on what *might* be going on to
help me in my debugging, that would be great.

Thank you,
Garth

On 1/7/07, Dieter Maurer [EMAIL PROTECTED] wrote:



 You have included the 'permission' definition in your meta_type
entry?

Garth B. wrote at 2007-1-5 23:06 -0500:

I'm trying to filter the objects that appear in the Add drop down, and I'm
having odd results.  There are two scenarios.

In the first scenario, the active user is a Manager and my folderish
object
does not have a defined all_meta_types function.  Everything shows up in
the
Add drop down as expected.  When I define all_meta_types for my folderish
object to only return one kind of object, the Add x button appears
as
one would expect.

In the second scenario, I have a role Editor which controls what kinds
of
objects the user can add.  When I do not have an all_meta_types function
defined on my folderish object, only those objects that the role permits
the
user to add are shown.  When I define all_meta_types for my folderish
object
to only return one of the kinds of objects that the role does permit, the
user can't add anything.  No Add x button that one would normally
see
when only able to add a single type of object to a folderish object.

--
Dieter

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


[Zope] Values lost when restarting

2007-01-09 Thread Jonas Nielsen

Hi this is probably a little vague but any help is appreciated.

I'm developing on an old zope application, which I ported from zope 
2.5.1 to zope 2.9. The application seems like it's based on the 
addressbook application in the Zope Bible


The application is a tool for localization, where translators can log in 
and edit translation resources in resource folders


I made a function to export all these resources to a csv-file and one to 
import the values in the zodb again.


the text are set using a function on the resource calling

def setText(self,language,text, REQUEST=None):
  # ... some stuff
  self.texts[language] = text

The function works fine and updates the values correctly. But after I 
restart zope all the changes are lost. This not so when calling the 
function from the Resource objects web form.


The Zope Bible says something about calling self.__changed__(1) after 
updating the value but this doesn't seem to work even though the objects 
inherits from Persistent


When importing I fetch the object by using the RestrictedTraverse 
function, that's really the only difference I can see.


Please write if you have ANY idea of what could be the problem.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Values lost when restarting

2007-01-09 Thread Andreas Jung



--On 9. Januar 2007 17:06:24 +0100 Jonas Nielsen [EMAIL PROTECTED] 
wrote:



The Zope Bible says something about calling self.__changed__(1) after
updating the value but this doesn't seem to work even though the objects
inherits from Persistent



self._p_changed = 1

-aj

pgpc0BPV4vYce.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Values lost when restarting

2007-01-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonas Nielsen wrote:
 Hi this is probably a little vague but any help is appreciated.
 
 I'm developing on an old zope application, which I ported from zope 
 2.5.1 to zope 2.9. The application seems like it's based on the 
 addressbook application in the Zope Bible
 
 The application is a tool for localization, where translators can log in 
 and edit translation resources in resource folders
 
 I made a function to export all these resources to a csv-file and one to 
 import the values in the zodb again.
 
 the text are set using a function on the resource calling
   
 def setText(self,language,text, REQUEST=None):
# ... some stuff
self.texts[language] = text
 
 The function works fine and updates the values correctly. But after I 
 restart zope all the changes are lost. This not so when calling the 
 function from the Resource objects web form.
 
 The Zope Bible says something about calling self.__changed__(1) after 
 updating the value but this doesn't seem to work even though the objects 
 inherits from Persistent
 
 When importing I fetch the object by using the RestrictedTraverse 
 function, that's really the only difference I can see.
 
 Please write if you have ANY idea of what could be the problem.

You are mutating the 'texts' attribute of your object, which is likely a
dict.  Try making it either a PersistentMapping or an OOBTree, each of
which know about persisting their changes.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFo76o+gerLs4ltQ4RAutYAJ9p4rTjHk2LggRbp+91e2p6/EempgCfQeMV
PS5GYcat4hON8DSEBX46Dbk=
=19gP
-END PGP SIGNATURE-

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


[Zope] Recovering from Data.fs

2007-01-09 Thread Rowan Woodhouse

Hi,

I'm trying to recover a zope instance from a hardware failure. The
only thing I have left is the backed up Data.fs file. I'm not entirely
sure which version of Zope was used but I think it was 2.9 (certainly
not 3), or what the install paths were for the instance or zope.

When I try and use the backed Data.fs in a new zope instance I get the
following error:


Site Error

An error was encountered while publishing this resource.

Error Type: AttributeError
Error Value: __getitem__



From my understanding the paths for the zope instance have to be the

same for Data.fs to work correctly. Is that correct? If so how can I
determine what version of zope was being used and what the paths were
for the backed up Data.fs?

Thanks in advance,

Rowan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] all_meta_types confusion

2007-01-09 Thread Dieter Maurer
Garth B. wrote at 2007-1-9 10:57 -0500:
def all_meta_types(self):
return (
{
'name' : 'Web Page',
'action': 'manage_addProduct/DWT/WebPage_add',
'permission': 'Add Web Page',
},
)

I haven't followed Maciej's suggestion yet to use pdb to more closely trace
what's going on, but if you have suggestions on what *might* be going on to
help me in my debugging, that would be great.

This looks good. It should work. If not, the debugging suggestions
is probably the most effective.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Paul Winkler
On Tue, Jan 09, 2007 at 06:49:11PM +, Rowan Woodhouse wrote:
 Hi,
 
 I'm trying to recover a zope instance from a hardware failure. The
 only thing I have left is the backed up Data.fs file. I'm not entirely
 sure which version of Zope was used but I think it was 2.9 (certainly
 not 3), or what the install paths were for the instance or zope.
 
 When I try and use the backed Data.fs in a new zope instance I get the
 following error:
 
 
 Site Error
 
 An error was encountered while publishing this resource.
 
 Error Type: AttributeError
 Error Value: __getitem__

We need the full traceback.
Look in your new instance, for the event log in the logs/ dir.
That should contain the error and the full traceback.

 From my understanding the paths for the zope instance have to be the
 same for Data.fs to work correctly. Is that correct?

No, Data.fs should be portable.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Dieter Maurer
Andreas Jung wrote at 2007-1-8 19:08 +0100:
 ...
The question is: what is easier to learn and to understand - DTML or ZPT?
Can you explain the nonsense of the _ namespace in DTML to a newbie?

Sure.

There is only one caveat: that two positional arguments need to
be passed for recursive calls of DTML objects (None and _).

Can you explain the sequence-item magic with all special cases to a newbie?

There is no need. Newbies do not need to know *all* special cases
only the most essential ones.

The myriads of TALES expression types are almost as bad the
sequence-item special cases.

ZPT is another approach to generate HTML. It's more logical, easier to learn
and read.

This is arguable...



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Dieter Maurer
Allen Huang wrote at 2007-1-8 19:28 -0800:
currently I have written my program so it will do an entry by entry processing 
with zope. This operation is like this
 
1. read data (the data file)
2. create product (a python product that store three field data: one string 
and two float data)
3. update product (update the three field entries)
 
when I first tried it out with the first 1000 entries it took about 30 
seconds. That means its going to take 50 ~ 60 minutes for 11 entries. 

You need to be especially careful in which container you dump
your entries. You *MUST NOT* use a standard folder for this.
It is not fit for larger amounts of entries. Use instead
a BTreeFolder2.


Another way to speed up the creation process is to batch
the creation and commit a transaction only for every X entries.


Using these techniques, I expect that you will be able
to create about 100 entries per second.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to setup and show zope server's homepage to clients?

2007-01-09 Thread Dieter Maurer
Steve Han wrote at 2007-1-9 14:32 +0800:
Forgive me for unpatience.I installed zope as server to serve business's
content as homepage.How can I do that using ZMI?First make a folder and
then..

You read the Zope Book (2.7 edition, online on plope.org) and
then come back with specific questions.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] need advice on mass data processing

2007-01-09 Thread Dieter Maurer
Allen Huang wrote at 2007-1-9 01:05 -0800:
 ...
I've never thought of using a BTree because I don't know enough about it. I'll 
look into it but will BTree still be a better choice than making instance if 
I'm going to make interactive functions?

BTrees provide an efficient means to store mappings

   key -- anything

In another message, I strongly recommended that you use
a BTreeFolder2 (rather than a standard Folder) to contain
your mass data. It uses internally a BTree (in fact, two of them)
as the name suggests.

If you have huge amounts of simple data, then it can be wise
to store the bare data and wrap it with an intelligent class
only when accessed. In this case, the most efficient way
woult be that anything above were a tuple of just your data.
Instead of a raw BTree, you would use your own container type
that uses a BTree to store the mass data but wraps the data
with your intelligent wrapper class on access.

You can look at BTreeFolder2 on how this may work.
It does not wrap the data in a new (intelligent) class (which is
trivial)
but it wraps it in the acquisition context.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Maciej Wisniowski
 From my understanding the paths for the zope instance have to be the
 same for Data.fs to work correctly. Is that correct?
 
 No, Data.fs should be portable.
 
Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and take a look into ControlPanel-ProductManagement to
see if you have broken (or not installed at all) products.
You might also lack external methods from Extensions/ folder.

Of course you need to know user and password to log into ZMI.
You may create new one in zopectl with useradd (or adduser I don't
remember) command.

-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Maciej Wisniowski
 As for me, I am lazy. ZPT does things in a way that few other frameworks do,
 although Ruby's Amrita2 sort of resembles ZPT.
 Displaying phantom  text in a static page  which will
 not be there dynamically is not superior to DTML.
 It is just more confusing. I have never learned ZPT
 well and I may never do so.
There is also Twiddler from Simplistix. It is something
pretty new and interesting. It claims that there is no
need to learn new templating language.

I'm not using dtml, only if I have to modify existing code,
but it is painful. Often I don't know what happens and where
from are all these variables :)
Other thing is, that AFAIR dtml is faster than ZPT.


-- 
Maciej Wisniowski

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


Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Tino Wildenhain

Maciej Wisniowski schrieb:

From my understanding the paths for the zope instance have to be the
same for Data.fs to work correctly. Is that correct?

No, Data.fs should be portable.


Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and take a look into ControlPanel-ProductManagement to
see if you have broken (or not installed at all) products.
You might also lack external methods from Extensions/ folder.

Of course you need to know user and password to log into ZMI.
You may create new one in zopectl with useradd (or adduser I don't
remember) command.


Needless to say you should keep an original copy of your
Data.fs on a safe place while you do the above tests.

You should be save, but you never know :-)

Regards
Tino
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] TypeError when copy FS python script to custom folder

2007-01-09 Thread Edmund Moseley
I am in the process of trying to add RAMCaches to my python scripts, 
and wanted to test it out TTW via custom.
However, whenever I make a copy of my FS python script to custom, and 
then view the object which uses this script, I get the following error:


TypeError: arg is not a code object

This python script is used by my archetype object to fetch a vocabulary 
list, by calling a separate zsql method.


Any ideas why this happens?

Thanks,
Edmund

Here is the last part of the traceback:

snip
#  Module TAL.TALInterpreter, line 281, in interpret
# Module TAL.TALInterpreter, line 507, in do_setLocal_tal
# Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:MEIS/skins/MEIS/vocab_or_other.pt
Line 52, Column 6
Expression: PythonExpr field.Vocabulary(here)
Names:

{'container': PloneSite at /meis,
'context': Autopsy at /meis/meis/unfiledautopsies/b199301068,
'default': Products.PageTemplates.TALES.Default instance at 0x2aaab56cb4d0,
'here': Autopsy at /meis/meis/unfiledautopsies/b199301068,
'loop': Products.PageTemplates.TALES.SafeMapping object at 0x88182d8,
'modules': Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x2aaab56cb6c8,

'nothing': None,
'options': {'args': ()},
'repeat': Products.PageTemplates.TALES.SafeMapping object at 0x88182d8,
'request': HTTPRequest, 
URL=https://plone.ocme.unc.edu/meis/meis/unfiledautopsies/b199301068/autopsy_view,

'root': Application at ,
'template': FSPageTemplate at /meis/autopsy_view used for 
/meis/meis/unfiledautopsies/b199301068,

'traverse_subpath': [],
'user': PropertiedUser 'zadmin'}

# Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: field.Vocabulary(here)
# Module Python expression field.Vocabulary(here), line 1, in expression
# Module Products.Archetypes.Field, line 441, in Vocabulary
# Module Products.Archetypes.utils, line 137, in mapply
# Module inspect, line 607, in getargs

TypeError: arg is not a code object
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Paul Winkler
On Tue, Jan 09, 2007 at 08:31:29PM +0100, Maciej Wisniowski wrote:
  As for me, I am lazy. ZPT does things in a way that few other frameworks do,
  although Ruby's Amrita2 sort of resembles ZPT.

Not really. It's more closely related to the Meld family (pymeld,
pymeldlite, meld3), and to XMLC.

  Displaying phantom  text in a static page  which will
  not be there dynamically is not superior to DTML.
  It is just more confusing. I have never learned ZPT
  well and I may never do so.

 There is also Twiddler from Simplistix. It is something
 pretty new and interesting. It claims that there is no
 need to learn new templating language.

Twiddler also looks very similar to the Meld family.  Looks nice, but
I haven't had time to get a sense of what distinguishes it from meld3.

 I'm not using dtml, only if I have to modify existing code,
 but it is painful. Often I don't know what happens and where
 from are all these variables :)
 Other thing is, that AFAIR dtml is faster than ZPT.

My feeling about the DTML-vs-ZPT debate is that it can basically be
reduced to the following chart:


FEATURE | DTML  |  ZPT|
+---+-+
potential for   |   | |
confusion due to| Lots  | A little|
implicit magic? |   | |
+---+-|
familiar syntax?  | Yes   | No  |
+---+-|
round-trip with | Hell no   | Maybe, with |
an HTML designer?   |   | some pain   |
+---+-|
Useful for  | Yes   | Not really  |
non-X(HT)ML?|   | |
+---+-|
Prevents invalid| No| Yes |
markup? |   | |
+---+-+


So, you have to ask yourself which of the above you care about for the
projects you work on. With Zope, I am typically doing HTML or XML,
usually with somebody else doing the design. For me, ZPT has nice
advantages.

OTOH, sometimes we're doing ZSQL so we use DTML syntax for that.  ZPT
would be useless for building SQL queries.

--

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] all_meta_types confusion

2007-01-09 Thread Gabriel Genellina

At Tuesday 9/1/2007 12:57, Garth B. wrote:


def all_meta_types(self):
return (
{
'name' : 'Web Page',
'action': 'manage_addProduct/DWT/WebPage_add',
'permission': 'Add Web Page',
},
)


Make sure you use *exactly* the same string to define permissions 
everywhere; better use a global name.



--
Gabriel Genellina
Softlab SRL 







__ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] External Method and XML-PRC (Maybe a bug)

2007-01-09 Thread Phani Kumar Arava

Hi,
Iam trying to use Zope as an App server (basically to provide an XML-RPC
interface) for a certain application .

I have a function called addFile in the External Method.

def ext_addfile(self):
   ob=self.Files
   ob.manage_addFile(hello,hello)

I created an external method call ext_addFile()

Now I write my client using xml-rpc lib

s=xmlrpclib.Server(hostname)
s.ext_addFile()

And this adds a file to my directory. This freaked me out. Because i was
anonymous user and this shdnt happen. The next thing i did was create a
python script of the same structure and called it addFile()

ob=context.Files
ob.manage_addFile(hello,hello)

Now I run my  client xml-rpc program
s=xmlrpclib.Server(hostname)
s.addFile()

and its fiving me unauthorized as expected.

So basically i dont know why is this happening. Is this due to some
permission problems i have on the directory or External Methods, or
something which iam totally missing.





--
Phani Kumar Arava
Grad Student 1560 Worthington
Street
Department Of Computer ScienceColumbus Ohio 43201
2015 Neil Avenue
Ohio State University
Columbus Ohio-43210

Contact: (614)-286-2618
URL : www.cse.ohio-state.edu/~arava/
mailto: [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: External Method and XML-PRC (Maybe a bug)

2007-01-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Phani Kumar Arava wrote:
 Hi,
 Iam trying to use Zope as an App server (basically to provide an XML-RPC
 interface) for a certain application .
 
 I have a function called addFile in the External Method.
 
 def ext_addfile(self):
 ob=self.Files
 ob.manage_addFile(hello,hello)
 
 I created an external method call ext_addFile()
 
 Now I write my client using xml-rpc lib
 
 s=xmlrpclib.Server(hostname)
 s.ext_addFile()
 
 And this adds a file to my directory. This freaked me out. Because i was
 anonymous user and this shdnt happen. The next thing i did was create a
 python script of the same structure and called it addFile()
 
 ob=context.Files
 ob.manage_addFile(hello,hello)
 
 Now I run my  client xml-rpc program
 s=xmlrpclib.Server(hostname)
 s.addFile()
 
 and its fiving me unauthorized as expected.
 
 So basically i dont know why is this happening. Is this due to some
 permission problems i have on the directory or External Methods, or
 something which iam totally missing.

By design, ExternalMethods run as trusted code -- if a user has View
permission on the EM object, then its code will run, without performing
the security checks done by untrusted PythonScript objects.  You need
either to protect the EM object itself (removing the View permission
on that object should be enough), or else do the security check within
the EM code itself.  E.g.::

  from AccessControl import getSecurityManager, Unauthorized
  from AccessControl.Permissions import add_documents_images_and_files
  sm = getSecurityManager()
  if not sm.checkPermission(add_documents_images_and_files, self):
 raise Unauthorized(Can't add files here!)



Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFpE+7+gerLs4ltQ4RAqS7AKCyr38A61sxIl4PvxdF5XYUcSVv3QCfb80T
NeXVyp3fpSX0K6XpHeBlVZg=
=jDHJ
-END PGP SIGNATURE-

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


[Zope] Why the same directories:instance and skel

2007-01-09 Thread Steve Han

I found thar subdirectory instance has completly the same as subdirectory
skel in  zope's home directory.What consideration for that from point of
view of software designing?Thanks a lot.

--
Steve Han
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Why the same directories:instance and skel

2007-01-09 Thread Andreas Jung



--On 10. Januar 2007 10:45:59 +0800 Steve Han [EMAIL PROTECTED] wrote:


I found thar subdirectory instance has completly the same as subdirectory
skel in  zope's home directory.What consideration for that from point of
view of software designing?Thanks a lot.



I've never seen something called 'instance'. 'skel' and 'inst' are your
installation and building purposes. So why should there be any issue?

-aj

pgpTPTqvnojUB.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )