Bug 438611

Summary: wallpapoz crashes with "IndexError: list index out of range"
Product: [Fedora] Fedora Reporter: Marek Mahut <mmahut>
Component: wallpapozAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-23 07:53:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Mahut 2008-03-22 21:06:13 UTC
Description of problem:

After installing wallpapoz on Fedora 8, I'm not able to lunch it -- it
terminates with python error.

Version-Release number of selected component (if applicable):

F8 up-to-date
wallpapoz-0.4.1-2.fc8

How reproducible:

always

Steps to Reproduce:
1. install wallpapoz
2. open terminal
3. try to lunch wallpapoz
  
Actual results:

Traceback (most recent call last):
  File "/usr/bin/wallpapoz", line 1239, in <module>
    wallpapozgui = Wallpapoz()
  File "/usr/bin/wallpapoz", line 125, in __init__
    self.load_treeview()
  File "/usr/bin/wallpapoz", line 753, in load_treeview
    self.treeview_selection_changed(None)
  File "/usr/bin/wallpapoz", line 1171, in treeview_selection_changed
    position_iter = self.get_selected_iter_of_treeview("anything")
  File "/usr/bin/wallpapoz", line 309, in get_selected_iter_of_treeview
    iter = self.store.get_iter(pathlist[length_of_path_list-1])
IndexError: list index out of range


Additional information:

I can reproduce it only on my machine (second is working fine).

Comment 1 Mamoru TASAKA 2008-03-23 06:31:49 UTC
Well, I want to investigate this, however would you check
if your problem still exists even after you once remove ~/.wallpapoz ?

Comment 2 Marek Mahut 2008-03-23 07:34:02 UTC
Mamoru, yes it does with same error.

Comment 3 Akbar 2008-04-02 04:13:11 UTC
Hi Marek,

Try to remove ~/.wallpapoz then launch Wallpapoz. It will give error. Then you
paste what is in ~/.wallpapoz/wallpapoz.xml here. You're not using fancy thing
like Beryl or Compiz, right? Tell me what your desktop background (picture or
just color) is when Wallpapoz give you error.

Comment 4 Marek Mahut 2008-04-23 07:53:13 UTC
Akbar, hmm... this is working now. I'm not using any fancy thing, it may be my
resolution at work, but I don't have the data or monitor to test it again :/

closing as WORKSFORME for the moment, I'll reopen it if I hit the issue again.

Thank you for your time.