cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

CI test pipeline erroring while trying to get stats from result

Hi community!

Looking for some help with this error, I have not being able to replicate it locally, it has been happening on a GitLab CI test pipeline. Is there something I'm missing? should I be calling for result.stats() after something else happens?

Error

  File ... , in creates_one_relationship
    return result.stats()['relationships_created'] == 1
  File "/root/.local/lib/python2.7/site-packages/py2neo/database.py", line 1142, in stats
    s.update(self._result.stats())
  File "/root/.local/lib/python2.7/site-packages/py2neo/database.py", line 674, in stats
    return vars(self.result.summary().counters)
AttributeError: 'NoneType' object has no attribute 'counters'

Setup

  • gitlab-runner 11.2.0
  • docker image for neo4j 3.3.6
  • docker image for python 2.7.14
  • django 1.11
  • py2neo 4.1.0
  • neo4j-driver 1.6.1

Thanks in advance for your help.

1 REPLY 1

Looks like the same issue as logged here:

It certainly looks like a bug, but as yet I've not found any way to reproduce it.