petervizi / python-eeml

A python package for generating eeml documents.
http://petervizi.github.com/python-eeml
GNU General Public License v3.0
43 stars 11 forks source link

s/Pachube/cosm #8

Closed rinchen closed 12 years ago

rinchen commented 12 years ago

Hi,

Need to change the api call and associated comments from Pachube to COSM as per 11 May 2012 announcement by them.

J

petervizi commented 12 years ago

Thanks Joey, let me know if you have issues with the update.

rinchen commented 12 years ago

I've applied the change but there is something amiss. My feed isn't updating and I'm not getting any errors in the log that I can see. The cosm debug log says I'm not making any requests. The program I use (see http://radmon.stan4d.net/ for the code) also sends up tweets and those are working but cosm posting is not.

rinchen commented 12 years ago

It's throwing errors now which is good for debugging :-)

type 'exceptions.AttributeError'

rinchen commented 12 years ago
pac = eeml.cosm(API_URL, API_KEY)

AttributeError: 'module' object has no attribute 'cosm'

rinchen commented 12 years ago

Well, I suspect this was me doing a s/pachube/cosm but the actual change was s/pachube/Cosm with a capital C.