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

wireup fails outside of gratipay.com/ #3824

Closed
chadwhitacre opened this issue Oct 14, 2015 · 0 comments
Closed

wireup fails outside of gratipay.com/ #3824

chadwhitacre opened this issue Oct 14, 2015 · 0 comments
Labels

Comments

@chadwhitacre
Copy link
Contributor

It's useful to write scripts that use gratipay.wireup, but right now such scripts can only be run within the gratipay.com directory, because of an assumed location in gratipay.billing.payday.

[gratipay] $ ./load-images.py
Traceback (most recent call last):
  File "./load-images.py", line 22, in <module>
    from gratipay import wireup
  File "/Users/whit537/personal/gratipay/gratipay.com/gratipay/wireup.py", line 19, in <module>
    import gratipay.billing.payday
  File "/Users/whit537/personal/gratipay/gratipay.com/gratipay/billing/payday.py", line 29, in <module>   
    with open('sql/payday.sql') as f:
IOError: [Errno 2] No such file or directory: u'sql/payday.sql'

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

1 participant