[ckan-dev] WebApp Error: <class 'pairtree.storage_exceptions.FileNotFoundException'>:

Ivan Ricotti i.ricotti at hyperborea.com
Wed Jun 5 15:41:01 UTC 2013


Hello,

I've a serious issue on my storage. Most of the resources can't be
downloaded even though they're are *not* missing on file system.

This is my storage configuration:

ckan.storage.bucket = pat-ckan-bucket
## OFS configuration
ofs.impl = pairtree
# directory on disk for data storage (should be empty)
ofs.storage_dir = /home/ckan/pat-storage

## Datastore
## Uncommment to set the datastore urls
ckan.datastore.write_url =
postgresql://writeuser:password@localhost/datastore
ckan.datastore.read_url =
postgresql://readonlyuser:password@localhost/datastore

This is an excerpt of the error I receive:

URL:
http://pat-ckan.spaziodati.eu/storage/f/2013-03-15T112119/Entrate-per-categoria-2006.csv
Module weberror.errormiddleware:*162* in |__call__|

[... snip ...]

Module ofs.local.pairtreestore:*128* in |get_metadata|
<<  <#>            if json_payload.has_key(label):
                       return json_payload.state[label]
               raise FileNotFoundException

           def update_metadata(self, bucket, label, params):
>>  <#>raise FileNotFoundException


Can't understand why. Maybe the problem lays on the retrieval of
metadata? I don't see why that's happened. I tried to launch:

paster --plugin=ckanext-datastorer datastorer queue --config=/etc/ckan.ini

and

paster --plugin=ckanext-datastorer datastorer update --config=/etc/ckan.ini

but didn't help! :-(

Any ideas?
Thanks,
Ivan




More information about the ckan-dev mailing list