Hi, I was wondering if anyone has any suggestions for debugging ie- specific errors? I have been working on a porting a prototype application that works fine in firefox to ie, and have run into several problems. For the latest one, the error message is not very informative. When trying to load the application, ie complains "Object doesn''t support this property or method." When attempting to debug the error in MS Script Editor, the problematic line is the catch part of a try-catch block in prototype, " } catch (e) {" Anyone have any suggestions on tracking down the offending bug, or for debugging with MS Script Editor in general? Any advice would be greatly appreciated! Thanks, Keith --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
When it works on FF and not IE, that error seems to happen most when not extending an element with $(). see http://prototypejs.org/learn/extensions The error basically means that the script is trying to invoke method that doesn''t exist on that object. One thing you can do with MS Script Editor is to look at the stack trace to see where the error originated. - Ken Snyder On 2/16/08, Keith Hughitt <keith.hughitt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > I was wondering if anyone has any suggestions for debugging ie- > specific errors? I have been working on a porting a prototype > application that works fine in firefox to ie, and have run into > several problems. For the latest one, the error message is not very > informative. When trying to load the application, ie complains "Object > doesn''t support this property or method." > > When attempting to debug the error in MS Script Editor, the > problematic line is the catch part of a try-catch block in prototype, > " } catch (e) {" > > Anyone have any suggestions on tracking down the offending bug, or for > debugging with MS Script Editor in general? > > > Any advice would be greatly appreciated! > > Thanks, > Keith > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I can''t remember how many times this particular question was answered :/ Maybe we should create an official FAQ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
+ 500> Maybe we should create an official FAQ?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks Ken! Sure enough, there were several instances where elements had not been extended. Wrapping them in an $() fixed most of the problems. I''m still having some ie-specific issues, but they are probably not due to prototype-related functionality. Sorry if the question comes up a lot. I tried searching through the forums, but did not see anything related to what I believed to be the cause of the problem. Incidentally, does anyone know why this issue only occurs with ie? When do firefox elements get the extended functionality applied? Thanks! Keith On Feb 16, 11:49 pm, "Ken Snyder" <kendsny...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> When it works on FF and not IE, that error seems to happen most when > not extending an element with $(). seehttp://prototypejs.org/learn/extensions > > The error basically means that the script is trying to invoke method > that doesn''t exist on that object. > > One thing you can do with MS Script Editor is to look at the stack > trace to see where the error originated. > > - Ken Snyder > > On 2/16/08, Keith Hughitt <keith.hugh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, > > > I was wondering if anyone has any suggestions for debugging ie- > > specific errors? I have been working on a porting a prototype > > application that works fine in firefox to ie, and have run into > > several problems. For the latest one, the error message is not very > > informative. When trying to load the application, ie complains "Object > > doesn''t support this property or method." > > > When attempting to debug the error in MS Script Editor, the > > problematic line is the catch part of a try-catch block in prototype, > > " } catch (e) {" > > > Anyone have any suggestions on tracking down the offending bug, or for > > debugging with MS Script Editor in general? > > > Any advice would be greatly appreciated! > > > Thanks, > > Keith--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
p.s. Thanks Toby for all of your work on the Prototype library, and for answering my earlier question on a similar problem. Keep up the good work! Keith On Feb 18, 3:37 pm, Keith Hughitt <keith.hugh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks Ken! > > Sure enough, there were several instances where elements had not been > extended. > Wrapping them in an $() fixed most of the problems. I''m still having > some ie-specific > issues, but they are probably not due to prototype-related > functionality. > > Sorry if the question comes up a lot. I tried searching through the > forums, but > did not see anything related to what I believed to be the cause of the > problem. > > Incidentally, does anyone know why this issue only occurs with ie? > When do > firefox elements get the extended functionality applied? > > Thanks! > Keith > > On Feb 16, 11:49 pm, "Ken Snyder" <kendsny...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > When it works on FF and not IE, that error seems to happen most when > > not extending an element with $(). seehttp://prototypejs.org/learn/extensions > > > The error basically means that the script is trying to invoke method > > that doesn''t exist on that object. > > > One thing you can do with MS Script Editor is to look at the stack > > trace to see where the error originated. > > > - Ken Snyder > > > On 2/16/08, Keith Hughitt <keith.hugh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hi, > > > > I was wondering if anyone has any suggestions for debugging ie- > > > specific errors? I have been working on a porting a prototype > > > application that works fine in firefox to ie, and have run into > > > several problems. For the latest one, the error message is not very > > > informative. When trying to load the application, ie complains "Object > > > doesn''t support this property or method." > > > > When attempting to debug the error in MS Script Editor, the > > > problematic line is the catch part of a try-catch block in prototype, > > > " } catch (e) {" > > > > Anyone have any suggestions on tracking down the offending bug, or for > > > debugging with MS Script Editor in general? > > > > Any advice would be greatly appreciated! > > > > Thanks, > > > Keith--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---