flies 0 Report post Posted November 7, 2008 well for me it looks after further observation that it just doesn't show days left... because hours and minutes are the same in both cases... Share this post Link to post Share on other sites
Ultima 7 Report post Posted November 7, 2008 Really? I've seen days in the WebUI before... Share this post Link to post Share on other sites
flies 0 Report post Posted November 8, 2008 Well yeah... I checked it twice and always hours & minutes match... Only days are not shown... I couldn't find the line which is responsible for displaying the date to check it though... Share this post Link to post Share on other sites
Ultima 7 Report post Posted November 8, 2008 After finding a slow torrent, I can confirm the bug. Thanks! Share this post Link to post Share on other sites
flies 0 Report post Posted November 8, 2008 Glad that I could help.btw. you could've just cap your download speed 1KB/s or so to see days in ETA you didn't have to search for slow torrent Share this post Link to post Share on other sites
Ultima 7 Report post Posted November 8, 2008 Better yet, pausing a torrent is enough to cause its ETA to rocket after a little bit Edit: And I see where the bug lies in the code... It's in utils.js, the "toTimeString" function. if ((y > 0) && (w >= 0)) { output = lang[CONST.TIME_YEARS_WEEKS].replace(/%d/, y).replace(/%d/, w); } else if ((w > 0) && (d >= 0)) { output = lang[CONST.TIME_WEEKS_DAYS].replace(/%d/, w).replace(/%d/, d); } else if ((d > 0) && (h >= 0)) { output = lang[CONST.TIME_DAYS_HOURS].replace(/%d/, d).replace(/%d/, h); } else if ((h > 0) && (m >= 0)) { output = lang[CONST.TIME_HOURS_MINS].replace(/%d/, h).replace(/%d/, m); } else if (m > 0) { output = lang[CONST.TIME_MINS_SECS].replace(/%d/, m).replace(/%d/, s); } else output = lang[CONST.TIME_SECS].replace(/%d/, s);The snippet in red needs to be added. Because the distributed version of WebUI is compacted, the variables won't have their full names (output is actually B, d is actually F, and h is actually D). Opening/closing braces for the if/else blocks as well as whitespaces are not preserved when compacted either. Pay attention to that! (I'm too lazy to translate the above snippet into compacted code) Share this post Link to post Share on other sites
flies 0 Report post Posted November 8, 2008 I will look at it tomorrow maybe i will find the way to fix it...EDIT: didnt noticed your edit thanks for fix!EDIT 2:replace:if((G>0)&&(H>=0)){B=lang[CONST.TIME_YEARS_WEEKS].replace(/%d/,G).replace(/%d/,H)}else{if((H>0)&&(F>=0)){B=lang[CONST.TIME_WEEKS_DAYS].replace(/%d/,H).replace(/%d/,F)}else{if((D>0)&&(C>=0)){B=lang[CONST.TIME_HOURS_MINS].replace(/%d/,D).replace(/%d/,C)}else{if(C>0){B=lang[CONST.TIME_MINS_SECS].replace(/%d/,C).replace(/%d/,I)}else{B=lang[CONST.TIME_SECS].replace(/%d/,I)}}}}return B}withif((G>0)&&(H>=0)){B=lang[CONST.TIME_YEARS_WEEKS].replace(/%d/,G).replace(/%d/,H)}else{if((H>0)&&(F>=0)){B=lang[CONST.TIME_WEEKS_DAYS].replace(/%d/,H).replace(/%d/,F)}else{if((F>0)&&(D>=0)){B=lang[CONST.TIME_DAYS_HOURS].replace(/%d/,F).replace(/%d/,D)}else{if((D>0)&&(C>=0)){B=lang[CONST.TIME_HOURS_MINS].replace(/%d/,D).replace(/%d/,C)}else{if(C>0){B=lang[CONST.TIME_MINS_SECS].replace(/%d/,C).replace(/%d/,I)}else{B=lang[CONST.TIME_SECS].replace(/%d/,I)}}}}}return B}in utils.jsEDIT3: I got rid of one unneeded char... Share this post Link to post Share on other sites
aman11dhanpat 0 Report post Posted November 9, 2008 it just shows loading and just stopshttp://www.amanhost.co.cc/gui/ Share this post Link to post Share on other sites
IBoFreSh 0 Report post Posted November 13, 2008 hi everbody, im new here and i got a big problem.i hope someone can help me out.at the beginning the webui worked. but then i did a change in the options. when i klicked "show speed in status bar" and pushed ok, then came the error message. invalid request....what can i do ?!?! heeellppp*EDIT* i use utorrent 1.6.1 and downloaded the webui from here.the protokoll says allways, when i try to connect. " (date) HTTP:myip BLOCKED : GET /gui/ Share this post Link to post Share on other sites
thelittlefire 0 Report post Posted November 14, 2008 Update your client. 1.6.1 is no longer supported here. Share this post Link to post Share on other sites
ranzou 0 Report post Posted November 14, 2008 can some one gimme the url to the utorrent web interface full installation guide.im quite new here and dont know where to start. Share this post Link to post Share on other sites
thelittlefire 0 Report post Posted November 14, 2008 There should be a read-me in the manual download but you can click the link in thetoppost or http://trac.utorrent.com/trac/wiki/ which is the bug center.How to start? Get 1.8.1 from http://utorrent.com/download.php , Ctrl-P > Advanced > WebUI , enable it, set a password, say OK, t should download the client for you. Share this post Link to post Share on other sites
ranzou 0 Report post Posted November 14, 2008 thx a lot.will giv it a try Share this post Link to post Share on other sites
zephyr22 0 Report post Posted November 15, 2008 I have a big problem with the v0.361 of webui. I get this...I run this on 2k3 server with uT 1.8.1.The strange thing is that it works just fine from a mobile connection on my laptop.Its from work it wont work. I used v0.316 and 310 before and they both work from here.Im on a corporate network with proxy, but that should have no effect should it??So what have changed from 316 to 361 that makes this one not to function properly? Share this post Link to post Share on other sites
Firon 3 Report post Posted November 15, 2008 You likely have an incomplete download. Delete the zip file and download it again. Share this post Link to post Share on other sites
zephyr22 0 Report post Posted November 15, 2008 Then why does it work from another location?Both places use Firefox 3.0.3 btw. Share this post Link to post Share on other sites
Firon 3 Report post Posted November 15, 2008 Just try it AND clear your browser's cache. Share this post Link to post Share on other sites
zephyr22 0 Report post Posted November 15, 2008 Tried now on a just formatted laptop with mobile broadband. Works like a charm. Still no go on corporate network.This laptop uses Firefox 3.0.1. Just installed so no cache there.Edit: Also uninstalled and reinstalled on corp network. Still not working Share this post Link to post Share on other sites
Ultima 7 Report post Posted November 16, 2008 Chances are, your corporate network blocks either gzipped content, or JavaScript files. Try the legacy version in the first post. Share this post Link to post Share on other sites
zephyr22 0 Report post Posted November 16, 2008 Worked like a charm Thanks for help.. Share this post Link to post Share on other sites
Blinx 0 Report post Posted November 19, 2008 Hi, is there a way to display when a torrent was added in the webui? It's there in the normal application, just not in webui. The column is missing... Share this post Link to post Share on other sites
osm0sis 1 Report post Posted November 19, 2008 Is it just my imagination or has development gone a little stagnant again?Nothing seems to be happening on the trac. Share this post Link to post Share on other sites
thelittlefire 0 Report post Posted November 19, 2008 ... stagnant as opposed to what? Isn't most of the available information already referenced.. seeing lots of requests for MORE INFO as opposed to different function, etc. Share this post Link to post Share on other sites
Photon 0 Report post Posted November 19, 2008 Have a weird problem. The menu bar in the ui is missing. I tried restarting, but still remains the same. Am i missing something? Share this post Link to post Share on other sites
thelittlefire 0 Report post Posted November 19, 2008 Toolbar up top? Press F4, (or read above) Share this post Link to post Share on other sites