aMule Forum

English => en_Bugs => Topic started by: Mig21 on July 28, 2004, 01:57:32 AM

Title: Windows messed up after hashing
Post by: Mig21 on July 28, 2004, 01:57:32 AM
you can take a look to see what i mean

that's amule 1.2.8 but it has been happening since i started using it (1.2.6 i think)

http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame1.png
http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame2.png
http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame3.png
http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame4.png
http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame5.png
http://www.mnsi.net/~dumitras/amulebugs/Screenshot-frame6.png

this seems to happen shortly or immediately after hasing a completed download finished

but not every time. i haven't figured out a pattern yet

interestingly the look is broken but the actual window elements are still there. i can still click the buttons and right click on the usual places

to get the normal look back i have to restart amule

slackware10 / wxbase2.4 + wxwindows2.4

i love this program so much i only posted this because im bored to death. really it's not important to me, but maybe it is to you

ill go ask someone about understanding the amule source...

cheers
Title: Re: Windows messed up after hashing
Post by: deltaHF on July 28, 2004, 02:04:52 AM
its more than recommend to update to 2.0.0-rc5 Mig21

plz test it

greets
Title: Re: Windows messed up after hashing
Post by: Mig21 on July 28, 2004, 02:34:12 AM
i tried, it wouldn't compile the first time so i gave up.

will try again later
Title: Re: Windows messed up after hashing
Post by: deltaHF on July 28, 2004, 02:36:46 AM
post the errors
Title: Re: Windows messed up after hashing
Post by: Mig21 on July 28, 2004, 03:13:54 AM
oh boy, this is not easy :)

my original errors:

Code: [Select]
.......
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__   -MT amule-BaseClient.o -MD -MP -MF ".deps/amule-BaseClient.Tpo" \
  -c -o amule-BaseClient.o `test -f 'BaseClient.cpp' || echo './'`BaseClient.cpp; \
then mv -f ".deps/amule-BaseClient.Tpo" ".deps/amule-BaseClient.Po"; \
else rm -f ".deps/amule-BaseClient.Tpo"; exit 1; \
fi
In file included from BaseClient.cpp:44:
ClientCredits.h:31:45: cryptopp/config.h: No such file or directory
ClientCredits.h:32:42: cryptopp/rsa.h: No such file or directory
In file included from BaseClient.cpp:44:
ClientCredits.h:126: error: type specifier omitted for parameter `CryptoPP'
ClientCredits.h:126: error: parse error before `::' token
ClientCredits.h:146: error: syntax error before `::' token
BaseClient.cpp:1084:26: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1702:10: warning: #warning ADDME - Import needed
BaseClient.cpp:2258:2: warning: #warning Dont forget to remove this and the magic numbers when the bug is gone.
make[4]: *** [amule-BaseClient.o] Error 1
make[4]: Leaving directory `/home/andrei/kit/internet/amule/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andrei/kit/internet/amule/aMule-2.0.0rc5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/andrei/kit/internet/amule/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrei/kit/internet/amule/aMule-2.0.0rc5'
make: *** [all] Error 2

then i found in a readme that i should configure --disable-debug --enable-optimise

at the same time i found this:
http://www.amule.org/wiki/index.php/Check_if_wx_is_installed_twice
back to this later

configured properly amule compiles. first step conquered

now when i run it i get this:

Code: [Select]
Initialising aMule
Userhash loaded: F0A1263BD80ED5BDA3144CD6E4516F51
*** UDP socket at 4665
*** TCP socket at 4662
*** UDP socket at 4672

with no gui

perhaps this is because of that 'Check_if_wx_is_installed_twice'? this is what i have:
Code: [Select]
~$ ls -l /usr/bin/wx*
-rwxr-xr-x  1 root bin 7396 2003-02-11 19:41 /usr/bin/wxcopy*
-rwxr-xr-x  1 root bin 5832 2003-02-11 19:41 /usr/bin/wxpaste*
~$
~$ ls -l /usr/local/bin/wx*
lrwxrwxrwx  1 root root    16 2004-07-02 02:31 /usr/local/bin/wx-config -> wxgtk-2.4-config*
-rwxr-xr-x  1 root root  4870 2004-06-25 23:14 /usr/local/bin/wxbase-2.4-config*
-rwxr-xr-x  1 root root  5058 2004-07-02 02:31 /usr/local/bin/wxgtk-2.4-config*
-rwxr-xr-x  1 root root 11725 2004-07-02 02:29 /usr/local/bin/wxgtk-2.5-config*

they look like different files. should i go ahead and fix it?
Title: Re: Windows messed up after hashing
Post by: Jacobo221 on July 28, 2004, 03:23:09 AM
try:
rm ~/.aMule/clients.met
or
rm ~/.eMule
Greetings ;-)
Title: Re: Windows messed up after hashing
Post by: deltaHF on July 28, 2004, 04:09:08 AM
-rwxr-xr-x  1 root root  5058 2004-07-02 02:31 /usr/local/bin/wxgtk-2.4-config*
-rwxr-xr-x  1 root root 11725 2004-07-02 02:29 /usr/local/bin/wxgtk-2.5-config*

2 diff. versions ;)

get rid of 2.5
Title: Re: Windows messed up after hashing
Post by: phoenix on July 28, 2004, 03:31:35 PM
Mig21,

Quote
In file included from BaseClient.cpp:44:
ClientCredits.h:31:45: cryptopp/config.h: No such file or directory
ClientCredits.h:32:42: cryptopp/rsa.h: No such file or directory
In file included from BaseClient.cpp:44:
ClientCredits.h:126: error: type specifier omitted for parameter `CryptoPP'
Also take a look at your cryptopp instalation.

Cheers!
Title: Re: Windows messed up after hashing
Post by: Jacobo221 on July 29, 2004, 03:36:30 AM
take a look at the howto on wiki ( http://wiki.amule.org ) for compiling form scratch.
If using debian, at iki there is also a guide to compile cryptopp pon debian
Greetings!
Title: Re: Windows messed up after hashing
Post by: Mig21 on July 29, 2004, 06:32:57 AM
i removed the old config files, now amule starts.

i force-removed all of wxwindows and reinstalled step by step following the wiki

compiled and installed amule with no problems

now it kinda works :) sometimes it will just freeze, completely. if i figure out a pattern i'll let you know

i will try to continue using rc5 to see whether i get that windowmess again

later
Title: Re: Windows messed up after hashing
Post by: Mig21 on August 01, 2004, 09:59:33 PM
rc5 does not have this problem

cheers