variety not loading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
New
|
Undecided
|
Unassigned |
Bug Description
I've noticed that variety is refusing to load after rebooting (I have it in my startup applications). Attempting to run it from the terminal gives me the following:
myuser@machine:~$ variety
/usr/lib/
from gi.repository import Gtk, Gdk, GObject # pylint: disable=E0611
Traceback (most recent call last):
File "/usr/bin/variety", line 38, in <module>
import variety
File "/usr/lib/
from variety import VarietyWindow
File "/usr/lib/
from variety.
File "/usr/lib/
from variety.Util import Util
File "/usr/lib/
import requests
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 NewConnectionError
After seeing that other bugs had been reported (Bug #1609548 at https:/ /bugs.launchpad .net/variety/ +bug/1609548 specifically), I attempted to install/verify if the solution proposed there would help me.
python-openssl was removed, installed requests==2.6.0 using pip, then re-installed python-openssl. as proposed in http:// stackoverflow. com/questions/ 28987891/ patch-pyopenssl -for-sslv3- issue
No change, variety still had same error.
Noticed that urllib3 was version 1.10.4; upgraded to 1.13.1, and variety started up from terminal. I killed that process, and started it up by icon. All seems fixed now.
I suggest that requirements include urllib3 1.13.1 and requests==2.6.0