-
Notifications
You must be signed in to change notification settings - Fork 2
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
ERROR WHEN CONVERTING #1
Comments
Thanks for reporting the issue. Temporary fix:
I already got reports about this issue, basically there are incorrect comparing operators in the requirements.txt. |
Thank you for your attention, it works perfectly now... thank you very much |
sliva0
added a commit
that referenced
this issue
Aug 18, 2023
sliva0
added a commit
that referenced
this issue
Oct 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried using both on Windows, Linux and even Termux and it's not working anymore. On a cell phone that I already had installed since January it is working normally, but the new installations are giving an error
ERROR
tgradish convert -i ~/000.mp4
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts\tgradish.exe_main.py", line 4, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish_init.py", line 9, in
from .converter import CmdConfig, convert_video
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\converter.py", line 7, in
from .config_model import CmdConfig, CmdParams, ArgsPlaceholder
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\config_model.py", line 77, in
class EnumFlag(CmdFlag):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\config_model.py", line 81, in EnumFlag
@pydantic.root_validator
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic\deprecated\class_validators.py", line 222, in root_validator
return root_validator()(*__args) # type: ignore
^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic\deprecated\class_validators.py", line 228, in root_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use
@root_validator
with pre=False (the default) you MUST specifyskip_on_failure=True
. Note that@root_validator
is deprecated and should be replaced with@model_validator
.For further information visit https://errors.pydantic.dev/2.2/u/root-validator-pre-skip
tgradish convert -i 000.mp4
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts\tgradish.exe_main.py", line 4, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish_init.py", line 9, in
from .converter import CmdConfig, convert_video
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\converter.py", line 7, in
from .config_model import CmdConfig, CmdParams, ArgsPlaceholder
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\config_model.py", line 77, in
class EnumFlag(CmdFlag):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\tgradish\config_model.py", line 81, in EnumFlag
@pydantic.root_validator
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic\deprecated\class_validators.py", line 222, in root_validator
return root_validator()(*__args) # type: ignore
^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic\deprecated\class_validators.py", line 228, in root_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use
@root_validator
with pre=False (the default) you MUST specifyskip_on_failure=True
. Note that@root_validator
is deprecated and should be replaced with@model_validator
.For further information visit https://errors.pydantic.dev/2.2/u/root-validator-pre-skip
The text was updated successfully, but these errors were encountered: