Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile code #38

Open
neiljp opened this issue Nov 28, 2015 · 1 comment
Open

Failure to compile code #38

neiljp opened this issue Nov 28, 2015 · 1 comment

Comments

@neiljp
Copy link

neiljp commented Nov 28, 2015

An upload appears to go ok, but the compile fails with:
ERRORTraceback (most recent call last):
File "./luat", line 298, in
transport.writeln("node.compile("" + args.dest + "")\r")
File "./luat", line 106, in writeln
self.performcheck(data)
File "./luat", line 73, in performcheck
sys.stdout.write("\r\n send string : '%s'" % data)
NameError: global name 'data' is not defined
While I'm aware that node.compile due to out of memory, this appears to be a code error?

@eyaleb
Copy link

eyaleb commented Dec 17, 2015

I found this too. I think that the problem is in line I got this too. When a send error happens we enter a block with an error.

Maybe line 71

expected = expected.split("\r")[0]

should be

data = expected.split("\r")[0]

anujdas added a commit to anujdas/luatool that referenced this issue Jan 12, 2016
Addresses 4refr0nt#38; writes were failing due to variable name change
sorki pushed a commit to hackerspace/esplib that referenced this issue Apr 9, 2016
Addresses 4refr0nt#38; writes were failing due to variable name change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants