Rhythmbox » Discussões

Rhythmbox plugin

 
    • sertmann disse...
    • Usuário
    • Jan 8 2005, 10h54
    [Audioscrobbler] Performing handshake with Audioscrobbler server...
    [Audioscrobbler] Error: [Errno socket error] timed out
    [Audioscrobbler] Handshake failed (retrying in 30 minutes.)

    Que? password/username allright and all, and it just keeps doing it, every 30 mins...

    All Alcoholics began with milk...
  • The connection attempt to audioscrobbler.com is timing out. It will retry every 30 minutes until it succeeds. Until then, the results will be saved locally and submitted when a connection can be made.

    • Osku disse...
    • Usuário
    • Jan 20 2005, 10h21
    the trayicon/Makefile needs -fPIC in CFLAGS to make it work on amd64.

    • Jarulf disse...
    • Usuário
    • Jan 21 2005, 8h59
    I'be been using v 0.0.4 since I signed up for AS a few weeks ago. I discovered 0.0.7 by chance, I must have missed where the announcements for new versions are.

    Anyway, with 0.0.4 I just put everything in a separate folder under ~/bin and ran rpscrobbler.py on logging in to gnome. With 0.0.7 I see there's trayicons and all sorts of neat stuff, but what do I do now? Do I need to run make all, make install? Running it the same way as 0.0.4 works, but I get no quelist as in 0.0.4 or a trayicon. The console text asks if I have run 'make'. When I do I get a lot of errors. (I'll post it, but they are partly in Swedish)

    I'm using Ubuntu and was simply wonering what I need to get it working properly.

    Thanks


    brosen@delirium:~/bin/rbscrobbler-0.0.7 $ make
    make[1]: Entering directory `/home/brosen/bin/rbscrobbler-0.0.7/trayicon'
    cc `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.3/ -I. -c -o trayiconmodule.o trayiconmodule.c
    I fil inkluderad från trayiconmodule.c:4:
    /usr/include/pygtk-2.0/pygobject.h:5:20: Python.h: Filen eller katalogen finns inte
    In file included from trayiconmodule.c:4:
    /usr/include/pygtk-2.0/pygobject.h:21: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:21: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:22: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:23: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:23: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:24: error: parsningsfel before '}' token
    /usr/include/pygtk-2.0/pygobject.h:27: error: parsningsfel before "PyObject_HEAD"
    /usr/include/pygtk-2.0/pygobject.h:27: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:29: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:30: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:30: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:32: error: parsningsfel before '}' token
    /usr/include/pygtk-2.0/pygobject.h:32: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:38: error: parsningsfel before "PyObject_HEAD"
    /usr/include/pygtk-2.0/pygobject.h:38: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:42: error: parsningsfel before '}' token
    /usr/include/pygtk-2.0/pygobject.h:42: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:48: error: parsningsfel before "PyObject_HEAD"
    /usr/include/pygtk-2.0/pygobject.h:48: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:51: error: parsningsfel before '}' token
    /usr/include/pygtk-2.0/pygobject.h:51: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:60: error: parsningsfel before "PyObject_HEAD"
    /usr/include/pygtk-2.0/pygobject.h:60: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:62: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:68: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:70: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:73: error: parsningsfel before "PyTypeObject"
    /usr/include/pygtk-2.0/pygobject.h:73: varning: inget semikolon vid slutet av struktur eller union
    /usr/include/pygtk-2.0/pygobject.h:74: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:76: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:78: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:81: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:82: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:82: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:84: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:85: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:87: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:87: error: `register_boxed_custom' declared as function returning a function
    /usr/include/pygtk-2.0/pygobject.h:88: error: parsningsfel before "int"
    /usr/include/pygtk-2.0/pygobject.h:89: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:90: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:90: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:92: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:95: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:95: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:96: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:98: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:99: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:101: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:101: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:102: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:104: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:104: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:106: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:108: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:122: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:122: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:123: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:123: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:124: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:125: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:131: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:132: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:134: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:136: error: parsningsfel before "PyObject"
    /usr/include/pygtk-2.0/pygobject.h:138: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:138: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:139: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:139: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:142: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:143: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:143: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:145: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:145: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:146: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:146: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:149: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:150: error: parsningsfel before '*' token
    /usr/include/pygtk-2.0/pygobject.h:150: varning: data definition has no type or storage class
    /usr/include/pygtk-2.0/pygobject.h:156: error: parsningsfel before '}' token
    trayiconmodule.c:6: error: parsningsfel before '*' token
    trayiconmodule.c:8: error: parsningsfel before "trayicon_functions"
    trayiconmodule.c:8: varning: data definition has no type or storage class
    trayiconmodule.c:11: error: parsningsfel before "inittrayicon"
    trayiconmodule.c: I funktion `inittrayicon':
    trayiconmodule.c:13: error: `PyObject' undeclared (first use in this function)
    trayiconmodule.c:13: error: (Each undeclared identifier is reported only once
    trayiconmodule.c:13: error: for each function it appears in.)
    trayiconmodule.c:13: error: `m' undeclared (first use in this function)
    trayiconmodule.c:13: error: `d' undeclared (first use in this function)
    trayiconmodule.c:15: error: `gobject' undeclared (first use in this function)
    trayiconmodule.c:15: error: `mdict' undeclared (first use in this function)
    trayiconmodule.c:15: error: `cobject' undeclared (first use in this function)
    trayiconmodule.c:15: error: `PyExc_RuntimeError' undeclared (first use in this function)
    trayiconmodule.c:15: error: `PyExc_ImportError' undeclared (first use in this function)
    trayiconmodule.c: På toppnivå:
    trayiconmodule.c:8: varning: array `trayicon_functions' assumed to have one element
    make[1]: *** [trayiconmodule.o] Fel 1
    make[1]: Leaving directory `/home/brosen/bin/rbscrobbler-0.0.7/trayicon'
    make: *** [all] Fel 2
    brosen@delirium:~/bin/rbscrobbler-0.0.7 $



    A short dictionary (N.B I'm not a programmer so the translation may not be correct) ;-)
    Parsningsfel = parse error
    Fel = error
    Filen eller katalogen finns inte = The file or directory does not exist
    varning: inget semikolon vid slutet av struktur eller union = Warning: no semi colon at end of strukture or union


    De gustibus non est disputandum
    Editado por Jarulf em Jan 21 2005, 9h29
    • Osku disse...
    • Usuário
    • Jan 21 2005, 10h08
    You need the python header files and such, I am not sure what package provides those in Ubuntu, but it's probably something like python-dev.

    • Jarulf disse...
    • Usuário
    • Jan 21 2005, 10h29
    I've been using linux for about seven years, so you'd think I'd figure that one out by myself. Thanks for lending me a brain, Osku ;-)


    De gustibus non est disputandum
  • Ubuntu

    For Ubuntu, install packages: libgtk2.0-dev, python2.3-dev, and python-gtk2-dev.

    Run make. If you get "cc: command not found" error, run: CC=gcc-3.4 make. (or gcc-3.3)


    Osku: thanks, it'll be in the next release.

    Edit: didn't see your reply. Glad it works.

    Editado por xiphoidappendix em Jan 21 2005, 18h58
    • Jarulf disse...
    • Usuário
    • Jan 21 2005, 21h29
    xiphoidappendix: I forgot to say thanks for a nice plugin, so 'thanks'

    I also discovevered the forum threads with the update info. It's a little confusing with both group forums and the others.


    De gustibus non est disputandum
    • Jarulf disse...
    • Usuário
    • Jan 21 2005, 21h30
    xiphoidappendix: I forgot to say thanks for a nice plugin, so 'thanks'

    I also discovevered the forum threads with the update info. It's a little confusing with both group forums and the others.


    De gustibus non est disputandum
  • 0.0.8

    rbscrobbler 0.0.8 has been released.

    Changes:
    - FIXED: added -fPIC to trayicon/Makefile to fix compilation on amd64
    - FIXED: don't submit songs if skipping is detected
    - FIXED: handle missing trayicon module more gracefully
    - FIXED: fix drawing issue if gconf visible value is true

    • twinky disse...
    • Usuário
    • Jan 25 2005, 7h41
    $ ./rbscrobbler.py
    Traceback (most recent call last):
    File "./rbscrobbler.py", line 5, in ?
    import gconf
    ImportError: No module named gconf


    Fedora 3, help please? :)

    • Osku disse...
    • Usuário
    • Jan 25 2005, 8h50
    yum install gnome-python2-gconf

    :)

    • twinky disse...
    • Usuário
    • Jan 25 2005, 18h00
    thanx

  • I don't know if you already know this but rbscrobbler-0.0.8 GUI hangs (maybe earlier versions too?) because there is deprecated values in the rbsrobbler.py's code. gtk.TRUE and gtk.FALSE should be True and False. I changed those and now it works like an elephant. ;)

    Or not, it hanged again... I must continue seeking a bug. :)

    Editado por Mustaavalkosta em Mar 22 2005, 16h45
    • PC_Freak disse...
    • Usuário
    • Mar 23 2005, 20h20

    Re:

    Quoth Mustaavalkosta:
    I don't know if you already know this but rbscrobbler-0.0.8 GUI hangs (maybe earlier versions too?) because there is deprecated values in the rbsrobbler.py's code. gtk.TRUE and gtk.FALSE should be True and False. I changed those and now it works like an elephant. ;)

    Or not, it hanged again... I must continue seeking a bug. :)

    I have this problem too very often.

  • 0.0.9pre1

    There's a potential fix for GUI hangs in 0.0.9pre1.

  • Re: 0.0.9pre1

    Quoth xiphoidappendix:
    There's a potential fix for GUI hangs in 0.0.9pre1.

    That seems to work pretty good. Thanks!

    • PC_Freak disse...
    • Usuário
    • Mar 28 2005, 19h49
    I've had another GUI hang with 0.0.9pre1. :(

  • 0.0.9pre2

    I forgot to add Scrobbler_Musicbrainz.py to the Makefile.

    Releasing 0.0.9pre2 with the fix. Or you can just copy Scrobbler_Musicbrainz.py to /usr/local/share/rbscrobbler.

    Cheers.

    • disse...
    • Usuário
    • Abr 10 2005, 13h57

    can't run 0.0.9pre2 on gentoo

    Unable to import pyid3lib; Musicbrainz support for mp3 will be disabled.
    Traceback (most recent call last):
    File "/usr/local/bin/rbscrobbler", line 59, in ?
    RB.enable()
    File "/usr/local/share/rbscrobbler/Rhythmbox_Bonobo.py", line 104, in enable
    bonobo.event_source_client_add_listener(event_source, self._bonobo_register, EVENT_REGISTER)
    AttributeError: 'module' object has no attribute 'event_source_client_add_listener'

    My gnome-python version is 2.0.0 since it is the latest stable version on portage :(

    Help please...

    • PC_Freak disse...
    • Usuário
    • Abr 16 2005, 23h16
    Add gnome-python ~x86 (assuming you're on an x86 architecture) to /etc/portage/package.keywords.

    • disse...
    • Usuário
    • Abr 19 2005, 11h27

    Re:

    Quoth PC_Freak:
    Add gnome-python ~x86 (assuming you're on an x86 architecture) to /etc/portage/package.keywords.

    It worked! Thanks. By the way, i had to add also pyorbit ~x86.

  • freezes fixed in 0.0.9pre3

    GUI hangs should be fixed in 0.0.9pre3. Download from http://members.cox.net/alexrevo/.

    Cheers

    • PC_Freak disse...
    • Usuário
    • Abr 21 2005, 16h25
    Until now I haven't had any GUI hangs anymore with 0.0.9pre3.

    But another bug seems to be popping up: every song is added to the queue window, even if it has been submitted. It's not added to .rbscrobbler.queue though.

  • That's intentional. It now shows the last 10 songs submitted/queued because the previous almost-always empty queue window was confusing people since tracks were only in shown for, generally, less than 2 seconds.

    I probably should rename the "Audioscrobbler Queue" window to something different since it's no longer a queue.

Usuários anônimos não podem postar mensagens. É preciso fazer login ou criar uma conta para postar nos fóruns.