Re: Plugin Writing: Accessing the entry-changed signal's changes in Python
"Mendhak (RBM)" <[email protected]> Sun, 26 May 2013 17:48:09 +0100
| Newsgroups | gmane.comp.gnome.apps.rhythmbox.devel |
|---|---|
| Message-ID | <CAAhq+cw+UO3EwOn8j6BKuM6U6qohM9EBE3hHCgkXTid+SR=EWg@mail.gmail.com> |
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 <[email protected]> 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
> [email protected]
> https://mail.gnome.org/mailman/listinfo/rhythmbox-devel