Re: [Rhythmbox-devel] Plugin Writing: Accessing the entry-changed signal's changes in Python
- From: "Mendhak (RBM)" <rbmailinglist mendhak com>
- To: david mohammed <davidmohammed gmail com>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] Plugin Writing: Accessing the entry-changed signal's changes in Python
- Date: Sun, 26 May 2013 17:48:09 +0100
Just noticed that you've got the same problem as me - your
"changes.values" is resulting in an error:
AttributeError: 'Array' object has no attribute 'values'
https://github.com/fossfreedom/coverart-browser/blob/release-0.8/coverart_album.py#L1061
(try a "print changes.values" outside the try-except block)
But is being caught by the except block. You can see this error if
you try to "print changes.values" outside the try-except block. I'm
also noticing that this works fine in Ubuntu 12.04. But 13.04 seems
to have this problem. I have limited knowledge in this area, so I
can't figure out if this has to do with OS version, Python version, or
Rhythmbox version.
On Sun, May 26, 2013 at 2:22 PM, david mohammed <davidmohammed gmail com> wrote:
The changes are packed inside a GValueArray
Its perhaps easier to give you an example - pop-over to my plugin here
and look at the function "_entry_changed_callback" on coverart-album.py
-
https://github.com/fossfreedom/coverart-browser
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]