FS#52903 - Anki in [community] is updated to alpha version

Attached to Project: Community Packages
Opened by suawekk (suawekk) - Wednesday, 08 February 2017, 17:28 GMT
Last edited by Balló György (City-busz) - Friday, 10 February 2017, 15:01 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Anki in [community] repo was updated to alpha release not intended for regular use.

Problems I'm aware of are:

1 After upgrading I noticed that new version uses different path for profiles created by app - and in turn showing blank profile instead of recently opened profile etc.
2. Plugins won't work because 2.1.x release is written in python 3.x and most useful plugins weren't ported to 3.x yet.

Only upside of having newer version is that it doesn't depend on deprecated qt-webkit.
I'd like to ask whether it's possible to revert package to last stable version so people can continue to use stable version.


Additional info:
Anki version as reported by pacman:

Name : anki
Version : 2.1.0a10-1
Description : Helps you remember facts (like words/phrases in a foreign language) efficiently
Architecture : any
URL : http://ankisrs.net/
Licenses : AGPL3
Groups : None
Provides : None
Depends On : qt5-webengine python-beautifulsoup4 python-pyaudio python-pyqt5 python-requests python-send2trash
Optional Deps : lame: record sound [installed]
mplayer: play sound [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 9.26 MiB
Packager : Balló György <ballogyor+arch@gmail.com>
Build Date : Tue 07 Feb 2017 11:27:55 PM CET
Install Date : Wed 08 Feb 2017 06:11:37 PM CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature


Steps to reproduce:
Upgrade Anki to 2.1
This task depends upon

Closed by  Balló György (City-busz)
Friday, 10 February 2017, 15:01 GMT
Reason for closing:  Implemented
Additional comments about closing:  anki package is removed from the official repositories. The stable version is insecure, the alpha version is unstable.
Comment by Yuri Bochkarev (balta2ar) - Wednesday, 08 February 2017, 18:59 GMT
I'm having exactly the same issue. I noticed they are using "prefs21.db" as a preferences DB. Unfortunately, renaming the old prefs.db to prefs21.db only makes Anky blow up upon startup as databases seem to be incompatible. But even if they were compatible, again, plugins are not yet ported which is a show stopper to me.

I had to rollback as follows:
sudo pacman -U pyqt4-common-4.12-1-x86_64.pkg.tar.xz \
python-pyqt4-4.12-1-x86_64.pkg.tar.xz \
python2-pyqt4-4.12-1-x86_64.pkg.tar.xz \
anki-2.0.41-1-any.pkg.tar.xz
Comment by Balló György (City-busz) - Wednesday, 08 February 2017, 23:33 GMT
QtWebkit will be removed very soon from the official repositories, because it's insecure, so we can't keep the current stable release of Anki.

If you want to keep the old, insecure version, you can add anki to the IgnorePkg= line in your /etc/pacman.conf file. Or you can upload the old version to AUR.
Comment by Johannes Pfau (jpf) - Thursday, 09 February 2017, 10:20 GMT
I totally understand why this update is necessary, but unfortunately the alpha seems to break quite some things. For example after the update anki forgot the ankiweb credentials. When entering these it tried to synchronize, but synchronizing always failed with some SQLite error. I then tried to export the database from AnkiDroid and import the database in anki but this also did not work in the alpha. I even managed to upload a empty deck from the alpha version to ankiweb which then caused AnkiDroid to fail synchronizing....

In the end I downgraded to the latest stable version, successfully imported the database originally exported via AnkiDroid and force uploaded that to AnkiWeb. Now everything is working fine again ;-)
Comment by Balló György (City-busz) - Thursday, 09 February 2017, 11:00 GMT Comment by suawekk (suawekk) - Thursday, 09 February 2017, 12:19 GMT
I created AUR package `anki20` with Anki 2.0.41 PKGBUILD copied from [community] repo

Loading...