Ok guys, the build system should work again under Windows and Ubuntu 12.04. Pull the latest from github and let me know if you run into any more issues.
Still no updated installer for Win64 (ran into a new cx_freeze build issue with that that I'll check out tomorrow).
No go under windows for both python 3.2 and 3.3. Has anyone actually got these to work on windows?
--------------------
File "C:\counterpartyd_build\env\lib\site-packages\cherrypy\_cprequest.py", line 656, in respond
response.body = self.handler()
File "C:\counterpartyd_build\env\lib\site-packages\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\counterpartyd_build\env\lib\site-packages\cherrypy\lib\jsontools.py", line 61, in json_handler
value = cherrypy.serving.request._json_inner_handler(*args, **kwargs)
File "C:\counterpartyd_build\env\lib\site-packages\cherrypy\_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\counterpartyd_build\dist\counterpartyd\lib\api.py", line 235, in index
data = cherrypy.request.body.read().decode('utf-8')
File "C:\counterpartyd_build\env\lib\site-packages\cherrypy\_cpreqbody.py", line 455, in read
return self.fp.read(size, fp_out)
ypeError: read() takes at most 2 positional arguments (3 given)
....
Traceback (most recent call last):
File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 625, in <module>
blocks.follow(db)
File "C:\counterpartyd_build\dist\counterpartyd\lib\blocks.py", line 453, in follow
block_count = bitcoin.rpc('getblockcount', [])
File "C:\counterpartyd_build\dist\counterpartyd\lib\bitcoin.py", line 60, in rpc
response_json = response.json()
File "C:\counterpartyd_build\env\lib\site-packages\requests\models.py", line 733, in json
return json.loads(self.text, **kwargs)
File "C:\Python32\Lib\json\__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "C:\Python32\Lib\json\decoder.py", line 353, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python32\Lib\json\decoder.py", line 371, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I just updated the documentation and modified my original post saying the build system was ready to state:
For Windows, please re-follow the build from source Prerequisites instructions here:
(you will need to download Python3.2, and all of those dependencies listed for it)
I am successfully running counterpartyd on Win 7 64 bit, and making API calls to it.
If you are using the API and getting that error, make sure your API destination has an ending slash on it (e.g. "
").
Let me know if after doing all of this you are still having an issue and we can work through it.