Page 1 of 1

WebUI ExtJS Opera bug

Posted: Mon Nov 21, 2011 7:32 pm
by Redsandro
There is a bug in WebUI 1.3.3-1ubuntu1 where the used ExtJS 3.1.1 has a bug that prevents a (torrent) file upload from ever completing.

The issues are fixed in ExtJS 3.4.0 and 4.0.7 iirc, or if there's some weird reason to stick with 3.1.1, manual fix 1 or manual fix 2

More information:
http://www.sencha.com/forum/showthread. ... pload-form

Re: WebUI ExtJS Opera bug

Posted: Mon Nov 21, 2011 10:09 pm
by Cas
I know that damoxc is working on a exjs4 port but i dont know what stage that is at so Ill ask him about including the fix you linked to.

Re: WebUI ExtJS Opera bug

Posted: Tue Nov 22, 2011 11:52 am
by Redsandro
On behalf of Deluge'ing Opera users, I thank you. :)

Re: WebUI ExtJS Opera bug

Posted: Thu Nov 24, 2011 9:37 am
by Redsandro
Where is that script for YUI'ing and cat'ing all those ExtJS scripts together into deluge-all?
I remember I had it for Deluge 1.3.2, but either I forgot where it was, or 1.3.3 doesn't come with it?

I'm hopping around in /usr/share/pyshared/deluge/ui/web/js/deluge-all

Re: WebUI ExtJS Opera bug

Posted: Thu Nov 24, 2011 1:08 pm
by Cas
You are probably referring to build, which is only in source.

If you want to test changes on the fly you can add '?dev=true' to the webui url and it will use the standard files instead.

Re: WebUI ExtJS Opera bug

Posted: Fri Dec 02, 2011 5:02 pm
by Redsandro
I cannot build the compressed deluge-all.js. I keep getting [: 96: 0: unexpected operator messages. The line number doesn't give a hint.

apart from cloning .build and replacing yuicompressor with yui-compressor, I cannot seem to pinpoint other problems.
Is there some more documentation on the process developed for this purpose?

For what environment are these scripts written anyway? I use Xubuntu, I guess it's not originally written in a Debian based distro?

Re: WebUI ExtJS Opera bug

Posted: Wed Dec 07, 2011 12:35 am
by Cas
IIRC damoxc uses Arch linux. I tested the script and found on Ubuntu you need to modify the first line from sh to bash:

Code: Select all

#!/bin/bash
For reference; to build the compressed javascript:

Code: Select all

cd deluge/ui/web
./build js/deluge-all