Hi @mikkel,
I am sorry to disturb you with this. Maybe you know what could be the origin of this error? i tried to uninstall ladybug tools and install it again, but nothing changes, same error pops up. I tried in other computers with the same file and works perfect but not in mine.
Thanks
I have updated Ladybug with the grasshopper installer to the newer version. The same problem ocurs. All components work but the annual results to data.
Furthermore, if i open the results folder with another computer it open the results without any issue. So the problem is clearly localized in the annual results to data component, everything else is working just fine (simulation results).
For other annual metrics such as irrandiance it works fine, it only happens with the daylight annual analysis results.
Can you zip the results folder, and upload and share it somewhere?
Can you connect a panel to the report output so I can see the full error message? I want to know exactly which line it fails at.
FYI, the latest version of that component in the developer version (LB Versioner update) is 1.9.2, but updating the component will probably not fix your issue.
Hi @mikkel,
See attached results folder. This was read fine in other computers. results.zip (38.6 KB)
The error:
Solution exception:Extra data: line 1 column 90316 - line 4 column 1 (char 90315 - 90489)
The report:
Runtime error (ValueErrorException): Extra data: line 1 column 90316 - line 4 column 1 (char 90315 - 90489)
Traceback:
line 367, in decode, “C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib\json\decoder.py”
line 339, in loads, “C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib\json_init_.py”
line 202, in script
It also works fine for me. There is nothing wrong with the results folder. I am not sure what the issue is yet, but I can see that it fails when trying to read the results as data collections.
I have made a small change to the component that will write the data collections to a JSON file. Can you try to run it and share the output file? If the component still fails please check if it created datacollections.json in your results folder and share the JSON file.
Thank you. It seems that on your machine something else is also written to the standard output when the CLI command runs in the component.
Can you please try again with the attached component. This will write a .txt file of the standard output. This time the component will probably fail but it should still write datacollections.txt in your results folder – please share this file.