[annotator-dev] problems with latest version of annotator / annotator-store
Randall Leeds
tilgovi at hypothes.is
Tue Jul 16 01:11:08 UTC 2013
Thanks. Also reported by Michael Scharf (@scharf) as annotator-store #61.
Fixed in d5a0780e8b1d18855aeb25e45b37b9fddac38211.
Was a nasty one introduced by the Document plugin merge.
My commit message makes it sound scary, but I think it either failed
completely or kept access permissions honored.
On Thu, Jul 11, 2013 at 7:24 AM, Kristof Csillag <csillag at hypothes.is> wrote:
> Going back to rev a690a3e2e7b4b5477614c53e0 on the store end (which was
> committed 8 days ago) solves this.
> Looks like this broke very recently.
>
>
> On 2013-07-11 15:59, Kristof Csillag wrote:
>
> Hi,
>
> I am working with latest annotator and annotator-store with OKFN.
> While trying to view dev.html (either locally, or served up on the :4000
> port), I can not load any annotations, and get this on the console, from
> the store:
>
>
> -------------------------------
> Traceback (most recent call last):
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1701, in __call__
> return self.wsgi_app(environ, start_response)
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1689, in wsgi_app
> response = self.make_response(self.handle_exception(e))
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1687, in wsgi_app
> response = self.full_dispatch_request()
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1360, in full_dispatch_request
> rv = self.handle_user_exception(e)
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1358, in full_dispatch_request
> rv = self.dispatch_request()
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/pyenv/lib/python2.7/site-packages/flask/app.py",
> line 1344, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/annotator/store.py",
> line 246, in search_annotations
> results = Annotation.search(**kwargs)
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/annotator/elasticsearch.py",
> line 126, in search
> q = cls._build_query(**kwargs)
> File
> "/mnt/user_data/home/csillag/upstream-testing/annotator-store/annotator/annotation.py",
> line 81, in _build_query
> term_filter = q['query']['filtered']['query']['filtered']['filter']
> KeyError: 'filtered'
> -----------------------------------------
>
> What am I doing wrong?
> Is this expected?
>
> Kristof
>
>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/annotator-dev
>
More information about the annotator-dev
mailing list