[ckan-dev] FileStore integration with Apache does not work

User66 user66 at arcor.de
Mon Apr 1 07:58:34 UTC 2013


Hi,

I am running latest CKAN 2.x master on my server by integrating into
Apache 2.2.22 web server according to the description under
http://docs.ckan.org/en/latest/deployment.html . So far, this works.

But I have problems with the activation of the FileStore functionality
described under http://docs.ckan.org/en/latest/filestore.html.

The FileStore works if I run CKAN using the built-in web server. The
"Upload a file" link in the dataset resource window is available and
uploading a file works.

But if I run CKAN with Apache (WSGI) with the same config, the FielStore
add-on does not work - it's not even visible in CKAN. It seems that it
is not initialized at all. There is no "Upload a file" link in the
dataset resource window at all. There are no error messages or any other
hints in the log files except of periodic Apache errors like:

########
[Mon Apr 01 09:48:37 2013] [error] Exception AttributeError: "'NoneType'
object has no attribute 'clearing'" in <bound method
PluginEnvironment.__del__ of  Services for Environment '<default>'
[Mon Apr 01 09:48:37 2013] [error] > ignored
########

Is there anybody who has integrated FileStore with Apache WSGI
successfully? How can I debug this (Apache Python stuff)?

Cheers
Ralf





More information about the ckan-dev mailing list