Re: [Zope3-Users] Basic question about catalogs
Am Montag 03 September 2007 schrieb Frank Burkhardt: > Hi, > > On Sun, Sep 02, 2007 at 11:03:47PM +0200, Tobias Kräntzer wrote: > > Hello everybody, > > > > While figuring out catalogs in zope3 (3.3.1 on ubuntu 7.04), i ran into a > > problem. I think it is just a basic configuration thing, but I could not find > > what I'm doing wrong. > > > > In "/++etc++site/default/" I have added an IntIds and an Catalog (Both > > registered; without a name). > > > > Then I have added an FiledIndex in the Catalog > > for "zope.app.file.interfaces.IFile" with the attribute "contentType" marked > > as callable. > > According to z.a.file.interfaces.IFile, contentType is not callable. Thanks, it seems that I schouldnt sit so late at night in front of the computer. Afterwards I saw that "contentType" is listed by the attributes. Regards, Tobias ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Basic question about catalogs
Hi, On Sun, Sep 02, 2007 at 11:03:47PM +0200, Tobias Kräntzer wrote: > Hello everybody, > > While figuring out catalogs in zope3 (3.3.1 on ubuntu 7.04), i ran into a > problem. I think it is just a basic configuration thing, but I could not find > what I'm doing wrong. > > In "/++etc++site/default/" I have added an IntIds and an Catalog (Both > registered; without a name). > > Then I have added an FiledIndex in the Catalog > for "zope.app.file.interfaces.IFile" with the attribute "contentType" marked > as callable. According to z.a.file.interfaces.IFile, contentType is not callable. Regards, Frank ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Basic question about catalogs
Hello everybody, While figuring out catalogs in zope3 (3.3.1 on ubuntu 7.04), i ran into a problem. I think it is just a basic configuration thing, but I could not find what I'm doing wrong. In "/++etc++site/default/" I have added an IntIds and an Catalog (Both registered; without a name). Then I have added an FiledIndex in the Catalog for "zope.app.file.interfaces.IFile" with the attribute "contentType" marked as callable. After creating an file-object, the catalog still says in the advanced view, that 0 items were found. I thought one item (the file) should be registered. Am I missing an configurationdetail or somthing? Help would be great. Regards, Tobias ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users