Hello Simon,
Thank you for submitting this bug and reporting a problem with 
system-config-printer.  You made this bug report some time ago and Ubuntu has 
been updated since then. 
                                                         
Could you confirm that this is no longer a problem and that we can close the 
bug report? 
If it is still a problem, are you still interested in finding a solution to 
this bug? 
If you are, could you let us know, and in the current version, run the 
following (only once):                 
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this 
particular issue.                      

Thank you again for helping make Ubuntu better. 
G
[Ubuntu Bug Squad volunteer triager]

** Changed in: system-config-printer (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/493936

Title:
  unable to connect to windows printers with non-ascii names

Status in system-config-printer package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: system-config-printer

  I can't connect to a windows (samba) printer queue whose name contains
  chinese characters.  My printer is called '5F網資室'.

  If I give the full name and path to the queue using the unicode
  charactes, system-config-printer dumps this to the console, and then
  just stalls forever:

  /usr/lib/python2.6/urllib.py:1223: UnicodeWarning: Unicode equal comparison 
failed to convert both arguments to Unicode - interpreting them as being unequal
    res = map(safe_map.__getitem__, s)
  Traceback (most recent call last):
    File "/usr/share/system-config-printer/system-config-printer.py", line 
4185, in on_btnNPForward_clicked
      self.nextNPTab()
    File "/usr/share/system-config-printer/system-config-printer.py", line 
4203, in nextNPTab
      uri = SMBURI (uri=uri[6:]).sanitize_uri ()
    File "/usr/share/system-config-printer/smburi.py", line 69, in sanitize_uri
      return self._construct (group, host, share)
    File "/usr/share/system-config-printer/smburi.py", line 61, in _construct
      uri += "/" + _urlquote (share)
    File "/usr/share/system-config-printer/smburi.py", line 26, in _urlquote
      q = urllib.quote (x)
    File "/usr/lib/python2.6/urllib.py", line 1223, in quote
      res = map(safe_map.__getitem__, s)
  KeyError: u'\xe7'

  If I escape the name (i.e. "5F%E7%B6%B2%E8%B3%87%E5%AE%A4"), the error
  is the same, but the UnicodeWarning is not generated first.

  ProblemType: Bug
  Architecture: amd64
  CupsErrorLog:
   W [08/Dec/2009:15:20:02 +0800] [CGI] Unhandled message: 
interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect
   E [08/Dec/2009:15:20:17 +0800] [cups-driverd] Bad driver information file 
"/usr/share/cups/drv/sample.drv"!
   W [08/Dec/2009:15:27:09 +0800] [CGI] Unhandled message: 
interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect
   E [08/Dec/2009:15:27:25 +0800] [cups-driverd] Bad driver information file 
"/usr/share/cups/drv/sample.drv"!
  Date: Tue Dec  8 15:32:59 2009
  DistroRelease: Ubuntu 9.10
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  Lpstat: device for HP-Color-LaserJet-1600: socket://172.30.101.245:9100
  MachineType: ASUSTeK Computer Inc. A8Fm
  Package: system-config-printer-common 1.1.12+git20090826-0ubuntu8
  PackageArchitecture: all
  Papersize: letter
  PpdFiles: HP-Color-LaserJet-1600: HP Color LaserJet 1600 Foomatic/foo2hp 
(recommended)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-16-generic 
root=UUID=19e942df-bcab-41c0-9b76-eb0aca07f7c7 ro splash nomodeset quiet splash
  ProcEnviron:
   LANGUAGE=en_GB.UTF-8
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
  SourcePackage: system-config-printer
  Uname: Linux 2.6.31-16-generic x86_64
  dmi.bios.date: 04/08/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: A8FmAS.212
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: A8Fm
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrA8FmAS.212:bd04/08/2008:svnASUSTeKComputerInc.:pnA8Fm:pvr1.0:rvnASUSTeKComputerInc.:rnA8Fm:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr:
  dmi.product.name: A8Fm
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/493936/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to