Description of problem: I have a python program that uses pyglet to put graphics on the screen and play sounds. This worked fine on earlier versions of fedora, but seems to have stopped working. Version-Release number of selected component (if applicable): Name : python3-pyglet Version : 1.5.16 Release : 5.fc36 Architecture: noarch How reproducible: every time Steps to Reproduce: 1. start a python3 instance in a terminal 2. import pyglet, no issues 3. sound = pyglet.media.load("[path to some audio file]") 4. sound.play () # doesn't get here, above step hangs Actual results: hang with errors as follows lilv_plugin_load_ports_if_necessary(): error: Plugin <http://home.gna.org/lv2vocoder/1> port symbol `600' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-1_pi#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-2_pi#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-2_sqrtpi#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-e#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-ln10#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-ln2#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-log10e#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-log2e#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-pi#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-pi_2#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-pi_4#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-sqrt1_2#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (382controlOutputPort. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-constant-sqrt2#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-abs#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-abs-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-acos#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-acos-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-asin#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-asin-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-atan#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-atan-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-atan2#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-atan2-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-ceil#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-ceil-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-cos#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-cos-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-cosh#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-cosh-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-exp#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-exp-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-floor#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-floor-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-fmod#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-fmod-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-log#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-log-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-log10#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-log10-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-pow#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort2. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-pow-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sin#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sin-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sinh#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sinh-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sqrt#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-sqrt-ctrl#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383audioOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-tan#0> port symbol `(null)' is invalid lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#index ...) property lilv_plugin_get_unique(): error: No value found for (383controlOutputPort1. http://lv2plug.in/ns/lv2core#symbol ...) property lilv_plugin_load_ports_if_necessary(): error: Plugin <http://ll-plugins.nongnu.org/lv2/math-function-tan-ctrl#0> port symbol `(null)' is invalid error: failed to expand CURIE `foaf:name' error: /usr/lib64/lv2/newtonator.lv2/newt_lv2_instr.ttl:15:31: expected `]', not `;' lilv_world_load_file(): error: Error loading file `file:///usr/lib64/lv2/newtonator.lv2/newt_lv2_instr.ttl' sys:1: Warning: type name '-a-png-encoder-pred' contains invalid characters sys:1: Warning: g_type_set_qdata: assertion 'node != NULL' failed Expected results: sound plays Additional info: The errors from lilv were present even before it stopped working. A Ctrl-C, used to break out, and then the next run would succeed. Now it hangs. When I looked into the pyglet code, it looks like it uses 'pulse' on linux. However, fedora has moved to pipewire, and I'm thinking that the api is not exactly the same as pyglet expects it to be. It's possible this is a degradation of the initialization configuration in lilv, to the point where it hangs. I'm not sure, but I thought I would start with pyglet.
I cannot reproduce this on my Thinkpad X1 Carbon with Fedora 36 and /usr/share/sounds/purple/alert.wav Can you reproduce this with /usr/share/sounds/purple/alert.wav ? It is in the libpurple package.
I run an older built from parts desktop and I just reproduced on fully updated rawhide with >>> import pyglet >>> sound = pyglet.media.load ("/usr/share/sounds/purple/alert.wav") Since the initial errors were the same, I'm not repeating them here to save space and network bandwidth. However, I now get additional error information, Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pyglet/__init__.py", line 342, in __getattr__ return getattr(self._module, name) AttributeError: 'NoneType' object has no attribute 'load' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/site-packages/pyglet/__init__.py", line 348, in __getattr__ __import__(import_name) File "/usr/lib/python3.10/site-packages/pyglet/media/__init__.py", line 143, in <module> add_default_media_codecs() File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 102, in add_default_media_codecs if have_ffmpeg(): File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 118, in have_ffmpeg from . import ffmpeg_lib File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/__init__.py", line 36, in <module> from .libavcodec import * File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 46, in <module> from . import libavutil File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 206, in <module> avutil.av_frame_get_best_effort_timestamp.restype = c_int64 File "/usr/lib64/python3.10/ctypes/__init__.py", line 387, in __getattr__ func = self.__getitem__(name) File "/usr/lib64/python3.10/ctypes/__init__.py", line 392, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /lib64/libavutil.so.57: undefined symbol: av_frame_get_best_effort_timestamp >>> Exception ignored in atexit callback: <function _delete_audio_driver at 0x7efd97f7e050> Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pyglet/media/drivers/__init__.py", line 103, in _delete_audio_driver from .. import Source File "/usr/lib/python3.10/site-packages/pyglet/media/__init__.py", line 143, in <module> add_default_media_codecs() File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 102, in add_default_media_codecs if have_ffmpeg(): File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 118, in have_ffmpeg from . import ffmpeg_lib File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/__init__.py", line 36, in <module> from .libavcodec import * File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 46, in <module> from . import libavutil File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 206, in <module> avutil.av_frame_get_best_effort_timestamp.restype = c_int64 File "/usr/lib64/python3.10/ctypes/__init__.py", line 387, in __getattr__ func = self.__getitem__(name) File "/usr/lib64/python3.10/ctypes/__init__.py", line 392, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /lib64/libavutil.so.57: undefined symbol: av_frame_get_best_effort_timestamp I wonder if this is an X problem, since I am running LXDE, so Xorg, not XWayland or wayland? And I am running python3 in a konsole session. I hacked (ugly) the application that is failing to skip any sound use, and it runs fine with pyglet once I do that. So, pyglet is working fine except for this. version of lilv being used: Name : lilv Version : 0.24.12 Release : 5.fc37 Architecture: x86_64 These are the lv2 packages I have installed: lsp-plugins-lv2-1.2.0-1.fc37.x86_64 lv2-1.18.2-2.fc36.x86_64 lv2-abGate-1.2.0-3.fc36.x86_64 lv2-calf-plugins-0.90.3-11.fc36.x86_64 lv2-carla-2.4.3-1.fc37.x86_64 lv2-c++-tools-1.0.5-13.fc36.x86_64 lv2-c++-tools-devel-1.0.5-13.fc36.x86_64 lv2-devel-1.18.2-2.fc36.x86_64 lv2-drumkv1-0.9.23-3.fc36.x86_64 lv2dynparam-2-24.fc36.x86_64 lv2-fabla-1.3.2-0.5.20181215gitabeb3e9.fc36.x86_64 lv2-invada-plugins-1.2.0-26.fc36.x86_64 lv2-ll-plugins-0.2.8-31.fc36.x86_64 lv2-mdala-plugins-1.2.6-4.fc36.x86_64 lv2-newtonator-0.6.0-24.fc36.x86_64 lv2-samplv1-0.9.23-3.fc36.x86_64 lv2-sorcer-1.1.3-0.3.20171126git0a8cef4.fc36.x86_64 lv2-swh-plugins-1.0.15-14.20150723.5098e09git.fc36.x86_64 lv2-synthv1-0.9.25-1.fc37.x86_64 lv2-vocoder-plugins-1-26.fc36.x86_64 lv2-x42-plugins-0.18.0-0.1.20220327.fc37.x86_64 lv2-zam-plugins-3.14-4.fc36.x86_64 lv2-zynadd-plugins-1-27.fc36.x86_64 Pipewire packages: pipewire0.2-devel-0.2.7-7.fc36.x86_64 pipewire0.2-libs-0.2.7-7.fc36.x86_64 pipewire-0.3.50-1.fc37.x86_64 pipewire-alsa-0.3.50-1.fc37.x86_64 pipewire-codec-aptx-0.3.49-1.fc37.x86_64 pipewire-devel-0.3.50-1.fc37.x86_64 pipewire-doc-0.3.50-1.fc37.x86_64 pipewire-gstreamer-0.3.50-1.fc37.x86_64 pipewire-jack-audio-connection-kit-0.3.50-1.fc37.x86_64 pipewire-jack-audio-connection-kit-devel-0.3.50-1.fc37.x86_64 pipewire-libs-0.3.50-1.fc37.x86_64 pipewire-pulseaudio-0.3.50-1.fc37.x86_64 pipewire-utils-0.3.50-1.fc37.x86_64 pipewire-v4l2-0.3.50-1.fc37.x86_64
I kinda suspect that pyglet finds the ffmpeg installation and this fails when it is installed, but not when tt isn't. Might be related either to the ffmpeg update (RPMFusion for Fedora 35 has libavutil.so.56) or to the inclusion of patent-stripped ffmpeg in the Fedora repos in 36. What is the output of: rpm -qi ffmpeg
OK, I can reproduce the failure when /usr/lib64/libavutil.so.57 is installed from libavutil-free 5.0.1-1.fc36
Same failure with /usr/lib64/libavutil.so.57 installed from ffmpeg-libs 5.0.1-2.fc36 from RPMFusion.
https://github.com/pyglet/pyglet/pull/580 adds ffmpeg 5 support
Sadly that PR is for the nebulous Pyglet 2.0. But the current stable version should not load ffmpeg 5.0, and hopefully use another backend. I'll update.
https://src.fedoraproject.org/rpms/python-pyglet/pull-request/12 fixes this
Thanks for all your work! Here is the output you requested. Name : ffmpeg Version : 5.0.1 Release : 2.fc37 Architecture: x86_64 I seem to have many lavcodec libraries installed. $ ls -n /usr/lib64/libavcodec* lrwxrwxrwx. 1 0 0 23 Apr 5 05:40 /usr/lib64/libavcodec.so -> libavcodec.so.59.18.100 lrwxrwxrwx. 1 0 0 23 Feb 5 06:19 /usr/lib64/libavcodec.so.56 -> libavcodec.so.56.60.100 -rwxr-xr-x. 1 0 0 10013384 Feb 5 06:19 /usr/lib64/libavcodec.so.56.60.100 lrwxrwxrwx. 1 0 0 24 Apr 15 08:11 /usr/lib64/libavcodec.so.58 -> libavcodec.so.58.134.100 -rwxr-xr-x. 1 0 0 12590336 Apr 15 08:11 /usr/lib64/libavcodec.so.58.134.100 lrwxrwxrwx. 1 0 0 23 Apr 5 05:40 /usr/lib64/libavcodec.so.59 -> libavcodec.so.59.18.100 -rwxr-xr-x. 1 0 0 12665584 Apr 5 05:40 /usr/lib64/libavcodec.so.59.18.100 But the active one appears to be so.59.
FEDORA-2022-2ebb6e3e8a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2ebb6e3e8a
FEDORA-2022-2ebb6e3e8a has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-d3b41b9484 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d3b41b9484
FEDORA-2022-d3b41b9484 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d3b41b9484` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d3b41b9484 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Yes, this fixed the error for me. Thank you.
FEDORA-2022-d3b41b9484 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.