Re: portal_catalog issue
<VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Mallikarjun) Sun, 16 May 2004 18:36:14 -0700
| Newsgroups | gmane.org.misc.vasudeva-server.web |
|---|---|
| Message-ID | <[email protected]> |
Hi Medur, Tried what you mentioned but i am getting the same result i.e. Missing.Value. But i have found if i do t.getURL() instead of t.path i am able to get the path of the object in the catalog. > Finally Why not set up your plone site on the mallikdev > instance on our unix server so I can have a look at it. I tried to log on to the unix server but was denied permission. Mallikarjun ----- Original Message ----- From: "Medur" <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> To: "Vasudeva Service" <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> Sent: Sunday, May 16, 2004 1:21 PM Subject: Re: [VasudevaService] portal_catalog issue > Hi Mallik > > Try the following (one at a time checking resulting effect of > each option before going to the next.) > > 1. run update catalog function from Advanced tab > 2. run clear contents catalog function from Advanced tab > followed by Find and Catalog all objects function > 3. run clear contents catalog function from Advanced tab > followed by rename plone site from troot of zmi > > Finally Why not set up your plone site on the mallikdev > instance on our unix server so I can have a look at it. Let > me know . . . > > Best Regards > Medur > > On Sun, 16 May 2004 07:36:42 -0700 > <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Mallikarjun) wrote: > >Hi Everyone, > > > >I have come accross a problem i am unable to resolve. > > > >In the portal_catalog there is an index called path. This > >gives the path to > >the object. > > > >At present there are 5 objects in the catalog. > > > >When i run the following code: > > > >path_list = [] > >v1 = context.portal_catalog() > >for t in v1: > > path1 = t.path > > path_list.append(path1) > >return_val = path_list > >return return_val > > > >all that i am getting is : > > > > [Missing.Value, Missing.Value, Missing.Value, Missing.Value, > >Missing.Value] > > > >I will be very grateful if any body has a suggestion. > > > >Thanks a million, > > > >Mallkarjun > > > > > >-------------------------------------------------------------------------- > >This message is sent to you because you are subscribed to the > >mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>. > >Vasudeva Service home: http://www.vasudevaservice.com/ > >Browse list: > >nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web > >List archive: > >https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html > >-------------------------------------------------------------------------- > > > -------------------------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>. > Vasudeva Service home: http://www.vasudevaservice.com/ > Browse list: nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web > List archive: https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html > -------------------------------------------------------------------------- -------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.