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 383845 - improve metadata debugging
improve metadata debugging
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 351418 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-08 19:52 UTC by William Jon McCann
Modified: 2007-01-30 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (9.44 KB, patch)
2006-12-08 20:06 UTC, William Jon McCann
none Details | Review
other patch (3.57 KB, patch)
2006-12-13 12:20 UTC, Jonathan Matthew
none Details | Review

Description William Jon McCann 2006-12-08 19:52:57 UTC
It is a bit tricky to debug the metadata helper stuff currently.  Here's a patch that should improve the situation.
Comment 1 William Jon McCann 2006-12-08 20:06:43 UTC
Created attachment 77983 [details] [review]
patch

With this we can do:
rhythmbox -D metadata

to see the errors from the helper process.

Ok to commit?
Comment 2 Jonathan Matthew 2006-12-08 21:54:51 UTC
I have a simpler patch somewhere that just passes the -d/-D option through to the metadata helper.  The metadata helper inherits the parent's stderr, so the io watch isn't really necessary unless you want to clearly distinguish output from the child process.  Maybe we could add an option to rb_debug_init to have the output prefixed with g_get_prgname().
Comment 3 Jonathan Matthew 2006-12-13 12:17:47 UTC
*** Bug 351418 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Matthew 2006-12-13 12:20:30 UTC
Created attachment 78280 [details] [review]
other patch
Comment 5 Jonathan Matthew 2007-01-30 13:45:52 UTC
I committed something halfway in between.