ityndall-ue636x8T32g@public.gmane.org
2007-Oct-25 17:38 UTC
Autocompleter unit tests failing
Scriptaculous version 1.8.0_pre1 Firefox version 2.0.0.8 and IE6. Just wondering if anyone else is having problems with the autocompleter unit tests. I''m getting the following errors from it: FF: Ajax.Autocompleter is not a constructor IE: Object expected([object Error]) I''m thinking that there is a problem initiating a class more than once, as I got the same error(not a constructor) on a recent project. Thanks, Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
The most common problem when Scripty throws errors on load is an incompatible version of Prototype. Are you using the Prototype version that came with it? TAG On Oct 25, 2007, at 11:38 AM, ityndall-ue636x8T32g@public.gmane.org wrote:> > Scriptaculous version 1.8.0_pre1 > Firefox version 2.0.0.8 and IE6. > > Just wondering if anyone else is having problems with the > autocompleter unit tests. > > I''m getting the following errors from it: > FF: Ajax.Autocompleter is not a constructor > IE: Object expected([object Error]) > > I''m thinking that there is a problem initiating a class more than > once, as I got the same error(not a constructor) on a recent project. > > Thanks, > Ian > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ityndall-ue636x8T32g@public.gmane.org
2007-Oct-25 19:17 UTC
Re: Autocompleter unit tests failing
Yes, it came with 1.6.0_rc0 and thats what I''m using. However, I did try it with 1.6.0_rc1 and got the same results. ---------Included Message---------->Date: 25-Oct-2007 14:53:36 -0400 >From: "Tom Gregory" <tomg-PGZyUNKar/Q@public.gmane.org> >Reply-To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >Subject: [Rails-spinoffs] Re: Autocompleter unit tests failing > > >The most common problem when Scripty throws errors on load is an >incompatible version of Prototype. Are you using the Prototype >version that came with it? > > >TAG > >On Oct 25, 2007, at 11:38 AM, ityndall-ue636x8T32g@public.gmane.org wrote: > >> >> Scriptaculous version 1.8.0_pre1 >> Firefox version 2.0.0.8 and IE6. >> >> Just wondering if anyone else is having problems with the >> autocompleter unit tests. >> >> I''m getting the following errors from it: >> FF: Ajax.Autocompleter is not a constructor >> IE: Object expected([object Error]) >> >> I''m thinking that there is a problem initiating a class more than >> once, as I got the same error(not a constructor) on a recentproject.>> >> Thanks, >> Ian >> >> >> >> > > > >> > >---------End of Included Message---------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ityndall-ue636x8T32g@public.gmane.org
2007-Oct-25 20:44 UTC
Re: Autocompleter unit tests failing
I figured it out... missing controls.js. However, the error on my recent project that I mentioned earlier was resolved by adding: var classname = {}; Before: classname = Class.create(); Thanks! ---------Included Message---------->Date: 25-Oct-2007 15:22:47 -0400 >From: "ityndall-ue636x8T32g@public.gmane.org" <ityndall-ue636x8T32g@public.gmane.org> >Reply-To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >Subject: [Rails-spinoffs] Re: Autocompleter unit tests failing > > >Yes, it came with 1.6.0_rc0 and thats what I''m using. >However, I did try it with 1.6.0_rc1 and got the same results. > >---------Included Message---------- >>Date: 25-Oct-2007 14:53:36 -0400 >>From: "Tom Gregory" <tomg-PGZyUNKar/Q@public.gmane.org> >>Reply-To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>Subject: [Rails-spinoffs] Re: Autocompleter unit tests failing >> >> >>The most common problem when Scripty throws errors on load is an >>incompatible version of Prototype. Are you using the Prototype >>version that came with it? >> >> >>TAG >> >>On Oct 25, 2007, at 11:38 AM, ityndall-ue636x8T32g@public.gmane.org wrote: >> >>> >>> Scriptaculous version 1.8.0_pre1 >>> Firefox version 2.0.0.8 and IE6. >>> >>> Just wondering if anyone else is having problems with the >>> autocompleter unit tests. >>> >>> I''m getting the following errors from it: >>> FF: Ajax.Autocompleter is not a constructor >>> IE: Object expected([object Error]) >>> >>> I''m thinking that there is a problem initiating a class more than >>> once, as I got the same error(not a constructor) on a recent >project. >>> >>> Thanks, >>> Ian >>> >>> >>> >>> > >> >> >>> >> >> >---------End of Included Message---------- > > > >> > >---------End of Included Message---------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---