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

cancel plugin installation file dialog results in crash

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.0.4dev1
    • Fix Version/s: 2.0
    • Component/s: User Interface
    • Labels:
      None
    • Environment:
      virtualenv with Python 3.6.1 (Arch Linux)

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: