DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.65k stars 178 forks source link

** (deadbeef:2928): WARNING **: Widget not found: frame1 #865

Closed Oleksiy-Yakovenko closed 9 years ago

Oleksiy-Yakovenko commented 9 years ago

Original issue 963 created by Alexey-Yakovenko on 2013-07-10T07:15:28.000Z:

I'm using Infobar 1.4 x64 the gtk2 plugin and when I run deadbeef from a terminal I get this message;

\ (deadbeef:2928): WARNING **: Widget not found: frame1

I use Slackware 14 x64 and I've compiled deadbeef from source leaving out a lot of options, so I'm not sure if what I'm seeing as a warning message is because I've left something out of deadbeef, or due to something with the plugin I'm using?

This mesage appears when using gtk2...

So I'm not sure what's going on right now and wanted to report this here for any help...

THNAKS

Oleksiy-Yakovenko commented 9 years ago

Comment #1 originally posted by Alexey-Yakovenko on 2013-07-10T11:31:25.000Z:

hi. you're running outdated version of infobar. try to build the latest. i'm not sure if the x64 build on deadbeef website is good (should be, but i updated it very long time ago). "frame1" was removed from deadbeef's gtkui in 0.5.5 or 0.5.6.

Oleksiy-Yakovenko commented 9 years ago

Comment #2 originally posted by Alexey-Yakovenko on 2013-07-10T22:57:06.000Z:

At the plugins URL 1.4 is listed as the latest;

http://deadbeef.sourceforge.net/plugins.html

Then what's odd is on the author's bitbucket site it's 1.3;

https://bitbucket.org/dsimbiriatin/deadbeef-infobar/wiki/Home

The last time I checked in development a .4 meant a newer version, LOL... :)

As I mentioned I compiled deadbeef.

I guess I'll compile 1.3 then and let you know how that goes...

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #3 originally posted by Alexey-Yakovenko on 2013-07-10T23:20:16.000Z:

At the plugins URL 1.4 is listed as the latest;

http://deadbeef.sourceforge.net/plugins.html

Then what's odd is on the author's bitbucket site it's 1.3;

https://bitbucket.org/dsimbiriatin/deadbeef-infobar/wiki/Home

The last time I checked in development a .4 meant a newer version, LOL... :)

As I mentioned I compiled deadbeef.

I just compiled the 1.3 version of infobar and it still gives me the same message.

I'll list below my configure options and the Plugin Summary, please tell me if I'm missing something I need to compile into deadbeef as an option to make this work>

./configure options I'm using for deadbeef;

./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-adplug \ --disable-converter \ --disable-dca \ --disable-ffap \ --disable-ffmpeg \ --disable-gme \ --disable-gtk3 \ --disable-lfm \ --disable-mms \ --disable-musepack \ --disable-nls \ --disable-notify \ --disable-pulse \ --disable-sid \ --disable-src \ --disable-tta \ --disable-vfs-zip \ --disable-vtx \ --disable-wavpack \ --disable-wildmidi \ --enable-shared \ --build=$ARCH-slackware-linux

Plugin Summary;

stdio: yes - Standard IO plugin gme: no - chiptune music player based on GME nullout: yes - NULL output alsa: yes - ALSA output sid: no - SID player based on libsidplay2 ffap: no - Monkey's audio (APE) decoder lastfm: no - last.fm scrobbler mpgmad: yes - mpeg player based on libmad vorbis: yes - ogg vorbis player flac: yes - flac player wavpack: no - wavpack player sndfile: yes - PCM (wav,aiff,etc) player based on libsndfile vtx: no - vtx file player (ay8910/12 emulation) adplug: no - adplug player (OPL2/OPL3 emulation) vfs_curl: yes - http/ftp streaming support cdda: yes - cd audio player gtkui: yes - GTK2 user interface gtkui3: no - GTK3 user interface hotkeys: yes - Global hotkeys support ffmpeg: no - ffmpeg codecs oss: yes - oss output plugin pulse: no - PulseAudio output plugin artwork: yes - Cover art plugin supereq: yes - Equalizer based on Super EQ library by Naoki Shibata notify: no - notification-daemon support plugin shellexec: yes - shell commands plugin musepack: no - musepack player plugin wildmidi: no - WildMidi player plugin tta: no - TTA player plugin dca: no - libdca (DTS Audio) player plugin aac: no - AAC player (m4a, aac, mp4) based on FAAD2 mms: no - mms streaming support dsp_src: no - High quality samplerate conversion using libsamplerate m3u: yes - M3U and PLS playlist support vfs_zip: no - zip archive support converter: no - plugin for converting files to any formats psf: yes - PSF format plugin, using AOSDK dumb: yes - DUMB module plugin, for MOD, S3M, etc shn: yes - SHN plugin based on xmms-shn mono2stereo: yes - mono2stereo DSP plugin shellexecui: yes - GTK user interface for configuring shellexec plugin alac: yes - ALAC plugin

Oleksiy-Yakovenko commented 9 years ago

Comment #4 originally posted by Alexey-Yakovenko on 2013-07-10T23:21:18.000Z:

At the plugins URL 1.4 is listed as the latest;

http://deadbeef.sourceforge.net/plugins.html

Then what's odd is on the author's bitbucket site it's 1.3;

https://bitbucket.org/dsimbiriatin/deadbeef-infobar/wiki/Home

The last time I checked in development a .4 meant a newer version, LOL... :)

As I mentioned I compiled deadbeef.

I just compiled the 1.3 version of infobar and it still gives me the same message.

I'll list below my configure options and the Plugin Summary, please tell me if I'm missing something I need to compile into deadbeef as an option to make this work?

./configure options I'm using for deadbeef;

