Bug 25526 - Dependency not installed with Anki
Summary: Dependency not installed with Anki
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Rémi Verschelde
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-10-04 15:16 CEST by Nicolas Costes
Modified: 2019-10-13 20:58 CEST (History)
4 users (show)

See Also:
Source RPM: anki-2.1.15-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Costes 2019-10-04 15:16:42 CEST
Launching Anki leads to an error message in the terminal :

$ anki -l fr

/usr/lib/python3.7/site-packages/bs4/element.py:16: UserWarning: The soupsieve package is not installed. CSS selectors cannot be used.
  'The soupsieve package is not installed. CSS selectors cannot be used.'
[...]
JS error on line 1: Uncaught ReferenceError: $ is not defined


Version-Release number of selected component (if applicable):

Mageia 7, anki-2.1.15-1.mga7



Resolution : I manually installed python3-soupsieve, the message disappeared : 

# urpmi python3-soupsieve
Comment 1 Lewis Smith 2019-10-10 10:50:06 CEST
Thank you NicolasC for reporting this, the problem & its resolution.
Confirmed that
 $ urpmq --requires anki
does *not* show python3-soupsieve; conversely:
 $ urpmq --whatrequires-recursive python3-soupsieve
shows that nothing [so far] requires it!

Assigning to akien for 'anki'.

Source RPM: (none) => anki-2.1.15-1.mga7.src.rpm
Assignee: bugsquad => rverschelde

Comment 2 Nicolas Costes 2019-10-10 11:03:22 CEST
Update : later I was able to (re-)install Anki without python3-soupsieve, it worked and I did not get the error message.
Comment 3 Rémi Verschelde 2019-10-10 11:08:39 CEST
It seems it was fixed in Cauldron by David Geiger, referencing this issue, but he did not comment here :) http://svnweb.mageia.org/packages?view=revision&revision=1449329

Now pushed the same fix as an update candidate for Mageia 7.

Advisory:
=========

Updated anki package adds missing dependency

  Anki requires the python3-soupsieve dependency to start, which is now added by
  this update.


RPM in core/updates_testing:
============================

anki-2.1.15-1.1.mga7

SRPM in core/updates_testing:
=============================

anki-2.1.15-1.1.mga7

CC: (none) => geiger.david68210
QA Contact: (none) => rverschelde
Assignee: rverschelde => qa-bugs

Comment 4 Rémi Verschelde 2019-10-10 11:13:41 CEST
(In reply to Nicolas Costes from comment #2)
> Update : later I was able to (re-)install Anki without python3-soupsieve, it
> worked and I did not get the error message.

Actually I misread indeed, what you had was just a warning and not having soupsieve should not prevent anki from starting.

The problem is:

  JS error on line 1: Uncaught ReferenceError: $ is not defined

and it should be unrelated to the above warning.

We can still push this update candidate as a enhancement to fix CSS selectors, but it would be good to find out what caused this JS error and what solved it.
Comment 5 Nicolas Costes 2019-10-11 09:16:47 CEST
True, Anki is still starting correctly without "python3-soupsieve-1.9.1-2.mga7.noarch". I am currently using Anki Version 2.0.52.
Comment 6 Herman Viaene 2019-10-12 14:18:13 CEST
MGA7-64 Plasma on Lenovo B50
No installation issues. soupsieve is in the dependencies.
Choose Dutch as language, but no sets available for Dutch
Downloaded and installed a French set, anki opens up OK, I can import the set, and it opens, but then I am at a loss what I can/should do at its interface. Didn't bother to look for help, the package seems to be OK, opening its different menus.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => herman.viaene

Thomas Backlund 2019-10-13 20:22:51 CEST

Keywords: (none) => advisory, validated_update
CC: (none) => tmb, sysadmin-bugs

Comment 7 Mageia Robot 2019-10-13 20:58:25 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0159.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.