gregmuellegger/django-autofixture

*** RuntimeError: maximum recursion depth exceeded

Closed this issue · 2 comments

(Pdb) from autofixture import AutoFixture
(Pdb) fixture = AutoFixture(Post, generate_fk=True)
(Pdb) entries = fixture.create(10)
*** RuntimeError: maximum recursion depth exceeded
(Pdb) Post.objects.all()
[]

Post model

Run on project Opps CMS

Looks a bit like autofixture cannot figure out some constraints.

  1. Is it that model: https://github.com/opps/opps/blob/master/opps/articles/models.py#L138 ?
  2. Please provide a traceback. Otherwise its just wild guessing of what I can do.

I close this issue since I don't have any data to further dig into this.
Feel free to re-open it if you still experience this issue and have more details for me.