Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1712

Help: Rainmeter Skins • Re: Parsing Weather from wttr.in

$
0
0
No idea. I got the same result. Must be some hiccup with the "print" functionality to print to the Rainmeter log from Lua.

I personally would NOT try to print 51,000 characters to a single string in the log. The log is not the same as the measure value displayed in the About / Skins panel, which gets the entire string value of the WebParser measure just fine.
Well, that's one of the few easy and comfortable ways to verify yourself and your code in Lua, so I don't have many alternatives to printing... :confused:
Thanks for explaining the reason, much appreciated.



Well, since I do agree that being lightweight is efficient but I don't agree that it should impede testing the Lua code via print(), I think I'll just scrap the project altogether, it was done for the community anyway (JSON parsing in 2 lines of Lua, which worked for smaller JSONs, though it still has some flaws), not for myself. Or, find a way to print everything, maybe breaking the string into lines or something. Not nice, but what can I do? :confused:

Statistics: Posted by Yincognito — Yesterday, 11:31 pm



Viewing all articles
Browse latest Browse all 1712

Trending Articles