[ckan-pt] Erro na configuração da extensão Harvest
Alexsandra Santana
alexsandra.santana1987 gmail.com
Terça-Feira, 2 de Fevereiro de 2016 - 16:14:54 UTC
Boa tarde encontrei o erro na configuração do harvest quando tento criar as
tabelas paster --plugin=ckanext-harvest harvester initdb
--config=mysite.ini, alguém já passou por isso?
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/paster", line 11, in <module>
sys.exit(run())
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 102, 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 141, in invoke
exit_code = runner.run(args)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 236, in run
result = self.command()
File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py",
line 129, in command
self._load_config()
File
"/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/commands/harvester.py",
line 199, in _load_config
super(Harvester, self)._load_config()
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 142, in
_load_config
conf = self._get_config()
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 138, in
_get_config
fileConfig(self.filename)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/util/logging_config.py",
line 89, in fileConfig
cp.read(fname)
File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors:
/etc/ckan/default/production.ini
[line 125]: 'ckan.harvest.mq.hostname (
data2.smartmetropolis.imd.ufrn.br)\n'
[line 126]: 'ckan.harvest.mq.port (6379)\n'
[line 127]: 'ckan.harvest.mq.redis_db (0)\n'
--
*Alexsandra Santana*
*Bacharel em Biblioteconomia/Documentalista.*
*Especialista em Gestão Estratégica de Pessoas.*
*Tecnóloga** em Análise e Desenvolvimento de Sistemas*
*Cel.:(84) 99143-0697*
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.okfn.org/pipermail/ckan-pt/attachments/20160202/1dabadd8/attachment-0002.html>
Mais informações acerca da lista ckan-pt