I cannot reproduce the error on the chatdemo on the www.ape-project.org site. Probably because it's using the mootools client instead of the javascript client?
On 6 mrt, 02:39, egarretsen <[email protected]> wrote: > Still researching the problem. > > I found a "bug" while looking for the source of the problem. > > The line > config.identifier = config.identifier || APE.config.identifier; > > is missing in apeClientJS.js in the load function. If a user does not > provide an identifier then identifier ape_undefined is used. > > Will try to look further into the problem. > > On 5 mrt, 15:59, Anthony Catel <[email protected]> wrote: > > > Hey, > > > Thanks you for your test :) Pretty intersting. > > Just to be sure, are you able to reproduce the same behaviour > > onwww.ape-project.org/onone of the demo? > > > Le 05/03/2011 04:31, egarretsen a crit : > > > > Hi Anthony, > > > > I performed some test: > > > > I tried refreshing in three ways enter in url, F5 and CTRL-F5 > > > > with x of y i mean number of times (x) the problem occured in y > > > refreshes > > > so 10 of 15 means 10 times $try not defined in 15 refreshed > > > > Method 1) Refreshing via enter in url bar (all with firebug > > > deinstalled) > > > > with webdeveloper 7 of 15 > > > webdeveloper disabled 12 of 15 > > > Webdeveloper deinstalled interval of 0.5 second 2 tests 10 of 15 / 5 > > > of 15 > > > Webdeveloper deinstalled interval of 1 second 10 of 15 > > > Webdeveloper deinstalled interval of 2 second 6 of 15 > > > > Method 2) Refreshing using F5 > > > > Webdeveloper deinstalled interval of 0.5 second 1 of 15 > > > Webdeveloper deinstalled interval of 1 second 1 of 15 > > > Webdeveloper deinstalled interval of 2 second ? of 15 > > > > Method 3) Refreshing using CTRL-F5 > > > > Webdeveloper deinstalled interval of 0.5 second 2 tests 0 of 15 / 0 of > > > 15 > > > > It seems that the problem occurs most often when entering in url to > > > refresh. When using CTRL-F5 it does not occur at all! > > > > It's not related to firebug or Webdeveloper toolbar for both were > > > deinstalled during (some) tests. > > > > On 5 mrt, 03:52, Anthony Catel<[email protected]> wrote: > > >> Ok, > > > >> Keep me in touch. > > > >> But we got another problem here : > > > >> - You said that your app stop working sometimes. Which appear to not be > > >> related to "try is not defined", right? > > > >> Le 05/03/2011 03:48, egarretsen a crit : > > > >>> Hi all, > > >>> So far i cannot replicate this issue in Opera, or Chrome on Linux. > > >>> I installed firebug lite and webdeveloper toolbar for Chrome, but do > > >>> not get this error. > > >>> Opere also does not throw this error. > > >>> I will try to deinstall webdeloper and firebug for Firefox and see if > > >>> the error still occurs. > > >>> Regards, > > >>> Evertjan > > >>> On 5 mrt, 03:21, egarretsen<[email protected]> wrote: > > >>>> Hi all, > > >>>> I'm using webdeveloper and firebug, the sourcecode where the error > > >>>> occurs in my case is: > > >>>> onStateChange: function(){ > > >>>> if (this.xhr.readyState != 4 || !this.running) > > >>>> return; > > >>>> this.running = false; > > >>>> this.status = 0; > > >>>> $try(function(){ > > >>>> this.status = this.xhr.status; > > >>>> }.bind(this)); > > >>>> this.xhr.onreadystatechange = $empty; > > >>>> if (this.options.isSuccess.call(this, this.status)){ > > >>>> this.response = {text: > > >>>> this.xhr.responseText, xml: > > >>>> this.xhr.responseXML}; > > >>>> this.success(this.response.text, > > >>>> this.response.xml); > > >>>> } else { > > >>>> this.response = {text: null, xml: null}; > > >>>> this.failure(); > > >>>> } > > >>>> }, > > >>>> Maybe this can be of help? > > >>>> On 4 mrt, 14:26, Jochen Hebbrecht<[email protected]> wrote: > > >>>>> No, when the JS error gets throwed, the APE client can still connect > > >>>>> to the server. > > >>>>> But ... > > >>>>> 1/ ... it's not a best practice to have JS errors in your code > > >>>>> 2/ ... I have no idea how to start searching for the problem where the > > >>>>> client stops connecting to the server, so the only reason I can found > > >>>>> is the JS error > > >>>>> Jochen > > >>>>> On Mar 4, 1:46 pm, Anthony Catel<[email protected]> wrote: > > >>>>>> Hey, > > >>>>>> What I need to know is, does the fail happen when "try is not > > >>>>>> defined" > > >>>>>> is throwed? > > >>>>>> Le 04/03/2011 13:00, Jochen Hebbrecht a crit : > > >>>>>>> ARGH! Nopez, having the error again now ... :-( ... Installing that > > >>>>>>> package doesn't solve the problem :-( ... > > >>>>>>> On Mar 4, 10:57 am, Jochen Hebbrecht<[email protected]> > > >>>>>>> wrote: > > >>>>>>>> I seem to have fixed the problem by installing this package in > > >>>>>>>> PHP:http://pear.php.net/package/Net_Socket/. > > >>>>>>>> Can somebody confirm this solves the problem? > > >>>>>>>> On Mar 3, 5:12 pm, Anthony Catel<[email protected]> wrote: > > >>>>>>>>> Oups, wrong reply ! (it was not for you) > > >>>>>>>>> Le 03/03/2011 17:10, Jochen Hebbrecht a crit : > > >>>>>>>>>> Hmm, can you clarify that reply? :-). Do I have to build the JS > > >>>>>>>>>> file > > >>>>>>>>>> by myself? Because I just downloaded it from the Build folder in > > >>>>>>>>>> GIT. > > >>>>>>>>>> What do you mean with: "install ZIP"? > > >>>>>>>>>> On Mar 3, 3:56 pm, Anthony Catel<[email protected]> > > >>>>>>>>>> wrote: > > >>>>>>>>>>> I guess that spidemronkey failed to configure. > > >>>>>>>>>>> cd ./deps/js/src/&& ./configure > > >>>>>>>>>>> I guess that you have a "ZIP not found" > > >>>>>>>>>>> => install zip > > >>>>>>>>>>> Le 03/03/2011 15:40, Jochen Hebbrecht a crit : > > >>>>>>>>>>>> No, when the error comes, APE can still continue work, or it > > >>>>>>>>>>>> can stop. > > >>>>>>>>>>>> I cannot figure out WHEN it stops working. I have no idea how > > >>>>>>>>>>>> to debug > > >>>>>>>>>>>> this problem. The moment I refresh the page, the problem is > > >>>>>>>>>>>> gone ... > > >>>>>>>>>>>> On Mar 3, 2:14 pm, Anthony Catel<[email protected]> > > >>>>>>>>>>>> wrote: > > >>>>>>>>>>>>> But, is it stop working when the "try is not defined" happen? > > >>>>>>>>>>>>> or it's > > >>>>>>>>>>>>> not related? > > >>>>>>>>>>>>> Le 03/03/2011 13:34, Jochen Hebbrecht a crit : > > >>>>>>>>>>>>>> We have this issue in Firefox 3.6.14. I have no idea how to > > >>>>>>>>>>>>>> reproduce > > >>>>>>>>>>>>>> it. Sometimes the call to the APE server is gone. Pushing F5 > > >>>>>>>>>>>>>> solves > > >>>>>>>>>>>>>> the problem. > > >>>>>>>>>>>>>> Maybe we are doing somehting wrong with the client? > > >>>>>>>>>>>>>> You can see it in action on this > > >>>>>>>>>>>>>> page:http://www.pipa.be/en/pigeons-for-sale/online/auctions > > >>>>>>>>>>>>>> * we use the Javascript client (not the Mootools Client). > > >>>>>>>>>>>>>> This > > >>>>>>>>>>>>>> Javascript client is aggregated with other Javascript files > > >>>>>>>>>>>>>> by Drupal > > >>>>>>>>>>>>>> * we use the apeCore.js > > >>>>>>>>>>>>>> On Mar 3, 1:02 pm, Anthony Catel<[email protected]> > > >>>>>>>>>>>>>> wrote: > > >>>>>>>>>>>>>>> Wes always faced this error without managed to find where > > >>>>>>>>>>>>>>> it was located. > > >>>>>>>>>>>>>>> But when it happen, APE doesn't stop working (at least > > >>>>>>>>>>>>>>> that's what we > > >>>>>>>>>>>>>>> realize). > > >>>>>>>>>>>>>>> In what browser did you see APE stop working because of > > >>>>>>>>>>>>>>> that? > > >>>>>>>>>>>>>>> Thanks > > >>>>>>>>>>>>>>> Anthony > > >>>>>>>>>>>>>>> Le 03/03/2011 12:58, Jochen Hebbrecht a crit : > > >>>>>>>>>>>>>>>> I'm not using Firebug, I'm using the Webdeveloper toolbar. > > >>>>>>>>>>>>>>>> I'm pretty sure this is not a bug in Firebug/Webdeveloper > > >>>>>>>>>>>>>>>> toolbar, but > > >>>>>>>>>>>>>>>> a real Javascript error. > > >>>>>>>>>>>>>>>> We are also facing the problem that on some page loads, > > >>>>>>>>>>>>>>>> APE just > > >>>>>>>>>>>>>>>> doesn't work. This really happens at random, so hard to > > >>>>>>>>>>>>>>>> debug/fix. So > > >>>>>>>>>>>>>>>> I'm thinking that this issue might be related to the JS > > >>>>>>>>>>>>>>>> errors > > >>>>>>>>>>>>>>>> On Mar 3, 12:51 pm, Anthony Catel<[email protected]> > > >>>>>>>>>>>>>>>> wrote: > > >>>>>>>>>>>>>>>>> Hi, > > >>>>>>>>>>>>>>>>> It's an issue with firebug. It's not a real error (the > > >>>>>>>>>>>>>>>>> script doesn't stop). > > >>>>>>>>>>>>>>>>> Just don't look at it ;) > > >>>>>>>>>>>>>>>>> Le 03/03/2011 12:45, egarretsen a crit : > > >>>>>>>>>>>>>>>>>> Hi, > > >>>>>>>>>>>>>>>>>> I'm also experiencing this error sometimes, not on every > > >>>>>>>>>>>>>>>>>> load / > > >>>>>>>>>>>>>>>>>> reload. > > >>>>>>>>>>>>>>>>>> I also do not know why it appears. > > >>>>>>>>>>>>>>>>>> Regards, > > >>>>>>>>>>>>>>>>>> Evertjan > > >>>>>>>>>>>>>>>>>> On 3 mrt, 12:43, Jochen > > >>>>>>>>>>>>>>>>>> Hebbrecht<[email protected]> > > >>>>>>>>>>>>>>>>>> wrote: > > >>>>>>>>>>>>>>>>>>> Hi, > > >>>>>>>>>>>>>>>>>>> We are sometimes getting this Javascript error: > > >>>>>>>>>>>>>>>>>>> -- > > >>>>>>>>>>>>>>>>>>> $try is not defined > > >>>>>>>>>>>>>>>>>>> apeCore.js - line 1535 > > >>>>>>>>>>>>>>>>>>> -- > > >>>>>>>>>>>>>>>>>>> I'm using the latest version (from GIT). > > >>>>>>>>>>>>>>>>>>> You can see the problem on this > > >>>>>>>>>>>>>>>>>>> link:http://www.pipa.be/en/pigeons-for-sale/online/auctions/andre-verbesse... > > >>>>>>>>>>>>>>>>>>> Any idea's why we sometimes get this Javascript error? > > >>>>>>>>>>>>>>>>>>> Regards, > > >>>>>>>>>>>>>>>>>>> Jochen -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
