aMule Forum
English => en_Bugs => Topic started by: darklegion on November 08, 2004, 01:36:17 PM
-
Well after putting up with a previous (broken cvs) that could only run semi-reliably under amulecmd/amuled,I have tried compiling the latest cvs.Here are the details of the wxgtk and amule compiles:
wxGTK 2.5.3:
--with-gtk2 --with-unicode
amule:
---disable-debug --enable-optimise -enable-amule-daemon --enable-webserver
--enable-amulecmd --disable-systray --enable-ccache
And here are the problems:
Main amule(GUI):
Gui doesn't have the swap workspace/window segfault anymore but now it can't load my shared files or transfer list.These are the errors in the log that stand out:
IDS_CRYPT_INITFAILED
Error enumerating files for dir ~/amule/temp
Error enumerating files for dir ~/amule/incoming/
Also graphics are somewhat messed up,such as unicode might not be working correctly.
amulecmd:
Loads the password prompt and lets me enter my pass then it just closes without a message.
amuleweb:
Õ· Õ·ssword not passed on command line and config file not used
amuled:
Possible insight to the above problems here as it seems to be trying to load the shared/temp files from '.' rather then my proper shared/temp directories:
Loading temp files from .
Empty dir shared
A lot of the problesm above might suggest permission problems but I am have read/write access to all of the files,so I can't see why thies would be happening.
I'm compiling rc7 again against the same wx to see if the problems disappear.
-
Password not passed on command line and config file not used
You should set password for amuleweb - either by specifying it on command line or by using config file with -f switch.
run amuleweb --help to see exact syntax
amuled using same config file as gui mule. So if one doesn't work - another probably will not too.
Error enumerating files for dir ~/amule/temp
Did you specified "~" in .eMule or somewhere in options ? I don't think amule gonna like it - set full path to directory.
-
i think it does support ~. I'm not sure since my computer is broken, so I can't check, but I reember some part of the code resolves the ~ symbol. Or maybe it's just the signature path in preferences...
Greetings!
-
Dropped back to a previous cvs (20041028) and so far the gui seems to be working well and shared files/transfers are being picked up correctly..some minor glitches here but that doesn't really bother me.However webserver is seg faultnig and amulecmd loads but does not do anything after telling it to connect.Amuled works fine although it is useless without the other 2 working :) I also disabled embedded crypto on this which may/may not have fixed the password/shared files problem.
As for using '~'...it is not specified like that,I am just used to using that as shorthand :)
-
Reverting to a previous cvs don't help us tracking ;) Can you pelase retry with current cvs?
The problem is that your aMule is not reading the config from where it should. Can you confirm if it still happens?
-
kry I have this prob too...
I'm using wx 2.5.3 with unicode + gkt2
Empty dir shared
Empty dir ?§î@?§î@ff/media/
the dir should be /mnt/stuff/media...
and in the userHash I have "¯# " (without "" ) before numbers&leters
tried with cvs Ter Nov 9 22:57:56 WET 2004
and with rc7 works fine....
-
Yes it still happens (november 7 cvs).Oh and I have also seemingly lost my statistics and possibly my credits also which I can't seem to get back in the older version either i.e total uploads and downloads was reset back to 0.However this may have also been cause by a temporary move of clients.met,but that should not have stuffed things permanently.I don't particularly care though as I have seen no effect on my download speed...but then my connect is low-end adsl and I tend to download from a different source each time.
-
Same configuration, same punishment.
Same troubvle for me, including with the current CVS. I gave a try to CVS from Oct 30th and everything went fine.
-
Can someone provide me the exact date? I mean, 30Oct is ok and today's is wrong, but what about 1-9?
-
Well I'll try compiling 20041104 and see if it still happens(middle ground between oct 30th and nov 7th :) ).If it does/doesn't work that should narrow it down a bit.20041107 was the one where it originally happened.
-
Ok,it still happens on 20041104 so the bug is here or earlier.
-
I tried the one from 20041103 and gues what, it worked! So it seems like the problem is somewhere within the 20041104 tarball .
-
I confirm 20041103 CVS works about lists, anyway, it seems there are some troubles with unicode on the list of servers.
(http://oldfrog.9online.fr/divers/amulelist.jpg)
-
should be fixed now. check tonights CVS please
Greetings!
-
Trouyble compiling current CVS (20041114):
erverListCtrl.cpp: In static member function `static int CServerListCtrl::SortProc(long int, long int, long int)':
ServerListCtrl.cpp:591: error: `CmpAny' undeclared (first use this function)
ServerListCtrl.cpp:591: error: (Each undeclared identifier is reported only once for each function it appears in.)
ServerListCtrl.cpp:593: error: duplicate case value
ServerListCtrl.cpp:577: error: previously used here
make[4]: *** [amule-ServerListCtrl.o] Erreur 1
make[3]: *** [all-recursive] Erreur 1
make[2]: *** [all] Erreur 2
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2
-
http://www.amule.org/amule/thread.php?threadid=4133&sid=
-
Sorry for the double post :] ;(
-
no problem but it's not fixed yet in CVS (20041114), it will be in TONIGHT's cvs ;)
Greetings!
-
Trouble compiling CVS of 20041115
In file included from alcc.cpp:49:
alcc.h:73: warning: missing initializer for member `wxCmdLineEntryDesc::shortName'
alcc.h:73: warning: missing initializer for member `wxCmdLineEntryDesc::longName'
alcc.h:73: warning: missing initializer for member `wxCmdLineEntryDesc::description'
alcc.h:73: warning: missing initializer for member `wxCmdLineEntryDesc::type'
alcc.h:73: warning: missing initializer for member `wxCmdLineEntryDesc::flags'
In file included from ListenSocket.cpp:26:
server.h: In member function `const wxString CServer::GetListName() const':
server.h:61: error: cannot convert `const wxString' to `const char*' for argument `1' to `const wxWCharBuffer char2unicode(const char*)'
server.h: In member function `const wxString CServer::GetAddress() const':
server.h:66: error: cannot convert `const wxString' to `const char*' for argument `1' to `const wxWCharBuffer char2unicode(const char*)'
server.h: In member function `const wxString CServer::GetDescription() const':
server.h:79: error: cannot convert `const wxString' to `const char*' for argument `1' to `const wxWCharBuffer char2unicode(const char*)'
server.h: In member function `const wxString CServer::GetVersion() const':
server.h:105: error: cannot convert `const wxString' to `const char*' for argument `1' to `const wxWCharBuffer char2unicode(const char*)'
ListenSocket.cpp:111:18: warning: #warning check closing method to change order and get rid of this
ListenSocket.cpp:819:50: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it willbreak a lot ;)
ListenSocket.cpp:825:42: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it willbreak a lot ;)
ListenSocket.cpp:1165:42: warning: #warning We need a new ProcessSharedFileList that can handle dirs. ___UNICODE___
make[4]: *** [amule-ListenSocket.o] Erreur 1
make[3]: *** [all-recursive] Erreur 1
make[2]: *** [all] Erreur 2
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2
-
the fixes to the above compilation problems are trivial. the real problem is that this version (cvs-20041115) also exposes the behavior described in the earlier posts. also starting from cvs-20041104 amule messes up ipfiler.dat
if anyone wants to compile 20041115 here is the patch:
diff -Naur amule-cvs-20041115/src/server.h amule-cvs-20041115.fixed/src/server.h
--- amule-cvs-20041115/src/server.h 2004-11-14 18:29:05.000000000 +0100
+++ amule-cvs-20041115.fixed/src/server.h 2004-11-15 19:19:26.000000000 +0100
@@ -58,12 +58,12 @@
CServer(CServer* pOld);
~CServer();
void AddTag(CTag* in_tag) {taglist->Append(in_tag);}
- const wxString GetListName() const {return char2unicode(listname);}
+ const wxString GetListName() const {return listname;}
const wxString& GetFullIP() const {return ipfull;}
const wxString GetAddress() const {
if (!dynip.IsEmpty()) {
- return char2unicode(dynip);
+ return dynip;
} else {
return ipfull;
}
@@ -76,7 +76,7 @@
uint32 GetIP() const {return ip;}
uint32 GetFiles() const {return files;}
uint32 GetUsers() const {return users;}
- const wxString GetDescription() const {return char2unicode(description);}
+ const wxString GetDescription() const {return description;}
uint32 GetPing() const {return ping;}
uint32 GetPreferences() const {return preferences;}
uint32 GetMaxUsers() const {return maxusers;}
@@ -102,7 +102,7 @@
void SetSoftFiles(uint32 in_softfiles) {softfiles = in_softfiles;}
uint32 GetHardFiles() const {return hardfiles;}
void SetHardFiles(uint32 in_hardfiles) {hardfiles = in_hardfiles;}
- const wxString GetVersion() const {return char2unicode(m_strVersion);}
+ const wxString GetVersion() const {return m_strVersion;}
void SetVersion(wxString pszVersion) {m_strVersion = pszVersion;}
void SetTCPFlags(uint32 uFlags) {m_uTCPFlags = uFlags;}
uint32 GetTCPFlags() const {return m_uTCPFlags;}
diff -Naur amule-cvs-20041115/src/ServerListCtrl.cpp amule-cvs-20041115.fixed/src/ServerListCtrl.cpp
--- amule-cvs-20041115/src/ServerListCtrl.cpp 2004-11-14 11:59:51.000000000 +0100
+++ amule-cvs-20041115.fixed/src/ServerListCtrl.cpp 2004-11-15 19:19:53.000000000 +0100
@@ -200,7 +200,7 @@
SetItem( itemnr, COLUMN_SERVER_NAME, server->GetListName() );
SetItem( itemnr, COLUMN_SERVER_ADDR, server->GetAddress() );
- SetItem( itemnr, COLUMN_SERVER_PORT, wxString::Format("%i", server->GetPort()) );
+ SetItem( itemnr, COLUMN_SERVER_PORT, wxString::Format( wxT("%i"), server->GetPort()) );
SetItem( itemnr, COLUMN_SERVER_DESC, server->GetDescription() );
if ( server->GetPing() ) {
-
Yo, I should compile cvs on unicode too ;)
Thaks for the patch.
-
the unicode bug is finally fixed! thank you. i noticed that change from macro to inline (20041104 was it?) during that massive migration of code from otherfunctions.h to StringFunctions and etc, but what i thought to myself was "no, that can't be the cause!" =) by the way unless you meant someone else i am volpol not "volpop"
-
vulipop :P
-
well...if you insist =)