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/

Reply via email to