#30 Crashes on SliTaz

open
nobody
None
1
2012-12-10
2012-12-10
No

'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 :-))

Discussion

  • Loren Cannon

    Loren Cannon - 2012-12-10

    The diff for ~/brainworkshop/pyglet/media/init.py

     
  • Loren Cannon

    Loren Cannon - 2012-12-10
    • summary: Crashes on SliTax --> Crashes on SliTaz
     
  • Loren Cannon

    Loren Cannon - 2012-12-10
    • priority: 5 --> 1
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks