BarakChamo / TD_PoseNet

A PoseNet to TouchDesigner integration using Runway
GNU General Public License v3.0
53 stars 4 forks source link

JSON parsing issue in TD version > 16600 #1

Open kellyvigil opened 5 years ago

kellyvigil commented 5 years ago

Thanks for releasing this. I get an issue osc_callbacks dat seen in the attached image and here below. This is not an issue in TD version 16600 (and might assume earlier builds too, but only tested on 16600 vs 17550 and 18360).

Traceback (most recent call last): File "/project1/posenet_osc/osc_callbacks", line 15, in onReceiveOSC File "/Applications/TouchDesigner099.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/init.py", line 319, in loads return _default_decoder.decode(s) File "/Applications/TouchDesigner099.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 1900 (char 1899)

Screen Shot 2019-08-12 at 2 18 33 PM
cyiorkouni commented 4 years ago

@kellyvigil did you have any luck sorting this issue? I have a similar problem. Thx

BibiPush commented 4 years ago

Thanks for releasing this. I get an issue osc_callbacks dat seen in the attached image and here below. This is not an issue in TD version 16600 (and might assume earlier builds too, but only tested on 16600 vs 17550 and 18360).

Traceback (most recent call last): File "/project1/posenet_osc/osc_callbacks", line 15, in onReceiveOSC File "/Applications/TouchDesigner099.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/init.py", line 319, in loads return _default_decoder.decode(s) File "/Applications/TouchDesigner099.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 1900 (char 1899)

Screen Shot 2019-08-12 at 2 18 33 PM

I confirm I have the same issue.