gcmimport fails to open gcmviewer for filenames with spaces

Bug #927431 reported by Dylan McCall on 2012-02-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-color-manager (Ubuntu)
Undecided
Unassigned

Bug Description

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 is the command line 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 run 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)

Dylan McCall (dylanmccall) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers