You are not logged in.
When I run anki from the terminal I get this error message.
> File “/usr/lib/python3.11/site-packages/referencing/__core.py/” line 55: field() got unexpected keyword “alias”
I don’t know why… Anki had been working for a year, but then suddenly stoppd working after I ran pacman -Syu. I installed anki from the AUR. I’ve tried reinstalling anki, and it makes no difference.
Jupyter notebook broke at the same time as well, giving the same error field() got unexpected keyword "alias".
Offline
And what was updated by your last "pacman -Syu"?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Many different things. It was a while since I had run it.
It might be qt because I get this error when I run it as well
"Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6."
Last edited by Majahabla (2023-07-30 13:34:34)
Offline
bump
Offline
pacman -Q python-attrs python-referencing
Online
bump
Don't do that. https://wiki.archlinux.org/title/Genera … es#Bumping
Offline
And? Did you try running with that environment variable set?
EDIT: also why are we being fed the error output piecemeal? I figured the error in the first post was what you actually saw. Post the complete command and output (in code tags).
Last edited by Trilby (2023-08-02 12:01:50)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This was the full error when I run anki
This was the full error when I run jupyter
I tried to run with "DISABLE_QT5_COMPAT=1". I get the exact same error.
pacman -Q python-attrs python-referencing
I get python-attrs 22.2.0-3 and python-referencing 0.30.0-1.
Offline
Remove everything you installed from pypi in your home dir. If you must use pypi, do it in a virtual environment
Online
Ok that fixed it. Thanks.
Offline