Anomalie #3101
ferméCrash on Ishtar_TEST
100%
Description
TypeError at /
int() argument must be a string or a number, not 'SimpleLazyObject'
Request Method: GET
Request URL: http://test.ishtar-archeo.net/
Django Version: 1.4.5
Exception Type: TypeError
Exception Value:
(...)
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/srv/ishtarctest/ishtar/ishtar_common/views.py" in index
- context_instance=RequestContext(request))
File "/usr/lib/python2.7/dist-packages/django/template/context.py" in init
- self.update(processor(request))
File "/srv/ishtarctest/ishtar/ishtar_common/context_processors.py" in get_base_context
- for item in model.get_owns(request.user):
File "/srv/ishtarctest/ishtar/archaeological_finds/models.py" in get_owns
- return FindBasket.objects.filter(user=user)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py" in filter
- return self.get_query_set().filter(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in filter
- return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in _filter_or_exclude
- clone.query.add_q(Q(*args, **kwargs))
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in add_q
- can_reuse=used_aliases, force_having=force_having)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in add_filter
- connector)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py" in add
- value = obj.prepare(lookup_type, value)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py" in prepare
- return self.field.get_prep_lookup(lookup_type, value)
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/related.py" in get_prep_lookup
- return self._pk_trace(value, 'get_prep_lookup', lookup_type)
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/related.py" in _pk_trace
- v = getattr(field, prep_func)(lookup_type, v, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/init.py" in get_prep_lookup
- return self.get_prep_value(value)
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/init.py" in get_prep_value
- return int(value)
Exception Type: TypeError at /
Exception Value: int() argument must be a string or a number, not 'SimpleLazyObject'
Mis à jour par Étienne Loks il y a plus de 8 ans
- Lié à Anomalie #3102: Crash when logout from TEST ajouté
Mis à jour par Étienne Loks il y a plus de 8 ans
- % réalisé changé de 0 à 100
- Statut changé de Nouveau à Résolu
- Description mis à jour (diff)