[ckan-dev] R: R: 404 not found when I preview dataset

Salvatore Altiero salvatore.altiero at linksmt.it
Tue Aug 28 08:13:09 UTC 2012


Many thanks for your response.

 

I haven’t find the file /var/log/celeryd.log in my server and in my /etc/ckan/std/std.ini I haven’t find the entry ckan.plugins = datastorer synchronous_search. The only entry is this: ckan.plugins = stats

 

Can I attach my std.ini file to this mail ?

 

Thanks,

Salvatore

 

Da: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] Per conto di Jim Craner
Inviato: lunedì 27 agosto 2012 23:41
A: CKAN Development Discussions
Oggetto: Re: [ckan-dev] R: 404 not found when I preview dataset

 

Salvatore,

Can you paste your /var/log/celeryd.log into a Pastebin for us, removing any passwords or sensitive information?

In your CKAN configuration file (std.ini or development.ini or something else), do you have the following ckan.plugins enabled?

ckan.plugins = datastorer synchronous_search

Thanks,
Jim



On Mon, Aug 27, 2012 at 6:02 AM, Salvatore Altiero <salvatore.altiero at linksmt.it> wrote:

Hi all, can someone respond to me question ?

 

Many thanks.

 

Da: Salvatore Altiero [mailto:salvatore.altiero at linksmt.it] 
Inviato: martedì 31 luglio 2012 15:56
A: 'ckan-dev at lists.okfn.org'
Oggetto: 404 not found when I preview dataset

 

Many thanks for your answers.

 

I've resolved my problem with this steps: 

- adding buket and storage_dir in std.ini 

- install python-argparse e python-pairtree

- chhown www-data to storage_dir

- restart apache

 

But now, I can upoload a dataset but ckan don't give me the possibility to preview the dataset. Also ckan home page show always 0 dataset.

 

 

 

I’ve seen the error “404 Not Found”, when I try to preview dataset, calling this url:

 

·        http://10.0.6.15:8888/api/data/f1d2bc2e-79b3-4fd2-b893-717e03279d61/_mapping?callback=jQuery17107549065738504257_1343127296127 <http://10.0.6.15:8888/api/data/f1d2bc2e-79b3-4fd2-b893-717e03279d61/_mapping?callback=jQuery17107549065738504257_1343127296127&_=1343127296727> &_=1343127296727 à 404 not found

 

These urls  correctly respond me

·        http://10.0.6.15:8888/api/1 à {"version": 1}

·        http://10.0.6.15:8888/storage/f/2012-07-02T142955/Organico.xls à download the file

 

Can you help me ?

 

-----Messaggio originale-----
Da: seanh [mailto:snhmnd at gmail.com] Per conto di Sean Hammond
Inviato: lunedì 4 giugno 2012 15:45
A: Salvatore Altiero
Cc: 'Irina Bolychevsky'; info at ckan.org
Oggetto: Re: R: [via ckan.org] An internal server error occurred during file upload

 

> I've attached my ckan.ini file and pip freeze output.

> 

> In pip freeze I don't see python-argparse and python-pairtree.

> 

> Is this my problem ?

 

Probably. Did you run the `pip install pairtree` command from the filestore setup instructions?

 

 <http://docs.ckan.org/en/latest/filestore.html> http://docs.ckan.org/en/latest/filestore.html

-- 
This email was Virus checked by Astaro Security Gateway. http://www.astaro.com


_______________________________________________
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

 

 
-- 
This email was Virus checked by Astaro Security Gateway. http://www.astaro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120828/2e54f89d/attachment-0001.html>


More information about the ckan-dev mailing list