./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-adplug \ --disable-converter \ --disable-dca \ --disable-ffap \ --disable-ffmpeg \ --disable-gme \ --disable-gtk3 \ --disable-lfm \ --disable-mms \ --disable-musepack \ --disable-nls \ --disable-notify \ --disable-pulse \ --disable-sid \ --disable-src \ --disable-tta \ --disable-vfs-zip \ --disable-vtx \ --disable-wavpack \ --disable-wildmidi \ --enable-shared \ --build=$ARCH-slackware-linux

Plugin Summary;

stdio: yes - Standard IO plugin gme: no - chiptune music player based on GME nullout: yes - NULL output alsa: yes - ALSA output sid: no - SID player based on libsidplay2 ffap: no - Monkey's audio (APE) decoder lastfm: no - last.fm scrobbler mpgmad: yes - mpeg player based on libmad vorbis: yes - ogg vorbis player flac: yes - flac player wavpack: no - wavpack player sndfile: yes - PCM (wav,aiff,etc) player based on libsndfile vtx: no - vtx file player (ay8910/12 emulation) adplug: no - adplug player (OPL2/OPL3 emulation) vfs_curl: yes - http/ftp streaming support cdda: yes - cd audio player gtkui: yes - GTK2 user interface gtkui3: no - GTK3 user interface hotkeys: yes - Global hotkeys support ffmpeg: no - ffmpeg codecs oss: yes - oss output plugin pulse: no - PulseAudio output plugin artwork: yes - Cover art plugin supereq: yes - Equalizer based on Super EQ library by Naoki Shibata notify: no - notification-daemon support plugin shellexec: yes - shell commands plugin musepack: no - musepack player plugin wildmidi: no - WildMidi player plugin tta: no - TTA player plugin dca: no - libdca (DTS Audio) player plugin aac: no - AAC player (m4a, aac, mp4) based on FAAD2 mms: no - mms streaming support dsp_src: no - High quality samplerate conversion using libsamplerate m3u: yes - M3U and PLS playlist support vfs_zip: no - zip archive support converter: no - plugin for converting files to any formats psf: yes - PSF format plugin, using AOSDK dumb: yes - DUMB module plugin, for MOD, S3M, etc shn: yes - SHN plugin based on xmms-shn mono2stereo: yes - mono2stereo DSP plugin shellexecui: yes - GTK user interface for configuring shellexec plugin alac: yes - ALAC plugin

Oleksiy-Yakovenko commented 9 years ago

Comment #5 originally posted by Alexey-Yakovenko on 2013-07-10T23:22:24.000Z:

the problem is that the plugin developer doesn't track version numbers. it's not problem to him, since he doesn't make any releases, neither he makes builds. but i do, and every time i make a new build -- i fetch latest version from upstream, and change the version number to x+1, relative to previous build. that's why developer's version is lower than my build's version.

anyway, i just tried latest build of infobar with deadbeef 0.5.6 indeed, there's a warning message "WARNING **: Widget not found: frame1", but the plugin still works.

the message is produced because there's the code for backwards compatibility with older deadbeef versions, which had this frame widget, but it doesn't affect anything.

Oleksiy-Yakovenko commented 9 years ago

Comment #6 originally posted by Alexey-Yakovenko on 2013-07-10T23:34:02.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");

So would could this be changed to, to correct it?

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #7 originally posted by Alexey-Yakovenko on 2013-07-10T23:38:42.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");
if (!ddb_playlist) {
    // deadbeef 0.5.6 support
    ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
}
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

So would could this be changed to, to correct it?

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #8 originally posted by Alexey-Yakovenko on 2013-07-10T23:40:22.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");
if (!ddb_playlist) {
    // deadbeef 0.5.6 support
    ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
}
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

So would could this be changed to, to correct it, would this be correct?

GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #9 originally posted by Alexey-Yakovenko on 2013-07-10T23:43:37.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");
if (!ddb_playlist) {
    // deadbeef 0.5.6 support
    ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
}
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #10 originally posted by Alexey-Yakovenko on 2013-07-10T23:44:25.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");
if (!ddb_playlist) {
    // deadbeef 0.5.6 support
    ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
}
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

What should the line be changed to?

GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1")

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #11 originally posted by Alexey-Yakovenko on 2013-07-10T23:47:10.000Z:

Ok, didn't know if I was missing some type of functionality and needed something else compiled into deadbeef...

In the ui.c it has this line;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "frame1");
if (!ddb_playlist) {
    // deadbeef 0.5.6 support
    ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
}
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

To remove the backwards compatibility should it then be changed to this?

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);

THANKS

Oleksiy-Yakovenko commented 9 years ago

Comment #12 originally posted by Alexey-Yakovenko on 2013-07-10T23:52:20.000Z:

yes

Oleksiy-Yakovenko commented 9 years ago

Comment #13 originally posted by Alexey-Yakovenko on 2013-07-10T23:54:01.000Z:

Ahh this Google Code keeps acting up on me when I try to delete a post....

Thanks so I changed it to this;

create_infobar_interface(void) {

create_infobar();

GtkWidget *ddb_main = lookup_widget(gtkui_plugin->get_mainwin(), "vbox1");
GtkWidget *ddb_tabs= lookup_widget(gtkui_plugin->get_mainwin(), "tabstrip");
GtkWidget *ddb_playlist = lookup_widget(gtkui_plugin->get_mainwin(), "playlist");
g_object_ref(ddb_tabs);
g_object_ref(ddb_playlist);
Oleksiy-Yakovenko commented 9 years ago

Comment #14 originally posted by Alexey-Yakovenko on 2013-07-11T03:10:41.000Z:

Thanks again, can't wait for a new version of deadbeef, hey new toys are always nice, hehe... :)

CHEERS