[ckan-pt] CKAN internal server error 500
Rodrigo Rafael Varela
rodrigorafaelvarela gmail.com
Quinta-Feira, 8 de Outubro de 2015 - 11:52:06 UTC
Você consegue acessar o SOLR colocando o IP:porta no navegador?
Sim
Em qual porta ele está?
Estamos usando a porta 8983 para o solr, 8080 para o jetty e 5000 para o
ckan
Está criado o Core?
Sim, foi criado o core (não sei se foi criado da forma correta)
Você consegue ver os logs do SOLR?
Sim
Já tentou um rebuild dos indices com paster?
Acho que já foi feito
Dá uma olhada no solr.xml - é bem provável que não tenha sido configurado.
Foi configurado.
Solr.log
_____________________________________________________________________________________________________________
INFO - 2015-10-08 08:41:51.823;
org.apache.solr.core.CorePropertiesLocator; Looking for core definitions
underneath /opt/solr/solr
INFO - 2015-10-08 08:41:51.839;
org.apache.solr.core.CorePropertiesLocator; Found core ckan in
/opt/solr/solr/ckan/
INFO - 2015-10-08 08:41:51.841;
org.apache.solr.core.CorePropertiesLocator; Found 1 core definitions
INFO - 2015-10-08 08:41:51.869; org.apache.solr.core.CoreContainer;
Creating SolrCore 'ckan' using instanceDir: /opt/solr/solr/ckan
INFO - 2015-10-08 08:41:51.869; org.apache.solr.core.SolrResourceLoader;
new SolrResourceLoader for directory: '/opt/solr/solr/ckan/'
INFO - 2015-10-08 08:41:51.995; org.apache.solr.core.SolrConfig; Adding
specified lib dirs to ClassLoader
WARN - 2015-10-08 08:41:51.996; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
../../../contrib/extraction/lib (resolved as: /opt/solr/solr/c$
WARN - 2015-10-08 08:41:51.997; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ../../../dist/
(resolved as: /opt/solr/solr/ckan/../../../dist$
WARN - 2015-10-08 08:41:51.997; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
../../../contrib/clustering/lib/ (resolved as: /opt/solr/solr/$
WARN - 2015-10-08 08:41:51.997; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ../../../dist/
(resolved as: /opt/solr/solr/ckan/../../../dist$
WARN - 2015-10-08 08:41:51.997; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
../../../contrib/langid/lib/ (resolved as: /opt/solr/solr/ckan$
WARN - 2015-10-08 08:41:51.998; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ../../../dist/
(resolved as: /opt/solr/solr/ckan/../../../dist$
WARN - 2015-10-08 08:41:51.998; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
../../../contrib/velocity/lib (resolved as: /opt/solr/solr/cka$
WARN - 2015-10-08 08:41:51.998; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ../../../dist/
(resolved as: /opt/solr/solr/ckan/../../../dist$
INFO - 2015-10-08 08:41:52.151; org.apache.solr.update.SolrIndexConfig;
IndexWriter infoStream solr logging is enabled
INFO - 2015-10-08 08:41:52.157; org.apache.solr.core.SolrConfig; Using
Lucene MatchVersion: LUCENE_47
INFO - 2015-10-08 08:41:52.317; org.apache.solr.core.SolrConfig; Loaded
SolrConfig: solrconfig.xml
INFO - 2015-10-08 08:41:52.324; org.apache.solr.schema.IndexSchema;
Reading Solr Schema from schema.xml
INFO - 2015-10-08 08:41:52.370; org.apache.solr.schema.IndexSchema; [ckan]
Schema name=ckan
INFO - 2015-10-08 08:41:52.513; org.apache.solr.schema.IndexSchema;
default search field in schema is text
INFO - 2015-10-08 08:41:52.516; org.apache.solr.schema.IndexSchema; query
parser default operator is AND
INFO - 2015-10-08 08:41:52.517; org.apache.solr.schema.IndexSchema; unique
key field: index_id
INFO - 2015-10-08 08:41:52.671; org.apache.solr.core.SolrCore;
solr.NRTCachingDirectoryFactory
INFO - 2015-10-08 08:41:52.680; org.apache.solr.core.SolrCore; [ckan]
Opening new SolrCore at /opt/solr/solr/ckan/,
dataDir=/opt/solr/solr/ckan/data/
INFO - 2015-10-08 08:41:52.691; org.apache.solr.core.JmxMonitoredMap; No
JMX servers found, not exposing Solr information with JMX.
INFO - 2015-10-08 08:41:52.696; org.apache.solr.core.SolrCore; [ckan]
Added SolrEventListener for newSearcher:
org.apache.solr.core.QuerySenderListener{queries=[]}
INFO - 2015-10-08 08:41:52.713;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
/opt/solr/solr/ckan/data
INFO - 2015-10-08 08:41:52.714; org.apache.solr.core.SolrCore; New index
directory detected: old=null new=/opt/solr/solr/ckan/data/index/
INFO - 2015-10-08 08:41:52.714;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
/opt/solr/solr/ckan/data/index
INFO - 2015-10-08 08:41:52.725; org.apache.solr.core.SolrCore; created
json: solr.JSONResponseWriter
INFO - 2015-10-08 08:41:52.725; org.apache.solr.core.SolrCore; adding lazy
queryResponseWriter: solr.VelocityResponseWriter
INFO - 2015-10-08 08:41:52.726; org.apache.solr.core.SolrCore; created
velocity: solr.VelocityResponseWriter
INFO - 2015-10-08 08:41:52.730; org.apache.solr.core.SolrCore; created
xslt: solr.XSLTResponseWriter
INFO - 2015-10-08 08:41:52.731;
org.apache.solr.response.XSLTResponseWriter; xsltCacheLifetimeSeconds=5
INFO - 2015-10-08 08:41:52.842; org.apache.solr.core.SolrCore; no
updateRequestProcessorChain defined as default, creating implicit default
INFO - 2015-10-08 08:41:52.853; org.apache.solr.core.RequestHandlers;
created /select: solr.SearchHandler
INFO - 2015-10-08 08:41:52.853; org.apache.solr.core.RequestHandlers;
created /query: solr.SearchHandler
INFO - 2015-10-08 08:41:52.855; org.apache.solr.core.RequestHandlers;
created /get: solr.RealTimeGetHandler
INFO - 2015-10-08 08:41:52.855; org.apache.solr.core.RequestHandlers;
created /browse: solr.SearchHandler
INFO - 2015-10-08 08:41:52.859; org.apache.solr.core.RequestHandlers;
created /update: solr.UpdateRequestHandler
INFO - 2015-10-08 08:41:52.859; org.apache.solr.core.RequestHandlers;
created /update/json: solr.UpdateRequestHandler
INFO - 2015-10-08 08:41:52.859; org.apache.solr.core.RequestHandlers;
created /update/csv: solr.UpdateRequestHandler
INFO - 2015-10-08 08:41:52.860; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.extraction.ExtractingRequestHandler
INFO - 2015-10-08 08:41:52.860; org.apache.solr.core.RequestHandlers;
created /update/extract: solr.extraction.ExtractingRequestHandler
INFO - 2015-10-08 08:41:52.861; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
INFO - 2015-10-08 08:41:52.861; org.apache.solr.core.RequestHandlers;
created /analysis/document: solr.DocumentAnalysisRequestHandler
INFO - 2015-10-08 08:41:52.863; org.apache.solr.core.RequestHandlers;
created /admin/: solr.admin.AdminHandlers
INFO - 2015-10-08 08:41:52.867; org.apache.solr.core.RequestHandlers;
created /admin/ping: solr.PingRequestHandler
INFO - 2015-10-08 08:41:52.869; org.apache.solr.core.RequestHandlers;
created /debug/dump: solr.DumpRequestHandler
INFO - 2015-10-08 08:41:52.878; org.apache.solr.core.RequestHandlers;
created /replication: solr.ReplicationHandler
INFO - 2015-10-08 08:41:52.879; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO - 2015-10-08 08:41:52.879; org.apache.solr.core.RequestHandlers;
created /spell: solr.SearchHandler
INFO - 2015-10-08 08:41:52.879; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO - 2015-10-08 08:41:52.879; org.apache.solr.core.RequestHandlers;
created /suggest: solr.SearchHandler
INFO - 2015-10-08 08:41:52.879; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO - 2015-10-08 08:41:52.880; org.apache.solr.core.RequestHandlers;
created /tvrh: solr.SearchHandler
INFO - 2015-10-08 08:41:52.880; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO - 2015-10-08 08:41:52.880; org.apache.solr.core.RequestHandlers;
created /terms: solr.SearchHandler
INFO - 2015-10-08 08:41:52.880; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO - 2015-10-08 08:41:52.880; org.apache.solr.core.RequestHandlers;
created /elevate: solr.SearchHandler
INFO - 2015-10-08 08:41:52.916; org.apache.solr.handler.loader.XMLLoader;
xsltCacheLifetimeSeconds=60
INFO - 2015-10-08 08:41:52.918; org.apache.solr.handler.loader.XMLLoader;
xsltCacheLifetimeSeconds=60
INFO - 2015-10-08 08:41:52.919; org.apache.solr.handler.loader.XMLLoader;
xsltCacheLifetimeSeconds=60
INFO - 2015-10-08 08:41:52.936; org.apache.solr.update.CommitTracker; Hard
AutoCommit: if uncommited for 15000ms;
INFO - 2015-10-08 08:41:52.937; org.apache.solr.update.CommitTracker; Soft
AutoCommit: disabled
INFO - 2015-10-08 08:41:52.998; org.apache.solr.core.SolrDeletionPolicy;
SolrDeletionPolicy.onInit: commits: num=1
commit{dir=NRTCachingDirectory(MMapDirectory@/opt/solr/solr/ckan/data/index
lockFactory=NativeFSLockFactory@/opt/solr/solr/ckan/data/index;
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=$
INFO - 2015-10-08 08:41:52.999; org.apache.solr.core.SolrDeletionPolicy;
newest commit generation = 1
INFO - 2015-10-08 08:41:53.007; org.apache.solr.search.SolrIndexSearcher;
Opening Searcher 60482805[ckan] main
INFO - 2015-10-08 08:41:53.012;
org.apache.solr.handler.component.SpellCheckComponent; Initializing spell
checkers
INFO - 2015-10-08 08:41:53.019;
org.apache.solr.spelling.DirectSolrSpellChecker; init:
{name=default,field=text,classname=solr.DirectSolrSpellChecker,distanceMeasure=internal,accuracy=0.5,m$
INFO - 2015-10-08 08:41:53.025;
org.apache.solr.handler.component.SpellCheckComponent; No queryConverter
defined, using default converter
INFO - 2015-10-08 08:41:53.027;
org.apache.solr.handler.component.SuggestComponent; Initializing
SuggestComponent
INFO - 2015-10-08 08:41:53.028;
org.apache.solr.spelling.suggest.SolrSuggester; init:
{name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weig$
INFO - 2015-10-08 08:41:53.044;
org.apache.solr.spelling.suggest.SolrSuggester; Dictionary loaded with
params:
{name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDiction$
INFO - 2015-10-08 08:41:53.046;
org.apache.solr.handler.component.QueryElevationComponent; Loading
QueryElevation from: /opt/solr/solr/ckan/conf/elevate.xml
INFO - 2015-10-08 08:41:53.087;
org.apache.solr.handler.ReplicationHandler; Commits will be reserved for
10000
INFO - 2015-10-08 08:41:53.088; org.apache.solr.core.QuerySenderListener;
QuerySenderListener sending requests to Searcher 60482805[ckan]
main{StandardDirectoryReader(segments_1:1:nrt)}
INFO - 2015-10-08 08:41:53.092;
org.apache.solr.servlet.SolrDispatchFilter; user.dir=/opt/solr
INFO - 2015-10-08 08:41:53.092;
org.apache.solr.servlet.SolrDispatchFilter; SolrDispatchFilter.init() done
INFO - 2015-10-08 08:41:53.134; org.apache.solr.core.SolrCore; [ckan]
webapp=null path=null
params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml&distrib=false}
hits=$
INFO - 2015-10-08 08:41:53.134; org.apache.solr.core.QuerySenderListener;
QuerySenderListener done.
INFO - 2015-10-08 08:41:53.135;
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener;
Loading spell index for spellchecker: default
INFO - 2015-10-08 08:41:53.135;
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener;
Loading spell index for spellchecker: wordbreak
INFO - 2015-10-08 08:41:53.135;
org.apache.solr.handler.component.SuggestComponent$SuggesterListener;
Loading suggester index for: mySuggester
INFO - 2015-10-08 08:41:53.135;
org.apache.solr.spelling.suggest.SolrSuggester; reload()
INFO - 2015-10-08 08:41:53.144;
org.apache.solr.spelling.suggest.SolrSuggester; build()
INFO - 2015-10-08 08:41:53.185;
org.eclipse.jetty.server.AbstractConnector; Started
SocketConnector 0.0.0.0:8983
INFO - 2015-10-08 08:41:53.189; org.apache.solr.core.SolrCore; [ckan]
Registered new searcher Searcher 60482805[ckan]
main{StandardDirectoryReader(segments_1:1:nrt)}
INFO - 2015-10-08 08:41:53.942;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={indexInfo=false&_=1444304515468&wt=json} status=0
QTime=2
INFO - 2015-10-08 08:41:54.012;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/info/system params={_=1444304515520&wt=json} status=0 QTime=23
INFO - 2015-10-08 08:41:54.057;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={_=1444304515588&wt=json} status=0 QTime=2
INFO - 2015-10-08 08:41:55.207;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={indexInfo=false&_=1444304516739&wt=json} status=0
QTime=0
INFO - 2015-10-08 08:41:55.241;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/info/system params={_=1444304516763&wt=json} status=0 QTime=10
INFO - 2015-10-08 08:41:55.271;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={_=1444304516803&wt=json} status=0 QTime=1
INFO - 2015-10-08 08:45:00.631;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={indexInfo=false&_=1444304702165&wt=json} status=0
QTime=1
INFO - 2015-10-08 08:45:00.765;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/info/system params={_=1444304702289&wt=json} status=0 QTime=5
INFO - 2015-10-08 08:45:02.815;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={_=1444304704347&wt=json} status=0 QTime=1
INFO - 2015-10-08 08:45:02.849;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={_=1444304704383&wt=json} status=0 QTime=1
2015-10-07 13:22 GMT-03:00 Paulo Henrique Barros <javamixdf gmail.com>:
> Você consegue acessar o SOLR colocando o IP:porta no navegador?
>
> Em qual porta ele está?
>
> Está criado o Core?
>
> Você consegue ver os logs do SOLR?
>
> Já tentou um rebuild dos indices com paster?
>
> Dá uma olhada no solr.xml - é bem provável que não tenha sido configurado.
>
> 2015-10-05 10:22 GMT-03:00 Rodrigo Rafael Varela <
> rodrigorafaelvarela gmail.com>:
>
>> Olá,
>>
>> Meu nome é Rodrigo eu instalei o ckan 2.4 no ubuntu 14.04 e quando tento
>> inserir ou visualizar os dados dá o erro.
>>
>> Verifiquei e pesquisei os erros no log do ckan e não achei nenhuma
>> solução:
>>
>> Error - <class 'ckan.lib.search.common.SearchError'>: SOLR returned an
>> error running query: {'sort': 'score desc, metadata_modified desc', 'fq':
>> [u'groups:"meu-teste" capacity:"public" +site_id:"default" +state:active'],
>> 'facet.mincount': 1, 'rows': 0, 'facet': u'false', 'facet.limit': '50',
>> 'wt': 'json', 'q': '*:*', 'fl': 'id validated_data_dict'} Error: 'Not Found'
>> URL: http://150.162.6.39:5000/group
>> File
>> '/usr/local/lib/python2.7/dist-packages/weberror/errormiddleware.py', line
>> 162 in __call__
>> app_iter = self.application(environ, sr_checker)
>> File '/usr/local/lib/python2.7/dist-packages/webob/dec.py', line 147 in
>> __call__
>> resp = self.call_func(req, *args, **self.kwargs)
>> File '/usr/local/lib/python2.7/dist-packages/webob/dec.py', line 208 in
>> call_func
>> return self.func(req, *args, **kwargs)
>> File '/usr/local/lib/python2.7/dist-packages/fanstatic/publisher.py',
>> line 234 in __call__
>> return request.get_response(self.app)
>> File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1053
>> in get_response
>> application, catch_exc_info=False)
>> File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1022
>> in call_application
>> app_iter = application(self.environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/webob/dec.py', line 147 in
>> __call__
>> resp = self.call_func(req, *args, **self.kwargs)
>> File '/usr/local/lib/python2.7/dist-packages/webob/dec.py', line 208 in
>> call_func
>> return self.func(req, *args, **kwargs)
>> File '/usr/local/lib/python2.7/dist-packages/fanstatic/injector.py', line
>> 54 in __call__
>> response = request.get_response(self.app)
>> File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1053
>> in get_response
>> application, catch_exc_info=False)
>> File '/usr/local/lib/python2.7/dist-packages/webob/request.py', line 1022
>> in call_application
>> app_iter = application(self.environ, start_response)
>> File '/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py', line 389
>> in inner
>> result = application(environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/beaker/middleware.py', line
>> 73 in __call__
>> return self.app(environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/beaker/middleware.py', line
>> 155 in __call__
>> return self.wrap_app(environ, session_start_response)
>> File '/usr/local/lib/python2.7/dist-packages/routes/middleware.py', line
>> 131 in __call__
>> response = self.app(environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/pylons/wsgiapp.py', line 125
>> in __call__
>> response = self.dispatch(controller, environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/pylons/wsgiapp.py', line 324
>> in dispatch
>> return controller(environ, start_response)
>> File '/usr/lib/ckan/default/src/ckan/ckan/lib/base.py', line 338 in
>> __call__
>> res = WSGIController.__call__(self, environ, start_response)
>> File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py',
>> line 221 in __call__
>> response = self._dispatch_call()
>> File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py',
>> line 172 in _dispatch_call
>> response = self._inspect_call(func)
>> File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py',
>> line 107 in _inspect_call
>> result = self._perform_call(func, args)
>> File '/usr/local/lib/python2.7/dist-packages/pylons/controllers/core.py',
>> line 60 in _perform_call
>> return func(**args)
>> File '/usr/lib/ckan/default/src/ckan/ckan/controllers/group.py', line 173
>> in index
>> results = self._action('group_list')(context, data_dict)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py', line 429 in
>> wrapped
>> result = _action(context, data_dict, **kw)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py', line 468
>> in group_list
>> return _group_or_org_list(context, data_dict)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py', line 423
>> in _group_or_org_list
>> group_list.append(logic.get_action(action)(context, data_dict))
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py', line 429 in
>> wrapped
>> result = _action(context, data_dict, **kw)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py', line 1216
>> in group_show
>> return _group_or_org_show(context, data_dict)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py', line 1171
>> in _group_or_org_show
>> packages_field=packages_field)
>> File
>> '/usr/lib/ckan/default/src/ckan/ckan/lib/dictization/model_dictize.py',
>> line 423 in group_dictize
>> group, just_the_count=True)
>> File
>> '/usr/lib/ckan/default/src/ckan/ckan/lib/dictization/model_dictize.py',
>> line 414 in get_packages_for_this_group
>> q)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py', line 429 in
>> wrapped
>> result = _action(context, data_dict, **kw)
>> File '/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py', line 1771
>> in package_search
>> query.run(data_dict)
>> File '/usr/lib/ckan/default/src/ckan/ckan/lib/search/query.py', line 364
>> in run
>> (query, e.reason))
>> SearchError: SOLR returned an error running query: {'sort': 'score desc,
>> metadata_modified desc', 'fq': [u'groups:"meu-teste" capacity:"public"
>> +site_id:"default" +state:active'], 'facet.mincount': 1, 'rows': 0,
>> 'facet': u'false', 'facet.limit': '50', 'wt': 'json', 'q': '*:*', 'fl': 'id
>> validated_data_dict'} Error: 'Not Found'
>>
>>
>> CGI Variables
>> -------------
>> AUTH_TYPE: 'cookie'
>> CKAN_CURRENT_URL: '/group'
>> CKAN_LANG: 'pt_BR'
>> CONTENT_LENGTH: '0'
>> CONTENT_TYPE: '; charset=utf-8'
>> HTTP_ACCEPT:
>> 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
>> HTTP_ACCEPT_ENCODING: 'gzip, deflate, sdch'
>> HTTP_ACCEPT_LANGUAGE: 'pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4'
>> HTTP_CONNECTION: 'keep-alive'
>> HTTP_COOKIE: 'csrftoken=ttUjUc3VPDffbu4PYOKo94J7JpVsWIky;
>> sessionid=a346e4a1af00fc5d3bf7dcc2ff0c6c5b;
>> ckan=685bd3e01d5053e6b4d3b6109c4868bcc0e14291939098d6319d4d4c82b9a09f98c12e2c;
>> auth_tkt="bad59cfa9a84373ddee41a59b5480475561275b2rodrigo!userid_type:unicode"'
>> HTTP_HOST: '150.162.6.39:5000'
>> HTTP_REFERER: 'http://150.162.6.39:5000/pt_BR/organization'
>> HTTP_UPGRADE_INSECURE_REQUESTS: '1'
>> HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 6.3; WOW64)
>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36'
>> PATH_INFO: '/group'
>> REMOTE_ADDR: '150.162.82.50'
>> REMOTE_USER: u'rodrigo'
>> REMOTE_USER_DATA: 'userid_type:unicode'
>> REMOTE_USER_TOKENS: ['']
>> REQUEST_METHOD: 'GET'
>> SERVER_NAME: '0.0.0.0'
>> SERVER_PORT: '5000'
>> SERVER_PROTOCOL: 'HTTP/1.1'
>>
>>
>> WSGI Variables
>> --------------
>> application: <fanstatic.publisher.Delegator object at 0x7fc692d0f510>
>> beaker.cache: <beaker.cache.CacheManager object at 0x7fc696bb4ad0>
>> beaker.get_session: <bound method SessionMiddleware._get_session of
>> <beaker.middleware.SessionMiddleware object at 0x7fc696bede50>>
>> beaker.session: {'_accessed_time': 1444050388.01296, '_creation_time':
>> 1444044915.657035}
>> fanstatic.needed: <fanstatic.core.NeededResources object at
>> 0x7fc678b3a7d0>
>> paste.cookies: (<SimpleCookie:
>> auth_tkt='bad59cfa9a84373ddee41a59b5480475561275b2rodrigo!userid_type:unicode'
>> ckan='685bd3e01d5053e6b4d3b6109c4868bcc0e14291939098d6319d4d4c82b9a09f98c12e2c'
>> csrftoken='ttUjUc3VPDffbu4PYOKo94J7JpVsWIky'
>> sessionid='a346e4a1af00fc5d3bf7dcc2ff0c6c5b'>,
>> 'csrftoken=ttUjUc3VPDffbu4PYOKo94J7JpVsWIky;
>> sessionid=a346e4a1af00fc5d3bf7dcc2ff0c6c5b;
>> ckan=685bd3e01d5053e6b4d3b6109c4868bcc0e14291939098d6319d4d4c82b9a09f98c12e2c;
>> auth_tkt="bad59cfa9a84373ddee41a59b5480475561275b2rodrigo!userid_type:unicode"')
>> paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at
>> 0x7fc69bcbc690>
>> paste.registry: <paste.registry.Registry object at 0x7fc678cb3d90>
>> paste.throw_errors: True
>> pylons.action_method: <bound method GroupController.index of
>> <ckan.controllers.group.GroupController object at 0x7fc678b3a4d0>>
>> pylons.controller: <ckan.controllers.group.GroupController object at
>> 0x7fc678b3a4d0>
>> pylons.environ_config: {'session': 'beaker.session', 'cache':
>> 'beaker.cache'}
>> pylons.pylons: <pylons.util.PylonsContext object at 0x7fc678b3a5d0>
>> pylons.routes_dict: {'action': u'index', 'controller': u'group'}
>> repoze.who.api: <repoze.who.api.API object at 0x7fc678af95d0>
>> repoze.who.identity: <repoze.who identity (hidden, dict-like) at
>> 140490407990512>
>> repoze.who.logger: <logging.Logger object at 0x7fc696c9c990>
>> repoze.who.plugins:
>> {'ckan.lib.authenticator:UsernamePasswordAuthenticator':
>> <ckan.lib.authenticator.UsernamePasswordAuthenticator object at
>> 0x7fc696bb4950>, 'friendlyform': <FriendlyFormPlugin 140490909107088>,
>> 'auth_tkt': <CkanAuthTktCookiePlugin 140490909108752>}
>> routes.route: <routes.route.Route object at 0x7fc692db06d0>
>> routes.url: <routes.util.URLGenerator object at 0x7fc678b3a690>
>> webob._parsed_query_vars: (GET([]), '')
>> webob.adhoc_attrs: {'response': <Response at 0x7fc678b3a790 200 OK>,
>> 'language': 'en-us'}
>> wsgi process: 'Multithreaded'
>> wsgiorg.routing_args: (<routes.util.URLGenerator object at
>> 0x7fc678b3a690>, {'action': u'index', 'controller': u'group'})
>> ------------------------------------------------------------
>> 2015-10-05 10:06:28,082 INFO [ckan.lib.base] /group render time 0.066
>> seconds
>> 2015-10-05 10:06:28,257 INFO [ckan.lib.base] /api/i18n/pt_BR render
>> time 0.002 seconds
>> 2015-10-05 10:06:32,910 INFO [ckan.lib.base] /user/_logout render time
>> 0.007 seconds
>> 2015-10-05 10:06:32,958 INFO [ckan.lib.base] /user/logged_out render
>> time 0.007 seconds
>> 2015-10-05 10:06:33,005 INFO [ckan.lib.base] /user/logged_out_redirect
>> render time 0.022 seconds
>> 2015-10-05 10:06:33,193 INFO [ckan.lib.base] /api/i18n/pt_BR render
>> time 0.002 seconds
>> 2015-10-05 10:06:34,428 ERROR [ckan.controllers.package] Dataset search
>> error: ('SOLR returned an error running query: {\'sort\': \'score desc,
>> metadata_modified desc\', \'fq\': [u\'+dataset_type:dataset
>> capacity:"public" +state:active +site_id:"default"\'], \'facet.mincount\':
>> 1, \'rows\': 21, \'facet.field\': [\'organization\', \'groups\', \'tags\',
>> \'res_format\', \'license_id\'], \'facet.limit\': \'50\', \'facet\':
>> \'true\', \'q\': \'*:*\', \'start\': 0, \'wt\': \'json\', \'fl\': \'id
>> validated_data_dict\'} Error: \'Not Found\'',)
>> 2015-10-05 10:06:34,459 INFO [ckan.lib.base] /dataset render time 0.208
>> seconds
>> 2015-10-05 10:06:34,656 INFO [ckan.lib.base] /api/i18n/pt_BR render
>> time 0.002 seconds
>>
>> Alguém poderia ajudar?
>>
>> Atenciosamente.
>>
>> _______________________________________________
>> ckan-pt mailing list
>> ckan-pt lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-pt
>>
>>
>
>
> --
> Paulo Henrique Barros
>
> _______________________________________________
> ckan-pt mailing list
> ckan-pt lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-pt
>
>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.okfn.org/pipermail/ckan-pt/attachments/20151008/6812cb2a/attachment-0003.html>
Mais informações acerca da lista ckan-pt