daithi Posted July 22, 2012 Report Share Posted July 22, 2012 Hey,can't create a new label in ubuntu webui. Had a quick look at the code and the func:"setLabel" is defined twice in /js/webui/webui.jsthe second def on line: 3696 takes the wrong arguments, so i presumed this one was deprecatedthe first def on line: 1470has the correct arguments passed (label name) so presuming this is the good. But this throws an error:param.view.selectedRows not definedit couldn't get a list of selected rows, to build up hashes for the ajax query to create the new label.recreate:try create a new labelquick fix for other users - to create a new labelopen up console in your js debugger (i used firebug in firefox)you need to find the hash of 1 and only 1 torrent you want added to the new label. Can't create empty labels unfortunately but get the hash of atleast one torrent. Put your hash in the line below replacing 586F2D38501676C08DFD7905531984CE674D15C1with the hash of a torrent thats currently listedutWebUI.request('action=setprops&s=label&hash=586F2D38501676C08DFD7905531984CE674D15C1&v=' + encodeURIComponent('piratebay.se'));my systemsubuntu 11.10webui v 3_0firefox 14.0.1chrome 18.0.1025.168 Link to comment Share on other sites More sharing options...
DreadWingKnight Posted July 22, 2012 Report Share Posted July 22, 2012 webui v 3_0You try with the current windows webui yet? Link to comment Share on other sites More sharing options...
daithi Posted July 22, 2012 Author Report Share Posted July 22, 2012 sorry, in work, rushed that post and just read the sticky.nope only on linux ubuntu, any chance you could move this to the linux forums for me? I'll try it in a vbox on window when I get a chance.cheers Link to comment Share on other sites More sharing options...
DreadWingKnight Posted July 22, 2012 Report Share Posted July 22, 2012 Not what I'm talking about.The webui for windows is compatible with uTorrent for linux.Try it. Link to comment Share on other sites More sharing options...
daithi Posted July 23, 2012 Author Report Share Posted July 23, 2012 tried it and no joy.got the code from github: https://github.com/bittorrent/webuiplaced it in: /js/webui (with other files from linux download)re-zipped to webui.zipused conf file to point to new webui.zipTypeError: $("DLG_SETTINGS_SAVE") is nullhttp://localhost:8080/gui/js/webui/main.jsLine 1036is the plan to have all os's running the same webui code? If so I don't mind forking the repo and seeing if I can get it up on linux.hope I'm on the right track with the above. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted July 23, 2012 Report Share Posted July 23, 2012 http://forum.utorrent.com/viewtopic.php?id=58156 <-- so you tried this one too (replace the whole zip)? Link to comment Share on other sites More sharing options...
daithi Posted July 23, 2012 Author Report Share Posted July 23, 2012 works like a charm.renamed zip to webui, set it in utserver.conf and violathanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.