openannotation / annotator-store

A backend store for the Annotator
http://annotateit.org/
MIT License
177 stars 66 forks source link

Failed install #67

Closed azaroth42 closed 10 years ago

azaroth42 commented 10 years ago

pn1243937:annotator-store azaroth$ nosetests

E...................E..........EE

ERROR: test suite for <class 'tests.test_annotation.TestAnnotation'>

Traceback (most recent call last): File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run return func() File "/Users/azaroth/Dropbox/Development/iiif/annotator-store/tests/init.py", line 41, in setup_class annotation.Annotation.drop_all() File "/Users/azaroth/Dropbox/Development/iiif/annotator-store/annotator/elasticsearch.py", line 102, in drop_all if cls.es.conn.exists_index(cls.es.index): File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/decorators.py", line 46, in __inner return fun(_args, _kwargs) File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/es.py", line 738, in exists_index return self.indices.exists_index(index=index) File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/managers.py", line 182, in exists_index return self.conn._send_request('HEAD', index) File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/es.py", line 583, in _send_request response = self.connection.execute(request) File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/connection_http.py", line 85, in execute self._local.server = server = self._get_server() File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/connection_http.py", line 121, in _get_server raise NoServerAvailable NoServerAvailable: -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1 urllib3.connectionpool: WARNING: Retrying (3 attempts remain) after connection broken by 'error(61, 'Connection refused')': /annotator_test urllib3.connectionpool: INFO: Starting new HTTP connection (2): 127.0.0.1 urllib3.connectionpool: WARNING: Retrying (2 attempts remain) after connection broken by 'error(61, 'Connection refused')': /annotator_test urllib3.connectionpool: INFO: Starting new HTTP connection (3): 127.0.0.1 urllib3.connectionpool: WARNING: Retrying (1 attempts remain) after connection broken by 'error(61, 'Connection refused')': /annotator_test urllib3.connectionpool: INFO: Starting new HTTP connection (4): 127.0.0.1 pyes: WARNING: Removed server http://127.0.0.1:9200 from active pool pyes: ERROR: Client error: 3 retries left Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pyes-0.19.1-py2.7.egg/pyes/connection_http.py", line 91, in execute response = conn.urlopen(_kwargs) File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen release_conn=release_conn, _response_kw) File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen release_conn=release_conn, _response_kw) File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen release_conn=release_conn, *_response_kw) File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 591, in urlopen raise MaxRetryError(self, url, e) MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9200): Max retries exceeded with url: /annotator_test (Caused by <class 'socket.error'>: [Errno 61] Connection refused) --------------------- >> end captured logging << ---------------------

Plus several others like that.

pip freeze:

pn1243937:annotator-store azaroth$ pip freeze Flask==0.9 Jinja2==2.7.2 MarkupSafe==0.18 PIL==1.1.7 Pillow==2.2.2 PyJWT==0.1.4 PyLD==0.1.1-dev PyRSS2Gen==1.0.0 Pygments==1.6 SPARQLWrapper==1.5.2 Twisted==12.0.0 Werkzeug==0.9.4 altgraph==0.9 annotator==0.10.0 bdist-mpkg==0.4.4 bonjour-py==0.3 bpython==0.12 bsddb3==6.0.0 cheshire3==1.0.13 elasticsearch==0.4.4 futures==2.1.4 hathitrust-api==0.0.0 html5lib==1.0b2 httplib2==0.8 iso8601==0.1.4 isodate==0.4.9 itsdangerous==0.23 jsonschema==2.1.0 lxml==3.2.3 macholib==1.4.2 mock==1.0.1 modulegraph==0.9.1 nose==1.3.0 numpy==1.6.1 oauthlib==0.6.0 pdfminer==20110515 py==1.4.15 py2app==0.6.3 pyOpenSSL==0.13 pyes==0.19.1 pyobjc-core==2.3.2a0 pyobjc-framework-AddressBook==2.3.2a0 pyobjc-framework-AppleScriptKit==2.3.2a0 pyobjc-framework-AppleScriptObjC==2.3.2a0 pyobjc-framework-Automator==2.3.2a0 pyobjc-framework-CFNetwork==2.3.2a0 pyobjc-framework-CalendarStore==2.3.2a0 pyobjc-framework-Cocoa==2.3.2a0 pyobjc-framework-Collaboration==2.3.2a0 pyobjc-framework-CoreData==2.3.2a0 pyobjc-framework-CoreLocation==2.3.2a0 pyobjc-framework-CoreText==2.3.2a0 pyobjc-framework-DictionaryServices==2.3.2a0 pyobjc-framework-ExceptionHandling==2.3.2a0 pyobjc-framework-FSEvents==2.3.2a0 pyobjc-framework-InputMethodKit==2.3.2a0 pyobjc-framework-InstallerPlugins==2.3.2a0 pyobjc-framework-InstantMessage==2.3.2a0 pyobjc-framework-InterfaceBuilderKit==2.3.2a0 pyobjc-framework-LatentSemanticMapping==2.3.2a0 pyobjc-framework-LaunchServices==2.3.2a0 pyobjc-framework-Message==2.3.2a0 pyobjc-framework-OpenDirectory==2.3.2a0 pyobjc-framework-PreferencePanes==2.3.2a0 pyobjc-framework-PubSub==2.3.2a0 pyobjc-framework-QTKit==2.3.2a0 pyobjc-framework-Quartz==2.3.2a0 pyobjc-framework-ScreenSaver==2.3.2a0 pyobjc-framework-ScriptingBridge==2.3.2a0 pyobjc-framework-SearchKit==2.3.2a0 pyobjc-framework-ServerNotification==2.3.2a0 pyobjc-framework-ServiceManagement==2.3.2a0 pyobjc-framework-SyncServices==2.3.2a0 pyobjc-framework-SystemConfiguration==2.3.2a0 pyobjc-framework-WebKit==2.3.2a0 pyobjc-framework-XgridFoundation==2.3.2a0 pyparsing==1.5.7 python-dateutil==1.5 python-xmp-toolkit==1.0.2 rdflib==4.0.1 rdflib-jsonld==0.1 requests==2.0.1 requests-oauthlib==0.4.0 rfc3987==1.3.1 simplejson==3.3.0 six==1.3.0 tornado==3.1 tox==1.5.0 uritemplate==0.5.2 urllib3==1.7.1 virtualenv==1.11.1 webcolors==1.4 wsgiref==0.1.2 xattr==0.6.2 zope.interface==3.5.1 zopyx.txng3.ext==3.3.4

Thanks!

azaroth42 commented 10 years ago

Problem Exists Between Keyboard And Chair.

Need to run elastic search. (eg bin/elasticsearch -f)

tilgovi commented 10 years ago

Added: a6846e8c536295d43da0792d59374a9389b93595