TypeError: iter must be a GtkTreeIter

Bug #363035 reported by Marco Rodrigues
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Entertainer Media Center
Fix Released
Low
Samuel Buffet

Bug Description

TEST CASE:

Run content-manager and click at "Edit" button and it shows this traceback.

$ python entertainer-content-manager

Traceback (most recent call last):
  File "/home/kmos/packages/entertainer/entertainerlib/utils/content_management_dialog.py", line 214, in on_button_edit_videos_clicked
    folder = model.get_value(selection[1], 0)
TypeError: iter must be a GtkTreeIter

Related branches

Revision history for this message
Marco Rodrigues (gothicx) wrote :

The same happens when I click in "Remove" button. The folders list is empty.

Revision history for this message
Samuel Buffet (samuel-buffet) wrote :

Hello Marco,

Same thing here. This occurs when we hit [Edit] key without any selection.

So selection[1] is None instead of being an GtkTreeIter (I guess).

So there's a missing test we need to add.
This bug is similar (not duplicated but similar) in its nature with bug Bug #357238.

Thanks for this report Marco.
Samuel-

Changed in entertainer:
assignee: nobody → samuel-buffet
status: New → Triaged
Revision history for this message
Samuel Buffet (samuel-buffet) wrote :

Forgot to say that we probably have the same issue on every Tab of the content manager.

Changed in entertainer:
importance: Undecided → Low
Paul Hummer (rockstar)
Changed in entertainer:
status: Triaged → Fix Committed
Matt Layman (mblayman)
Changed in entertainer:
milestone: none → entertainer-0.5
Matt Layman (mblayman)
Changed in entertainer:
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.