Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

bug w/ example rule #13

Open
blehman opened this issue Sep 20, 2016 · 0 comments
Open

bug w/ example rule #13

blehman opened this issue Sep 20, 2016 · 0 comments

Comments

@blehman
Copy link
Contributor

blehman commented Sep 20, 2016

./create_job.py -f bieber_job1.json

CREATING JOB: (BieberJob1)
PARAMETERS:
{"publisher": "twitter", "toDate": "201201010001", "rules": [{"tag": "bestRuleEver", "value": "bieber"}], "title": "BieberJob1", "streamType": "track", "dataFormat": "activity-streams", "fromDate": "201201010000"}
RESPONSE:
Traceback (most recent call last):
File "./create_job.py", line 26, in
CreatJob()()
File "./create_job.py", line 21, in call
res = self.gnipHistorical.createJob()
File "/Users/blehman/workspace/github_repos/Gnip-Python-Historical-Utilities/src/gnip_historical/gnip_historical.py", line 267, in createJob
return Status(res.json())
File "/Users/blehman/anaconda/lib/python2.7/site-packages/requests/models.py", line 812, in json
return complexjson.loads(self.text, **kwargs)
File "/Users/blehman/anaconda/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/Users/blehman/anaconda/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/blehman/anaconda/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant