globalbibletools / gbt

https://interlinear.globalbibletools.com
15 stars 2 forks source link

Recent change to branch main, cause web app to hang #255

Closed ilearner777 closed 11 months ago

ilearner777 commented 11 months ago

Describe the bug Today I pulled the most recent changes to branch main, When I started the web app, it hung trying to retrieve the glosses for Gen. 1:1

To Reproduce Steps to reproduce the behavior:

  1. Pull code from upstream and sync to local environment
  2. Run npm install
  3. Run nx prisma db migrate reset --force
  4. Start api app
  5. Start web app

Expected behavior Expected web app to display interlinear information for Gen. 1:1

Screenshots

Here I get a spinning circle: Issue1

API app keeps repeating line: http://localhost:4300/api/languages/en/verses/01001001/glosses Issue2

Environment (please complete the following information):

arrocke commented 11 months ago

I'm not seeing this on my machine. Have you executed nx run db:prisma migrate dev recently?

ilearner777 commented 11 months ago

I tried your suggestions but did not solve my problem. Here is a screen shot from inspector. Let me know if that helps: error1

arrocke commented 11 months ago

Oh, I see the problem. The language code that your browser has cached is en and that was changed recently. Can you try using the language picker or changing the language code in the URL to eng?

ilearner777 commented 11 months ago

I found the problem. I had saved a link to web app in chrome bookmarks as http://localhost:4200/languages/en/verses/01001001 thus preserving the 2 letter language. I edited the bookmark to http://localhost:4200`, cleared cache and now it works fine. Lesson learned for me on setting bookmarks!

You can close this issue.