Skip to content

Conversation

@xmoforf
Copy link

@xmoforf xmoforf commented May 27, 2025

not sure if anyone is on the other end here, but just a tiny fix.

@xmoforf
Copy link
Author

xmoforf commented May 27, 2025

Yuuno loads with some warnings as well. I may try to fix it, but if anyone is listening I thought i'd drop it here. Looks like:

  • A warning about pkg_resources deprecation
  • Looks like log level was missing in a MessageLevel object.
[/home/user/venv/lib/python3.13/site-packages/yuuno/autodiscover.py:18](https://vs.example.org/lab/tree/projects/venv/lib/python3.13/site-packages/yuuno/autodiscover.py#line=17): UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
During logging of a vapoursynth-message, this exception occured:
Traceback (most recent call last):
  File "[/home/user/venv/lib/python3.13/site-packages/yuuno/vs/extension.py", line 165](https://vs.example.org/lab/tree/projects/venv/lib/python3.13/site-packages/yuuno/vs/extension.py#line=164), in _on_vs_log
    cb(level, message)
    ~~^^^^^^^^^^^^^^^^
  File "[/home/user/venv/lib/python3.13/site-packages/yuuno_ipython/ipy_vs/log.py", line 61](https://vs.example.org/lab/tree/projects/venv/lib/python3.13/site-packages/yuuno_ipython/ipy_vs/log.py#line=60), in _push_log_msg
    level = level.value
            ^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'value'

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

Successfully merging this pull request may close these issues.

1 participant