ProjectSidewalk / SidewalkWebpage

Project Sidewalk web page
http://projectsidewalk.org
MIT License
83 stars 24 forks source link

St. Louis Deployment: Can't Start Explore #3532

Closed jonfroehlich closed 5 months ago

jonfroehlich commented 5 months ago

Can't make it out of the tutorial.

Click skip lesson.

image

SVLabel.js:7024 Uncaught TypeError: Cannot read properties of undefined (reading 'lat')
    at Object.getPosition (SVLabel.js:7024:30)
    at NavigationModel.getPosition (SVLabel.js:8106:48)
    at Form.compileSubmissionData (SVLabel.js:3262:42)
    at Tracker.submitForm (SVLabel.js:1907:33)
    at Tracker.push (SVLabel.js:1895:18)
    at HTMLDocument.<anonymous> (SVLabel.js:1704:18)
    at HTMLDocument.dispatch (jquery-1.12.2.min.js:3:12444)
    at r.handle (jquery-1.12.2.min.js:3:9173)

Uncaught TypeError: Cannot read properties of undefined (reading 'heading')
    at updatePov (SVLabel.js:7791:13)
    at SVLabel.js:6783:13
    at dispatch (jquery-1.12.2.min.js:3:12444)
    at r.handle (jquery-1.12.2.min.js:3:9173)

Uncaught TypeError: Cannot read properties of undefined (reading 'heading')
    at updatePov (SVLabel.js:7791:13)
    at SVLabel.js:6783:13
    at dispatch (jquery-1.12.2.min.js:3:12444)
    at r.handle (jquery-1.12.2.min.js:3:9173)
jonfroehlich commented 5 months ago

Here's a video in a fresh Edge install (this time: I didn't use Chrome in case there was some caching issue). So, getting bug in Firefox, Edge, and Chrome.

https://github.com/ProjectSidewalk/SidewalkWebpage/assets/1621749/4f5d8ee7-d02f-4b38-8eb6-539231f62524

jonfroehlich commented 5 months ago

And if I instead click on "start tutorial", I get:

image

image

misaugstad commented 5 months ago

Figured it out! Didn't realize until I saw your video because the first error is the one that matters. Since sidewalk-stlouis was set up as an alias instead of a redirect, I needed manually add that URL to the list of URLs accepted for our Google Maps API key. So the site was working perfectly for my on sidewalk-st-louis, but wasn't working on sidewalk-stlouis.

I've made the change. Though it may take a few minutes for it to start working.