-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
pydantic.errors.PydanticUserError #769
Comments
I have the same exact error:
Fresh install as of 2 days ago for Arch after upgrading SSD. |
Same. I'm on Fedora 38
|
same on arch prolly after update
|
I'm on arch as well, downgrading just |
Traceback (most recent call last): For further information visit https://errors.pydantic.dev/2.3/u/root-validator-pre-skip |
what version did you downgrade ? thx |
|
Same issue on arch. |
worked for me tho, thanks man |
Thanks for your help. I was able to get it working by doing the following:
I also used v1.5.1 of input-remapper. I'm sure 2.0 would work just fine, but installing one using dnf and the other via pip I didn't want to mess. I'd rather roll back to what I know worked for me. Also, for some reason I had to use the commit hash instead of the v1.5.1 tag. |
I am stuck, I am having the same problem, but when trying to downgrade/install as mentioned by others above, pip gives me a warning about an externally managed environment. I tried manually downloading the older version and installing with Pacman -U still can not start the service, and get the same error messages |
@Lancaban fellow arch user here. You can try to do |
That did the trick! Thank you so much!!! |
To which upstream should this problem be reported to? Is it already reported or should some of us do that? I manage to make it work by downgrading the pydantic but I think it should only be a temporary workaround. Bests |
I'd assume that input-remapper's source code needs to |
It seems that input-remapper should adapt to the newer pydantic. But I assume that sezanzeb is not very active right now (As his profile README suggests). |
is it possible to have the old pydantic installed via pip and the new one via package manager at the same time or will it conflict? |
I think it is possible if you create manually a venv for pydantic and specify that python version as the starting env for input-remapper. I don't need it right now since I don't have something rely on pydantic right now. You might have a try, I don't think it would be a problem. |
Everyone is welcome to try #773, it works with both pydantic v1 and v2. |
Edit: Just rebuild the package, no need to patch. For Arch users, add this to PKGBUILD:
|
If I ran the |
@SuperJugy run this (if you are using Arch):
|
i've got the same issue on arch, downgrading pydantic from cache works well for me:
|
To help people understand your problems, run
sudo pkill -f input-remapper && input-remapper-gtk -d
, reproduce the problem and then share the output here:I obtain this error when starting input-remapper-control. I can't use as well
input-remapper-control -h
. This is built from head on git via this AUR package on Arch Linux, aur.archlinux.org/packages/input-remapper-git.The text was updated successfully, but these errors were encountered: