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 679003 - A "Resource not found" error happens when playing files after a save
A "Resource not found" error happens when playing files after a save
Status: RESOLVED OBSOLETE
Product: gnome-media
Classification: Deprecated
Component: Gnome-Sound-Recorder
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-27 18:46 UTC by James M. Leddy
Modified: 2015-01-19 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
v1 (1.28 KB, patch)
2012-06-27 20:59 UTC, James M. Leddy
accepted-commit_now Details | Review
patch to fix comment 3 (882 bytes, patch)
2012-07-25 19:55 UTC, James M. Leddy
none Details | Review

Description James M. Leddy 2012-06-27 18:46:05 UTC
This issue can be reproduced both in standard Ubuntu 11.10 and Ubuntu 12.04.

How to reproduce:

1. First open Sound Recorder (gnome-sound-recorder), press "Record" button to record for seconds.
2. Press "Stop" button to stop record
3. Press "Play" button to play the sound, it is OK by now.
4. Now press "Record" again, it will prompt you to save the previous record, just save it.
5. After saving the last record, it will start to record. Seconds later, press "Stop" button to stop record.
6. Press "Play" button

Expect result:

It will play the record

Actual result:

It showed an error dialog with "Resource not found" (In Chinese: 资源未找到)


The problem is that in bug 595867, a state variable was not reinitialized properly.
Comment 1 James M. Leddy 2012-06-27 20:59:33 UTC
Created attachment 217461 [details] [review]
v1
Comment 2 Marc-Andre Lureau 2012-06-27 21:44:22 UTC
Review of attachment 217461 [details] [review]:

ack
Comment 3 Sebastien Bacher 2012-07-04 16:20:31 UTC
The patch resolves the error indeed, I'm not sure it's 100% correct though, the behaviour is a bit confusing, if you:

- start a record
- stop it
- save it
- start a second record
- stop it
- press "play"

it will play the first record and not the one you just did ... is that wanted? if you save the buffer on disk it will play it correctly. Ideally we would want to play whatever is in the buffer no?
Comment 4 James M. Leddy 2012-07-25 19:55:11 UTC
Created attachment 219656 [details] [review]
patch to fix comment 3

Hello, This patch fixes comment #3. Let me know if you would like them combined, I can certainly do that as well.
Comment 5 Bastien Nocera 2015-01-19 11:34:07 UTC
gnome-media has been obsolete since the release of GNOME 3, nearly 4 years ago. Furthermore, the gnome-sound-recorder program in gnome-media has been replaced by the stand-alone, rewritten, gnome-sound-recorder program which has a different interface.

The new program should not be affected by the bugs you filed, however, please make sure to file new bugs against the gnome-sound-recorder product.