Anki not working on Fossapup 64

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
devfishe
Posts: 8
Joined: Wed Jul 20, 2022 1:50 am

Anki not working on Fossapup 64

Post by devfishe »

Hi all,

I just installed fossapup 64 on my computer. I am trying to use the flashcard app Anki but the download from puppy package manager is not working. There are two other posts about this problem, one from 2013 and one from 2019. Neither of the solutions work (seems outdated). I'm curious if anyone has any experience or advice getting this working for fossapup? Whenever I type "anki" into the terminal I get the following message:
"root# anki
/usr/bin/mpv: symbol lookup error: /usr/lib/libsmbconf.so.0: undefined symbol: nt_time_to_full_timespec, version SAMBA_UTIL_0.0.1
mpv too old, reverting to mplayer
[10628:10628:0719/194756.366055:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
"
if that helps.

Thanks!

xx_T3n0ch_X
Posts: 36
Joined: Thu Jul 22, 2021 1:31 am
Has thanked: 3 times
Been thanked: 10 times

Re: Anki on fossapup 64

Post by xx_T3n0ch_X »

Hi,

uninstall the version from the repo, and just go directly to the website https://apps.ankiweb.net/, download the version with qt5 and follow the instructions

Attachments
Screenshot.gif
Screenshot.gif (99.95 KiB) Viewed 866 times
devfishe
Posts: 8
Joined: Wed Jul 20, 2022 1:50 am

Re: Anki on fossapup 64

Post by devfishe »

Thank you for your response. I uninstalled, went to the anki website and followed their instructions. It seemed to work, but when I typed anki into the terminal i got this back:

"
root# anki
Anki starting...
Initial setup...
Preparing to run...
Command 'dbus-send --session --print-reply=literal --reply-timeout=1000 --dest=org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read string:'org.freedesktop.appearance' string:'color-scheme'' returned non-zero exit status 1.
[22749:22749:0719/233754.169935:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
"

Feel like we're getting closer, but still not working. Thanks!

mow9902
Posts: 196
Joined: Fri Jul 24, 2020 11:57 pm
Has thanked: 15 times
Been thanked: 62 times

Re: Anki on fossapup 64

Post by mow9902 »

Run in from a terminal session with this command - ./anki --no-sandbox

If you want you can create a short one line script containing this command, and then just put a link on your pinboard or whatever app launcher you use.

Works fine for me.

devfishe
Posts: 8
Joined: Wed Jul 20, 2022 1:50 am

Re: Anki on fossapup 64

Post by devfishe »

That worked! One slight annoyance is that a pop-up window that says "please use file>import to import this file" shows up every time I open it. I just close it, and it doesnt seem to affect anything. I'll have more time to test it out later. Thanks for all the help!

devfishe
Posts: 8
Joined: Wed Jul 20, 2022 1:50 am

Re: Anki on fossapup 64

Post by devfishe »

Hi all,

regarding my last post, it seems like someone on fedora 35 ran into the same issue with the popup window, and was able to get rid of the message with "Exec=env QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox" anki %f"

https://forums.ankiweb.net/t/please-use ... rtup/14695

I tried that in the "arguments to pass" section in "edit item" on my desktop pin, but it doesnt seem to work. Does anyone know how to translate this to puppy linux? thanks!

mow9902
Posts: 196
Joined: Fri Jul 24, 2020 11:57 pm
Has thanked: 15 times
Been thanked: 62 times

Re: Anki not working on Fossapup 64

Post by mow9902 »

Try this -

In the program directory there is a file named "anki.desktop"

(a) Open that file in your preferred editor
(b) change line 5 from "Exec=anki %f" to "Exec=./anki %f"
(c) Save

..now just click on the file "anki.desktop".

This runs for me without the popup "import" message.

Attachments
ksnip_20220721-113809.png
ksnip_20220721-113809.png (76.4 KiB) Viewed 797 times
Post Reply

Return to “Beginners Help”