[SOLVED] Help with Anki error (Using Slackbuilds for 15)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This would be related to the recent upgrades to Flask, click, and werkzeug and I just started looking into it yesterday.
I'm putting together a patch to send to the maintainer already, but here's the notes:
-there's a switch to python3 only
-Flask-Cors needs updating and (will be uploaded today)
-anki DEPs changed to python3-waitress and adding protobuf3
-there's a 3rd DEP it's asking for but no slackbuild exists yet (orjson), luckily it runs without it
This would be related to the recent upgrades to Flask, click, and werkzeug and I just started looking into it yesterday.
I'm putting together a patch to send to the maintainer already, but here's the notes:
-there's a switch to python3 only
-Flask-Cors needs updating and (will be uploaded today)
-anki DEPs changed to python3-waitress and adding protobuf3
-there's a 3rd DEP it's asking for but no slackbuild exists yet (orjson), luckily it runs without it
Once those are in place it should work again.
Thank you sir for elucidation. I will probably wait then as I lack the technicalities to sort it out myself. But, I do understand things changed. Thanks.
Thank you sir for elucidation. I will probably wait then as I lack the technicalities to sort it out myself. But, I do understand things changed. Thanks.
Sorry for being so technical, I've been in the weeds of testing those upgrades and finding what is broken and/or missing.
More clearly put...to get anki working:
-install the updated python3-Flask-Cors when it's available
-install python3-waitress
-install protobuf3
Last edited by fourtysixandtwo; 05-21-2022 at 11:33 AM.
Reason: corrected as the slackbuild name changed
As noted on the mailing list, there is another python2 package installed as a dependency that may cause problems (it did not in my rudimentary test). It overwrites a file from python-markdown which is included in Slackware 15.
As noted on the mailing list, there is another python2 package installed as a dependency that may cause problems (it did not in my rudimentary test). It overwrites a file from python-markdown which is included in Slackware 15.
The current updated queue for Slackware 15 built perfectly. This particular package didn't change anything yet. Anki starts and runs fine. Should I still do it though for other packages?
The current updated queue for Slackware 15 built perfectly. This particular package didn't change anything yet. Anki starts and runs fine. Should I still do it though for other packages?
It's best to fix it now as it might affect things in a more subtle way. Plus the Markdown package will not be removed or the conflicting file fixed any other way until or if python-markdown gets upgraded/patched with a Slackware update.
The list of slackbuilds that use the old python2 Markdown build is small and shrinking so you're unlikely to cause any other issues.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.