'StaticSource' object has no attribute '_data' (line 571 in ~/brainworkshop/pyglet/media/__init__.py)
The reason this fails is that there is no guarantee that 'self._data = data.getvalue()' is ever reached!
The way I fixed this, self._data can be None, so I need to check for this in StaticMemorySource's constructor.
This I do rather poorly :-))
Log in to post a comment.