#58 Cannot open a file the second time


With Comix 4.0.3, when I open a file (rar/zip) the first time, it opens it and works great. But when I try to open another file, nothing seems to work. I would have to restart the program to open another file. So I ran it in the terminal and when I try to open the a second file, I get this error:

Traceback (most recent call last):
File "/usr/local/share/comix/src/filechooser.py", line 148, in _response
File "/usr/local/share/comix/src/filechooser.py", line 199, in files_chosen
ValueError: list.index(x): x not in list


  • montasir

    montasir - 2009-04-03

    Looks to be caused by the call to gtk.FileChooser.set_filename(). As a temporary fix, if it bothers you as much as it does me, removing the selection-of-the-last-opened-file functionality solves it. As of SVN-309, the exception is passed allowing execution to continue, but breaks the saving of the last selected filter in those cases.

  • Pontus Ekberg

    Pontus Ekberg - 2009-04-03
    • assigned_to: nobody --> herrekberg
  • Pontus Ekberg

    Pontus Ekberg - 2009-04-03

    There seems to be a bug in some versions of GTK+ (though it might be something else) that makes it impossible to set the first filter ("All files") the second time the dialog is created. There is a workaround in current SVN revision; it keeps filter settings, but when using "All files", it will turn up as blank in the filter selection box after the dialog has been opened the first time.

  • Taffit

    Taffit - 2009-04-06

    Thanks for this workaround, so the 4.0.4 version fix the issue.

  • Pontus Ekberg

    Pontus Ekberg - 2009-04-07

    You are right, this is fixed as of 4.0.4.

  • Pontus Ekberg

    Pontus Ekberg - 2009-04-07
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks