[ckan-dev] Fwd: Issues using Geo plugins

Tiago Ribeiro tribeiro.tb at gmail.com
Mon Aug 12 13:57:20 UTC 2013


Thanks David, that did the trick!

Does have/Can anyone provide me an example of a configuration object for a
CSW harvester?

Cheers,
Tiago

2013/8/12 David Read <david.read at hackneyworkshop.com>

> Tiago,
>
> The README is wrong on this one. Try this:
>
> ckan.harvest.mq.type = ampq
>
> (And yes, this is AMQP with a typo)
>
> David
>
> On 12 August 2013 10:24, Tiago Ribeiro <tribeiro.tb at gmail.com> wrote:
> > Err... thank you for both your answers but now it's working... don't know
> > why!
> > Just for reference I'm using CKAN 2.2a (latest).
> >
> > Now I have a different problem. When I run the command line to run the
> > Harvest jobs I get this message:
> > Traceback (most recent call last):
> >   File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
> >     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
> >   File
> >
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> > line 104, in run
> >     invoke(command, command_name, options, args[1:])
> >   File
> >
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> > line 143, in invoke
> >     exit_code = runner.run(args)
> >   File
> >
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> > line 238, in run
> >     result = self.command()
> >   File
> >
> "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py",
> > line 126, in command
> >     consumer = get_fetch_consumer()
> >   File
> "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py",
> > line 340, in get_fetch_consumer
> >     consumer = get_consumer('ckan.harvest.fetch','harvest_object_id')
> >   File
> "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py",
> > line 174, in get_consumer
> >     connection = get_connection()
> >   File
> "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py",
> > line 39, in get_connection
> >     raise Exception('not a valid queue type %s' % backend)
> > Exception: not a valid queue type rabbitmq
> >
> > In my CKAN config file I have:
> > ckan.plugins = stats text_preview recline_preview datastore
> > ckan.plugins = harvest ckan_harvester csw_harvester
> > ckan.harvest.mq.type = rabbitmq
> >
> > I've installed RabbitMQ as the backend.
> >
> > NB: I'm pretty new with CKAN, so I'm sorry if I've missed something
> "basic"!
> >
> > Thanks!
> >
> > Tiago
> >
> >
> > 2013/8/8 Ryan Maine <balrogmi at msn.com>
> >>
> >> Are you sure you installed harvester extension before?
> >>
> >> El 08/08/2013 17:59, "Adrià Mercader" <adria.mercader at okfn.org>
> escribió:
> >>
> >>> Hi Tiago,
> >>>
> >>> This is bizarre, I can not reproduce it so we will need more details.
> >>> Is there any message or stacktrace available (eg what is not found)?
> >>> Does this happen when you navigate to http://yourinstance/harvest?
> >>>
> >>> What versions/branches of ckan/spatial/harvest are you using?
> >>>
> >>> Adrià
> >>>
> >>> On 7 August 2013 17:20, Tiago Ribeiro <tribeiro.tb at gmail.com> wrote:
> >>> > Hi all,
> >>> >
> >>> > I'm having an issues with spatial harvester plugin. As soon as I add
> >>> > the
> >>> > "csw_harvester" to ckan.plugins the and navigate to the harvest
> domain
> >>> > I get
> >>> > a 404.
> >>> > ckan.plugins = harvest ckan_harvester - works
> >>> > ckan.plugins = harvest ckan_harvester csw_harvester - get a 404.
> >>> >
> >>> > Am I doing something wrong?
> >>> > I have CKAN in a Ubuntu 12.04 Amazon box. I've used the "Install from
> >>> > source" guide.
> >>> >
> >>> > If you could help me I would be much appreciated. If you need more
> >>> > details
> >>> > let me know.
> >>> >
> >>> > Tiago Ribeiro
> >>> >
> >>> >
> >>> > _______________________________________________
> >>> > ckan-dev mailing list
> >>> > ckan-dev at lists.okfn.org
> >>> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> >>> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>> >
> >>>
> >>> _______________________________________________
> >>> ckan-dev mailing list
> >>> ckan-dev at lists.okfn.org
> >>> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>>
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>
> >
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130812/58ad4faa/attachment-0001.html>


More information about the ckan-dev mailing list