Re: [Zope] Automatic Cataloging

2007-06-09 Thread Andreas Jung



--On 9. Juni 2007 14:09:15 -0400 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote:


Hi,

I have a zCatalog installed and I'm trying to automatically catalog an
object and it's properties using:








What a dirty code :-)

Such code should be written using a PythonScript:

newob = container.manage_clone(...)
newob.manage_changeProperties(REQUEST=context.REQUEST)
catalog.catalog_object(...)




The zCatalog has indexes and metadata:
business_name
business_company
business_street
business_town
business_county
business_state
business_zipcode
business_phone
business_website
business_email

The object does get cataloged with the "newid" but none of the indexes or
metadata get updated.


Hard to believe...do you have properties defined for the particular object?

-aj



pgpyE4kw9Z8Ws.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] where does ZOPE store users created objects

2007-06-09 Thread Andreas Jung



--On 10. Juni 2007 07:28:46 +0100 kamal hamzat <[EMAIL PROTECTED]> 
wrote:



Hello,

Please i want to know the physical path on my Zope installation where
Zope  stored the objects (such as dtml methods and documents) created by
the  users. When i searched for the .dtml extension on my computer, I
could not  see anyone created by me or other users from the list of
objects returned.


All data is held with in the ZODB (var/Data.fs).



My plan is to have two zope installaions running, i want the first zope
installation to hold current information (bcos the data.fs is becoming
too  big, it is slowing down the site whereas majority of my users are
interested  in the current info while few will want to access the old
info) and later  run a python code that will cut and paste the old
information  into the  second zope installation as soon as I have new
ones.



Sorry, but you don't know how Zope works. Becoming "big" and "slow" are 
terms that totally sense-free without coming up with numbers and fact. 
There are real-world Zope installation with millions of objects that are 
pretty fast. So tell us what "big" and "slow" means and we might come up 
with some hints instead of responding to a question that isn't worth 
responding to :-)


-aj

pgpURIAQI6mYj.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] where does ZOPE store users created objects

2007-06-09 Thread kamal hamzat
Hello,

Please i want to know the physical path on my Zope installation where Zope 
stored the objects (such as dtml methods and documents) created by the 
users. When i searched for the .dtml extension on my computer, I could not 
see anyone created by me or other users from the list of objects returned.

My plan is to have two zope installaions running, i want the first zope 
installation to hold current information (bcos the data.fs is becoming too 
big, it is slowing down the site whereas majority of my users are interested 
in the current info while few will want to access the old info) and later 
run a python code that will cut and paste the old information  into the 
second zope installation as soon as I have new ones. 

thanks___
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] Automatic Cataloging

2007-06-09 Thread Tom Von Lahndorff

Hi,

I have a zCatalog installed and I'm trying to automatically catalog  
an object and it's properties using:







The zCatalog has indexes and metadata:
business_name
business_company
business_street
business_town
business_county
business_state
business_zipcode
business_phone
business_website
business_email

The object does get cataloged with the "newid" but none of the  
indexes or metadata get updated.

Thanks in advance.

Tom

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