What To Do

Categories

Social Bookmarks

Feeds

    • CommentAuthorFree Memberrunnrboy
    • CommentTimeSep 17th 2007 edited
     
    runnrboy

    I don't know if this has been covered in a previous post and if it has, I apologize.

    When I open any route in Firefox (v 2.0.0.6) I get a script error. If I click Continue, the browser window locks up for a minute and then I get the error again. If I click Cancel, the route markers show up but no route. Then, If I pan in the map, zoom in, zoom out, etc. The script error pops up again.

    Any ideas? Can Firefox not be used?

    Thanks!

     

     EDIT (to add script error):

     Warning: Unresponsive script

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

    Stop script   Continue 

    • CommentAuthorFree Membertjoeob
    • CommentTimeSep 17th 2007
     
    tjoeob
    I am using Firefox and it is working fine. Not sure what's wrong.
    • CommentAuthorFree Memberrunnrboy
    • CommentTimeSep 18th 2007 edited
     
    runnrboy

    I've looked at this a bit more and found this solution:

    1. Run Firefox.
    2. In the Firefox address bar, type about:config, and then press Enter.
    3. Scroll and locate or search with Filter text box for dom.max_script_run_time.
    4. Double click on the line of dom.max_script_run_time, and change the value to a higher number (in seconds) that you want Firefox to wait before getting the Unresponsive Script warning. Be default, the value is 5 or 10 seconds. You can safely set the magical number to let’s say 20. You can set the value to 0 to instruct Firefox to wait foever - no warning and dialog whatsoever. Note that the whole Firefox may be not responsive and cannot be used while waiting for scripts to execute, so the number should not set too high in order to give you an opportunity to stop truly nasty or buggy scripts and recover use of Firefox.
    5. Click OK.
    6. Restart Firefox.

    I'm still unable to open my longer routes (with a lot of points) even when the time out is set to 100. The shorter routes work fine. The next thing I will try is setting the timeout to 0.

    • CommentAuthorFree Memberthreeta
    • CommentTimeDec 3rd 2007
     
    threeta

    just a note if anyone from mapmyride is watching this, but firefox seems to have an issue with longer routes. It appears to hang. running strace on the stuck process shows that it is looping.

    dom.max_script_run_time is set to 100, it times out. setting it to 0 and going to lunch does not fix it!!!

    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

     

     

     

    Many thanks, Duncan

    Try this map: http://www.mapmyride.com/ride/new-zealand/auckland/418443913

     

    Output from strace....

    [stylesd@pc6025 contracts]$ strace -p 347
    Process 347 attached - interrupt to quit
    gettimeofday({1196731808, 87340}, NULL) = 0
    gettimeofday({1196731808, 95393}, NULL) = 0
    gettimeofday({1196731808, 118597}, NULL) = 0

    .

    snip

    .
    gettimeofday({1196731809, 50828}, NULL) = 0
    gettimeofday({1196731809, 58895}, NULL) = 0
    gettimeofday({1196731809, 69585}, NULL) = 0
    gettimeofday({1196731809, 77454}, NULL) = 0

    • CommentAuthorFree Membersherrick
    • CommentTimeDec 26th 2007
     
    sherrick
    I find that if I just keep clicking the continue button, eventually it opens. It's a pain, especially with longer routes, but eventually it works. Hope the developers find a better way.
    • CommentAuthorHero!!jsallee00
    • CommentTimeJul 2nd 2008
     
    jsallee00

    Just found this thread. It's not just long rides, anything over 40 miles or so causes the same problems. It seems this has been happening for several months at this point. I wonder if it will ever be fixed?

     

    Jim

    • CommentAuthorHero!!aea@mmf
    • CommentTimeJul 3rd 2008
     
    aea@mmf
    Are you using the beta route engine or the old route engine? We have fixed this problem on our new route engine which will be launched within the next few days :)