Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anki start-up error after update #89

Closed
nurkittel opened this issue Apr 26, 2024 · 4 comments
Closed

Anki start-up error after update #89

nurkittel opened this issue Apr 26, 2024 · 4 comments

Comments

@nurkittel
Copy link

nurkittel commented Apr 26, 2024

Hi,

I am encountering a Anki error message right after starting Anki after the update. If I press Cancel Anki will start though. Great update! Thanks!

Error code copy:
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.4-arm64-arm-64bit

playsound is relying on a python 2 subprocess. Please use pip3 install PyObjC if you want playsound to run more efficiently.
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on ['0amboss_addon', 2023-10-17T23:29, 'None', '']
Advanced Browser ['874215009', 2023-10-21T16:34, 'None', '']
AnkiHub ['1322529746', 2024-04-18T19:32, 'None', '']
Ankimon by Unlucky-life ['1908235722', 2024-04-25T20:57, 'None', mod]
Projekt Anki Notetypes fr Ankizin Co ['2058530482', 2024-04-10T18:14, 'None', mod]
Review Heatmap ['1771074083', 2022-06-30T03:43, 'None', '']
Study Time Stats ['1247171202', 2024-02-24T17:59, 'None', '']
The KING of Button Add-ons ['374005964', 2024-01-27T11:19, 'None', '']

===IDs of active AnkiWeb add-ons===
1247171202 1322529746 1771074083 1908235722 2058530482 374005964 874215009

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Progress bar Fixed for Anki 24 by Shige ['1708250053', 2024-04-23T03:42, 'None', '']

@nurkittel nurkittel changed the title Anki programm start error after update Anki start-up error after update Apr 26, 2024
@Unlucky-Life
Copy link
Owner

Unlucky-Life commented Apr 26, 2024

@nurkittel https://github.com/Unlucky-Life/ankimon/blob/2b0067fa2fe82f09fae84e35fdf6f8fcb1f0fd18/src/Ankimon/__init__.py => replace this file with your init.py in the Ankimon folder and on the next start up set sound_effects to False => the issue is the new sound library (playsound) and it seems to be a mac specific issue. Ill try to fix it asap

Were you able to still here the sound effects after the error appeared before ?

@nurkittel
Copy link
Author

nurkittel commented Apr 26, 2024

No sound and an error message from Anki after I set sound true and did 2 cards.

Replaced the file, its working now without error. sound: false

@Unlucky-Life
Copy link
Owner

but do you here any sounds ? no right ?

@nurkittel
Copy link
Author

nurkittel commented Apr 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants