TypeError on download queue/history update

Bug #599924 reported by Severin H
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
High
Severin H

Bug Description

Such errors sometimes occur when the user removes entries from the download history using the web interface. Also, they sometimes occur between downloading and post-processing. There must be a mistake in `backend.hubs.general.DownloadListUpdater.apply_slots'.

Traceback (most recent call last):
  File "/home/lantash/Dropbox/Documents/Projekte/lottanzb/trunk/lottanzb/backend/interface/__init__.py", line 201, in internal_handler
    handler(interface, query, *args)
  File "/home/lantash/Dropbox/Documents/Projekte/lottanzb/trunk/lottanzb/backend/hubs/polling.py", line 53, in internal_handler
    handler(query)
  File "/home/lantash/Dropbox/Documents/Projekte/lottanzb/trunk/lottanzb/backend/hubs/general/__init__.py", line 156, in on_history_query
    self._history_updater.apply_slots(slots)
  File "/home/lantash/Dropbox/Documents/Projekte/lottanzb/trunk/lottanzb/backend/hubs/general/__init__.py", line 461, in apply_slots
    self.model.reorder(new_order)
TypeError: list must at least have the same size as the number of items in the store

Related branches

Severin H (severinh)
Changed in lottanzb:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Severin Heiniger (lantash)
milestone: none → 0.6
Severin H (severinh)
Changed in lottanzb:
status: Confirmed → Fix Committed
Revision history for this message
Severin H (severinh) wrote :

The bug has not entirely been fixed yet. It sometimes still occurs when a download is being completed.

summary: - TypeError on download history update
+ TypeError on download queue/history update
Changed in lottanzb:
status: Fix Committed → Confirmed
Severin H (severinh)
Changed in lottanzb:
status: Confirmed → Fix Committed
Severin H (severinh)
Changed in lottanzb:
status: Fix Committed → Fix Released
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.