Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51516

Re: Has anyone gotten Pyglet to work

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joshua.landau.ws@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'skip:" 60': 0.07; '(first': 0.09; '__init__': 0.09; 'collier': 0.09; 'file)': 0.09; 'line:': 0.09; 'setup.py': 0.09; 'cc:addr:python-list': 0.11; 'error).': 0.16; 'python3.': 0.16; 'reason.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'looked': 0.18; 'normally': 0.19; 'not,': 0.20; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'load': 0.23; 'error': 0.23; 'cc:2**0': 0.24; 'source': 0.25; '&gt;': 0.26; 'downloaded': 0.26; 'skip:_ 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'skip:p 30': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'exceptions': 0.31; 'python2.7': 0.31; 'skip:& 70': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'running': 0.33; '(most': 0.33; 'device': 0.34; 'skip:d 20': 0.34; 'knows': 0.35; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'installing': 0.36; 'thanks': 0.36; 'should': 0.36; 'skip:& 10': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'skip:. 10': 0.39; 'read': 0.60; "google's": 0.60; 'july': 0.63; 'to:addr:gmail.com': 0.65; 'media': 0.66; 'note:': 0.66; '8bit%:31': 0.68; 'me).': 0.84; 'song': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=J1kHfn4sugc7RzGY6OvQsrSr2yRqmcP1TPzFcIkj+kg=; b=jXqb5ZGMWUDtKAytPPFzb0Gg2FXOhnqx8QEbsT7hUkWBU1fYjWLKkN88zIGuKDu8dP Z5L1ILf+u00KfHXy7MHh+Is+MhXNQCOio4rqXT7Kf10taCCFrMO5VfREjaTQHGpwUjwr qnbJYBgSIjFcpTfWn+Z6qnv8b5zattZjagsIzjMmZTEOpHsEmrM2xsaQf2x+Od8dx8kx snj7pEyZHGrzZxnh/ar2IGfGoRliZyn4JCNMs41r1eWzohTow3SIv/gB0seBgHwctUTD API+Nmihyz1smnJcnBUFo+2dOW5rGRWgyJXpOJe+fSmC8MWVi29m2pcwOX5eATpJH0El teZA==
X-Received by 10.112.33.205 with SMTP id t13mr9118530lbi.22.1375138026691; Mon, 29 Jul 2013 15:47:06 -0700 (PDT)
MIME-Version 1.0
Sender joshua.landau.ws@gmail.com
In-Reply-To <51F6EB0A.7080104@Gmail.com>
References <51F6D6E6.2070004@Gmail.com> <51F6D9D1.7080709@islandtraining.com> <51F6EB0A.7080104@Gmail.com>
From Joshua Landau <joshua@landau.ws>
Date Mon, 29 Jul 2013 23:46:26 +0100
X-Google-Sender-Auth FN5jybZi8xAUBsX1XiUX2GAuxwA
Subject Re: Has anyone gotten Pyglet to work
To Devyn Collier Johnson <devyncjohnson@gmail.com>
Content-Type multipart/alternative; boundary=14dae93d94b89922bb04e2ae451e
Cc Python Mailing List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5282.1375138028.3114.python-list@python.org> (permalink)
Lines 123
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375138028 news.xs4all.nl 15912 [2001:888:2000:d::a6]:47631
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51516

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 29 July 2013 23:22, Devyn Collier Johnson <devyncjohnson@gmail.com>wrote:

> Duh, thanks for the tip (^u^), but I still get an error (different error).
> NOTE: this is all python2.7 code because Pyglet supposedly has issues with
> Python3.
>
> collier@Nacho-Laptop:~$ pip install pyglet
> Downloading/unpacking pyglet
>   Downloading pyglet-1.1.4.tar.gz (2.9MB): 2.9MB downloaded
>   Running setup.py egg_info for package pyglet
> .......Blah........
> .......Blah........
> Installing collected packages: pyglet
>   Running setup.py install for pyglet
> Successfully installed pyglet
> Cleaning up...
> collier@Nacho-Laptop:~/pytest$ ./pymedia.py
>
> Traceback (most recent call last):
>   File "./pymedia.py", line 3, in <module>
>
>     song = pyglet.media.load('./boot.ogg')
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py",
> line 1386, in load
>     source = _source_class(filename, file)
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/riff.py", line
> 202, in __init__
>     'AVbin is required to decode compressed media')
> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
> compressed media
> AL lib: ReleaseALC: 1 device not closed
> collier@Nacho-Laptop:~/pytest$ ls
> boot.ogg  pymedia.py
>

This line:

> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
compressed media

You should read your exceptions very carefully, they're normally there for
a very good reason.

Then Google that line. Then get
http://stackoverflow.com/questions/10302873/python-pyglet-avbin-how-to-install-avbin
(first
link for me). As someone who knows nothing about this, that's your best
bet. If not, Google's other links looked promising.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Has anyone gotten Pyglet to work Joshua Landau <joshua@landau.ws> - 2013-07-29 23:46 +0100

csiph-web