Traceback (most recent call last):
File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, *callback_kwargs)
File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(args, **kwargs)
File "/home/pagaiisland/code/bmi3d/db/tracker/ajax.py", line 176, in add_sequence
seq = Sequence.from_json(sequence)
File "/home/pagaiisland/code/bmi3d/db/tracker/models.py", line 608, in from_json
seq.sequence = pickle.dumps(seq_data)
TypeError: can't pickle generator objects
I think this code hasn't been used in a long time since before they made a switch from generators that spit out a list to generators that are actually generators. But it would be nice to get this working again so we can have static sequences!
Traceback (most recent call last): File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 179, in _get_response response = wrapped_callback(request, *callback_args, *callback_kwargs) File "/home/pagaiisland/code/bmi3d/env/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(args, **kwargs) File "/home/pagaiisland/code/bmi3d/db/tracker/ajax.py", line 176, in add_sequence seq = Sequence.from_json(sequence) File "/home/pagaiisland/code/bmi3d/db/tracker/models.py", line 608, in from_json seq.sequence = pickle.dumps(seq_data) TypeError: can't pickle generator objects
I think this code hasn't been used in a long time since before they made a switch from generators that spit out a list to generators that are actually generators. But it would be nice to get this working again so we can have static sequences!