[ckan-dev] Premature end of script headers when using ckanext-spatial

Vitor Baptista vitor at vitorbaptista.com
Thu Oct 10 23:09:30 UTC 2013


Hi all,

I'm trying to install ckanext-spatial on a RHEL6, but I'm getting some
strange errors.

I was able to configure PostGIS and it seems to be working fine on the DB
server. I've also installed ckanext-spatial and all of its dependencies on
the app server just fine, but whenever I add spatial_metadata or
spatial_query to the plugins list, I get:

==> /var/log/httpd/ckan_default.error.log <==
> [Fri Oct 11 00:00:02 2013] [error]
> /usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning:
> object.__new__() takes no parameters
> [Fri Oct 11 00:00:02 2013] [error]   obj = object.__new__(cls, *args, **kw)
> [Fri Oct 11 00:00:03 2013] [error] [client 187.114.201.223] Premature end
> of script headers: apache.wsgi


==> /var/log/httpd/error_log <==
> [Fri Oct 11 00:00:04 2013] [notice] child pid 4135 exit signal
> Segmentation fault (11)


Googling around, it seems that it happens when somehow Apache is running
one version of a library, and your Python code is running another. I tried
looking for possible culprits, but couldn't find any. The closest I thought
was geos that, as I installed this version:

geos.x86_64                        3.3.2-1.el6             @epel


Running just geojson_preview works fine.

Any ideas?

Cheers,

-- 

Vítor Baptista

Developer  |  http://vitorbaptista.com |
LinkedIn<http://www.linkedin.com/in/vitorbaptista>|
@vitorbaptista <http://twitter.com/vitorbaptista>

The Open Knowledge Foundation <http://okfn.org>

*Empowering through Open Knowledge*

http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131010/e0da3403/attachment.html>


More information about the ckan-dev mailing list