Sadalīšana divos jēdzienos nestrādā

Bug #384250 reported by Rūdolfs Mazurs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wordy
New
Undecided
Unassigned

Bug Description

Kad sadalu jēdzienu divos dažādos (tikai kopēt) rezultāts:

Traceback:
File "/var/lib/python-support/python2.5/django/core/handlers/base.py" in get_response
  86. response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/python-support/python2.5/django/contrib/auth/decorators.py" in __call__
  67. return self.view_func(request, *args, **kwargs)
File "/www/termini.linux.edu.lv/wordy/wordy_user/views.py" in user_concepts_review
  420. return render_response(request, 'tag_conceptsReview.html', {'next':next, 'offset':offset, 'total':total, 'concept': concept, 'hasNew':True,'newConcept':newConcept ,'form':cform, 'grammarTypes': grammarTypes, 'languages': languages})

Exception Type: UnboundLocalError at /main/user/reviewConcepts/0
Exception Value: local variable 'total' referenced before assignment
-------------------------------------
Ja dalu ar kopēt un dzēst, programma paļāvīgi izdzēš un iedod:

Traceback:
File "/var/lib/python-support/python2.5/django/core/handlers/base.py" in get_response
  86. response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/python-support/python2.5/django/contrib/auth/decorators.py" in __call__
  67. return self.view_func(request, *args, **kwargs)
File "/www/termini.linux.edu.lv/wordy/wordy_user/views.py" in user_concepts_review
  420. return render_response(request, 'tag_conceptsReview.html', {'next':next, 'offset':offset, 'total':total, 'concept': concept, 'hasNew':True,'newConcept':newConcept ,'form':cform, 'grammarTypes': grammarTypes, 'languages': languages})

Exception Type: UnboundLocalError at /main/user/reviewConcepts/0
Exception Value: local variable 'total' referenced before assignment

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.