[ckan-pt] Instalação do Basiccharts

Vitor Baptista vitor vitorbaptista.com
Quinta-Feira, 8 de Maio de 2014 - 18:14:56 UTC


Oi Andres,

Você está usando a branch correta do CKAN (1251-resource-view)? Se sim,
tente reinstalar o CKAN usando "python setup.py install" dentro do
diretório do CKAN e tente novamente.

Me avisa se deu certo.

Abraços,


2014-05-08 14:37 GMT-03:00 Andres MRM <andres  inventati.org>:

> Que bom que estou ajudando. =)
> Tentei tirar o basiccharts dos plugins e colocar direto os outros.
> Mas ganhei outro erro:
> http://sprunge.us/OYQD
>
>
>
>
> On 06-05-14 22:35, Vitor Baptista wrote:
>
>> Oi Andres,
>>
>> Você achou um bug na documentação do basiccharts, obrigado. Não existe
>> mais
>> plugin "basiccharts". Agora basta você ativar o "viewhelpers" e, daí, pode
>> ativar o que quiser do ckanext-basiccharts (como "linechart", "barchart",
>> etc.)
>>
>> Já corrigi a documentação.
>>
>> Como você deve saber, essa funcionalidade é bem nova. Você está sendo um
>> dos primeiros beta testers. Por isso, por favor, se você encontrar algum
>> problema ou tiver alguma sugestão de melhoria, crie uma issue no
>> repositório.
>>
>> Abraços,
>>
>>
>> 2014-05-06 18:25 GMT-03:00 Andres MRM <andres  inventati.org>:
>>
>>  Oi, gente!
>>>
>>>
>>> Estou tendo esse erro na hora de reiniciar o CKAN depois de instalar e
>>> ativar o basiccharts.
>>> Mesmo depois de ter instalado e ativado o ckanext-viewhelpers.
>>> Segui os READMEs, clonando os repos, ativando o VirtualEnv do CKAN e
>>> dando
>>> um python setup.py install.
>>>
>>> Obrigado por qualquer ajuda!
>>>
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188] mod_wsgi
>>> (pid=26647): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot
>>> be
>>> loaded as Python module.
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188] mod_wsgi
>>> (pid=26647): Exception occurred processing WSGI script
>>> '/etc/ckan/default/apache.wsgi'.
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188] Traceback
>>> (most recent call last):
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/etc/ckan/default/apache.wsgi", line 10, in <module>
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]
>>> application = loadapp('config:%s' % config_filepath)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/
>>> deploy/loadwsgi.py",
>>> line 247, in loadapp
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     return
>>> loadobj(APP, uri, name=name, **kw)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/
>>> deploy/loadwsgi.py",
>>> line 272, in loadobj
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     return
>>> context.create()
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/
>>> deploy/loadwsgi.py",
>>> line 710, in create
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     return
>>> self.object_type.invoke(self)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/
>>> deploy/loadwsgi.py",
>>> line 146, in invoke
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     return
>>> fix_call(context.object, context.global_conf, **context.local_conf)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/
>>> deploy/util.py",
>>> line 56, in fix_call
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     val =
>>> callable(*args, **kw)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/home/andres/ckan/lib/default/src/ckan/ckan/config/middleware.py", line
>>> 57, in make_app
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]
>>> load_environment(conf, app_conf)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/home/andres/ckan/lib/default/src/ckan/ckan/config/environment.py",
>>> line
>>> 232, in load_environment
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]
>>> p.load_all(config)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/home/andres/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 134,
>>> in load_all
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]
>>> load(*plugins)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/home/andres/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 149,
>>> in load
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     service =
>>> _get_service(plugin)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]   File
>>> "/home/andres/ckan/lib/default/src/ckan/ckan/plugins/core.py", line 256,
>>> in _get_service
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]     raise
>>> PluginNotFoundException(plugin_name)
>>> [Mon May 05 21:08:16 2014] [error] [client 186.203.205.188]
>>> PluginNotFoundException: basiccharts
>>> _______________________________________________
>>> ckan-pt mailing list
>>> ckan-pt  lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-pt
>>>
>>>
>>
>>
>> --
>>
>> 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/>
>>
>
>  _______________________________________________
>> ckan-pt mailing list
>> ckan-pt  lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-pt
>>
>
> _______________________________________________
> ckan-pt mailing list
> ckan-pt  lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-pt
>



-- 

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/>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.okfn.org/pipermail/ckan-pt/attachments/20140508/d0e580d9/attachment-0003.html>


Mais informações acerca da lista ckan-pt