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

missing windows_compatibility key - Maximum recurrsion reached

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.13
    • 2.11
    • File Move & Rename
    • None
    • Linux, Mint 22

      New user here.  During a Save with Move enabled,  stderr is filled with

      Traceback (most recent call last):
        File "/usr/lib/picard/picard/util/settingsoverride.py", line 44, in __getitem__
      KeyError: 'windows_compatibility'
      

      and this recursive error handling

      Traceback (most recent call last):
        File "/usr/lib/picard/picard/util/settingsoverride.py", line 44, in __getitem__
      KeyError: 'clear_existing_tags'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib/picard/picard/util/settingsoverride.py", line 44, in __getitem__
      KeyError: 'clear_existing_tags'
      
      [  ... etc until recursion max ... ]
      

      Maybe settingsoverride.py win_compat check should read something more like

         # fail safe: set windows compatibility True
         win_compat = IS_WIN or settings.get('windows_compatibility', True)
      

      or maybe there is a set of default for settings that is missing the windows_compatibility key somewhere?

            outsidecontext Philipp Wolfer
            jmacdone James Macdonell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.13