'Scrapyd-client schedule.json produces an AttributeError

I am trying to deploy my Scrapy spider using Scrapyd and Scrapyd-client. I have managed to successfully create a project containing my spider, but when i try to use:

curl http://localhost:6800/schedule.json -d project=myproject -d spider=somespider

a following error occurs: 'str' object has no attribute 'decode'

I am using MacOs if that's helpful. Thanks for your help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source