Anki - Flash Card program to help studying ;-)
Anki - Flash Card program to help studying ;-)
Hi,
could somebody help us to have this Anki program as a Porteus module ?
http://ankisrs.net/
It is a Flash Card program allowing to study (langages, ...).
Sincerely thanks and have a nice day,
Miguipda ;-)
could somebody help us to have this Anki program as a Porteus module ?
http://ankisrs.net/
It is a Flash Card program allowing to study (langages, ...).
Sincerely thanks and have a nice day,
Miguipda ;-)
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
10 years later, may I repeat this request. The modules built by getmod or pmod both lack certain python libraries and are older anyway that the latest version on https://apps.ankiweb.net/ (need Qt5 version please) so anki-2.1.65-linux-qt5.tar.zst It has an install.sh but I'm afraid of running it: it'll "install" into my changes but I want a module. If anyone could help please or teach it'd be great.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Anki - Flash Card program to help studying ;-)
Make a backup of your changes file/folder, do the "install", test it. If the test fails, restore the backups.
Ed
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
OK, it won't run anyway under root, so it's a dead end:
There is nothing to be done, no more time to be wasted on this.
Code: Select all
root@porteus:/tmp/anki-2.1.65-linux-qt5# anki --no-sandbox
Anki starting...
Initial setup...
Preparing to run...
[7820:7820:0706/223501.758486:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Anki - Flash Card program to help studying ;-)
You should have read the webpage linked in the error msg.
ngscripts commented on Jun 19, 2022 wrote:Code: Select all
args: ['--no-sandbox'] This worked for me by adding args
Ed
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
No, it doesn't work for me anyway:
Code: Select all
root@porteus:/tmp/anki-2.1.65-linux-qt5# anki args: ['--no-sandbox']
Anki starting...
Initial setup...
Preparing to run...
[7611:7611:0707/213307.048151:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Anki - Flash Card program to help studying ;-)
Did you try:
anki args: --no-sandbox
And if that failed I would try:
anki args --no-sandbox
anki args: --no-sandbox
And if that failed I would try:
anki args --no-sandbox
Ed
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
Ed_P, None of those work. Let me know if you discover a way to pass that parameter to anki that actually works. Ttop making me do random things Anki is broken for root. Case closed. For now.
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Anki - Flash Card program to help studying ;-)
No problem. Since I have no interesting in Anki I won't be testing or offering any more suggestions.
Ed
Anki - Flash Card program to help studying ;-)
the sh.install of anki you have to run it as root with sudo, and the path is /usr/local but every day use you have to run it as guest,
-
- Contributor
- Posts: 676
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Anki - Flash Card program to help studying ;-)
or as root: (without installing (copying) anki files)
Code: Select all
su -l guest -c /mnt/sdb3/data/x86_64-packages/anki-2.1.65-linux-qt5/anki
You have mind and feelings. Be wise and clever.
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
tome, yes, thanks -- the weird things they make us do sometimes, but yes running under guest works, and with either Qt5 or Qt6 because the binary package includes the whole Qt subsystem it needs. Of course, it'll be placing its data and config under /home/guest. But we can run it in a half-portable mode like this (see https://docs.ankiweb.net/files#startup-options), (it still writes something less important in /home/guest):
-- and you're right , no need to "install.sh" it as it's already hacky anyway -- just unzip the archive.
Code: Select all
root@porteus:~# su -l guest -c "/tmp/anki-2.1.65-linux-qt5/anki -b /P/Anki"
Anki starting...
Initial setup...
Preparing to run...
Starting main loop...
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Anki - Flash Card program to help studying ;-)
This thread continues with some repetition over at: Anki: improving memory -- please don't post here, unless an actual xzm is produced (which is unlikely to happen as this is one of those AppImage-like all-inclusive bundles)