session-installer crashed with ModifyInternalError in _install_printer_drivers() when triggered by system-config-printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sessioninstaller (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: sessioninstaller
After having applied the patch of bug 612140, I have run the following command line:
system-
This also simulates that system-
----------
Installing printer drivers on request isn't supported
Currently autodetection and installation of missing printer drivers is not supported.
----------
The pop-up has a "Close" button and when clicking it, session-installer crashes, and s-c-p continues the driver search using Jockey. Driver download (via Jockey) and printer setup works then.
So 2 things need to be fixed:
1. session-installer should simply exit and not crash, to avoid an ugly Apport pop-up.
2. session-installer should close silently when it gets the unsupported printer driver download request, as end users do not know about available printer driver package sources and which sources their printer setup tool use. If a source cannot deliver a driver, this source should exit slilently and non-interactively so that the printer setup tool can continue with the next source here.
Some important extra info: Red Hat has introduced a method to simplify the selection and installation of printer driver packages. For that they have added tags (like virtual packages or Provides:), based on the supported printer's device IDs, one patch for each printer. This they have implemented in a patch to RPM (AFAIK upstream RPM does not yet contain this feature). s-c-p sends a request to PackageKit with the device ID of the printer and package kit is supposed to request the installation of a package named by the tag based on this device ID. On Fedora or Red Hat then the desired printer driver gets installed. This idea is not implemented at all for Debian packages.
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: sessioninstaller 0.20-1 [modified: usr/share/
ProcVersionSign
Uname: Linux 2.6.35-15-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Sep 9 10:00:39 2010
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.utf8
PythonArgs: ['/usr/
SourcePackage: sessioninstaller
Title: session-installer crashed with ModifyInternalError in _install_
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
summary: |
session-installer crashed with ModifyInternalError in - _install_printer_drivers() + _install_printer_drivers() when triggered by system-config-printer |
tags: | removed: need-duplicate-check |
Changed in sessioninstaller (Ubuntu): | |
status: | New → In Progress |
Closing manually as LP's auto-closing is broken.
I have reviewed and tested the new release (0.20+bzr112- 0ubuntu1) and it fixes the reported problem. Michael, thank you for the quick fix.