After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572643 - when emitting pull-buffer signal on appsink when there are no more buffers left, an internal SystemError is produced
when emitting pull-buffer signal on appsink when there are no more buffers le...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-21 12:10 UTC by Thomas Vander Stichele
Modified: 2009-07-09 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (451 bytes, text/plain)
2009-02-21 12:12 UTC, Thomas Vander Stichele
Details

Description Thomas Vander Stichele 2009-02-21 12:10:40 UTC
Please describe the problem:
SystemError error return without exception set


Steps to reproduce:
1. run the attached python script
2. 
3. 


Actual results:
the system-error gets printed

Expected results:
either a more concrete exception, or whatever other mechanism usually is used to indicate an action signal failed.

Does this happen every time?
yeah baby

Other information:
I'll attach.
Comment 1 Thomas Vander Stichele 2009-02-21 12:12:12 UTC
Created attachment 129209 [details]
testcase
Comment 2 Edward Hervey 2009-07-09 19:15:16 UTC
works fine with git.

Just adjust your code to check whether the returned buffer is None or not (which is in par with the C code which would return a NULL buffer when EOS).