Hi,
When I run my tests on CentOS6.4 (python 2.6) I get a BadStatusLine
error. When I run them on CentOS 6.5, they run fine.
The code is just asking what version of Neo4j we have - and it fails...
This is about the first thing I do with it. The stack traceback is below:
fail: tests.cma_test TestCMABasic.test_several_startups
Traceback (most recent call last):
File "./tests/cma_test.py", line 550, in test_several_startups
CMAinit(io, cleanoutdb=True, debug=DEBUG)
File "./cmainit.py", line 60, in __init__
self.delete_all()
File "./cmainit.py", line 91, in delete_all
dbvers = *self.db.neo4j_version*
File "/usr/lib/python2.6/site-packages/py2neo/neo4j.py", line 798, in
neo4j_version
return version_tuple(self.__metadata__["neo4j_version"])
File "/usr/lib/python2.6/site-packages/py2neo/neo4j.py", line 338, in
__metadata__
self.refresh()
File "/usr/lib/python2.6/site-packages/py2neo/neo4j.py", line 360, in
refresh
self._metadata = ResourceMetadata(self._get().content)
File "/usr/lib/python2.6/site-packages/py2neo/neo4j.py", line 365, in _get
product=self._product)
File
"/usr/lib/python2.6/site-packages/py2neo/packages/httpstream/http.py",
line 803, in get
return rq.submit(redirect_limit=redirect_limit, **kwargs)
File
"/usr/lib/python2.6/site-packages/py2neo/packages/httpstream/http.py",
line 388, in submit
http, rs = submit(self.method, uri, self.body, headers)
File
"/usr/lib/python2.6/site-packages/py2neo/packages/httpstream/http.py",
line 288, in submit
response = send()
File
"/usr/lib/python2.6/site-packages/py2neo/packages/httpstream/http.py",
line 284, in send
return http.getresponse()
File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
response.begin()
File "/usr/lib64/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/httplib.py", line 355, in _read_status
raise BadStatusLine(line)
BadStatusLine
What's up with this? Working with RHEL6 seems to be a really good idea...
--
Alan Robertson <[email protected]> - @OSSAlanR
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.