Variety won't launch : AttributeError: 'module' object has no attribute '_base'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I've used variety without problem for monthes. Since yesterday I noticed it won't launch anymore.
I tried updating variety with apt-get update, apt-get install variety but it didn't fix the problem.
The version I have is : Package: variety
Version: 0.6.3-5~bpo8+1
I'm using debian Jessie 64 bits on a core i5.
The desktop environment is Cinnamon.
Here's what I get in the console when executing variety :
I add exactly the same output before updating. I installed it in january from the same way (as described on the main page).
Have a nice day !
$ variety -v
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 bs4
File "/usr/lib/
from .builder import builder_registry, ParserRejectedM
File "/usr/lib/
from . import _html5lib
File "/usr/lib/
class TreeBuilderForH
AttributeError: 'module' object has no attribute '_base'
Here is the package I installed :
$ sudo apt-cache show variety
Package: variety
Version: 0.6.3-5~bpo8+1
Installed-Size: 2253
Maintainer: James Lu <email address hidden>
Architecture: all
Depends: python (>= 2.7), python (<< 2.8), python2.7:any, gir1.2-notify-0.7, python-configobj, python-pyexiv2, python-pycurl, gir1.2-gtk-3.0, python-dbus, python-requests, gir1.2-pango-1.0, gir1.2-glib-2.0, python-imaging, python-cairo, gir1.2-
Recommends: yelp
Suggests: feh
Description-en: Wallpaper changer, downloader and manager
Variety is an open-source wallpaper changer, downloader, and manager for
Linux. It supports a variety of sources for wallpapers, including local
files, online services such as Flickr, Wallhaven.cc, NASA Astronomy Picture
of the Day, Desktoppr.co, and media RSS feeds (Picasa, deviantART, etc.).
Description-md5: 702176eb2547caf
Homepage: http://
Python-Version: 2.7
Section: graphics
Priority: optional
Filename: pool/main/
Size: 608926
MD5sum: cac726b78ca6e32
SHA1: 6b8c75043e6eda0
SHA256: 2f2216849d8ad38
Hi,
You may be able to work around this issue by running 'pip install
beautifulsoup4': this will fetch a version of bs4 that's compatible with
new versions of html5lib.
Best,
James
On Jul 23, 2017 5:27 PM, "qkzk" <email address hidden> wrote:
> Public bug reported: python2. 7/dist- packages/ variety/ __init_ _.py", line 110, python2. 7/dist- packages/ variety/ VarietyWindow. py", line FacebookHelper import FacebookHelper python2. 7/dist- packages/ variety/ FacebookHelper. py", line python2. 7/dist- packages/ variety/ Util.py" , line 16, in python2. 7/dist- packages/ bs4/__init_ _.py", line 30, in arkup python2. 7/dist- packages/ bs4/builder/ __init_ _.py", line python2. 7/dist- packages/ bs4/builder/ _html5lib. py", line tml5lib( html5lib. treebuilders. _base.TreeBuild er): gdkpixbuf- 2.0, appindicator3- 0.1, imagemagick, 9f7a92552451a37 02 peterlevi. com/variety/ v/variety/ variety_ 0.6.3-5~ bpo8+1_ all.deb
>
> Hi,
>
> I've used variety without problem for monthes. Since yesterday I noticed
> it won't launch anymore.
>
> I tried updating variety with apt-get update, apt-get install variety
> but it didn't fix the problem.
>
> The version I have is : Package: variety
> Version: 0.6.3-5~bpo8+1
> I'm using debian Jessie 64 bits on a core i5.
> The desktop environment is Cinnamon.
>
> Here's what I get in the console when executing variety :
>
> I add exactly the same output before updating. I installed it in january
> from the same way (as described on the main page).
>
> Have a nice day !
>
> $ variety -v
> Traceback (most recent call last):
> File "/usr/bin/variety", line 38, in <module>
> import variety
> File "/usr/lib/
> in <module>
> from variety import VarietyWindow
> File "/usr/lib/
> 24, in <module>
> from variety.
> File "/usr/lib/
> 55, in <module>
> from variety.Util import Util
> File "/usr/lib/
> <module>
> import bs4
> File "/usr/lib/
> <module>
> from .builder import builder_registry, ParserRejectedM
> File "/usr/lib/
> 311, in <module>
> from . import _html5lib
> File "/usr/lib/
> 57, in <module>
> class TreeBuilderForH
> AttributeError: 'module' object has no attribute '_base'
>
>
> Here is the package I installed :
>
>
> $ sudo apt-cache show variety
> Package: variety
> Version: 0.6.3-5~bpo8+1
> Installed-Size: 2253
> Maintainer: James Lu <email address hidden>
> Architecture: all
> Depends: python (>= 2.7), python (<< 2.8), python2.7:any,
> gir1.2-notify-0.7, python-configobj, python-pyexiv2, python-pycurl,
> gir1.2-gtk-3.0, python-dbus, python-requests, gir1.2-pango-1.0,
> gir1.2-glib-2.0, python-imaging, python-cairo, gir1.2-
> python-bs4, gir1.2-webkit-3.0, gir1.2-
> python-gi-cairo
> Recommends: yelp
> Suggests: feh
> Description-en: Wallpaper changer, downloader and manager
> Variety is an open-source wallpaper changer, downloader, and manager for
> Linux. It supports a variety of sources for wallpapers, including local
> files, online services such as Flickr, Wallhaven.cc, NASA Astronomy
> Picture
> of the Day, Desktoppr.co, and media RSS feeds (Picasa, deviantART, etc.).
> Description-md5: 702176eb2547caf
> Homepage: http://
> Python-Version: 2.7
> Section: graphics
> Priority: optional
> Filename: pool/main/
> Size: ...