richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

push_list raises PushError("The param 'type' has an invalid value.") #117

Closed MrGreenTea closed 7 years ago

MrGreenTea commented 7 years ago

I wanted to try pushing a list and tried the example from the pypi page:

to_buy = ["milk", "bread", "cider"]
pushbullet.push_list('Shopping list', to_buy)

But i get the following error message: PushError: {"error":{"code":"invalid_param","type":"invalid_request","message":"The param 'type' has an invalid value.","param":"type","cat":"\u003e:3"},"error_code":"invalid_param"}

What am I doing wrong? All other pushes work fine. I am using version 0.10.0.

MrGreenTea commented 7 years ago

I just tested pushing an address and that raises the same Error. Do I need Pro or something for it to work?

simonporter007 commented 7 years ago

This was removed from Pushbullet API: "January 28, 2015

• Removed address and list pushes which have been deprecated for forever."

It was removed in pushbullet.py a while back too. I think 0.11 was released ( issue #92 ) if you can upgrade or take it direct from master branch after checking out with git.

MrGreenTea commented 7 years ago

I see and that makes sense too. Is there a reason why 0.11 isn't on pypi?

troeggla commented 7 years ago

No, not really. I don't have direct access to PyPi, but Travis seems to be configured to publish to PyPi if a new tag gets published, but last time I did that nothing happened. Not quite sure what's going on there. If anyone has more experience with this, can they maybe look into it?