[ckan-dev] Count of datasets on front page incorrectly reports "0 datasets"?

Jim Craner jim at codeforamerica.org
Thu May 24 19:42:57 UTC 2012


W00t!  Success after rebuilding the index.  And my third dataset
successfully uploaded and is displayed immediately.

But now I have two additional questions:

1) Sorry if this is more of a general python or pylons or virtualenv
question, but I do not have a paster program in
/var/lib/ckan/data/pyenv/bin... should I?

[The search-index rebuild only worked when I went into my CKAN folder,
activated virtualenv, and then ran "paster" without a path.  I also
tried, while virtualenv'ed, pip install paster which seemed to
successfully work but still didn't put a paster app in
/var/lib/ckan/data/pyenv/bin...]

2) When I upload a Resource into a Dataset, such as a csv, I do not
see a Preview.  This is because I have not yet configured DataStore,
correct?  Or is File Preview independent of DataStore?

Thanks so much for your help, David and everyone else!
Jim

On Thu, May 24, 2012 at 11:44 AM, David Raznick <kindly at gmail.com> wrote:
>
>
> On Thu, May 24, 2012 at 7:21 PM, Jim Craner <jim at codeforamerica.org> wrote:
>>
>> Hi Salman,
>>
>> I tried adding 'synchronous_search' to the plugins line with no success.
>
>
> keep the sycrounous_search line in the plugins.  This only comes into effect
> when creating new datasets.
>
> Also run paster search-index rebuild in your virtualenv, so the old ones
> that you missed are reindexed.
>
> Thanks
>
> David
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>



-- 
-----
Jim Craner, 2012 Fellow
Code for America
jim at codeforamerica.org
(+1) 773-809-4546
http://codeforamerica.org




More information about the ckan-dev mailing list