python3-request lib crash system-config-printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
requests (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ubuntu mate 15.10
amd64
system-
Traceback (most recent call last):
File "/usr/share/
import cupshelpers
File "/usr/lib/
from . import openprinting
File "/usr/lib/
import requests, urllib.request, urllib.parse, urllib.error, platform, threading, tempfile, traceback
File "/usr/lib/
from .api import request, get, head, post, patch, put, delete, options
File "/usr/lib/
from . import sessions
File "/usr/lib/
from .adapters import HTTPAdapter
File "/usr/lib/
from .packages.
ImportError: cannot import name 'ResponseError'
possible solution
1) comment line 29 and coresponding line in adapters.py where ResponseError is used.
2) fix urllib3.exceptions by adding ResponseError class
the affected packages are: python-requests python-urllib3, system- config- printers.