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


Groups > comp.lang.python > #53071

Re: Phonon error: libv4l2: error getting pixformat: Invalid argument

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:error': 0.03; 'output': 0.05; 'subject:getting': 0.07; 'def': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'itself,': 0.16; 'method;': 0.16; 'script,': 0.16; 'traceback.': 0.16; 'comment:': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'trying': 0.19; 'skip:p 40': 0.19; 'code,': 0.22; 'example': 0.22; 'aug': 0.22; "i've": 0.25; 'post': 0.26; 'header :In-Reply-To:1': 0.27; 'point': 0.28; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'clicked': 0.31; 'helpful.': 0.31; 'run': 0.32; 'problem': 0.35; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'full': 0.61; 'you.': 0.62; 'more': 0.64; 'here': 0.66; 'skip:m 50': 0.68; 'cut': 0.74; 'song': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HS0lvBnVUDMIxSpiEwSxDgd5Z2g3hv+utxwGPDPCGhs=; b=Ht0sEpJ5Jb3mZjIb/9O4pkyOGAgIVZtChPj/fsoloQb7VlvQaVDFmPxE49fnLfMcqQ V/docyKrCgLToheDwh1D59uAxwWyBiEypCgQQlQNEop7HzXSRE6e8gR+IyiGOJNq5tt5 ToLERCOynzHfch8SXrT6ZhKPyT3vZuiYDECn0AnnDoqT3fQ4jpJUlqDU4MgFfe6kcp1v c2cRAk0SAc5Uu7ohsnDFpZ366eYWPg48m987Z5aapDnaO7Unh8bWv0VcOBy24anp0Syv W/cFmY76bTIJrvnakgtao8psWcqNkTXwoY5vkkqDzfkTQV8Nnh1TeBZS84dkYCC9d7o9 y3kg==
MIME-Version 1.0
X-Received by 10.58.249.136 with SMTP id yu8mr197971vec.37.1377615027245; Tue, 27 Aug 2013 07:50:27 -0700 (PDT)
In-Reply-To <12e50d6e-d3a6-465e-9d56-3ad3507964f7@googlegroups.com>
References <12e50d6e-d3a6-465e-9d56-3ad3507964f7@googlegroups.com>
Date Wed, 28 Aug 2013 00:50:27 +1000
Subject Re: Phonon error: libv4l2: error getting pixformat: Invalid argument
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.274.1377615030.19984.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1377615030 news.xs4all.nl 15982 [2001:888:2000:d::a6]:40064
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53071

Show key headers only | View raw


On Tue, Aug 27, 2013 at 1:42 PM,  <tausciam@gmail.com> wrote:
> Here is my code. I'm just trying to play an mp3 that I've clicked in a PyQT listwidget:
>
>     @pyqtSlot()
>     def item_clicked(self):
>         row = self.listWidget.currentRow()
>         song = musiclist[row]
>         QCoreApplication.setApplicationName("Phonon")
>         output = Phonon.AudioOutput(Phonon.MusicCategory)
>         m_media = Phonon.MediaObject()
>         Phonon.createPath(m_media, output)
>         m_media.setCurrentSource(Phonon.MediaSource(song))
>         m_media.play()

I can't help with Phonon itself, but here's a general comment: When
you have a problem like this, post the full exception traceback. Also,
if you can, try to cut down the example to the point where you can
post all the code, not just one method; if you make it so we can
actually run the script, it's that much more likely we can help you.
But mainly, the exception traceback - it's very helpful.

Help us to help you! :)

ChrisA

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


Thread

Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-26 20:42 -0700
  Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 04:45 -0700
  Re: Phonon error: libv4l2: error getting pixformat: Invalid argument Chris Angelico <rosuav@gmail.com> - 2013-08-28 00:50 +1000
    Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 16:17 -0700
      Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 16:26 -0700
        Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 16:39 -0700
          Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 17:42 -0700
            Re: Phonon error: libv4l2: error getting pixformat: Invalid argument tausciam@gmail.com - 2013-08-27 17:56 -0700

csiph-web