Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1106

cancel plugin installation file dialog results in crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0
    • 2.0.4
    • User Interface
    • None
    • virtualenv with Python 3.6.1 (Arch Linux)

      Going to Options -> Options... -> Plugins -> Install plugin... opens a file chooser dialog. Clicking on the Close-button results in a crash of picard instead of just closing the file chooser dialog.

      Traceback (most recent call last):
      File "/home/user/.virtualenvs/picard/lib/python3.6/site-packages/picard/ui/options/plugins.py", line 317, in open_plugins
       self.tagger.pluginmanager.install_plugin(path)
        File "/home/user/.virtualenvs/picard/lib/python3.6/site-packages/picard/plugin.py", line 365, in install_plugin
       zip_plugin = is_zip(path)
        File "/home/user/.virtualenvs/picard/lib/python3.6/site-packages/picard/plugin.py", line 65, in is_zip
       if os.path.splitext(path)[1] == '.zip':
        File "/usr/lib/python3.6/posixpath.py", line 120, in splitext
        p = os.fspath(p)
       TypeError: expected str, bytes or os.PathLike object, not list
        Abgebrochen (Speicherabzug geschrieben)

            mineo Wieland Hoffmann
            beedaddy Martin Brodbeck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.0