aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: toolbar disappeared  (Read 1740 times)

omer

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
toolbar disappeared
« on: March 16, 2007, 05:37:14 PM »

Hi,

I'm using amule since a long time on a debian sid, installed from the package and everything worked fine. But now the main buttons toolbar disappeared and I'm stuck with the servers list window, unable to switch to another one (this excepted, amule seems to work fine). So I tried to compile it myself (and yes, I've read the howto twice :) and had the same problem. When I shut it down, I get the following messages:

Shutting down aMule...
aMule dialog destroyed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:25348): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.

any idea of what's going wrong? if not, is there a keyboard shortcut to switch windows?

thanks
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: toolbar disappeared
« Reply #1 on: March 16, 2007, 09:42:20 PM »

The error message on shutdown is caused by the combination GTK 2.10 + wxGTK 2.6(.3)
Upgrading to wxGTK 2.8 or downgrading to GTK 2.8 (not recommended) solve this issue.

About the toolbar: Open ~/.aMule/amule.conf and disable skin usage. If this still doesn't help rename amule.conf and start aMule again.
Logged

omer

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: toolbar disappeared
« Reply #2 on: March 17, 2007, 03:25:22 PM »

well, I installed the latest wxGTK (2.8.2) but now amule doesn't compile anymore, with the following error messages:

if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef   -MT libmuleappgui_a-MuleGifCtrl.o -MD -MP -MF ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" -c -o libmuleappgui_a-MuleGifCtrl.o `test -f 'MuleGifCtrl.cpp' || echo './'`MuleGifCtrl.cpp; \
        then mv -f ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" ".deps/libmuleappgui_a-MuleGifCtrl.Po"; else rm -f ".deps/libmuleappgui_a-MuleGifCtrl.Tpo"; exit 1; fi
MuleGifCtrl.cpp: In member function 'bool MuleGifCtrl::LoadData(const char*, int)':
MuleGifCtrl.cpp:69: error: no matching function for call to 'wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)'
/usr/local/include/wx-2.8/wx/gifdecod.h:104: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/local/include/wx-2.8/wx/gifdecod.h:52: note:                 wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: 'class wxGIFDecoder' has no member named 'ReadGIF'
MuleGifCtrl.cpp:76: error: 'class wxGIFDecoder' has no member named 'GoFirstFrame'
MuleGifCtrl.cpp:78: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/local/include/wx-2.8/wx/gifdecod.h:82: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::Start()':
MuleGifCtrl.cpp:89: error: 'class wxGIFDecoder' has no member named 'GoLastFrame'
MuleGifCtrl.cpp: In member function 'virtual wxSize MuleGifCtrl::GetBestSize()':
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnTimer(wxTimerEvent&)':
MuleGifCtrl.cpp:113: error: 'class wxGIFDecoder' has no member named 'GoNextFrame'
MuleGifCtrl.cpp:116: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/local/include/wx-2.8/wx/gifdecod.h:82: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to 'wxGIFDecoder::GetDelay()'
/usr/local/include/wx-2.8/wx/gifdecod.h:65: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnPaint(wxPaintEvent&)':
MuleGifCtrl.cpp:132: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:133: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetLeft'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetTop'

I tried with and without --enable-gif on wxGTK, both with the same result.
The wxWidgets patch given on the amule site is not compatible with this version, is there another one I should use? Or did I miss some other config param?
 
Thanks for your help
(PS: removing the amule conf file did not help, I even tried to remove the whole .aMule dir without result)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: toolbar disappeared
« Reply #3 on: March 17, 2007, 03:34:51 PM »

Unarchive aMule sources in a CLEAN directory and run configure before trying to compile. Use a RECENT cvs tarball.

Cheers!
Logged