Problems with Orbited.js: ERROR LOADING jsio/net/protocols/mspp.js : TypeError: Object #<an Object> has no method 'getLogger'

14 views
Skip to first unread message

Niklas B

unread,
Aug 6, 2010, 3:37:10 AM8/6/10
to Orbited Discussion
Hi,

I'm trying an Orbited 0.8 with UTF-8 fixes (not by me) but am not
really making progress. I get this in the browser:

ERROR LOADING jsio/net/protocols/mspp.js : TypeError: Object #<an
Object> has no method 'getLogger' Orbited.js:136
ERROR LOADING Orbited.js : TypeError: Object #<an Object> has no
method 'getLogger' Orbited.js:293
Uncaught TypeError: Object #<an Object> has no method
'getLogger'
stomp:19
Uncaught ReferenceError: Orbited is not defined

Any idea of what can be the issue with the first/second error? I've
tried recompiling using js.io, same thing.

Demo: http://orbited4.www.snyggastchatten.se/static/demos/stomp/
(might be a bit shaky, dev server)

Regards,
Niklas

leon

unread,
Aug 6, 2010, 8:48:03 PM8/6/10
to Orbited Discussion
Hey Niklas,

I tried the URL you provided and the error was there as well. I
thought it would have to do with some configuration on the JS files
for a (non-)standard debug present. I would assume these errors do not
show up while using the current version - but I have only been to
0.7.10 so far - so what is the focus of those fixes, and would it be
possible to share them here?

Niklas B

unread,
Aug 7, 2010, 3:11:50 AM8/7/10
to Orbited Discussion
No, the errors are not in the standard 0.8 as well. mcarter added some
bug fixes and a new version of the CSP (comet session protocol) to try
to shut some memory leaks. The idea was to test them and release as
soon as we saw they were stable.

Michael Carter

unread,
Aug 27, 2010, 4:10:18 PM8/27/10
to Orbited Discussion
I think the js.io apis changes from jsio.logging.getLogger to
jsio.logging.get()

More importantly, loggers are in each scope by default, so you can
probably just delete whatever offending getLogger line is there.


Also, you should do any compilations against the 3.2 tag of js.io --
things are changing rapidly in trunk.

-Michael Carter

Niklas B

unread,
Sep 6, 2010, 1:25:18 PM9/6/10
to Orbited Discussion
Awesome, I'll try these changes and compile using the 3.2 tag and
report back :)
Reply all
Reply to author
Forward
0 new messages