Re: [Rhythmbox-devel] [new plugin] Desktop Art



Hi,

This looks like an other python 2.4 problem.

I think you need to change class SongInfo(): to class SongInfo: to make
the plugin work. I dont have an easy way to test with 2.4 my selves.

BTW: Isn't SID suposed to be a up to date distro, any reason you are still
using python 2.4

- Mathias

> mathias nedrebo org ha scritto:
>> Hi,
>>
>> I have started to work on a new plugin. It is a plugin that displays
>> album
>> cover art on the desktop. It is far from perfect yet, but I think it is
>> ready for daily usage now.
>>
>
> Hi Mathias,
>
> I've tried to test your plugin (on Xfce4 and on GNOME, Debian SID), but
> I receive the following error:
>
>> $ /usr/local/bin/rhythmbox
>> Traceback (most recent call last):
>>   File
>> "/home/giopas/.gnome2/rhythmbox/plugins/desktop-art/__init__.py", line
>> 4, in ?
>>     from DesktopControl import DesktopControl
>>   File
>> "/home/giopas/.gnome2/rhythmbox/plugins/desktop-art/DesktopControl.py",
>> line 158
>>     class SongInfo():
>>                    ^
>> SyntaxError: invalid syntax
>>
>> (rhythmbox:17017): Rhythmbox-WARNING **: Could not load plugin
>> desktop-art
>>
>>
>> (rhythmbox:17017): Rhythmbox-WARNING **: Error, impossible to activate
>> plugin 'Desktop Art'
>
> I didn't checked at it (because I'm not used with python), so I want
> just to report it to you.
>
> enjoy, ;)
> giopas
>
> --
> "The paradigm of competition is a race: by
> rewarding the winner, we encourage everyone
> to run faster. When capitalism really works
> this way, it does a good job; but its defenders
> are wrong in assuming it always works this way.
> If the runners forget why the reward is offered
> and become intent on winning, no matter how, they
> may find other strategies--such as, attacking
> other runners. If the runners get into a fist
> fight, they will all finish late."
> (GNU manifesto/R. Stallman)
>
> _______________________________________________
> rhythmbox-devel mailing list
> rhythmbox-devel gnome org
> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]