Open armanjtehrani opened 3 years ago
Reverted the PR merge due to this issue with meta profiling
Exception when performing meta profiling, dumping trace below
Traceback (most recent call last):
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\silk\middleware.py", line 132, in _process_response
collector.finalise()
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\silk\collector.py", line 189, in finalise
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1015, in set
self.add(*new_objs, through_defaults=through_defaults)
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 950, in add
self._add_items(
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1126, in _add_items
target_ids = self._get_target_ids(target_field_name, objs)
File "C:\Users\username\Documents\Repositories\Conreq\.venv\lib\site-packages\django\db\models\fields\related_descriptors.py", line 1062, in _get_target_ids
raise ValueError(
ValueError: Cannot add "<SQLQuery: SQLQuery object (None)>": the value for field "sqlquery" is None
is there any update?
I'm using silk with django 3.1 and python 3.9
The problem is when I use profiler on any of my views, my request page becomes like this:
and I also get this error:
My settings environment is: