[ckan-dev] Issues while enabling ckanext-spatial extension

Naresh N naresh919 at gmail.com
Mon Sep 7 13:12:55 UTC 2015


Hello David,

Thanks for responding. Yes I installed CKAN on Ubuntu 12.04 64 bit machine.

Thanks&Regards,
Naresh

On Mon, Sep 7, 2015 at 4:41 PM, <ckan-dev-request at lists.okfn.org> wrote:

> Send ckan-dev mailing list submissions to
>         ckan-dev at lists.okfn.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.okfn.org/mailman/listinfo/ckan-dev
> or, via email, send a message with subject or body 'help' to
>         ckan-dev-request at lists.okfn.org
>
> You can reach the person managing the list at
>         ckan-dev-owner at lists.okfn.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ckan-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Connecting Ckan to Oracle databases (Jordi Piqueras Bautista)
>    2. Re: Issues while enabling ckanext-spatial extension (David Read)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 7 Sep 2015 07:33:27 +0000
> From: Jordi Piqueras Bautista <jpiqueras at absis.es>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Connecting Ckan to Oracle databases
> Message-ID: <067CDC7D3EE4A646A36369A40A9487240141802B at espot.absis.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Youssef,
>
> As you know, I am searching a solution like you have explained.
>
> By the way, I was wondering if using the CKAN Geoserver extension could be
> a solution for what I have to do. I mean, with Geoserver you can publish
> different schemas from a spatial database. Then, I guess that I could
> configure a CKAN harvester collecting the information of these tables and
> adding at the same time some metadata description. In that moment I could
> get my purpose because I only need to inform which tables I have in my
> Oracle DB.
>
> It is only an idea but, could be helpful to our purpose?
>
> It would be much better to avoid installing Geoserver and its CKAN
> extension. The best option would be to have another pure CKAN extension for
> publish tables and views from databases. In my case, It also would be
> perfect having a webservice giving poll information and updates as number
> of records created/updated/deleted.
>
> Does anyone another suggestion?
>
> Thank you.
>
> -----Mensaje original-----
> De: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] En nombre de Ian
> Ward
> Enviado el: mi?rcoles, 02 de septiembre de 2015 23:46
> Para: CKAN Development Discussions
> Asunto: Re: [ckan-dev] Connecting Ckan to Oracle databases
>
> Hello Youssef,
>
> I'm not aware of extensions that already do what you're asking, but CKAN
> will let you search any metadata you load.
>
> I have a few questions for you: Do you want to be able to search the
> contents of larger documents or just descriptions? How many possible
> results would there be in total? How many different types of records are
> you searching? Does your web service let you poll for updates (just records
> created/updated/deleted in a certain time)?
>
> Ian
>
> On Wed, Sep 2, 2015 at 2:38 PM,  <Youssef.Kadri at statcan.gc.ca> wrote:
> >
> >
> > Hello CKANers,
> >
> > I want to develop an enterprise search solution with CKAN. Is CKAN
> > able to connect to Oracle databases, crawl databases to be indexed and
> > after that searched?
> >
> > I also have a Web service to access to a database, is it possible with
> > CKAN to consume a Web service and search this database?
> >
> > If yes, which extensions or plug-ins  are necessary for that?
> >
> > Any documentation is welcomed.
> >
> > Thank you.
> >
> > Youssef
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 7 Sep 2015 12:11:03 +0100
> From: David Read <david.read at hackneyworkshop.com>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Issues while enabling ckanext-spatial
>         extension
> Message-ID:
>         <
> CAOY41VVpiMKnjh42eW1Hv2CdPEYdWtwQ-UenrihB0qOHPbFwkw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Naresh,
> Are you using Ubuntu 12.04?
> David
>
> On 7 September 2015 at 06:32, Naresh N <naresh919 at gmail.com> wrote:
> > Dear All, Please help me to resolve  following issue
> >
> >  I am  enabling ckanext-spatial extension in one more machine. I have
> > followed instructions  given in
> > http://ckanext-spatial.readthedocs.org/en/latest/install.html except
> > following instruction
> >
> > (pyenv) $ pip install -r pip-requirements.txt.
> >  Instead of above I have used
> > (pyenv)$ pip install -r
> > /usr/lib/ckan/default/src/ckanext-spatial/pip-requirements.txt
> >
> > It is shown following error message
> >
> > Downloading/unpacking Shapely>=1.2.13 (from -r
> > /usr/lib/ckan/default/src/ckanext-spatial/pip-requirements.txt (line
> > 3))   Running setup.py egg_info for package Shapely
> > ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:Path to geos-config
> > is not set     ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:Cannot
> > find geos-config to get headers and check version.
> > ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:If available,
> > specify a path to geos-config with a GEOS_CONFIG environment variable
> >
> > After that I have also tried solution given in following link
> >
> >
> http://stackoverflow.com/questions/25873463/libgeos-c-so-undefined-symbol-geosisclosed
> >
> > but it is also showing error.
> >
> > Downloading/unpacking Shapely>=1.3.3
> >   Running setup.py egg_info for package Shapely
> >     Traceback (most recent call last):
> >       File "<string>", line 14, in <module>
> >       File "/usr/lib/ckan/default/build/Shapely/setup.py", line 38, in
> > <module>
> >         from shapely.libgeos import geos_version_string, geos_version, \
> >       File "shapely/libgeos.py", line 83, in <module>
> >         clibs = get_geos_config('--clibs')
> >       File "shapely/libgeos.py", line 72, in get_geos_config
> >         raise ValueError(stderr.strip())
> >     ValueError: Usage: geos-config [OPTIONS]
> >     Options:
> >          [--prefix]
> >          [--version]
> >          [--libs]
> >          [--cflags]
> >          [--ldflags]
> >          [--includes]
> >          [--jtsport]
> >     Complete output from command python setup.py egg_info:
> >     Traceback (most recent call last):
> >
> >   File "<string>", line 14, in <module>
> >
> >   File "/usr/lib/ckan/default/build/Shapely/setup.py", line 38, in
> <module>
> >
> >     from shapely.libgeos import geos_version_string, geos_version, \
> >
> >   File "shapely/libgeos.py", line 83, in <module>
> >
> >     clibs = get_geos_config('--clibs')
> >
> >   File "shapely/libgeos.py", line 72, in get_geos_config
> >
> >     raise ValueError(stderr.strip())
> >
> > ValueError: Usage: geos-config [OPTIONS]
> >
> > Options:
> >
> >      [--prefix]
> >
> >      [--version]
> >
> >      [--libs]
> >
> >      [--cflags]
> >
> >      [--ldflags]
> >
> >      [--includes]
> >
> >      [--jtsport]
> >
> > ----------------------------------------
> > Command python setup.py egg_info failed with error code 1 in
> > /usr/lib/ckan/default/build/Shapely
> > Storing complete log in /root/.pip/pip.log
> >
> >
> > Please kindly help me to resolve the issue
> >
> >
> > Thanks&Regards,
> > Naresh
> >
> >
> >
> >
> >
> >
> > On Fri, Sep 4, 2015 at 10:28 AM, <ckan-dev-request at lists.okfn.org>
> wrote:
> >>
> >> Send ckan-dev mailing list submissions to
> >>         ckan-dev at lists.okfn.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> or, via email, send a message with subject or body 'help' to
> >>         ckan-dev-request at lists.okfn.org
> >>
> >> You can reach the person managing the list at
> >>         ckan-dev-owner at lists.okfn.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of ckan-dev digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. Solr tagging (Oliver Standeven)
> >>    2. Re: Solr tagging (Rae Knowler)
> >>    3. Re: Batch upload (Denis Zgonjanin)
> >>    4. Enabling File Upload - ckan_version: "2.4.0" (Natalia Queiroz)
> >>    5. issues while enabling ckanext-spatial extension (Naresh N)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Thu, 3 Sep 2015 10:42:23 +0100
> >> From: Oliver Standeven <ols at pml.ac.uk>
> >> To: <ckan-dev at lists.okfn.org>
> >> Subject: [ckan-dev] Solr tagging
> >> Message-ID: <55E815FF.4060001 at pml.ac.uk>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> Hi all,
> >>
> >> I have a little inquiry. I am a student working on placement at PML. I
> >> have been developing some extensions for CKAN and am now ready to put
> >> the system into a production environment.
> >>
> >> There is just one thing that is bugging me and I wonder if anybody could
> >> help answer this question.
> >>
> >> When I clear out CKAN (drop the database and re-initialise it using he
> >> paster command), solr still seems to have some kind of record of the
> >> tags, as it displays them on the datasets page. It also says that there
> >> are some datasets when there has been nothing added.
> >>
> >> Could someone shed some light on this as I feel it will give me a better
> >> understanding of how solr works with CKAN.
> >>
> >> Thanks a lot,
> >>
> >> Oliver Standeven
> >>
> >>
> >> Please visit our new website at www.pml.ac.uk and follow us on Twitter
> >> @PlymouthMarine
> >>
> >> Winner of the Environment & Conservation category, the Charity Awards
> >> 2014.
> >>
> >> Plymouth Marine Laboratory (PML) is a company limited by guarantee
> >> registered in England & Wales, company number 4178503. Registered
> Charity
> >> No. 1091222. Registered Office: Prospect Place, The Hoe, Plymouth  PL1
> 3DH,
> >> UK.
> >>
> >> This message is private and confidential. If you have received this
> >> message in error, please notify the sender and remove it from your
> system.
> >> You are reminded that e-mail communications are not secure and may
> contain
> >> viruses; PML accepts no liability for any loss or damage which may be
> caused
> >> by viruses.
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: Thu, 3 Sep 2015 15:28:56 +0200
> >> From: Rae Knowler <rachel.knowler at liip.ch>
> >> To: ckan-dev at lists.okfn.org
> >> Subject: Re: [ckan-dev] Solr tagging
> >> Message-ID: <55E84B18.9010501 at liip.ch>
> >> Content-Type: text/plain; charset=windows-1252; format=flowed
> >>
> >> Hi Oliver,
> >>
> >> In this situation you need to rebuild the Solr index. There is a paster
> >> command for this:
> >>
> >>
> http://docs.ckan.org/en/latest/maintaining/paster.html?#search-index-rebuild-search-index
> .
> >>
> >> Hope that helps,
> >> Rae
> >>
> >> On 09/03/2015 11:42 AM, Oliver Standeven wrote:
> >> > Hi all,
> >> >
> >> > I have a little inquiry. I am a student working on placement at PML. I
> >> > have been developing some extensions for CKAN and am now ready to put
> >> > the system into a production environment.
> >> >
> >> > There is just one thing that is bugging me and I wonder if anybody
> could
> >> > help answer this question.
> >> >
> >> > When I clear out CKAN (drop the database and re-initialise it using he
> >> > paster command), solr still seems to have some kind of record of the
> >> > tags, as it displays them on the datasets page. It also says that
> there
> >> > are some datasets when there has been nothing added.
> >> >
> >> > Could someone shed some light on this as I feel it will give me a
> better
> >> > understanding of how solr works with CKAN.
> >> >
> >> > Thanks a lot,
> >> >
> >> > Oliver Standeven
> >> >
> >> >
> >> > Please visit our new website at www.pml.ac.uk and follow us on
> Twitter
> >> > @PlymouthMarine
> >> >
> >> > Winner of the Environment & Conservation category, the Charity Awards
> >> > 2014.
> >> >
> >> > Plymouth Marine Laboratory (PML) is a company limited by guarantee
> >> > registered in England & Wales, company number 4178503. Registered
> Charity
> >> > No. 1091222. Registered Office: Prospect Place, The Hoe, Plymouth
> PL1 3DH,
> >> > UK.
> >> >
> >> > This message is private and confidential. If you have received this
> >> > message in error, please notify the sender and remove it from your
> system.
> >> > You are reminded that e-mail communications are not secure and may
> contain
> >> > viruses; PML accepts no liability for any loss or damage which may be
> caused
> >> > by viruses.
> >> >
> >> > _______________________________________________
> >> > ckan-dev mailing list
> >> > ckan-dev at lists.okfn.org
> >> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Thu, 3 Sep 2015 10:23:44 -0400
> >> From: Denis Zgonjanin <deniszgonjanin at gmail.com>
> >> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> >> Subject: Re: [ckan-dev] Batch upload
> >> Message-ID:
> >>
> >> <CAGSzoiPK8dGaYuE8A8VkDLdjPT=HSABjzDPiMgsF8LstOTFPJQ at mail.gmail.com>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> There is a project we did a few months ago, to batch export all CKAN
> data
> >> and metadata into the Data Packages
> >> (http://dataprotocols.org/data-packages/) format.
> >> The code we wrote is built into the ckanapi:
> >>
> >>
> https://github.com/ckan/ckanapi#bulk-dataset-and-resource-export---datapackagejson-format
> >>
> >> Now what's left is the same functionality, the other way. A batch
> import.
> >>
> >> If you have any appetite to take it on, it might be a good addition for
> >> ckanapi as well.
> >>
> >>
> >>
> >> On Thu, Sep 3, 2015 at 12:44 AM, Aaron McGlinchy <
> >> McGlinchyA at landcareresearch.co.nz> wrote:
> >>
> >> > Hi,
> >> >    Has anyone done any work on batch upload of data e.g. point to a
> >> > folder
> >> > containing numerous resources, enter dataset level metadata, point to
> >> > the
> >> > folder and load up all the files in the folder under that dataset.
> >> > Could
> >> > have a manifest file that contained a list of the file names and the
> >> > description to be associated with that file when it was uploaded as a
> >> > resource...
> >> >
> >> > Could consider zipping e.g. if the main folder contained subfolders
> >> > which
> >> > contained several files, maybe zip each folder.
> >> >
> >> > Not wedded to anything, just wondering what if any work been done
> around
> >> > such things.
> >> >
> >> > Thanks
> >> > Aaron
> >> >
> >> > ________________________________
> >> >
> >> > Please consider the environment before printing this email
> >> > Warning: This electronic message together with any attachments is
> >> > confidential. If you receive it in error: (i) you must not read, use,
> >> > disclose, copy or retain it; (ii) please contact the sender
> immediately
> >> > by
> >> > reply email and then delete the emails.
> >> > The views expressed in this email may not be those of Landcare
> Research
> >> > New Zealand Limited. http://www.landcareresearch.co.nz
> >> > _______________________________________________
> >> > ckan-dev mailing list
> >> > ckan-dev at lists.okfn.org
> >> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >> >
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >> <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150903/bee7f73c/attachment-0001.html
> >
> >>
> >> ------------------------------
> >>
> >> Message: 4
> >> Date: Thu, 3 Sep 2015 15:48:50 -0300
> >> From: Natalia Queiroz <queiroz.nati at gmail.com>
> >> To: ckan-dev at lists.okfn.org
> >> Subject: [ckan-dev] Enabling File Upload - ckan_version: "2.4.0"
> >> Message-ID:
> >>
> >> <CAAuYkdV7OVkvpry0GGA0cN3mRf_m8mLwpaiaUO=VKR3w4jzk8g at mail.gmail.com>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> Hello group,
> >>
> >> I'm trying to enable the file upload option and I followed the
> >> instructions according to the documentation
> >> http://docs.ckan.org/en/ckan-2.4.0/maintaining/filestore.html
> >>
> >> I'm using ckan_version: "2.4.0"
> >>
> >> Those were the steps:
> >>
> >> 1. Create the directory where CKAN will store uploaded files:
> >>       sudo mkdir -p /var/lib/ckan/default
> >> 2. Add the following line to your CKAN config file
> >> (/etc/ckan/default/development.ini), after the [app:main]line:
> >>       ckan.storage_path = /var/lib/ckan/default
> >>
> >> [app:main]
> >> ckan.storage_path = /var/lib/ckan/default
> >> use = egg:ckan
> >> full_stack = true
> >> cache_dir = /tmp/%(ckan.site_id)s/
> >> beaker.session.key = ckan
> >>
> >>
> >>
> >> 3.Set the permissions of your ckan.storage_path<directory
> >>  sudo chown www-data /var/lib/ckan/default
> >>  sudo chmod u+rwx /var/lib/ckan/default
> >>
> >> 4. Restart Apache
> >>
> >>   sudo service apache2 reload
> >>
> >>
> >> I still don't see the file upload option when trying to create a
> >> dataset. Is there somewhere else I should enable this setting?
> >>
> >> Thanks,
> >>
> >>
> >>
> >> --
> >>
> >>
> >> Nat?lia Oliveira
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >> <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150903/72c21a2a/attachment-0001.html
> >
> >>
> >> ------------------------------
> >>
> >> Message: 5
> >> Date: Fri, 4 Sep 2015 10:28:52 +0530
> >> From: Naresh N <naresh919 at gmail.com>
> >> To: ckan-dev at lists.okfn.org
> >> Subject: [ckan-dev] issues while enabling ckanext-spatial extension
> >> Message-ID:
> >>
> >> <CAKAPXzM1tO2jZhFC5a27ePDFQfKPqRXHurtuPN1KEXQd1M+Zcg at mail.gmail.com>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> Dear All,
> >>  I am  enabling ckanext-spatial extension in one more machine. I have
> >> followed instructions  given in
> >> http://ckanext-spatial.readthedocs.org/en/latest/install.html except
> >> following instruction
> >>
> >> (pyenv) $ pip install -r pip-requirements.txt.
> >>  Instead of above I have used
> >> (pyenv)$ pip install -r
> >> /usr/lib/ckan/default/src/ckanext-spatial/pip-requirements.txt
> >>
> >> It is shown following error message
> >>
> >> Downloading/unpacking Shapely>=1.2.13 (from -r
> >> /usr/lib/ckan/default/src/ckanext-spatial/pip-requirements.txt (line
> >> 3))   Running setup.py egg_info for package Shapely
> >> ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:Path to geos-config
> >> is not set     ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:Cannot
> >> find geos-config to get headers and check version.
> >> ERROR:/usr/lib/ckan/default/build/Shapely/setup.py:If available,
> >> specify a path to geos-config with a GEOS_CONFIG environment variable
> >>
> >> After that I have also tried solution given in following link
> >>
> >>
> >>
> http://stackoverflow.com/questions/25873463/libgeos-c-so-undefined-symbol-geosisclosed
> >>
> >> but it is also showing error. Please help me to resolve the issue
> >>
> >> Thanks&Regards,
> >> Naresh
> >>
> >> Dear  Ross Jones,
> >> >
> >> > Thanks a lot , the link helped me to resolve. Now I will work further
> to
> >> > enable to map search widget.
> >> >
> >> > Thanks&Regards,
> >> > Naresh
> >> >
> >> >
> >> > On Mon, Aug 10, 2015 at 4:07 PM, <ckan-dev-request at lists.okfn.org>
> >> > wrote:
> >> >
> >> >> Send ckan-dev mailing list submissions to
> >> >>         ckan-dev at lists.okfn.org
> >> >>
> >> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> >>         https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> >> or, via email, send a message with subject or body 'help' to
> >> >>         ckan-dev-request at lists.okfn.org
> >> >>
> >> >> You can reach the person managing the list at
> >> >>         ckan-dev-owner at lists.okfn.org
> >> >>
> >> >> When replying, please edit your Subject line so it is more specific
> >> >> than "Re: Contents of ckan-dev digest..."
> >> >>
> >> >>
> >> >> Today's Topics:
> >> >>
> >> >>    1. Re: issues while enabling ckanext-spatial extension (Ross
> Jones)
> >> >>    2. Re: problem with spatial previews (Matthew Fullerton)
> >> >>
> >> >>
> >> >>
> ----------------------------------------------------------------------
> >> >>
> >> >> Message: 1
> >> >> Date: Mon, 10 Aug 2015 11:00:25 +0100
> >> >> From: Ross Jones <ross at servercode.co.uk>
> >> >> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> >> >> Subject: Re: [ckan-dev] issues while enabling ckanext-spatial
> >> >>         extension
> >> >> Message-ID: <FF3D6F07-8AC6-4338-81E3-FA5C9FB1BF1E at servercode.co.uk>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> A quick google for the error (last line of log) with
> >> >>
> >> >>  ckan AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol:
> >> >> GEOSCovers
> >> >>
> >> >> returned
> >> >>
> >> >>
> >> >>
> >> >>
> http://stackoverflow.com/questions/25873463/libgeos-c-so-undefined-symbol-geosisclosed
> >> >>
> >> >> which looks like it may have a solution to your problem.
> >> >>
> >> >> Hope this helps
> >> >>
> >> >> Ross
> >> >>
> >> >>
> >> >>
> >> >> > On 10 Aug 2015, at 09:37, Naresh N <naresh919 at gmail.com> wrote:
> >> >> >
> >> >> > Dear All,
> >> >> >  Please help to resolve following   issue.
> >> >> >
> >> >> > Thanks&Regards,
> >> >> > Naresh
> >> >> >
> >> >> > On Thu, Aug 6, 2015 at 5:30 PM, <ckan-dev-request at lists.okfn.org>
> >> >> wrote:
> >> >> > Send ckan-dev mailing list submissions to
> >> >> >         ckan-dev at lists.okfn.org
> >> >> >
> >> >> > To subscribe or unsubscribe via the World Wide Web, visit
> >> >> >         https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> >> > or, via email, send a message with subject or body 'help' to
> >> >> >         ckan-dev-request at lists.okfn.org
> >> >> >
> >> >> > You can reach the person managing the list at
> >> >> >         ckan-dev-owner at lists.okfn.org
> >> >> >
> >> >> > When replying, please edit your Subject line so it is more specific
> >> >> > than "Re: Contents of ckan-dev digest..."
> >> >> >
> >> >> >
> >> >> > Today's Topics:
> >> >> >
> >> >> >    1. Fwd: issues while enabling ckanext-spatial extension and
> >> >> >       customized url Base map (Naresh N)
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> ----------------------------------------------------------------------
> >> >> >
> >> >> > Message: 1
> >> >> > Date: Thu, 6 Aug 2015 12:10:45 +0530
> >> >> > From: Naresh N <naresh919 at gmail.com>
> >> >> > To: ckan-dev at lists.okfn.org
> >> >> > Subject: [ckan-dev] Fwd: issues while enabling ckanext-spatial
> >> >> >         extension and customized url Base map
> >> >> > Message-ID:
> >> >> >         <CAKAPXzNkfe5WXZn=
> >> >> QYZumg8iQzSB_tFRnCroB+oQhauPuvSNbw at mail.gmail.com>
> >> >> > Content-Type: text/plain; charset="utf-8"
> >> >> >
> >> >> > Dear All,
> >> >> >
> >> >> >  I have installed   CKAN production set-up on Ubuntu 12.04   64 bit
> >> >> > machine.
> >> >> >
> >> >> > 1.   ckanext-spatial extension issue
> >> >> >  And followed instructions given in
> >> >> >
> http://docs.ckan.org/projects/ckanext-spatial/en/latest/install.html
> >> >> > to
> >> >> > enable the spatial extenion of CKAN i.e  ckanext-spatial. After
> doing
> >> >> this
> >> >> > if I am opening  CKAN page it is showing  messages 500-some
> internal
> >> >> error
> >> >> > occurred. Please find the attached error log file.
> >> >> > and suggest me to resolve the issue.
> >> >> > 2. Customized url for Base Map change
> >> >> > a.  Is it necessary to enable ckanext-spatial extension to  change
> >> >> > the
> >> >> base
> >> >> > map option.
> >> >> >
> >> >> > Please suggest me to resolve the issues
> >> >> > Thanks in advance.
> >> >> >
> >> >> > Thanks&Regards,
> >> >> > Naresh
> >> >> > -------------- next part --------------
> >> >> > An HTML attachment was scrubbed...
> >> >> > URL: <
> >> >>
> >> >>
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150806/f1b9fd8c/attachment-0001.html
> >> >> >
> >> >> > -------------- next part --------------
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3845): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot
> >> >> be
> >> >> loaded as Python module.
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3845): Exception occurred processing WSGI script
> >> >> '/etc/ckan/default/apache.wsgi'.
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] Traceback
> (most
> >> >> recent call last):
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/etc/ckan/default/apache.wsgi", line 10, in <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
>  application
> >> >> > =
> >> >> loadapp('config:%s' % config_filepath)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 247, in loadapp
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     return
> >> >> loadobj(APP, uri, name=name, **kw)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 272, in loadobj
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     return
> >> >> context.create()
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 710, in create
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     return
> >> >> self.object_type.invoke(self)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 146, in invoke
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     return
> >> >> fix_call(context.object, context.global_conf, **context.local_conf)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py",
> >> >> line 56, in fix_call
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     val =
> >> >> callable(*args, **kw)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58,
> in
> >> >> make_app
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> >> >>  load_environment(conf, app_conf)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
> 232,
> >> >> in
> >> >> load_environment
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> >> >>  p.load_all(config)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in
> >> >> load_all
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> >> >> > load(*plugins)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in
> >> >> load
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     service =
> >> >> _get_service(plugin)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in
> >> >> _get_service
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     return
> >> >> plugin.load()(name=plugin_name)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
> >> >> line 1989, in load
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     entry =
> >> >> __import__(self.module_name, globals(),globals(), ['__name__'])
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py",
> >> >> line 42, in <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     from
> >> >> ckanext.spatial.lib import save_package_extent, validate_bbox,
> >> >> bbox_query,
> >> >> bbox_query_ordered
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py",
> >> >> line 8, in <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geometry import asShape
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py",
> >> >> line
> >> >> 4, in <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     from
> .base
> >> >> import CAP_STYLE, JOIN_STYLE
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py",
> line
> >> >> 9,
> >> >> in <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.coords import CoordinateSequence
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geos import lgeos
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> >> >>  prototype(_lgeos, geos_version)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py",
> >> >> line 252, in prototype
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> >> >>  lgeos.GEOSCovers.restype = c_byte
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     func =
> >> >> self.__getitem__(name)
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]     func =
> >> >> self._FuncPtr((name_or_ordinal, self))
> >> >> > [Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1]
> AttributeError:
> >> >> /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3844): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot
> >> >> be
> >> >> loaded as Python module.
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3844): Exception occurred processing WSGI script
> >> >> '/etc/ckan/default/apache.wsgi'.
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] Traceback
> (most
> >> >> recent call last):
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/etc/ckan/default/apache.wsgi", line 10, in <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
>  application
> >> >> > =
> >> >> loadapp('config:%s' % config_filepath)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 247, in loadapp
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     return
> >> >> loadobj(APP, uri, name=name, **kw)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 272, in loadobj
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     return
> >> >> context.create()
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 710, in create
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     return
> >> >> self.object_type.invoke(self)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 146, in invoke
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     return
> >> >> fix_call(context.object, context.global_conf, **context.local_conf)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py",
> >> >> line 56, in fix_call
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     val =
> >> >> callable(*args, **kw)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58,
> in
> >> >> make_app
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> >> >>  load_environment(conf, app_conf)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
> 232,
> >> >> in
> >> >> load_environment
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> >> >>  p.load_all(config)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in
> >> >> load_all
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> >> >> > load(*plugins)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in
> >> >> load
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     service =
> >> >> _get_service(plugin)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in
> >> >> _get_service
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     return
> >> >> plugin.load()(name=plugin_name)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
> >> >> line 1989, in load
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     entry =
> >> >> __import__(self.module_name, globals(),globals(), ['__name__'])
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py",
> >> >> line 42, in <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     from
> >> >> ckanext.spatial.lib import save_package_extent, validate_bbox,
> >> >> bbox_query,
> >> >> bbox_query_ordered
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py",
> >> >> line 8, in <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geometry import asShape
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py",
> >> >> line
> >> >> 4, in <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     from
> .base
> >> >> import CAP_STYLE, JOIN_STYLE
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py",
> line
> >> >> 9,
> >> >> in <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.coords import CoordinateSequence
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geos import lgeos
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> >> >>  prototype(_lgeos, geos_version)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py",
> >> >> line 252, in prototype
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> >> >>  lgeos.GEOSCovers.restype = c_byte
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     func =
> >> >> self.__getitem__(name)
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]     func =
> >> >> self._FuncPtr((name_or_ordinal, self))
> >> >> > [Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1]
> AttributeError:
> >> >> /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3844): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot
> >> >> be
> >> >> loaded as Python module.
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] mod_wsgi
> >> >> (pid=3844): Exception occurred processing WSGI script
> >> >> '/etc/ckan/default/apache.wsgi'.
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] Traceback
> (most
> >> >> recent call last):
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/etc/ckan/default/apache.wsgi", line 10, in <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
>  application
> >> >> > =
> >> >> loadapp('config:%s' % config_filepath)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 247, in loadapp
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     return
> >> >> loadobj(APP, uri, name=name, **kw)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 272, in loadobj
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     return
> >> >> context.create()
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 710, in create
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     return
> >> >> self.object_type.invoke(self)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
> >> >> line 146, in invoke
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     return
> >> >> fix_call(context.object, context.global_conf, **context.local_conf)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py",
> >> >> line 56, in fix_call
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     val =
> >> >> callable(*args, **kw)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58,
> in
> >> >> make_app
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> >> >>  load_environment(conf, app_conf)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
> 232,
> >> >> in
> >> >> load_environment
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> >> >>  p.load_all(config)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in
> >> >> load_all
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> >> >> > load(*plugins)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in
> >> >> load
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     service =
> >> >> _get_service(plugin)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in
> >> >> _get_service
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     return
> >> >> plugin.load()(name=plugin_name)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
> >> >> line 1989, in load
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     entry =
> >> >> __import__(self.module_name, globals(),globals(), ['__name__'])
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py",
> >> >> line 42, in <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     from
> >> >> ckanext.spatial.lib import save_package_extent, validate_bbox,
> >> >> bbox_query,
> >> >> bbox_query_ordered
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py",
> >> >> line 8, in <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geometry import asShape
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py",
> >> >> line
> >> >> 4, in <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     from
> .base
> >> >> import CAP_STYLE, JOIN_STYLE
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py",
> line
> >> >> 9,
> >> >> in <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.coords import CoordinateSequence
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     from
> >> >> shapely.geos import lgeos
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145,
> in
> >> >> <module>
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> >> >>  prototype(_lgeos, geos_version)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >>
> >> >>
> "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py",
> >> >> line 252, in prototype
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> >> >>  lgeos.GEOSCovers.restype = c_byte
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     func =
> >> >> self.__getitem__(name)
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]   File
> >> >> "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]     func =
> >> >> self._FuncPtr((name_or_ordinal, self))
> >> >> > [Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1]
> AttributeError:
> >> >> /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
> >> >> >
> >> >> > ------------------------------
> >> >> >
> >> >> > Subject: Digest Footer
> >> >> >
> >> >> > _______________________________________________
> >> >> > ckan-dev mailing list
> >> >> > ckan-dev at lists.okfn.org
> >> >> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> >> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >> >> >
> >> >> >
> >> >> > ------------------------------
> >> >> >
> >> >> > End of ckan-dev Digest, Vol 58, Issue 6
> >> >> > ***************************************
> >> >> >
> >> >> > _______________________________________________
> >> >> > ckan-dev mailing list
> >> >> > ckan-dev at lists.okfn.org
> >> >> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> >> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >> >>
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 2
> >> >> Date: Mon, 10 Aug 2015 10:20:54 +0000
> >> >> From: Matthew Fullerton <matthew at smartlane.de>
> >> >> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> >> >> Subject: Re: [ckan-dev] problem with spatial previews
> >> >> Message-ID: <1439202038327.90438 at smartlane.de>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> Dear Armin,
> >> >> Are you using ckanext-geoview or ckanext-spatial?
> >> >>
> >> >> For the WMS viewer I think you need to specify which file types you
> >> >> want
> >> >> to offer previews for, e.g.:
> >> >> ckanext.geoview.ol_viewer.formats = wms kml
> >> >> https://github.com/ckan/ckanext-geoview#openlayers-viewer
> >> >>
> >> >> In general, and specifically for the GeoJSON problem, check that the
> >> >> file
> >> >> formats are set for the resource. I think it needs to be 'geojson'
> for
> >> >> a
> >> >> GeoJSON file and 'wms' for the WMS resource.
> >> >>
> >> >> Best,
> >> >> Matt
> >> >>
> >> >>
> >> >>
> >> >> Projekt SMARTLANE
> >> >>
> >> >> matthew at smartlane.de<mailto:florian at smartlane.de>
> >> >> T +49.89.289.28575
> >> >> F +49.89.289.22333
> >> >> www.smartlane.de<http://www.smartlane.de/>
> >> >>
> >> >> EXIST-Gr?ndungsvorhaben "Tapestry"
> >> >> c/o Lehrstuhl f?r Verkehrstechnik
> >> >> Technische Universit?t M?nchen
> >> >> Arcisstra?e 21
> >> >> 80333 M?nchen
> >> >>
> >> >> Gef?rdert vom Bundesministerium f?r Wirtschaft und Technologie
> >> >> aufgrund eines Beschlusses des Deutschen Bundestages.
> >> >>
> >> >> ________________________________
> >> >> Von: ckan-dev <ckan-dev-bounces at lists.okfn.org> im Auftrag von Armin
> >> >> Retterath <armin.retterath at gmail.com>
> >> >> Gesendet: Freitag, 7. August 2015 12:07
> >> >> An: CKAN Development Discussions
> >> >> Betreff: [ckan-dev] problem with spatial previews
> >> >>
> >> >> hello together,
> >> >> i freshly installed ckan 2.4.0 with the spatial extensions on an
> debian
> >> >> 8
> >> >> environment (including  datastore).
> >> >> in the frontend the options for show wms, geojson, ... are not
> >> >> displayed
> >> >> :-( .
> >> >> it seems to be, that ckan don't find the plugins?
> >> >> here are my entries in the development.ini:
> >> >>
> >> >> ckan.plugins = stats text_view datastore image_view recline_view
> >> >> spatial_metadata spatial_query geo_view geojson_view resource_proxy
> >> >>
> >> >> # Define which views should be created by default
> >> >> # (plugins must be loaded in ckan.plugins)
> >> >> ckan.views.default_views = ckanext-geoview geojson_view geo_view
> >> >> image_view text_view recline_view recline_map_view
> >> >>
> >> >> thanx in advance
> >> >> armin
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >> >>
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150810/03e53802/attachment.html
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Subject: Digest Footer
> >> >>
> >> >> _______________________________________________
> >> >> ckan-dev mailing list
> >> >> ckan-dev at lists.okfn.org
> >> >> https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> >> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> End of ckan-dev Digest, Vol 58, Issue 9
> >> >> ***************************************
> >> >>
> >> >
> >> >
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >> <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150904/a45e8a35/attachment.html
> >
> >>
> >> ------------------------------
> >>
> >> Subject: Digest Footer
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> https://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >>
> >>
> >> ------------------------------
> >>
> >> End of ckan-dev Digest, Vol 59, Issue 3
> >> ***************************************
> >
> >
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
> ------------------------------
>
> End of ckan-dev Digest, Vol 59, Issue 7
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150907/fd34ca17/attachment-0003.html>


More information about the ckan-dev mailing list