← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2115430] Re: [SRU] "Create synthetic ICC profile" feature fails

 

This bug was fixed in the package displaycal-py3 -
3.9.11-2ubuntu0.24.04.2

---------------
displaycal-py3 (3.9.11-2ubuntu0.24.04.2) noble; urgency=medium

  * Fix "Create synthetic ICC Profile" feature (LP: #2115430)

 -- Erich Eickmeyer <eeickmeyer@xxxxxxxxxx>  Fri, 27 Jun 2025 09:34:29
-0700

** Changed in: displaycal-py3 (Ubuntu Noble)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to displaycal-py3 in Ubuntu.
https://bugs.launchpad.net/bugs/2115430

Title:
  [SRU] "Create synthetic ICC profile" feature fails

Status in displaycal-py3 package in Ubuntu:
  Fix Released
Status in displaycal-py3 source package in Noble:
  Fix Released
Status in displaycal-py3 source package in Oracular:
  Won't Fix
Status in displaycal-py3 source package in Plucky:
  Fix Released
Status in displaycal-py3 source package in Questing:
  Fix Released

Bug description:
  [Impact]

  Users are unable to use the "Create synthetic ICC profile" feature of
  DisplayCAL as it crashes if it doesn't find a config file in the
  user's home folder as opposed to making one.

  [Test Case]

  1. Ensure that the ~/.config/DisplayCAL/DisplayCAL-synthprofile.ini file doesn't exist.
  2. Launch DisplayCAL.
  3. Select the "Create synthetic ICC profile" option in the Tools > Advanced menu.

  Expected: No crash

  Actual: Crash (see original bug report below)

  [What could go wrong]

  While the patch in question is tested upstream and known to work in
  later versions, it's completely possible that the patch introduces new
  bugs or just doesn't work at all.

  [Other information]

  The bug in question does not exist in the version already in questing.
  Noble and Plucky need this, and it's too close to Oracular's EOL to
  justify this fix.

  [Original Bug Report]

  ## Steps to reproduce

  1. Ensure that the ~/.config/DisplayCAL/DisplayCAL-synthprofile.ini file doesn't exist.
  2. Launch DisplayCAL.
  3. Select the "Create synthetic ICC profile" option in the Tools > Advanced menu.

  ## Current behavior

  Program errors with the following traceback:

  ```text
  No section: 'Default'

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/DisplayCAL/display_cal.py", line 12273, in synthicc_create_handler
      self.init_synthiccframe()
    File "/usr/lib/python3/dist-packages/DisplayCAL/display_cal.py", line 2393, in init_synthiccframe
      config.initcfg("synthprofile", SynthICCFrame.cfg)
    File "/usr/lib/python3/dist-packages/DisplayCAL/config.py", line 1840, in initcfg
      setcfg("calibration.file", defaults["calibration.file"], cfg=cfg)
    File "/usr/lib/python3/dist-packages/DisplayCAL/config.py", line 2093, in setcfg
      cfg.set(configparser.DEFAULTSECT, name, value)
    File "/usr/lib/python3.12/configparser.py", line 880, in set
      raise NoSectionError(section) from None
  configparser.NoSectionError: No section: 'Default'
  ```

  ## Known workaround

  Manually create the ~/.config/DisplayCAL/DisplayCAL-synthprofile.ini
  file, with the following content:

  ```ini
  [Default]
  ```

  ## Additional information

  This bug has been fixed upstream by the following commit:
  https://github.com/eoyilmaz/displaycal-py3/commit/ccbcf67f

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: displaycal 3.9.11-2ubuntu0.24.04.1
  ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-26-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.28.1-0ubuntu3.7
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Thu Jun 26 23:11:06 2025
  InstallationDate: Installed on 2025-02-04 (142 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
  SourcePackage: displaycal-py3
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2115430/+subscriptions



References