Bug#673390: filetea: error in require.js

2012-05-21 Thread Michael Fladischer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/18/2012 08:28 PM, Alberto Garcia wrote:
 I guess you tried restarting FileTea...

Restarting filetea did not help.

Cheers,
- -- 
Michael Fladischer mich...@fladi.at
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+6B4YACgkQeJ3z1zFMUGZDKwCePd9DJwdd/f5XFMPlEt+XnUuN
/SEAn04n7w5ERrAeUXaZ+jJAkA+S3efh
=sJnu
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673390: filetea: error in require.js

2012-05-21 Thread Eduardo Lima Mitev

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is an error in EventDance library, specifically in the browser-side
Web transport script. The issue was fixed already in 0.21 but is not yet
release:
https://github.com/elima/EventDance/commit/9232a4cbaf4653b36a1e04756cace93e65e38d13.

If you want to fix it locally, edit
/usr/share/evd-0.1/js/evdWebTransport.js and remove or comment the
following lines at the end of the file:


if (this[define] !== undefined) {
if (this[exports] === undefined)
var exports = {};

exports.Object = Evd.Object;
exports.WebTransport = Evd.WebTransport;
exports.Peer = Evd.Peer;

define (exports);
}


That piece of code was introduced to allow Evd JS scripts to work well
both as a normal page script and as an asynchronous module to be loaded
by require.js. But the detection turned out to be buggy and was removed.
This pattern will be retaken in EventDance 0.2, which will enforce
asynchronous module loading on all JS libs.

Thanks Michael for reporting and Berto for adding me to the loop. Feel
free to ping me for any further issue.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+6FIsACgkQ0RgjHbY/7rUS5ACgtCXMkciTv3UL4zMv3UH2uiBu
lOYAoIy0gYCoi+kpVz1Fpw6Pjj+XNMcg
=8wZ8
-END PGP SIGNATURE-



Bug#673390: filetea: error in require.js

2012-05-21 Thread Alberto Garcia
On Mon, May 21, 2012 at 12:10:19PM +0200, Eduardo Lima Mitev wrote:

 This is an error in EventDance library, specifically in the
 browser-side Web transport script. The issue was fixed already in
 0.21 but is not yet release:

Great, thanks.

Michael, if you can confirm that this solves the issue for you I can
upload a new version of the package with this patch.

Thanks!

Berto



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673390: filetea: error in require.js

2012-05-21 Thread Michael Fladischer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/21/2012 12:24 PM, Alberto Garcia wrote:
 On Mon, May 21, 2012 at 12:10:19PM +0200, Eduardo Lima Mitev
 wrote:
 This is an error in EventDance library, specifically in the 
 browser-side Web transport script. The issue was fixed already
 in 0.21 but is not yet release:
 
 Michael, if you can confirm that this solves the issue for you I
 can upload a new version of the package with this patch.

Yes, I can confirm that replacing
/usr/share/evd-0.1/js/evdWebTransport.js
with latest upstream from
http://raw.github.com/elima/EventDance/master/evd/js/evdWebTransport.js
fixed
the problem.

Cheers  thank you!
- -- 
Michael Fladischer mich...@fladi.at
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+6Gu4ACgkQeJ3z1zFMUGardwCgk2K2Vktw2UtZ+lUt7BxSlOgt
W0cAnjBLKsONprBeOJ2dcFN4ZMFndRGt
=fOim
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673390: filetea: error in require.js

2012-05-18 Thread Michael Fladischer
Package: filetea
Version: 0.1.12+dfsg1-2
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear Maintainer,

Installing filetea and opening it in the browser (tested with Iceweasel
10 and Chromium 18) results in a page missing most of the controls and
reproting this JavaScript error:

Iceweasel:
Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
http://root.fladi.at:8081/common/require.js
Line 76

Chromium:
Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages filetea depends on:
ii  adduser 3.113+nmu2
ii  libc6   2.13-32
ii  libevd-0.1-00.1.20-1
ii  libgcrypt11 1.5.0-3
ii  libglib2.0-02.32.3-1
ii  libjs-jquery1.7.2-1
ii  libjs-jquery-ui 1.8.ooops.20+dfsg-1
ii  libjson-glib-1.0-0  0.14.2-1
ii  libsoup2.4-12.38.1-2
ii  libuuid12.20.1-4

filetea recommends no packages.

Versions of packages filetea suggests:
ii  ssl-cert  1.0.28

- -- Configuration Files:
/etc/default/filetea changed:
START_DAEMON=yes

/etc/filetea/filetea.conf changed:
[node]
id=fladi.at
max-bandwidth-in=500.0
max-bandwidth-out=500.0
source-id-start-depth=8
user=filetea
group=filetea
pid-file=/var/run/filetea.pid
[http]
enabled=true
port=8081
force-https=false
[https]
enabled=false
cert=/etc/ssl/certs/ssl-cert-snakeoil.pem
key=/etc/ssl/private/ssl-cert-snakeoil.key
[transfer]
max-bandwidth-in=0.0
max-bandwidth-out=0.0
[log]
http-log-file=/var/log/filetea/access.log


- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+2FEYACgkQeJ3z1zFMUGYf6wCfftEwECys3tjTbBmnvmsJwtM0
l9AAn0qbTKB5CW1JE0rFzP5Rxp1LW2ti
=ezWW
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673390: filetea: error in require.js

2012-05-18 Thread Alberto Garcia
On Fri, May 18, 2012 at 11:20:08AM +0200, Michael Fladischer wrote:

 Installing filetea and opening it in the browser (tested with
 Iceweasel 10 and Chromium 18) results in a page missing most of the
 controls and reproting this JavaScript error:

I can only reproduce that problem in my machine if libjs-jquery is not
installed. However it seems that it _is_ installed in your case.

I guess you tried restarting FileTea...

Edu, any idea?

Berto



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org