aMule Forum
English => en_Bugs => Topic started by: Karhandras on November 29, 2005, 07:54:15 PM
-
Hi all,
here a problem with amuleweb
When I try to go to the page of downloads, amuleweb crashes... so I tried to log into amuleweb (with amule.conf Webserver enabled) and go into other pages, and there is no problem with them!
So I made my resolv.conf and launched amuleweb from command line and this is the result:
utente-web@black ~/.aMule $ amuleweb --config-file=/home/utente-web/.aMule/remote.conf
This is amuleweb CVS Tue Nov 29 07:01:58 CET 2005
Creazione del client in corso...
Succeeded! Connection established to aMule CVS
--------------------------------------
| aMule Web Server |
--------------------------------------
Usa 'Help' per la lista dei comandi
Server web: eseguito
aMuleweb$
WSThread: Thread started
WSThread: created socket listening on :4711
WCThread: Started a new WCThread
Processing request [original]:
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.html
WCThread: exited [WebSocket closed]
WCThread: Started a new WCThread
Processing request [original]:
Session ok, not logged in
Checking password
Password ok
Processing request [redirected]: index.html
WCThread: exited [WebSocket closed]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
Processing request [original]: top.html
Session ok, logged in
Processing request [redirected]: top.html
WCThread: exited [WebSocket closed]
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
WCThread: Started a new WCThread
Killed
I thought this was because the main page of php-default lead directly to the download page...
Amulecmd works normally, and the show dl command gives no problem...
Any idea?
-
Ok guys, I've solved it...
I had a look at my downloads and noticed that two of them were the same and have the same hash!
So I managed to find the duplicate part file (apropos... is there a fast way to find the part file associated to a download?? It took me an hour trying them one by one...), I moved it out and now everything works perfectly.
-
I'll check the checks for that.
-
Originally posted by Karhandras
is there a fast way to find the part file associated to a download?? It took me an hour trying them one by one...
If you right-click on a download, the menu will have an entry for Preview. Even if the menu is disabled because the file can't be previewed, it will show the part file number. Also, the File Details dialog available from that same menu will show it, too.
-
Turns out there were no checks when loading partfiles. I've added checks against duplicates (now wont be added and will print/log a warning) and improved some other checks to better avoid duplicates. Thanks for the report.