Closed zerosoul13 closed 10 years ago
Kinda made it work. Cloned this repo and moved the management folder over to the /aws_billing/ folder on Python's site-packages:
mv management/ /usr/local/lib/python2.7/site-packages/aws_billing/
but now this comes up:
python2.7 manage.py process_aws_billing
KeyError: 'Cost'
The column name 'Cost' does not exist on my bill format and that's why this isn't working for me. I've changed the name on the data['Cost'] to a name that matches (sort of) and did work.
Can you give me a sanitized version of your bill that I can look at? Which AWS services are you using?
Thanks for using D-A-B, btw, and for reporting this ticket! This is still a project under active development for my own purposes, looks like you're the first person other than me to go at it.
Not sure i can share the bill information from the report since is company information. I did a small hack that (i think) won't affect much the data reporting.
Cool. If you're working on this, would you mind working on it as a fork, so that I can merge your pull requests back into mainline?
I could work on a method that runs a test over the bill to verify the bill format matches against the expected format. Would you think that could be useful?
Tests would absolutely be useful! Also simply figuring out why the formats are different..
From my phone.. On Apr 1, 2014 9:09 PM, "ZeroSoul13" notifications@github.com wrote:
I could work on a method that runs a test over the bill to verify the bill format matches against the expected format. Would you think that could be useful?
Reply to this email directly or view it on GitHubhttps://github.com/Miserlou/django-aws-billing/issues/1#issuecomment-39287124 .
I'm very new to unit testing but i'll work a couple of them and see where this goes. As for the bill format, i will try to set all values to something random to protect the company data and share it so we can see what happened there. I'll get back to you tomorrow.
Awesome. Can you tell me what AWS services you're using?
We only use a few of the basic ones, maybe you're something I haven't tested against.
On Tue, Apr 1, 2014 at 9:23 PM, ZeroSoul13 notifications@github.com wrote:
I'm very new to unit testing but i'll work a couple of them and see where this goes. As for the bill format, i will try to set all values to something random to protect the company data and share it so we can see what happened there. I'll get back to you tomorrow.
Reply to this email directly or view it on GitHubhttps://github.com/Miserlou/django-aws-billing/issues/1#issuecomment-39287692 .
I'll get that info when i get back to the office. Is there any other way to contact you? writing all this on the issue ticket looks weird. LOL
Yeah man, I'm rich@openwatch.net
Thanks!
Hello,
I've downloaded this packaged, installed the application on INSTALLED_APPS but still this issue comes up:
$ python2.7 manage.py process_aws_billing Unknown command: 'process_aws_billing' Type 'manage.py help' for usage.
The application has been installed and verified. The module is working as expected on Django's shell.
$ python2.7 manage.py shell Python 2.7.5 (default, Jun 12 2013, 18:17:58) (InteractiveConsole)
Any ideas?