[annotator-dev] New dev and my first problem

Rufus Pollock rufus.pollock at okfn.org
Mon Jul 25 09:40:24 UTC 2011


On 25 July 2011 10:21, Ewald Zietsman <ewald at siyavula.com> wrote:

> Thank you sir. It runs now.
>
> We need our own store because we want to link it with a bug tracker and
> will most likely need to make some changes to all the software to make them
> work together.
>

But even if you want to integrate with the bug tracker can't you just pull
info the from the REST API -- do you really need to integrate at the DB
level (and in any cases couchdb's API is a restful one not that different
from that on annotateit.org ...)

Rufus


> I'll be back here soon enough.
>
>
> On Mon, Jul 25, 2011 at 10:52 AM, Rufus Pollock <rufus.pollock at okfn.org>wrote:
>
>> On 25 July 2011 09:19, Ewald Zietsman <ewald at siyavula.com> wrote:
>>
>>> Hi All,
>>>
>>> I work for a company that creates open educational resources and tools
>>> for educators and students. I've been given the task to make our books
>>> annotatable using the annotator software.
>>>
>>
>> Great to hear!
>>
>>
>>> I have checked out the latest git source for the annotator-store and
>>> tried to run it using the instructions on the website. When I get to the
>>> "python run.py" step I get the following:
>>>
>>
>> Just to check: you know you don't need to deploy the store to integrate
>> with your system as you can use the existing annotateit.org service as
>> your storage if you want. I would imagine that, at least in the first
>> instance, this will be easier as it will allow you to focus on integrating
>> the frontend javascript system.
>>
>>
>>> (pyenv)ewald at ewald-laptop:~/programming/annotator-store$ python run.py
>>> Traceback (most recent call last):
>>>   File "run.py", line 6, in <module>
>>>     setup_app()
>>>   File "/home/ewald/programming/annotator-store/annotator/app.py", line
>>> 23, in setup_app
>>>     model.init_model(app.config)
>>>   File
>>> "/home/ewald/programming/annotator-store/annotator/model/couch.py", line 18,
>>> in init_model
>>>     Metadata.DB = setup_db(config['COUCHDB_DATABASE'])
>>>   File
>>> "/home/ewald/programming/annotator-store/annotator/model/couch.py", line 21,
>>> in setup_db
>>>     if dbname in Metadata.SERVER:
>>>   File
>>> "/home/ewald/programming/annotator-store/pyenv/lib/python2.6/site-packages/couchdb/client.py",
>>> line 93, in __contains__
>>>     self.resource.head(validate_dbname(name))
>>>   File
>>> "/home/ewald/programming/annotator-store/pyenv/lib/python2.6/site-packages/couchdb/http.py",
>>> line 377, in head
>>>     return self._request('HEAD', path, headers=headers, **params)
>>>   File
>>> "/home/ewald/programming/annotator-store/pyenv/lib/python2.6/site-packages/couchdb/http.py",
>>> line 419, in _request
>>>     credentials=self.credentials)
>>>   File
>>> "/home/ewald/programming/annotator-store/pyenv/lib/python2.6/site-packages/couchdb/http.py",
>>> line 239, in request
>>>     resp = _try_request_with_retries(iter(self.retry_delays))
>>>   File
>>> "/home/ewald/programming/annotator-store/pyenv/lib/python2.6/site-packages/couchdb/http.py",
>>> line 205, in _try_request_with_retries
>>>     raise e
>>> socket.error: [Errno 111] Connection refused
>>>
>>
>> You have installed and are running couchdb right :-) ?
>>
>> Rufus
>>
>>
>>>  I'm running on Ubuntu 10.10 32-bit. Any help in this regard will be
>>> greatly appreciated.
>>>
>>>
>>>
>>>
>>> --
>>> *Ewald Zietsman
>>> *
>>> *
>>> *
>>> Website: www.siyavula.com
>>> The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001
>>>
>>> A Shuttleworth Foundation Seeded Project
>>> Website: www.shuttleworthfoundation.org
>>>
>>> _______________________________________________
>>> annotator-dev mailing list
>>> annotator-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/annotator-dev
>>>
>>>
>>
>>
>> --
>> Co-Founder, Open Knowledge Foundation
>> Promoting Open Knowledge in a Digital Age
>> http://www.okfn.org/ - http://blog.okfn.org/
>>
>>
>>
>
>
> --
> *Ewald Zietsman
> *
> *
> *
> Website: www.siyavula.com
> The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001
>
> A Shuttleworth Foundation Seeded Project
> Website: www.shuttleworthfoundation.org
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
>
>


-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20110725/d216fb75/attachment-0002.html>


More information about the annotator-dev mailing list