Chat about current Lua tools and IDEs

User avatar
By drejk
#11349 Hello,
great job.
But "Save&Compile" didn't work for me, it uploaded the file with some added hexa number at the beginning of the file which then couldn't run of course. It appended some empty lines and numbers also at the end of the file.

Would you mind sharing the server-side code as well?

D.
User avatar
By mikewen
#11480 The problem actually is in Lua code, not server code, I made a mistake when checking in d.lua , it should use http 1.0 header, otherwise, server side (Google App Engine) will use chucked sometimes.
local strPost = "GET /"..p.."f="..f.." HTTP/1.0\r\nHost: "..host.."\r\n\r\n"

You can run init.lua again, it should works now.

drejk wrote:Hello,
great job.
But "Save&Compile" didn't work for me, it uploaded the file with some added hexa number at the beginning of the file which then couldn't run of course. It appended some empty lines and numbers also at the end of the file.

Would you mind sharing the server-side code as well?

D.
User avatar
By strykul
#12104 Hi, I have some problems with running your IDE. After flashing firmware and uploading your file onto ESP, logs looks like:
Code: Select allB1…*˙S:ńţAÎN9ýČV°]˙َHř
NodeMCU 0.9.5 build 20150311  powered by Lua 5.1.4
lua: init.lua:4: unexpected symbol near '<'
>


then after running init.lua
Code: Select allinit.lua:4: unexpected symbol near '<'

I tried upload twice, and nothing - please help, I'm a beginner.