Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

'make run' fails without Stripe keys in local.env #226

Closed
atroche opened this issue Aug 7, 2012 · 1 comment
Closed

'make run' fails without Stripe keys in local.env #226

atroche opened this issue Aug 7, 2012 · 1 comment

Comments

@atroche
Copy link
Contributor

atroche commented Aug 7, 2012

I populated my local.env with the example in the readme, and ran make run. I got the following error:

Traceback (most recent call last):
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 122, in main
_main(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 48, in _main
website = Website(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/website.py", line 25, in init
self.configure(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/configuration/init.py", line 349,
execfile(filepath, {'website': self})
File "/Users/atroche/dev/www.gittip.com/configure-aspen.py", line 11, in
gittip.wireup.billing()
File "/Users/atroche/dev/www.gittip.com/gittip/wireup.py", line 29, in billing
stripe.api_key= os.environ['STRIPE_SECRET_API_KEY']
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'STRIPE_SECRET_API_KEY'

Adding

STRIPE_SECRET_API_KEY=1
STRIPE_PUBLISHABLE_API_KEY=1

to local.env fixed the issue.

@chadwhitacre
Copy link
Contributor

Thanks @atroche.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants