petervizi/python-eeml

s/Pachube/cosm

Closed this issue · 5 comments

Hi,

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

J

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

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.

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

type 'exceptions.AttributeError'

pac = eeml.cosm(API_URL, API_KEY)

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

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