Need better error message when encountering a bad network name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-printer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've tried to add a Windows 7 shared printer using the Browse functionality. This browser correctly is able to determine all of the computers in the work group and correctly lists all of the shared printers on the remote Windows 7 host. However, the share name of the network printer contained spaces. This led to a frustrating error message "Unable to connect to CIFS host...", which gave no indication of the real problem: the fact that the URI had be changed form "XXX XXX XXXXXXXX's XXX" to "XXX20XXX20XXXX
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: system-
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Mon Jul 11 20:06:51 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
Lpstat:
device for Deskjet-
device for HP-Deskjet-5100: smb://WORKGROUP
MachineType: IEC PineTrail
PackageArchitec
Papersize: letter
PpdFiles:
HP-Deskjet-5100: HP Deskjet 5100, hpcups 3.11.1
Deskjet-
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: system-
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/27/2010
dmi.bios.vendor: IEC
dmi.bios.version: 0.08
dmi.board.
dmi.board.name: Base Board Product Name
dmi.board.vendor: IEC
dmi.board.version: Base Board Version
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.
dmi.modalias: dmi:bvnIEC:
dmi.product.name: PineTrail
dmi.product.
dmi.sys.vendor: IEC
Changed in system-config-printer (Ubuntu): | |
status: | New → Confirmed |
Tim, can you have a look into this? Thanks.
I think there are already bug reports about support for share names with spaces (add "%20" in URIs, support for '%' and ' ' in input fields, ' ' <-> "%20" conversion, ...) but we should in addition take care of easy-to-understand error messages.