[Bug 1307917] Re: installing driver hangs indefinitely
jim parris
jim at parris.com
Thu May 22 03:50:50 UTC 2014
I also have this problem with Epson printer drivers.
There is something wrong with the repo id that it is passing to the
python script. It is passing six (6) arguments when the script only
takes three.
The third argument is the url, which is apparently wrong. The last
three are irrelevant.
Run the script with only two arguments, and it will work fine - there is
logic for it.
Commented version of the python script:
https://fossies.org/dox/system-config-printer-1.4.4/install-printerdriver_8py_source.html
Argument in question (remove this):
http://download.ebz.epson.net/dsc/op/stable/debian/
19 try:
20 repo_gpg_id = sys.argv[3]
21 except:
22 repo_gpg_id = None
------------------------------------------
As root, run:
/usr/bin/python /usr/share/system-config-printer/install-
printerdriver.py epson-inkjet-printer-escpr deb
And then you can go back and add your printer like normal.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/1307917
Title:
installing driver hangs indefinitely
Status in “packagekit” package in Ubuntu:
Incomplete
Status in “system-config-printer” package in Ubuntu:
Incomplete
Bug description:
While installing a printer driver, I get the usual progress bar modal
window (title: 'Installing driver epson-inkjet-printer-escpr',
content: 'Installing ...'). It just stops and hangs indefinitely at
about 50% progress though.
I've inspected pstree, and the offending command line seems to be:
/usr/bin/python /usr/share/system-config-printer/install-
printerdriver.py epson-inkjet-printer-escpr deb
http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56
Running it from the command line outputs the following two lines:
Signature key supplied
pk.install_signature
.. and then it hangs as well.
I've attached an strace -f of the above command. The trace doesn't
actually end (the process hangs as before), but does stop outputting
new system calls.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: system-config-printer-gnome 1.4.3+20140219-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
Uname: Linux 3.13.0-20-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CupsErrorLog:
CurrentDesktop: Unity
Date: Tue Apr 15 10:35:39 2014
InstallationDate: Installed on 2014-04-02 (13 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Dell Inc. Vostro 3500
PackageArchitecture: all
Papersize: a4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-20-generic root=UUID=02c716f6-1efa-4717-acc6-62fab88d7a37 ro quiet splash vt.handoff=7
SourcePackage: system-config-printer
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/25/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 0G2R51
dmi.board.vendor: Dell Inc.
dmi.board.version: A10
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A10
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd10/25/2010:svnDellInc.:pnVostro3500:pvrA10:rvnDellInc.:rn0G2R51:rvrA10:cvnDellInc.:ct8:cvrA10:
dmi.product.name: Vostro 3500
dmi.product.version: A10
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1307917/+subscriptions
More information about the foundations-bugs
mailing list