Jonothan:
Doh!
Bart!
Guess I haven't been following the conversation closely enough. No problem.
It sound to me like the FileSystem Storage is a hypothetical beast.
Yup.
I got the impression somewhere that it was a finished product.
And then I woke up.
I am very interested in working on something like this, because I would like to solve the problem of tracking Zope objects/transactions in an external revision control system like cvs. >Several good points have been made, however, about not just how it would work but how well it would work.
What I am suggesting is use of the Data.fs file format for individual objects. What do you think? Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
What I am suggesting is use of the Data.fs file format for individual objects.
What do you think?
Shouldn't be too difficult. (I know, famous last words.) I'd be interested in banging out a prototype. I'll have to see when I can get to it after responding to all these emails about LocalFS that piled up while I was on vacation. -jfarr
Shouldn't be too difficult. (I know, famous last words.) I'd be interested in banging out a prototype. I'll have to see when I can get to it after responding to all these emails about LocalFS that piled up while I was on vacation.
This could be a real breakthrough for the High Availability Zope guys who are running into nasty problems with the 2GB fiel size limit. Good luck, transactions/undo/etc could be interesting ;-) Chris
This could be a real breakthrough for the High Availability Zope guys who are running into nasty problems with the 2GB fiel size limit.
uhh, ZODB does not have a size limit - it is the FS of the operating system you are running your ZOPE instance on that is constraining Data.fs to be 2GB (i.e. linux x86). FreeBSD, I do not believe has this problem. nor would Solaris. ~runyaga
alan runyan wrote:
uhh, ZODB does not have a size limit - it is the FS of the operating system you are running your ZOPE instance on that is constraining Data.fs to be 2GB (i.e. linux x86). FreeBSD, I do not believe has this problem. nor would Solaris.
This is fine, but I have yet to hear of _anyone_ using _any_ 32 bit OS successfully creating a >4GB file using python, much less Zope. If anyone is out there to contradict me, please do. -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
hi, i have tried to add a zclass programmaticlly. my problem is now that the zclass is in the Catalog, but when i try to search i get no result! i have added all attributs to the meta table and all search criterias to the index. can somebody help me? thanks mex
Hi, Make sure in your ZClass_add method (replace "ZClass" with the name of your ZClass) that you are storing the values of the properties, and reindexing the object. I'm assuming that since you say the ZClass is in the catalog that you have CatalogAware as a base class. Your _add method should have: <dtml-with "createInObjectManager..."> <dtml-call "propertysheets.YourPropSheet.manage_editProperties(REQUEST)"> <dtml-call reindex_object> </dtml-with> Without the call to manage_editProperties (or manage_changeProperties) *and* the call to reindex_object, the object will show up in the catalog, but none of its property data will be there. Kevin ----- Original Message ----- From: "Markus Hochreiter" <mh@pernau.at> To: <zope@zope.org> Sent: Thursday, May 04, 2000 10:17 AM Subject: [Zope] zclass
i have tried to add a zclass programmaticlly. my problem is now that the zclass is in the Catalog, but when i try to search i get no result! i have added all attributs to the meta table and all search criterias to the index.
Markus Hochreiter writes:
hi, i have tried to add a zclass programmaticlly. my problem is now that the zclass is in the Catalog, but when i try to search i get no result! i have added all attributs to the meta table and all search criterias to the index.
can somebody help me?
Did you call reindex_object after you added the properties? <dtml-with "createInObjectManger.MyClass(REQUEST)"> <dtml-call "propertysheets.MyProps.manage_editProperties(REQUEST)"> <dtml-call reindex_object> </dtml-with> Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
hi, i have created a searchable adressbook in zope, where you can insert data without using the management screen. after inserting a new person in the adressbook i can not search in the catalog, i get no result. after updating the catalog in the management screen, the search function is fixed and i can search! i send the adressbook as attachment, because i can't find a solution to fix the problem. i hope somebody can help me! AlpineNiederlassung and AlpinePerson are the products and Adressbuch is a folder with the layout! Maybe somebody can also use the Adressbook! thanks mex i hope attachments are allowed on this mailing list
Markus Hochreiter wrote:
hi,
i have created a searchable adressbook in zope, where you can insert data without using the management screen. after inserting a new person in the adressbook i can not search in the catalog, i get no result. after updating the catalog in the management screen, the search function is fixed and i can search!
I haven't looked at the attachement, but can you quickly check if the class of objects you want searchable has 'CatalogAware' as a base class? If you want objects to be automatically added to the catalog when they are added or changed you need to make CatalogAware a base class. Otherwise you have to manually find and add objects through the management interface of ZCatalog. HTH, Shalabh
Markus :
hi,
i have created a searchable adressbook in zope, where you can insert data without using the management screen. after inserting a new person in the adressbook i can not search in the catalog, i get no result.
When you created the instance of the new person did you call <dtml-call reindex_object>?
after updating the catalog in the management screen, the search function is fixed and i can search!
i send the adressbook as attachment, because i can't find a solution to fix the problem. i hope somebody can help me!
AlpineNiederlassung and AlpinePerson are the products and Adressbuch is a folder with the layout! Maybe somebody can also use the Adressbook!
thanks mex
i hope attachments are allowed on this mailing list
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Hi, How can I find a string in a dtml-var inside a <dtml-in> sequence? I only want to show names including 'fam'. I don't want to use the ZCatalog for this search! I want to know how I can perform a string compair. <dtml-in Catalog> <dtml-if "_.string.find('fam',<dtml-var name>"> this is not correct, why? <dtml-var name> </dtml-if> </dtml-in> thanks for help mex
Hi ! Markus Hochreiter wrote:
How can I find a string in a dtml-var inside a <dtml-in> sequence? I only want to show names including 'fam'. I don't want to use the ZCatalog for this search!
I want to know how I can perform a string compair.
<dtml-in Catalog> <dtml-if "_.string.find('fam',<dtml-var name>"> this is not correct, why? <dtml-var name> </dtml-if> </dtml-in>
Nesting dtml tags is not allowed. As a Zope User you may want to go to the ZDP Portals http://zdp.zope.org/portals There to the Users Portal: http://zdp.zope.org/portals/users/dtml/ There to the Subject of DTML http://zdp.zope.org/portals/users/dtml/ There you will find many Topics and also some pointers to the main resources on DTML. Make sure you have read the DTML Reference that is pointed to on this page: http://zdp.zope.org/portals/users/dtml/ Greetings, Maik Röder
On Sun, 7 May 2000, Markus Hochreiter wrote:
<dtml-in Catalog> <dtml-if "_.string.find('fam',<dtml-var name>"> this is not correct, why? <dtml-var name> </dtml-if> </dtml-in>
Because inside the quotes you are in a python context and need to use pure python syntax, no mixed in dtml. Try (untested): <dtml-if "_.string.find('fam',name)"> --RDM
hi, i have created a searchable adressbook in zope, where you can insert data without using the management screen. after inserting a new person in the adressbook i can not search in the catalog, i get no result. after updating the catalog in the management screen, the search function is fixed and i can search! i hope somebody can help me! thanks mex
Jonothan:
Shouldn't be too difficult. (I know, famous last words.) I'd be interested in banging out a prototype.
I looked at FileStorage and the BasicStorage yesterday. I am trying to get a feel for it.
I'll have to see when I can get to it after responding to all these emails about LocalFS that piled up while I was on vacation.
That's because it's an amazing product. All my best, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
All, I've put some stuff about a proposed RelationalStorage in the ZODB wiki at http://www.zope.org/Members/jim/ZODB Its goal is to allow you to use a SQL database as a Storage, which somewhat coincidentally would also get around the single-file 2GB limitation. I would appreciate comments (in the wiki or here). The table structure I'm not sure on, it's only a skeleton right now... Jason Spisak wrote:
Jonothan:
Shouldn't be too difficult. (I know, famous last words.) I'd be interested in banging out a prototype.
I looked at FileStorage and the BasicStorage yesterday. I am trying to get a feel for it.
I'll have to see when I can get to it after responding to all these emails about LocalFS that piled up while I was on vacation.
That's because it's an amazing product.
All my best,
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org
I've put some stuff about a proposed RelationalStorage in the ZODB wiki at http://www.zope.org/Members/jim/ZODB
Its goal is to allow you to use a SQL database as a Storage, which somewhat coincidentally would also get around the single-file 2GB limitation.
I would appreciate comments (in the wiki or here). The table structure I'm not sure on, it's only a skeleton right now...
I like it. I'm much more interested in working on this than a FileSystem storage, for different reasons. Care to collaborate? --jfarr
I would like to see this available also. It would be nice if it were a first class Zope citizen. A couple of questions. Will this be db agnostic or be fairly hardcoded? I would like to propose the use of InterBase as an excellent option for db. IB 6.0 is open source and will be available most anywhere Zope is. I don't know of any other db which meets those requirements. In addition to that it is an excellent database. It may not be 'Oracle' yet, but most don't need 'Oracle'. InterBase source code and release version is supposed to be available by the end of June. I have seen no release to believe that it won't be met. There are people on the IB lists which are Zope aware and would like to see IB be a first class citizen in the Zope community. I am not an expert on IB, but from what I've seen it could possibly support objects well. It has an understanding of the OO world. It would be nice if this could be done where it could scale from the 'whats sql' user to the power sql user. Giving both the ability to use it at their level. What I mean here is that it is transparent as possible while providing as much expressiveness as possible. Just a few thoughts. Jimmie Houchin InterBase info at: http://www.interbase.com/ another good site is: http://members.tripod.com/cvalde/ Chris McDonough wrote:
All,
I've put some stuff about a proposed RelationalStorage in the ZODB wiki at http://www.zope.org/Members/jim/ZODB
Its goal is to allow you to use a SQL database as a Storage, which somewhat coincidentally would also get around the single-file 2GB limitation.
I would appreciate comments (in the wiki or here). The table structure I'm not sure on, it's only a skeleton right now...
Jason Spisak wrote:
Jonothan:
Shouldn't be too difficult. (I know, famous last words.) I'd be interested in banging out a prototype.
I looked at FileStorage and the BasicStorage yesterday. I am trying to get a feel for it.
I'll have to see when I can get to it after responding to all these emails about LocalFS that piled up while I was on vacation.
That's because it's an amazing product.
All my best,
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (12)
-
alan runyan -
Chris McDonough -
Chris Withers -
Jason Spisak -
Jimmie Houchin -
Jonothan Farr -
Kevin Dangoor -
Maik Roeder -
Markus Hochreiter -
mindlace -
R. David Murray -
Shalabh Chaturvedi