Skip to content

Please help: PANIC: unprotected error in call to Lua API (application.lua:1: unexpected symbol near ''ï'') #10

@MrAgentManOk

Description

@MrAgentManOk

Please forgive me if this is an easy issue that I am just to much newb to know about it or figure it out. I have googled the "unexpected symbol" error and found it suggested that it could be an issue with hidden characters due to encoding. I copied your raw application.lua file and pasted it into visual basic and saved it encoded with UTF-8 without signature as application.lua. Sadly, this made no difference... About the 3rd time formatting and re-loading the .lua files it I got a the same error but with a "?" instead of the 'ï'. Please help. I'd really like to get this working.
Please see error in action below.

NodeMCU custom build by frightanic.com
branch: 1.5.4.1-final
commit: 1885a30bd99aec3384**********************
SSL: true
modules: cjson,file,gpio,http,net,node,tmr,uart,wifi,tls
build built on: 2017-03-23 20:41
powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32)
Connecting to WiFi access point...

Waiting for IP address...
Waiting for IP address...
Waiting for IP address...
WiFi connection established, IP address: 192.168.1.23
You have 3 seconds to abort
Waiting...
Running application...
PANIC: unprotected error in call to Lua API (application.lua:1: unexpected symbol near '?')

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 24580, room 16
tail 4
chksum 0xaf
load 0x3ffe8000, len 2260, room 4
tail 0
chksum 0xce
load 0x3ffe88d4, len 136, room 8
tail 0
chksum 0x52
csum 0x52
Œã�ä�ƒoì›rƒûg|ì d�ldl`�Œâs’l„l�Äþ

Application.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions