Variety does not start with Ubuntu! I like variety very very much! Please urgent help!

Bug #1756749 reported by Umut Kılıç
This bug report is a duplicate of:  Bug #1603299: Crash with latest html5lib. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Variety
Opinion
Undecided
Unassigned

Bug Description

I'm using variety for a few weeks and i like it a lot.Everything was amazing but when i started my pc today (apx. 30 mins ago) i noticed that variety did not start)

No matter what i do, it does not start.I uninstalled, reinstalled, uninstalled again, restarted 10 times etc.

The only thing happens is whenever i run variety, i see the little icon of variety on my taskbar, it's blinking for a few seconds and then it disappears like i never run the program.

Please direct me if i need to do anything, and help me as soon as possible!

Notes:
1) I have the latest version of variety but don't know its number.
2) I'm using Ubuntu 16.04
4) when i run the command i get this error:
   "bash: /opt/extras.ubuntu.com/variety/bin/variety: No such file or directory"
5) I can't run the program.

Best regards to great variety team!
Thanks,

Umut.

Revision history for this message
James Lu (jlu5) wrote :

Hi,

What steps are you taking to install variety? The latest releases from Ubuntu repos and the PPA install variety in /usr/bin/variety, so just typing "variety" to start it should suffice.

James Lu (jlu5)
Changed in variety:
status: New → Incomplete
Revision history for this message
Umut Kılıç (stockfishtr) wrote :

Hello James,

First of all thank you for fast answer!

This is the output when i write variety:

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

I'd tried to install variety both via terminal and ubuntu software center.None of them is working right now.

Could you please lead me about what im supposed to do, step by step?

Best Regards,
Umut.

Revision history for this message
James Lu (jlu5) wrote :

This is https://bugs.launchpad.net/bugs/1603299 - you may be able to work around it by upgrading bs4 via pip: pip install --upgrade beautifulsoup4

Unfortunately this is a bug in a dependency library variety uses, and not a problem in the program itself. Judging by that bug report it looks like there is little interest in backporting a fixed bs4 to xenial, to which there's little I can do.

Changed in variety:
status: Incomplete → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.