You are not logged in.

#1 2024-12-25 23:56:15

qz
Member
Registered: 2023-05-02
Posts: 9

[SOLVED] anki-bin package broken ?

Hi, today I did a system upgrade. This upgrade apparently broke the anki-bin package as I used it yesterday just fine.
Trying to start anki throws this error message

Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
ModuleNotFoundError: No module named 'aqt'

I have no idea how to fix this. Please help, I have to learn my dutch vocabulary ^^

Last edited by qz (2024-12-26 00:22:57)

Offline

#2 2024-12-26 00:02:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

You are responsible for rebuilding AUR packages when they need to be, including after a python update.

Offline

#3 2024-12-26 00:07:18

qz
Member
Registered: 2023-05-02
Posts: 9

Re: [SOLVED] anki-bin package broken ?

I upgraded with yay, so anki-bin was rebuilt.

Offline

#4 2024-12-26 00:14:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

yay doesn't work like that.

Offline

#5 2024-12-26 00:15:18

qz
Member
Registered: 2023-05-02
Posts: 9

Re: [SOLVED] anki-bin package broken ?

Rebuilding manually didn't work either

Offline

#6 2024-12-26 00:16:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

Built with makepkg and installed with pacman?

Offline

#7 2024-12-26 00:21:00

qz
Member
Registered: 2023-05-02
Posts: 9

Re: [SOLVED] anki-bin package broken ?

I fucked up rebuilding. It works now. Sorry for wasting your time ._.

Offline

#8 2024-12-29 10:22:52

Koko210
Member
Registered: 2024-08-12
Posts: 11

Re: [SOLVED] anki-bin package broken ?

Apologies for posting in a solved issue, but I have also been facing the same issue for a few days now. I did try to clean build with yay, then manually and then even in a clean chroot with the wiki instructions. No dice, though.

Any ideas or any information I could provide?

It appears it is a known issue, when I look at the comments under the AUR package, so I'm not sure how OP got it working in the first place.

Offline

#9 2024-12-29 12:18:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

There are no comments saying this is a known issue. Do you have the same issue or something different?

Offline

#10 2024-12-29 12:26:15

Koko210
Member
Registered: 2024-08-12
Posts: 11

Re: [SOLVED] anki-bin package broken ?

Am I misunderstanding something? There are comments discussing issues with aqt and how the package installs Anki. The Anki forum also discusses something like this.

The issue I am having is the same as OP's initial one with the same error output.

Offline

#11 2024-12-29 12:27:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

What's the output of pacman -Ql anki-bin?

Offline

#12 2024-12-29 12:34:13

Koko210
Member
Registered: 2024-08-12
Posts: 11

Re: [SOLVED] anki-bin package broken ?

It is quite long, so I hope you don't mind me posting it in a pastebin:

https://0x0.st/8sfK.ql

Last edited by Koko210 (2024-12-29 12:53:31)

Offline

#13 2024-12-29 12:38:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: [SOLVED] anki-bin package broken ?

So it has been properly rebuilt against 3.13. What's the output of `type python3`?

Offline

#14 2024-12-29 12:39:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,178

Re: [SOLVED] anki-bin package broken ?

Please use a different pastebin service, see https://wiki.archlinux.org/title/List_o … n_services


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#15 2024-12-29 12:53:05

Koko210
Member
Registered: 2024-08-12
Posts: 11

Re: [SOLVED] anki-bin package broken ?

Scimmia wrote:

So it has been properly rebuilt against 3.13. What's the output of `type python3`?

Thank you for pointing me in the right direction. My problem is solved now. The output of `type python3` was:

python3 is /home/linuxbrew/.linuxbrew/bin/python3

Immediately I realized I had some sort of linuxbrew path I wasn't even aware of. Probably something I neglected to remove a long long time ago. Removed that directory entirely and `type python3` now points to my actual home and anki-bin launches.

Lone_Wolf wrote:

Please use a different pastebin service.

Apologies. Thank you for letting me know. I will edit my post and change the link.

Offline

Board footer

Powered by FluxBB