[Bug 1766793] [NEW] pyxdg ftbfs: Invalid key: Scale

Steve Langasek steve.langasek at canonical.com
Wed Apr 25 06:05:01 UTC 2018


Public bug reported:

[SRU Justification]
pyxdg fails to build because the hicolor theme it tests against now includes new keys that pyxdg doesn't know are valid:

======================================================================
ERROR: test_validate_icon_theme (test-icon.IconThemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test/test-icon.py", line 20, in test_validate_icon_them
e
    theme.validate()
  File "/<<PKGBUILDDIR>>/xdg/IniFile.py", line 243, in validate
    raise ValidationError(msg, self.filename)
ValidationError: ValidationError in file '/usr/share/icons/hicolor/index.theme':
 
- Invalid key: Scale
- Invalid key: Scale
- Invalid key: Scale
- Invalid key: Scale
[...]

  https://launchpad.net/ubuntu/+archive/test-
rebuild-20180408/+build/14619155

This makes the package not currently security supportable as of 18.04
release. Since this package is seeded on the desktop image I am not
looking to have this included during the freeze but am making it an SRU
instead.

[Test case]
If the package builds from source, it has passed its test suite showing that the new code works and is now compatible with current icon themes.

[Regression potential]
In addition to accepting two "new" keys in icon themes, this upload adds two new methods on the IconTheme class.  It is possible, but unlikely, that this would confuse downstream consumers of this class who have conflicting usage of methods by these names.

** Affects: pyxdg (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Changed in: pyxdg (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pyxdg in Ubuntu.
https://bugs.launchpad.net/bugs/1766793

Title:
  pyxdg ftbfs: Invalid key: Scale

Status in pyxdg package in Ubuntu:
  In Progress

Bug description:
  [SRU Justification]
  pyxdg fails to build because the hicolor theme it tests against now includes new keys that pyxdg doesn't know are valid:

  ======================================================================
  ERROR: test_validate_icon_theme (test-icon.IconThemeTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/test/test-icon.py", line 20, in test_validate_icon_them
  e
      theme.validate()
    File "/<<PKGBUILDDIR>>/xdg/IniFile.py", line 243, in validate
      raise ValidationError(msg, self.filename)
  ValidationError: ValidationError in file '/usr/share/icons/hicolor/index.theme':
   
  - Invalid key: Scale
  - Invalid key: Scale
  - Invalid key: Scale
  - Invalid key: Scale
  [...]

    https://launchpad.net/ubuntu/+archive/test-
  rebuild-20180408/+build/14619155

  This makes the package not currently security supportable as of 18.04
  release. Since this package is seeded on the desktop image I am not
  looking to have this included during the freeze but am making it an
  SRU instead.

  [Test case]
  If the package builds from source, it has passed its test suite showing that the new code works and is now compatible with current icon themes.

  [Regression potential]
  In addition to accepting two "new" keys in icon themes, this upload adds two new methods on the IconTheme class.  It is possible, but unlikely, that this would confuse downstream consumers of this class who have conflicting usage of methods by these names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyxdg/+bug/1766793/+subscriptions



More information about the foundations-bugs mailing list