Project

General

Profile

Bug #2361

query event schedules fails for argument event_id=NNN

Added by Lauri Carpenter almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
01/09/2012
Due date:
% Done:

0%

Estimated time:
Duration:

Description

See URL http://tissue.fnal.gov/tissue/api/queryEventSchedules/?event_id=3701&debug=1
Result page is {
"status": false,
"result": {
"argdict": "{u'event_id': u'3701', u'debug': u'1'}",
"errcls": "exceptions.TypeError",
"errmsg": "'Events' object is not iterable"
}
}
Traceback:
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/views/decorators/csrf.py", line 39, in wrapped_view
resp = view_func(*args, **kwargs)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/views/decorators/csrf.py", line 52, in wrapped_view
return view_func(*args, **kwargs)
File "/fnal/ups/prd/tissue_gui/v2_3i/dj/tissue_gui/src/tissue_api.py", line 178, in queryEventSchedules
return tissueQueryThis('queryEventSchedules', EventScheduleQueryResult, request, *args, **kwargs)
File "/fnal/ups/prd/tissue_gui/v2_3i/dj/tissue_gui/src/tissue_api.py", line 159, in tissueQueryThis
result = method(this_agent, **argdict)
File "/fnal/ups/prd/tissue_query/v2_3c/TissueQuery/TissueQueryImpl.py", line 736, in queryEventSchedules
eslist = eslist.filter(event__in=event_list)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/query.py", line 550, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/query.py", line 568, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/sql/query.py", line 1172, in add_q
can_reuse=used_aliases, force_having=force_having)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/sql/query.py", line 1107, in add_filter
connector)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/sql/where.py", line 67, in add
value = obj.prepare(lookup_type, value)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/sql/where.py", line 316, in prepare
return self.field.get_prep_lookup(lookup_type, value)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/fields/related.py", line 138, in get_prep_lookup
return [self._pk_trace(v, 'get_prep_lookup', lookup_type) for v in value]

History

#1 Updated by Lauri Carpenter almost 8 years ago

  • Status changed from New to Resolved

#2 Updated by Lauri Carpenter almost 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF