You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe someone can help me out, I'm getting a ValueError: No JSON object could be decoded.
I'm just testing a basic publication of the fjson output of the sphinx-confluence output, but I can't seem to get it to work. I can do curl commands to our confluence server and that all works fine, I get the right json back and everything.
We do use a cloud version of confluence and Jira, maybe there are some incompatibility problems? Ow, and I also tried #8 changes from @rastaman
Traceback (most recent call last):
File "/usr/local/bin/conf_publisher", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/publish.py", line 190, in main
publisher.publish(args.force, args.watermark, args.hold_titles)
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/publish.py", line 118, in publish
pages_to_update = self._pages_to_update(force, watermark, hold_titles)
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/publish.py", line 94, in _pages_to_update
current_page = self._page_manager.load(page_config.id)
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/confluence.py", line 84, in load
data = self._api.get_content(content_id, 'ancestors,version,space,body.storage')
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/confluence_api.py", line 112, in get_content
ret = self._get(url, params=params)
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/confluence_api.py", line 41, in _get
return self._request(requests.get, url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/conf_publisher/confluence_api.py", line 64, in _request
ret = r.json()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 866, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
The text was updated successfully, but these errors were encountered:
Maybe someone can help me out, I'm getting a ValueError: No JSON object could be decoded.
I'm just testing a basic publication of the fjson output of the sphinx-confluence output, but I can't seem to get it to work. I can do curl commands to our confluence server and that all works fine, I get the right json back and everything.
We do use a cloud version of confluence and Jira, maybe there are some incompatibility problems? Ow, and I also tried #8 changes from @rastaman
Any ideas?
my config
The whole error message:
The text was updated successfully, but these errors were encountered: