gitcoinco / gitcoinco/web

Local deployment jtbd landing pages don't work

Open
#9,697 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
AttributeError: 'NoneType' object has no attribute 'data'

**To Reproduce**
I run through the local deployment guide located here via docker: https://docs.gitcoin.co/mk_setup/.

Once it is done compiling, I can view the app at localhost:8000, however all the landing pages under the navigation What's possible fail with the above error. Looks like the particular line is this:

`data = JSONStore.objects.filter(view='jtbd', key=template).first().data`

**Expected behavior**
The landing pages load correctly as on production gitcoin.co

- OS: Mac OS
- Browser: Chrome
- Browser Version: Version 95.0.4638.69 (Official Build) (x86_64)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.