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

plugin.py uses os.path.samefile which is a UNIX only statement - install of plugin fails in Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Plugins
    • Labels:
      None
    • Environment:
      Win8 64-bit

      Description

      Summary says it all really. But to give a little more detail:

      In plugin.py in install_plugin there is a line:

      same_file = os.path.samefile(path, dest) if dest_exists else False

      and when this is executed under Windows you get:

      Traceback (most recent call last):
      File ".\picard\ui\options\plugins.py", line 133, in open_plugins
      self.install_plugin(path)
      File ".\picard\ui\options\plugins.py", line 147, in install_plugin
      self.tagger.pluginmanager.install_plugin(path, dest)
      File ".\picard\plugin.py", line 192, in install_plugin
      same_file = os.path.samefile(path, dest) if dest_exists else False
      AttributeError: 'module' object has no attribute 'samefile'

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              sophist Sophist
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: