[ckan-dev] Error using ckanext-dcat: Connection refused

dporto dporto at gmail.com
Tue Nov 11 01:01:59 UTC 2014


I'm trying to use ckanext-dcat.

But I cannot get work fine :(

Below is the error log.

Thanks in advance for any tip or help

David

###

2014-11-11 01:54:20,390 DEBUG [ckanext.harvest.model] Harvest tables
defined in memory
2014-11-11 01:54:20,400 DEBUG [ckanext.harvest.model] Harvest tables
already exist

2014-11-11 01:54:20,568 INFO  [ckanext.harvest.logic.action.update] Harvest
job run: {}
2014-11-11 01:54:20,649 DEBUG [ckanext.harvest.queue] pika connection using
{'retry_delay': 2.0, 'frame_max': 10000, 'channel_max': 0, 'locale':
'en_US', 'socket_timeout': 0.25, 'ssl': False, 'host': 'localhost',
'ssl_options': {}, 'virtual_host': '/', 'heartbeat': 0, 'credentials':
<pika.credentials.PlainCredentials object at 0xac8d5ec>,
'backpressure_detection': False, 'port': 5672, 'connection_attempts': 1}
2014-11-11 01:54:20,650 ERROR [pika.adapters.base_connection] socket error:
Connection refused
2014-11-11 01:54:20,653 WARNI [pika.adapters.base_connection] Could not
connect due to "Connection refused," retrying in 2 sec
2014-11-11 01:54:20,653 ERROR [pika.adapters.base_connection] Could not
connect: Connection refused
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 122, in command
    self.run_harvester()
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py",
line 287, in run_harvester
    jobs = get_action('harvest_jobs_run')(context,{})
  File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 329,
in wrapped
    return _action(context, data_dict, **kw)
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/logic/action/update.py",
line 341, in harvest_jobs_run
    publisher = get_gather_publisher()
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py", line
347, in get_gather_publisher
    return get_publisher('harvest_job_id')
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py", line
135, in get_publisher
    connection = get_connection()
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py", line
36, in get_connection
    return get_connection_amqp()
  File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/queue.py", line
59, in get_connection_amqp
    return pika.BlockingConnection(parameters)
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pika/adapters/base_connection.py",
line 61, in __init__
    super(BaseConnection, self).__init__(parameters, on_open_callback)
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pika/connection.py",
line 513, in __init__
    self._connect()
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pika/connection.py",
line 804, in _connect
    self._adapter_connect()
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pika/adapters/blocking_connection.py",
line 138, in _adapter_connect
    super(BlockingConnection, self)._adapter_connect()
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pika/adapters/base_connection.py",
line 120, in _adapter_connect
    self.params.retry_delay)
pika.exceptions.AMQPConnectionError: 2.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141111/2baaf366/attachment-0002.html>


More information about the ckan-dev mailing list