Skip to content

on fedora linux #22

@View-my-Git-Lab-krafi

Description

@View-my-Git-Lab-krafi

python app.py
/home/kar18/as/Penguins-in-Python/sprites/Spear/Spear.py:36: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if d is not 0:
temp_sound_path
sounds/punch.wav
sounds/
Traceback (most recent call last):
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/init.py", line 352, 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 "/home/kar18/as/Penguins-in-Python/app.py", line 13, in
import sprites as Sprites
File "/home/kar18/as/Penguins-in-Python/sprites.py", line 23, in
Spear = load_source('Spear', mypath+'/sprites/Spear/Spear.py').Spear
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/imp.py", line 172, in load_source
module = _load(spec)
^^^^^^^^^^^
File "/home/kar18/as/Penguins-in-Python/sprites/Spear/Spear.py", line 17, in
my_sound.load()
File "/home/kar18/as/Penguins-in-Python/Classes/Sound.py", line 19, in load
sound = pyglet.resource.media(file_name, streaming=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/resource.py", line 678, in media
return media.load(path, streaming=streaming)
^^^^^^^^^^
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/init.py", line 358, in getattr
import(import_name)
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/init.py", line 146, in
add_default_media_codecs()
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/init.py", line 164, in add_default_media_codecs
if have_ffmpeg():
^^^^^^^^^^^^^
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/init.py", line 180, in have_ffmpeg
from . import ffmpeg_lib
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/init.py", line 36, in
from .libavcodec import *
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 45, in
from . import libavutil
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 194, in
avutil.av_frame_get_best_effort_timestamp.restype = c_int64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ctypes/init.py", line 389, in getattr
func = self.getitem(name)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ctypes/init.py", line 394, 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 0x7f3649ccdd00>
Traceback (most recent call last):
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/drivers/init.py", line 93, in _delete_audio_driver
from .. import Source
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/init.py", line 146, in
add_default_media_codecs()
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/init.py", line 164, in add_default_media_codecs
if have_ffmpeg():
^^^^^^^^^^^^^
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/init.py", line 180, in have_ffmpeg
from . import ffmpeg_lib
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/init.py", line 36, in
from .libavcodec import *
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 45, in
from . import libavutil
File "/home/kar18/as/Penguins-in-Python/env/lib/python3.11/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 194, in
avutil.av_frame_get_best_effort_timestamp.restype = c_int64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ctypes/init.py", line 389, in getattr
func = self.getitem(name)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ctypes/init.py", line 394, in getitem
func = self._FuncPtr((name_or_ordinal, self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: /lib64/libavutil.so.57: undefined symbol: av_frame_get_best_effort_timestamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions