Posts: 1
Joined: Mon Apr 24, 2017 11:54 pm

Variety does not start.

Fri Feb 16, 2018 10:55 pm

After the last update of Solus, the Variety program (which changes the wallpaper automatically) stopped working. When starting Variety through the terminal the error is as follows:

user @ PC ~ $ variety
Traceback (most recent call last):
File "/ usr / bin / variety", line 38, in <module>
import variety
File "/usr/lib/python2.7/site-packages/variety/", line 111, in <module>
from variety import VarietyWindow
File "/usr/lib/python2.7/site-packages/variety/", line 22, in <module>
from variety.FacebookHelper import FacebookHelper
File "/usr/lib/python2.7/site-packages/variety/", line 55, in <module>
from variety.Util import Util
File "/usr/lib/python2.7/site-packages/variety/", line 16, in <module>
import bs4
File "/usr/lib/python2.7/site-packages/bs4/", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/usr/lib/python2.7/site-packages/bs4/builder/", line 314, in <module>
from import _html5lib
File "/usr/lib/python2.7/site-packages/bs4/builder/", line 70, in <module>
class TreeBuilderForHtml5lib (html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'

To solve this error, just downgrade html5lib:

sudo pip install --upgrade html5lib == 1.0b8

Hope it helps anyone with the same problem.

Development Team
Posts: 2974
Joined: Sun Mar 13, 2016 11:35 pm

Re: Variety does not start.

Wed Feb 21, 2018 11:40 pm

Bug reports best go on

This is resolved by updating python-beautifulsoup4, which is the error in the output

Return to “Tutorials”