aMule Forum
English => aMule crashes => Topic started by: OldFrog on November 20, 2005, 10:26:29 AM
-
Don't know if it's a recent one, as I didn't use my PC for a week :
when launched eiher from command line or from amule, amuleweb crashes with :
Using host 'localhost' port: 8008
Essai de connexion (timeout = 10 s)...
Une erreur de socket s'est produite pendant l'authentification: abandon.
(a socket error happened during athentication. quitting)
amule log reports : Incorrect EC version ID, there might be binary incompatibility. Use core and remote from same snapshot.
I checked my amuleweb binary is from today as amule.
rwxr-xr-x 1 root root 369896 nov 20 09:06 wxcas*
-rwxr-xr-x 1 root root 16252 nov 20 09:06 ed2k*
-rwxr-xr-x 1 root root 13996 nov 20 09:06 cas*
-rwxr-xr-x 1 root root 463128 nov 20 09:06 amuleweb*
-rwxr-xr-x 1 root root 2139340 nov 20 09:06 amulegui*
-rwxr-xr-x 1 root root 1896932 nov 20 09:06 amuled*
-rwxr-xr-x 1 root root 240804 nov 20 09:06 amulecmd*
-rwxr-xr-x 1 root root 3240396 nov 20 09:06 amule*
-
Never mind /me stupid needs new glasses (There was a former amuleweb in /usr/local/bin from a little try of mine to modify the code one week ago).
NBesides that, anyway, I noticed some issues (maybe)
* don't see the fake check menu any more (I know one of the servers was closed on oct 31st, but thought there still was other ones).
* on the download page, clicking on a column title doesn't sort rows any more (Did it when using the preceding template). Anyway, array are supposed to be simple to sort in php, aren't they ?
* when launching amuleweb with :
amuleweb --amule-config-file=/home/louis/.aMule/amule.conf -t chicane
I still get the default style
Not a big deal anyway. Go on with such a good work, guys.
-
on the download page, clicking on a column title doesn't sort rows any more
I will check that. Must be template problem
-
I gave a deeper look inside the sources of ExternalConnector.cpp and WebInterface.cpp.
Default config-file is remote.conf. If you got an old one (before changing templates to php), just erase it or do the following :
* update amule.conf through the GUI's preferances pannel, tab "remote control", to setup amule.conf with needed parameters (port, password, template).
Then run amule-web with the following :
amuleweb --create-config-from=~/.aMule/amule.conf
This will generate a brand new remote.conf appropriate to your current settings.
To change the template, just update the section [Webserver] Template inside remote.conf with the name of the desured directory in /usr/share/amule/webserver.
Then simply run amuleweb to enable your parameters.
Suggestion : could we have a "Template" textbox or combo box in the GUI panel, instead of updating it manually in the conf file ?
And of course, thanks for this great piece of work.
[EDIT] miscellaneous corrections, thanks stefanero, and thanks to GonoszTopi for added complements.
Maybe these little things should be added to the wiki, as this one is a bit shorty on the use of amuleweb ?
-
Originally posted by OldFrog
amuleweb --create-config-from=~/.aMule.conf
This will generate a brand new remote.conf appropriate to your current settings.
should be
amuleweb --create-config-from=~/.aMule/amule.conf
but rest is fine ;)
-
"amuleweb --create-config-from=amule.conf" is just enough.
* when launching amuleweb with :
amuleweb --amule-config-file=/home/louis/.aMule/amule.conf -t chicane
I still get the default style
--amule-config-file is not intended for human usage. If you read the manual of amuleweb, youl'll see that all other command-line parameters are ignored, that's why you still get the default template.
-
Originally posted by lfroen
on the download page, clicking on a column title doesn't sort rows any more
I will check that. Must be template problem
It works now. Thanks
-
A little con cern anyway.
- When the transfer page is rereshed, the rows are displayed in reverse order.
- when I connect to another site then back to amuleweb through my browser, I don't need to sign in again any more. Is not that a bit unsecure ?
-
hte 2nd thing is due to cookies...I guess