[ECODP-dev] SolrIndexError

John Glover john.glover at okfn.org
Thu Aug 8 08:03:46 UTC 2013


Hi Dimitrios,

That just tells us that Solr has returned a 500 error when trying to index
the package. The actual error from Solr should be in the Solr log file.

What do you mean by multiple imports of a package? Can you give more detail
on what you are doing?

Thanks,
John


On 7 August 2013 17:24, Dimitrios Mexis <dimitrios.mexis at tenforce.com>wrote:

>  hello
>
> After multiple imports of a package,
> I get the following message, can you give details on what condition would
> that happen, and what to do  ?
>
> *
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] URL:
> http://192.168.35.139/data/api/action/package_update
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py',
> line 162 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   app_iter =
> self.application(environ, sr_checker)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py',
> line 73 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> self.app(environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py',
> line 155 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> self.wrap_app(environ, session_start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py',
> line 87 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   app_iter =
> app(environ, wrapper.wrap_start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py',
> line 131 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   response =
> self.app(environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py',
> line 125 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   response =
> self.dispatch(controller, environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py',
> line 324 in dispatch
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> controller(environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py',
> line 69 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> base.BaseController.__call__(self, environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py',
> line 238 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   res =
> WSGIController.__call__(self, environ, start_response)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py',
> line 221 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   response =
> self._dispatch_call()
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py',
> line 172 in _dispatch_call
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   response =
> self._inspect_call(func)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py',
> line 107 in _inspect_call
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   result =
> self._perform_call(func, args)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py',
> line 60 in _perform_call
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> func(**args)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py',
> line 177 in action
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   result =
> function(context, request_data)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/update.py',
> line 275 in package_update
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> model.repo.commit()
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/vdm/vdm/sqlalchemy/tools.py',
> line 102 in commit
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self.session.commit()
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/orm/scoping.py',
> line 114 in do
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   return
> getattr(self.registry(), name)(*args, **kwargs)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/orm/session.py',
> line 656 in commit
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self.transaction.commit()
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/orm/session.py',
> line 314 in commit
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self._prepare_impl()
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/orm/session.py',
> line 290 in _prepare_impl
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self.session.dispatch.before_commit(self.session)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/event.py',
> line 291 in __call__
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   fn(*args,
> **kw)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/model/extension.py',
> line 103 in before_commit
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> methodcaller('before_commit', session)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/model/extension.py',
> line 38 in notify_observers
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   func(observer)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/model/modification.py',
> line 62 in before_commit
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self.notify(obj, domain_object.DomainObjectOperation.changed)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/model/modification.py',
> line 68 in notify
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> observer.notify(entity, operation)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/search/__init__.py',
> line 126 in notify
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   operation
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/search/__init__.py',
> line 101 in dispatch_by_operation
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> index.update_dict(entity)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/search/index.py',
> line 96 in update_dict
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> self.index_package(pkg_dict, defer_commit)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139] File
> '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/search/index.py',
> line 228 in index_package
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]   raise
> SearchIndexError(e)
> [Wed Aug 07 17:17:25 2013] [error] [client 192.168.35.139]
> SearchIndexError: HTTP code=500, reason=Internal Server Error
> *
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130808/71a57748/attachment.html>


More information about the ecodp-dev mailing list