coleifer / sqlite-web

Web-based SQLite database browser written in Python
MIT License
3.43k stars 339 forks source link

Maximum recursion depth exceeded #78

Closed paroczigergo closed 3 years ago

paroczigergo commented 3 years ago

Issue description

I'm trying to run this : sqlite_web ~/mydb.db, but the result always RecursionError for File "/home/pi/.local/lib/python3.7/site-packages/playhouse/reflection.py", line 688, in _create_model

I tried to increase the recursion limit sys.setrecursionlimit(100000), but in the end I got only Segmentation fault text message.

I also tried with python 2.7 and 3.7, but nothing changed.

image

What's the expected result?

coleifer commented 3 years ago

Can you share the schema?

paroczigergo commented 3 years ago

Sorry, it was my bad. I created a circular reference in the schema.