You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apps->admin->database export->data export->generate
the file never becomes available, message in console says
CommandError: Unable to serialize database: maximum recursion depth exceeded in comparison
here's my notes
Using tendenci 15.1
below: a long traceback in a recursive plunge from attempting a database export. I'm pretty sure it has something to do with
the last line of tendenci/apps/events/models.py Event init
def init(self, *args, **kwargs):
super(Event, self).init(*args, **kwargs)
self.private_slug = self.private_slug or Event.make_slug() <<<< or maybe this one
self._original_repeat_of = self.repeat_of <<<<<<<< I'm guessing this is the trigger
eventually it crashes doing something with events.Organizer:
CommandError: Unable to serialize database: maximum recursion depth exceeded in comparison
the 19-line recursive loop is marked with ----
I found a breakpoint
8000
here to be useful, after hitting events.py#2409 init : db, init_list, row[model_fields_start:model_fields_end]
apps->admin->database export->data export->generate
the file never becomes available, message in console says
CommandError: Unable to serialize database: maximum recursion depth exceeded in comparison
here's my notes
Using tendenci 15.1
below: a long traceback in a recursive plunge from attempting a database export. I'm pretty sure it has something to do with
the last line of tendenci/apps/events/models.py Event init
def init(self, *args, **kwargs):
super(Event, self).init(*args, **kwargs)
self.private_slug = self.private_slug or Event.make_slug() <<<< or maybe this one
self._original_repeat_of = self.repeat_of <<<<<<<< I'm guessing this is the trigger
eventually it crashes doing something with events.Organizer:
CommandError: Unable to serialize database: maximum recursion depth exceeded in comparison
the 19-line recursive loop is marked with ----
I found a breakpoint 8000 here to be useful, after hitting events.py#2409 init : db, init_list, row[model_fields_start:model_fields_end]
It does this from both a manage.py command and the internally generated dump at http://thinkc.local:8000/explorer/export_database/
python manage.py create_database_dump 2 json 35
edit: formatting
The text was updated successfully, but these errors were encountered: