Comment 0 for bug 927431

Revision history for this message
Dylan McCall (dylanmccall) wrote :

Steps to reproduce:
 - Put an ICC profile somewhere and put spaces in its filename
 - Open the ICC profile (with gcmimport — ICC Profile Installer)
 - Click Show Details
 - Note the error message

The error looks something like this:
Failed to open ICC profile
Failed to open file '/home/dylan/Documents/Hardware/Samsung': No such file or directory

The full file path in this case is /home/dylan/Documents/Hardware/Samsung SyncMaster T220.icc

Here /proc/cmdline for the process showing the error message:
/usr/bin/gcm-viewer --parent-window 88080387 --file /home/dylan/Documents/Hardware/Samsung SyncMaster T220.icc

If I instead use this command:
/usr/bin/gcm-viewer --parent-window=88080387 --file='/home/dylan/Documents/Hardware/Samsung SyncMaster T220.icc'

…gcm-viewer opens happily.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-color-manager 3.2.2-1
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sun Feb 5 19:31:31 2012
ExecutablePath: /usr/bin/gcm-import
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110906)
SourcePackage: gnome-color-manager
UpgradeStatus: Upgraded to precise on 2012-02-04 (1 days ago)